summaryrefslogtreecommitdiff
path: root/SI/.obsidian/plugins/file-explorer-note-count/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'SI/.obsidian/plugins/file-explorer-note-count/styles.css')
-rw-r--r--SI/.obsidian/plugins/file-explorer-note-count/styles.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/SI/.obsidian/plugins/file-explorer-note-count/styles.css b/SI/.obsidian/plugins/file-explorer-note-count/styles.css
new file mode 100644
index 0000000..6722b7a
--- /dev/null
+++ b/SI/.obsidian/plugins/file-explorer-note-count/styles.css
@@ -0,0 +1,28 @@
+.nav-folder-title[data-count]::after {
+ content: attr(data-count);
+ display: inline-block;
+ position: relative;
+ font-size: calc(100% * 0.8);
+ margin-right: 4px;
+ /* border-radius: 3px; */
+ padding: 2px 0;
+ /* background-color: var(--background-secondary-alt); */
+ transition: opacity 100ms ease-in-out;
+}
+.nav-folder-title.oz-root-hidden[data-count]::after {
+ display: none;
+}
+
+body:not(.oz-show-all-num)
+ .nav-folder:not(.is-collapsed)
+ > .nav-folder-title.oz-with-subfolder[data-count]:not([data-path='/'])::after {
+ opacity: 0;
+}
+
+.nav-folder-title[data-count='0']::after {
+ display: none;
+}
+
+.nav-folder-title-content {
+ flex-grow: 1;
+}