Skip to content

Build your personal knowledge base with Trilium Notes

ui/icon buttons: decrease opacity for disabled buttons

Adorian Dorand259eb1f9d43
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index 2fc8a39dbd..cbe5f2cda0 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -145,6 +145,10 @@ button.tn-low-profile:hover {
font-size: calc(var(--icon-button-size) * var(--icon-button-icon-ratio));
}
+:root .icon-action.disabled::before {
+ opacity: .5;
+}
+
:root .icon-action:not(.global-menu-button):hover,
:root .icon-action:not(.global-menu-button).show,
:root .tn-tool-button:hover,