summaryrefslogtreecommitdiff
path: root/SI/.obsidian/plugins/file-explorer-note-count/styles.css
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-05-31 21:19:39 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-05-31 21:19:39 +0900
commitc8e554cb123bb7056a1855c4ddc1cf2f827a520d (patch)
treebad297c5608ce8acad0839374372418f6416fade /SI/.obsidian/plugins/file-explorer-note-count/styles.css
parent4d53fa14ee0cd615444aca6f6ba176e0ccc1b5be (diff)
Updates
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, 17 insertions, 11 deletions
diff --git a/SI/.obsidian/plugins/file-explorer-note-count/styles.css b/SI/.obsidian/plugins/file-explorer-note-count/styles.css
index 6722b7a..bf69502 100644
--- a/SI/.obsidian/plugins/file-explorer-note-count/styles.css
+++ b/SI/.obsidian/plugins/file-explorer-note-count/styles.css
@@ -1,3 +1,11 @@
+.nav-folder-title-content {
+ flex-grow: 1;
+}
+
+.oz-explorer-root-folder {
+ margin-top: 15px;
+}
+
.nav-folder-title[data-count]::after {
content: attr(data-count);
display: inline-block;
@@ -9,20 +17,18 @@
/* 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;
+.oz-explorer-root-nav-folder-title {
+ display: flex;
}
-.nav-folder-title[data-count='0']::after {
- display: none;
+.oz-explorer-root-nav-folder-title[data-count]::after {
+ content: attr(data-count);
+ margin-right: 4px;
+ font-size: calc(100% * 0.8);
+ display: inline-block;
}
-.nav-folder-title-content {
- flex-grow: 1;
+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;
}