mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 20:02:28 +08:00
Tweak the quick search button
This commit is contained in:
parent
d2af4c362f
commit
48253e0c60
@ -463,15 +463,15 @@
|
|||||||
#left-pane .quick-search:focus-within: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 and the focus is inside the search box */
|
/* 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;
|
||||||
color: var(--quick-search-focus-color) !important;
|
color: var(--left-pane-item-action-button-color) !important;
|
||||||
transition: background-color 500ms ease-out !important;
|
transition: background-color 500ms ease-out !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane .quick-search:focus-within .search-button:hover,
|
html body #left-pane .quick-search:focus-within .search-button:hover,
|
||||||
#left-pane .quick-search .search-button.show {
|
#left-pane .quick-search .search-button.show {
|
||||||
/* Hover state */
|
/* Hover state */
|
||||||
background: var(--left-pane-item-action-button-background) !important;
|
background: var(--left-pane-item-action-button-hover-background) !important;
|
||||||
color: var(--quick-search-focus-color) !important;
|
color: var(--left-pane-item-action-button-color) !important;
|
||||||
transition: background-color 100ms ease-out !important;
|
transition: background-color 100ms ease-out !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user