css: Use more specific selectors for sidebar icons.

This paves the way to tweak chevron geometry on an
individual basis without accidentally breaking other
stuff.  It's also more self-documenting CSS.
This commit is contained in:
Steve Howell 2019-03-02 15:21:53 +00:00 committed by Tim Abbott
parent 2cf898a0a5
commit 9b616e2411
2 changed files with 10 additions and 2 deletions

View File

@ -241,9 +241,11 @@ a.conversation-partners:hover {
text-decoration: underline;
}
ul.filters i {
.filter-icon i,
.all-messages-arrow i,
.stream-sidebar-arrow i,
.topic-sidebar-arrow i {
padding-right: 0.25em;
/* Make filter icons the same width so labels line up. */
display: inline-block;
width: 13px;
}

View File

@ -57,6 +57,12 @@
display: none;
}
.user-list-arrow i {
padding-right: 0.25em;
display: inline-block;
width: 13px;
}
#user_presences li:hover .user-list-arrow {
display: inline;
cursor: pointer;