Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Don't highlight the quick search button if the search text box is not focused
Adorian Doran6a74765bc8c2
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.cssindex e24abbaf48..820bc052f9 100644--- a/src/public/stylesheets/theme-next.css+++ b/src/public/stylesheets/theme-next.css@@ -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;}