Skip to content

Build your personal knowledge base with Trilium Notes

style/buttons: define a style for low profile buttons

Adorian Doran081d041cbccd
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index 12f361c2f2..2e92f2e59c 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -84,6 +84,22 @@ 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
*/