Skip to content

Build your personal knowledge base with Trilium Notes

new black & white icons with css override

azivner80bfc5d1ac8e
diff --git a/static/icons/file.png b/static/icons/file.png
new file mode 100644
index 0000000000..17cfc49a39
Binary files /dev/null and b/static/icons/file.png differ
diff --git a/static/icons/folder.png b/static/icons/folder.png
new file mode 100644
index 0000000000..176c7f6de6
Binary files /dev/null and b/static/icons/folder.png differ
diff --git a/static/style.css b/static/style.css
index 4b637658ff..bc545af950 100644
--- a/static/style.css
+++ b/static/style.css
@@ -26,9 +26,20 @@
}
ul.fancytree-container {
- width: 290px;
- height: 400px;
- overflow: auto;
- position: relative;
- outline: none !important;
+ width: 290px;
+ height: 400px;
+ overflow: auto;
+ position: relative;
+ outline: none !important;
}
+
+span.fancytree-node > span.fancytree-icon {
+ background-position: 0 0;
+ background-image: url("icons/file.png");
+}
+
+span.fancytree-node.fancytree-folder > span.fancytree-icon {
+ background-position: 0 0;
+ background-image: url("icons/folder.png");
+}
+