Skip to content

Build your personal knowledge base with Trilium Notes

adding some standard classes for tree items

zadam2953f1bdb875
diff --git a/src/entities/attribute.js b/src/entities/attribute.js
index 6755f113f1..59ab5252b9 100644
--- a/src/entities/attribute.js
+++ b/src/entities/attribute.js
@@ -113,6 +113,7 @@ class Attribute extends Entity {
// cannot be static!
updatePojo(pojo) {
delete pojo.isOwned;
+ delete pojo.__note;
}
}
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 99016a8ae5..834aaa33e5 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -75,6 +75,12 @@ ul.fancytree-container {
content: "\e9f8";
}
+/** some common text styling for cssClass label */
+span.fancytree-node.underline .fancytree-title { text-decoration: underline; }
+span.fancytree-node.dotted .fancytree-title { text-decoration: dotted; }
+span.fancytree-node.bold .fancytree-title { font-weight: bold; }
+span.fancytree-node.muted { opacity: 0.6; }
+
.note-title[readonly] {
background: inherit;
}