diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-05-31 21:19:39 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-05-31 21:19:39 +0900 |
| commit | c8e554cb123bb7056a1855c4ddc1cf2f827a520d (patch) | |
| tree | bad297c5608ce8acad0839374372418f6416fade /SI/.obsidian/plugins/file-explorer-note-count/styles.css | |
| parent | 4d53fa14ee0cd615444aca6f6ba176e0ccc1b5be (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.css | 28 |
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; } |
