Skip to content

Build your personal knowledge base with Trilium Notes

Add an active state transition for the new tab button

Adorian Doran7bba991336ba
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index 30f2e20fa9..d6fa51faab 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -566,6 +566,17 @@
transition: color 100ms ease-in,
}
+.tab-row-widget .note-new-tab:before,
+.tab-row-widget .note-new-tab:after {
+ will-change: transform;
+ transition: transform 300ms ease-in;
+}
+
+.tab-row-widget .note-new-tab:active:before,
+.tab-row-widget .note-new-tab:active:after {
+ transform: scale(.85);
+ transition: transform 75ms ease-out;
+}
/*
* Center pane