search: Simplify CSS for search_icon.

This is preparatory refactoring for replacing the top navbar UI; in
the new version, the search_icon may not be an <a> tag.
This commit is contained in:
Tim Abbott 2020-01-22 17:41:38 -08:00
parent d356622594
commit d7ba77b83b
2 changed files with 8 additions and 8 deletions

View File

@ -277,9 +277,9 @@ on a dark background, and don't change the dark labels dark either. */
.clear_search_button:active,
.clear_search_button[disabled]:hover,
#user-groups .save-instructions,
#searchbox_legacy a.search_icon,
#searchbox_legacy .search_icon,
#searchbox_legacy .search_button,
#searchbox a.search_icon,
#searchbox .search_icon,
#searchbox .search_button,
.close,
#user_presences li:hover .user-list-arrow,
@ -292,9 +292,9 @@ on a dark background, and don't change the dark labels dark either. */
#message_edit_tooltip:hover,
.clear_search_button:hover,
#searchbox_legacy a.search_icon:hover,
#searchbox_legacy .search_icon:hover,
#searchbox_legacy .search_button:hover,
#searchbox a.search_icon:hover,
#searchbox .search_icon:hover,
#searchbox .search_button:hover,
.close:hover {
color: hsl(0, 0%, 100%);

View File

@ -1712,7 +1712,7 @@ nav a .no-style {
visibility: hidden;
}
a.search_icon {
.search_icon {
display: table;
height: 100%;
color: hsl(0, 0%, 80%);
@ -1728,7 +1728,7 @@ nav a .no-style {
}
}
a.search_icon:hover {
.search_icon:hover {
color: hsl(0, 0%, 0%);
text-decoration: none;
}
@ -1827,7 +1827,7 @@ nav a .no-style {
visibility: hidden;
}
a.search_icon {
.search_icon {
color: hsl(0, 0%, 80%);
text-decoration: none;
display: block;
@ -1835,7 +1835,7 @@ nav a .no-style {
height: 1px;
}
a.search_icon:hover {
.search_icon:hover {
color: hsl(0, 0%, 0%);
text-decoration: none;
}