navbar: Shift "search_icon" styles to be before tab_bar and search_box.

The motivation behind this change is that it is more sensible to have
search_icon styles appear first and then be overridden by
search_closed or search_open styles which appear afterwards. This is a
prep commit to correcting a bug that caused some browsers to
render the width (and hence margin and position) of search_closed
incorrectly.
This commit is contained in:
YashRE42 2020-04-18 15:39:26 +05:30 committed by Tim Abbott
parent 8b72de1d4d
commit faf48d974f

View File

@ -1371,6 +1371,20 @@ div.focused_table {
border-left: 1px solid hsl(0, 0%, 88%);
}
.search_icon {
color: hsl(0, 0%, 80%);
text-decoration: none;
width: 0;
height: 0;
padding-top: 12px;
padding-left: 50px;
&:hover {
color: hsl(0, 0%, 0%);
text-decoration: none;
}
}
#tab_bar {
width: 100%;
z-index: 2;
@ -1525,19 +1539,6 @@ div.focused_table {
}
}
.search_icon {
color: hsl(0, 0%, 80%);
text-decoration: none;
width: 0;
height: 0;
padding-top: 12px;
padding-left: 50px;
&:hover {
color: hsl(0, 0%, 0%);
text-decoration: none;
}
}
#searchbox {
display: flex;
width: 100%;