pinnedHosts: add host picker to public timelines

This commit is contained in:
Alex Gleason 2021-08-11 19:38:25 -05:00
parent 6961309b85
commit 4e2f12eb18
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
5 changed files with 45 additions and 0 deletions

View file

@ -27,3 +27,48 @@
padding-right: 10px; padding-right: 10px;
} }
} }
.pinned-hosts-picker {
margin-left: 10px;
display: inline-flex;
flex-wrap: wrap;
.pinned-host {
margin-right: 10px;
margin-bottom: 10px;
}
&:hover {
.pinned-host {
background: var(--background-color);
&:hover {
background: var(--brand-color--faint);
}
}
}
}
.pinned-host {
background: var(--background-color);
border-radius: 999px;
transition: 0.2s;
&.active {
background: var(--brand-color--faint);
a {
color: #fff;
}
}
a {
display: block;
color: var(--primary-text-color);
text-decoration: none;
padding: 5px 11px;
max-width: 115px;
overflow: hidden;
text-overflow: ellipsis;
}
}