Skip to content

Build your personal knowledge base with Trilium Notes

Restyle the close tab buttons

Adorian Doran6c99a691dc60
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index 929151c803..02612fc867 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -120,6 +120,8 @@
--gutter-color: transparent;
--gutter-hover-color: #bfbfbf;
+ --tab-close-button-hover-background: #d7d7d7;
+
--active-tab-background-color: white;
--active-tab-hover-background-color: var(--active-tab-background-color);
--active-tab-text-color: black;
@@ -212,7 +214,9 @@
--gutter-color: transparent;
--gutter-hover-color: #5e5e5e;
-
+
+ --tab-close-button-hover-background: #e2e2e2;
+
--active-tab-background-color: #666;
--active-tab-hover-background-color: #737373;
--active-tab-text-color: #ccc;
@@ -461,6 +465,10 @@
font-weight: unset !important;
}
+.note-tab-close:hover {
+ background: var(--tab-close-button-hover-background) !important;
+}
+
/*
* Center pane
*/