search css refactor: Split up general media query.

This commit is contained in:
evykassirer 2023-03-06 15:54:07 -08:00 committed by Tim Abbott
parent f1e6f4b5dd
commit a030fe40ac

View File

@ -34,6 +34,10 @@
left: 10px;
top: 10px;
z-index: 5;
@media (width < $sm_min) {
top: 5px;
}
}
.fa-search:not(.deactivated) {
@ -81,12 +85,18 @@
z-index: 5;
}
.search_button:hover {
opacity: 1;
}
.search_button {
&:hover {
opacity: 1;
}
.search_button:disabled {
visibility: hidden;
&:disabled {
visibility: hidden;
}
@media (width < $sm_min) {
top: 0;
}
}
.search_icon {
@ -149,18 +159,3 @@
}
}
}
@media (width < $sm_min) {
#searchbox,
#searchbox_legacy {
.input-append .fa-search {
top: 5px;
}
.search_button,
.search_button:disabled:hover {
top: 0;
}
}
}