mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
Don't highlight the quick search button if the search text box is not focused
This commit is contained in:
parent
04efba1f26
commit
6a74765bc8
@ -441,8 +441,8 @@
|
|||||||
transform: scale(.85);
|
transform: scale(.85);
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane .quick-search:has(input:not(:placeholder-shown)) .search-button {
|
#left-pane .quick-search:focus-within:has(input:not(:placeholder-shown)) .search-button {
|
||||||
/* Matches when the input has a value */
|
/* Matches when the input has a value and the focus is inside the search box */
|
||||||
background: var(--left-pane-item-action-button-background) !important;
|
background: var(--left-pane-item-action-button-background) !important;
|
||||||
transition: background-color 500ms ease-out !important;
|
transition: background-color 500ms ease-out !important;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user