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
fix(theme): flatten low-profile buttons under the legacy theme
Elian Dorandb2011424728
diff --git a/apps/client/src/stylesheets/buttons.css b/apps/client/src/stylesheets/buttons.cssindex e6a71aa54b..6083c2ed30 100644--- a/apps/client/src/stylesheets/buttons.css+++ b/apps/client/src/stylesheets/buttons.css@@ -59,3 +59,19 @@padding: 0 8px;min-width: unset !important;}++/*+ * Low profile buttons+ */++button.tn-low-profile {+ appearance: none;+ background: transparent;+ border: 0;+ border-radius: 8px;+ color: inherit;+}++button.tn-low-profile:hover {+ background-color: var(--icon-button-hover-background);+}diff --git a/apps/client/src/stylesheets/theme-light.css b/apps/client/src/stylesheets/theme-light.cssindex 5af9350e6b..d9bab80d30 100644--- a/apps/client/src/stylesheets/theme-light.css+++ b/apps/client/src/stylesheets/theme-light.css@@ -28,6 +28,8 @@ html {--accented-background-color: #f5f5f5;--more-accented-background-color: #ddd;+ --icon-button-hover-background: var(--accented-background-color);+--button-background-color: transparent;--button-border-color: #ddd;--button-text-color: black;diff --git a/apps/client/src/stylesheets/theme-next/buttons.css b/apps/client/src/stylesheets/theme-next/buttons.cssindex 56b3d2f942..b8482f09e0 100644--- a/apps/client/src/stylesheets/theme-next/buttons.css+++ b/apps/client/src/stylesheets/theme-next/buttons.css@@ -114,22 +114,6 @@ button.btn.btn-success kbd {letter-spacing: 0.5pt;}-/*- * Low profile buttons- */--button.tn-low-profile {- appearance: none;- background: transparent;- border: 0;- border-radius: 8px;- color: inherit;-}--button.tn-low-profile:hover {- background-color: var(--icon-button-hover-background);-}-/** Icon buttons*/