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
style/inline title: replace the hover effect of the note icon
Adorian Doran07dcdf30784c
diff --git a/apps/client/src/widgets/note_icon.css b/apps/client/src/widgets/note_icon.cssindex 3274f21248..fa1a94e449 100644--- a/apps/client/src/widgets/note_icon.css+++ b/apps/client/src/widgets/note_icon.css@@ -77,6 +77,7 @@ div.note-icon-widget {body.experimental-feature-new-layout {--note-icon-button-background-color: #444444;+ --note-icon-button-hover-background-color: #5a5a5a;--note-icon-button-color: white;.note-icon-widget button.note-icon {@@ -85,11 +86,6 @@ body.experimental-feature-new-layout {border-radius: 50%;background: transparent !important;- &:hover {- transform: scale(1.15);- transition: transform 150ms ease-out;- }-/* The icon */&::before {position: relative;@@ -105,5 +101,10 @@ body.experimental-feature-new-layout {border-radius: 50%;background: var(--note-icon-button-background-color);}++ &:hover::after {+ background: var(--note-icon-button-hover-background-color);+ transition: background 200ms ease-out;+ }}}\ No newline at end of file