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:active,
.clear_search_button[disabled]:hover, .clear_search_button[disabled]:hover,
#user-groups .save-instructions, #user-groups .save-instructions,
#searchbox_legacy a.search_icon, #searchbox_legacy .search_icon,
#searchbox_legacy .search_button, #searchbox_legacy .search_button,
#searchbox a.search_icon, #searchbox .search_icon,
#searchbox .search_button, #searchbox .search_button,
.close, .close,
#user_presences li:hover .user-list-arrow, #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, #message_edit_tooltip:hover,
.clear_search_button:hover, .clear_search_button:hover,
#searchbox_legacy a.search_icon:hover, #searchbox_legacy .search_icon:hover,
#searchbox_legacy .search_button:hover, #searchbox_legacy .search_button:hover,
#searchbox a.search_icon:hover, #searchbox .search_icon:hover,
#searchbox .search_button:hover, #searchbox .search_button:hover,
.close:hover { .close:hover {
color: hsl(0, 0%, 100%); color: hsl(0, 0%, 100%);

View File

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