Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve protected indicator in tree

Elian Doran073118601564
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index 0618eaace9..3fe77a2bef 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -542,6 +542,23 @@ html body #left-pane .quick-search:focus-within .search-button:hover,
z-index: -1;
}
+#left-pane span.fancytree-node.protected > span.fancytree-custom-icon {
+ position: relative;
+ filter: unset !important;
+}
+
+#left-pane span.fancytree-node.protected > span.fancytree-custom-icon:after {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ font-size: 14px;
+ content: "\eb4a";
+ font-family: "boxicons";
+ transform: translateX(25%);
+ background: var(--left-pane-background-color);
+ border-radius: 50%;
+}
+
#left-pane .fancytree-expander {
opacity: .65;
transition: opacity 150ms ease-in;