mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Don't highlight the quick search button if the search text box is not focused
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user