Don't highlight the quick search button if the search text box is not focused

This commit is contained in:
Adorian Doran 2024-11-29 12:42:18 +02:00
parent 04efba1f26
commit 6a74765bc8

View File

@ -441,8 +441,8 @@
transform: scale(.85);
}
#left-pane .quick-search:has(input:not(:placeholder-shown)) .search-button {
/* Matches when the input has a value */
#left-pane .quick-search:focus-within:has(input:not(:placeholder-shown)) .search-button {
/* Matches when the input has a value and the focus is inside the search box */
background: var(--left-pane-item-action-button-background) !important;
transition: background-color 500ms ease-out !important;
}