mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
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:
@@ -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%);
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user