Initial commit
This commit is contained in:
8
.obsidian/plugins/file-explorer-note-count/data.json
vendored
Normal file
8
.obsidian/plugins/file-explorer-note-count/data.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"showAllNumbers": true,
|
||||
"filterList": [
|
||||
"md"
|
||||
],
|
||||
"blacklist": false,
|
||||
"filterFolderNote": true
|
||||
}
|
||||
982
.obsidian/plugins/file-explorer-note-count/main.js
vendored
Normal file
982
.obsidian/plugins/file-explorer-note-count/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/file-explorer-note-count/manifest.json
vendored
Normal file
10
.obsidian/plugins/file-explorer-note-count/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "file-explorer-note-count",
|
||||
"name": "File Explorer Note Count",
|
||||
"version": "1.2.1",
|
||||
"minAppVersion": "1.2.0",
|
||||
"description": "The plugin helps you to see the number of notes under each folder within the file explorer.",
|
||||
"author": "Ozan Tellioglu",
|
||||
"authorUrl": "https://www.ozan.pl",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
28
.obsidian/plugins/file-explorer-note-count/styles.css
vendored
Normal file
28
.obsidian/plugins/file-explorer-note-count/styles.css
vendored
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user