@karaoke-cms/create 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/karaoke-create-vault/.obsidian/app.json +14 -0
- package/karaoke-create-vault/.obsidian/appearance.json +1 -0
- package/karaoke-create-vault/.obsidian/community-plugins.json +4 -0
- package/karaoke-create-vault/.obsidian/core-plugins.json +33 -0
- package/karaoke-create-vault/.obsidian/plugins/folder-notes/data.json +131 -0
- package/karaoke-create-vault/.obsidian/plugins/folder-notes/main.js +9190 -0
- package/karaoke-create-vault/.obsidian/plugins/folder-notes/manifest.json +12 -0
- package/karaoke-create-vault/.obsidian/plugins/folder-notes/styles.css +355 -0
- package/karaoke-create-vault/.obsidian/plugins/templater-obsidian/main.js +45 -0
- package/karaoke-create-vault/.obsidian/plugins/templater-obsidian/manifest.json +11 -0
- package/karaoke-create-vault/.obsidian/plugins/templater-obsidian/styles.css +226 -0
- package/karaoke-create-vault/blog/draft-post.md +15 -0
- package/karaoke-create-vault/blog/hello-world.md +26 -0
- package/karaoke-create-vault/docs/getting-started.md +49 -0
- package/karaoke-create-vault/docs/testing.md +0 -0
- package/karaoke-create-vault/karaoke-cms/config/collections.yaml +10 -0
- package/karaoke-create-vault/karaoke-cms/manual/configuration.md +77 -0
- package/karaoke-create-vault/karaoke-cms/manual/content.md +38 -0
- package/karaoke-create-vault/karaoke-cms/manual/deployment.md +46 -0
- package/karaoke-create-vault/karaoke-cms/manual/index.md +41 -0
- package/karaoke-create-vault/karaoke-cms/manual/privacy.md +37 -0
- package/karaoke-create-vault/karaoke-cms/templates/blog-header.md +9 -0
- package/karaoke-create-vault/karaoke-cms/templates/docs-header.md +9 -0
- package/karaoke-create-vault/karaoke-cms/templates/index-by-foldernote.md +8 -0
- package/package.json +3 -2
- package/src/index.js +29 -11
- package/src/templates.js +21 -72
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "folder-notes",
|
|
3
|
+
"name": "Folder notes",
|
|
4
|
+
"version": "1.8.19",
|
|
5
|
+
"minAppVersion": "0.15.0",
|
|
6
|
+
"description": "Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.",
|
|
7
|
+
"author": "Lost Paul",
|
|
8
|
+
"authorUrl": "https://github.com/LostPaul",
|
|
9
|
+
"fundingUrl": "https://ko-fi.com/paul305844",
|
|
10
|
+
"helpUrl": "https://lostpaul.github.io/obsidian-folder-notes/",
|
|
11
|
+
"isDesktopOnly": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
General States & Utilities
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
.hide,
|
|
6
|
+
.hide-folder .folder-name,
|
|
7
|
+
.hide-folder-note .is-folder-note {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* make.md plugin integration */
|
|
12
|
+
.hide-folder-note .mk-tree-node > .mk-tree-wrapper > .dropzone > .mk-tree-item.is-folder-note {
|
|
13
|
+
opacity: 40%;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.pointer-cursor,
|
|
18
|
+
.has-folder-note .nav-folder-title-content:hover,
|
|
19
|
+
.has-folder-note.view-header-breadcrumb:hover,
|
|
20
|
+
.nav-folder-collapse-indicator:hover,
|
|
21
|
+
.fn-delete-confirmation-modal-buttons span:hover,
|
|
22
|
+
.fn-delete-confirmation-modal-buttons input:hover {
|
|
23
|
+
cursor: pointer !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.hide-folder-note :not(.show-folder-note-in-explorer):not(.fn-has-attachment-folder).only-has-folder-note .nav-folder-children {
|
|
27
|
+
display: none !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/* ==========================================================================
|
|
32
|
+
Tree Items
|
|
33
|
+
========================================================================== */
|
|
34
|
+
|
|
35
|
+
body:not(.is-grabbing) .tree-item-self.fn-is-active:hover,
|
|
36
|
+
body:not(.disable-folder-highlight) .tree-item-self.fn-is-active {
|
|
37
|
+
color: var(--nav-item-color-active);
|
|
38
|
+
background-color: var(--nav-item-background-active);
|
|
39
|
+
font-weight: var(--nav-item-weight-active);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/* ==========================================================================
|
|
44
|
+
Exclude Folder Settings
|
|
45
|
+
========================================================================== */
|
|
46
|
+
|
|
47
|
+
.fn-excluded-folder-heading {
|
|
48
|
+
margin-top: 0 !important;
|
|
49
|
+
border-top: 1px solid var(--background-modifier-border);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.add-exclude-folder-item,
|
|
53
|
+
.fn-exclude-folder-list {
|
|
54
|
+
padding-bottom: 0 !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.fn-exclude-folder-list.setting-item {
|
|
58
|
+
border-top: 0 !important;
|
|
59
|
+
border-bottom: 0 !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.fn-exclude-folder-list .setting-item-control {
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: flex-start !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.fn-exclude-folder-list .setting-item-info {
|
|
68
|
+
display: none !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.fn-exclude-folder-list .search-input-container {
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/* ==========================================================================
|
|
77
|
+
Modal Styles
|
|
78
|
+
========================================================================== */
|
|
79
|
+
|
|
80
|
+
.fn-backup-warning-modal .fn-modal-button-container {
|
|
81
|
+
display: flex;
|
|
82
|
+
gap: 0.5rem;
|
|
83
|
+
justify-content: flex-end;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.fn-confirmation-modal {
|
|
87
|
+
padding-bottom: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.fn-confirmation-modal .setting-item {
|
|
91
|
+
border-top: 0 !important;
|
|
92
|
+
padding-top: 0 !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:not(.is-phone) .fn-confirmation-modal-button {
|
|
96
|
+
margin-right: 0.7rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:not(.is-phone) .fn-delete-confirmation-modal-buttons {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
margin-top: 10px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:not(.is-phone) .fn-delete-confirmation-modal-buttons .fn-confirmation-modal-button {
|
|
106
|
+
margin-left: auto;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:not(.is-phone) .fn-delete-confirmation-modal-buttons input[type="checkbox"] {
|
|
110
|
+
margin-right: 5px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.is-phone .fn-delete-confirmation-modal-buttons {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
align-items: center;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.is-phone .fn-delete-confirmation-modal-buttons .fn-confirmation-modal-button {
|
|
120
|
+
margin-top: 10px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/* ==========================================================================
|
|
125
|
+
Folder Overview
|
|
126
|
+
========================================================================== */
|
|
127
|
+
|
|
128
|
+
.folder-overview-container.fv-remove-edit-button .folder-overview-edit-button {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.cm-line:has(.fv-link-list-item),
|
|
133
|
+
li:has(.fv-link-list-item),
|
|
134
|
+
.el-ul:has(.fv-link-list-item),
|
|
135
|
+
.cm-line:has(.fv-link-list-start),
|
|
136
|
+
.cm-line:has(.fv-link-list-end),
|
|
137
|
+
.fv-hide-overview {
|
|
138
|
+
display: none !important;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
.folder-overview-list {
|
|
143
|
+
margin-top: 0 !important;
|
|
144
|
+
margin-bottom: 0 !important;
|
|
145
|
+
padding-bottom: 1.200 !important;
|
|
146
|
+
padding-top: 1.200 !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.folder-overview-list-item {
|
|
150
|
+
display: flex;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.folder-overview-list::marker {
|
|
154
|
+
color: var(--text-faint);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.folder-list::marker {
|
|
158
|
+
color: var(--text-normal) !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.folder-overview-grid {
|
|
162
|
+
display: grid;
|
|
163
|
+
grid-gap: 20px;
|
|
164
|
+
grid-template-columns: repeat(3, 1fr);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.folder-overview-grid-item {
|
|
168
|
+
flex: 1 1 auto;
|
|
169
|
+
margin: 0 1.2rem 1.2rem 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.folder-overview-grid-item-article article {
|
|
173
|
+
display: flex;
|
|
174
|
+
flex-direction: column;
|
|
175
|
+
justify-content: space-between;
|
|
176
|
+
padding: 15px;
|
|
177
|
+
flex: 1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.folder-overview-grid-item-article a {
|
|
181
|
+
text-decoration: none !important;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.folder-overview-grid-item-article h1 {
|
|
185
|
+
font-size: 1.2rem;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.overview-setting-item-fv {
|
|
189
|
+
border-top: 1px solid var(--background-modifier-border);
|
|
190
|
+
padding: 0.75em 0;
|
|
191
|
+
align-items: center;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.overview-setting-item-fv .setting-item {
|
|
195
|
+
padding: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
/* ==========================================================================
|
|
200
|
+
File Explorer & Path Styling
|
|
201
|
+
========================================================================== */
|
|
202
|
+
|
|
203
|
+
.folder-note-underline .has-folder-note .nav-folder-title-content {
|
|
204
|
+
text-decoration-line: underline;
|
|
205
|
+
text-decoration-color: var(--text-faint);
|
|
206
|
+
text-decoration-thickness: 2px;
|
|
207
|
+
text-underline-offset: 1px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.folder-note-underline-path .has-folder-note.view-header-breadcrumb {
|
|
211
|
+
text-decoration-line: underline;
|
|
212
|
+
text-decoration-color: var(--text-faint);
|
|
213
|
+
text-decoration-thickness: 1px;
|
|
214
|
+
text-underline-offset: 2px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.folder-note-bold .has-folder-note .nav-folder-title-content,
|
|
218
|
+
.folder-note-bold-path .has-folder-note.view-header-breadcrumb {
|
|
219
|
+
font-weight: bold;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.folder-note-cursive .has-folder-note .nav-folder-title-content,
|
|
223
|
+
.folder-note-cursive-path .has-folder-note.view-header-breadcrumb {
|
|
224
|
+
font-style: italic;
|
|
225
|
+
}
|
|
226
|
+
.folder-note-hide-name-path .hide-folder-note-title-in-path .is-last-separator,
|
|
227
|
+
.folder-note-hide-name-path .hide-folder-note-title-in-path .path-is-folder-note {
|
|
228
|
+
display: none;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
/* Collapse Icon Handling */
|
|
233
|
+
|
|
234
|
+
.fn-folder-overview-collapse-icon {
|
|
235
|
+
display: block !important;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.fn-has-no-files .collapse-icon,
|
|
239
|
+
.fn-hide-collapse-icon .has-folder-note.only-has-folder-note .tree-item-icon,
|
|
240
|
+
body.fn-hide-collapse-icon.fn-ignore-attachment-folder .only-has-folder-note .fn-empty-folder.fn-has-attachment-folder .tree-item-icon,
|
|
241
|
+
body.fn-hide-collapse-icon .only-has-folder-note .fn-empty-folder:not(.fn-has-attachment-folder) .tree-item-icon,
|
|
242
|
+
body.fn-hide-empty-collapse-icon :not(.only-has-folder-note) > .fn-empty-folder:not(.fn-has-attachment-folder) .tree-item-icon,
|
|
243
|
+
body.fn-hide-collapse-icon.only-has-folder-note:not(.is-collapsed):not(.show-folder-note-in-explorer)>.nav-folder-children {
|
|
244
|
+
display: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
/* ==========================================================================
|
|
250
|
+
Settings Tabs
|
|
251
|
+
========================================================================== */
|
|
252
|
+
|
|
253
|
+
.fn-settings-tab-bar {
|
|
254
|
+
display: flex;
|
|
255
|
+
flex-direction: row;
|
|
256
|
+
padding-bottom: 1rem;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.fn-settings-tab {
|
|
260
|
+
display: flex;
|
|
261
|
+
flex-direction: row;
|
|
262
|
+
align-items: center;
|
|
263
|
+
gap: var(--size-4-2);
|
|
264
|
+
padding: 10px;
|
|
265
|
+
border: 1px solid var(--background-modifier-border);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.fn-settings-tab-active {
|
|
269
|
+
background-color: var(--color-accent);
|
|
270
|
+
color: var(--text-on-accent);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.fn-settings-tab-name {
|
|
274
|
+
font-weight: bold;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.fn-settings-tab-icon {
|
|
278
|
+
display: flex;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
/* ==========================================================================
|
|
283
|
+
Suggestion Container
|
|
284
|
+
========================================================================== */
|
|
285
|
+
|
|
286
|
+
.fn-suggestion-container {
|
|
287
|
+
position: absolute;
|
|
288
|
+
overflow: hidden;
|
|
289
|
+
display: flex;
|
|
290
|
+
flex-direction: column;
|
|
291
|
+
background-color: var(--background-primary);
|
|
292
|
+
max-width: 500px;
|
|
293
|
+
max-height: 300px;
|
|
294
|
+
border-radius: var(--radius-m);
|
|
295
|
+
border: 1px solid var(--background-modifier-border);
|
|
296
|
+
box-shadow: var(--shadow-s);
|
|
297
|
+
z-index: var(--layer-notice);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
/* ==========================================================================
|
|
302
|
+
Whitelist Folder Input (Desktop & Mobile)
|
|
303
|
+
========================================================================== */
|
|
304
|
+
|
|
305
|
+
/* Default Desktop Layout */
|
|
306
|
+
.fn-whitelist-folder-input-container {
|
|
307
|
+
display: flex;
|
|
308
|
+
justify-content: space-between;
|
|
309
|
+
align-items: center;
|
|
310
|
+
width: 100%;
|
|
311
|
+
margin: 0;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.fn-whitelist-folder-input-container input {
|
|
315
|
+
flex-grow: 1;
|
|
316
|
+
width: auto;
|
|
317
|
+
margin-right: 8px;
|
|
318
|
+
height: 40px;
|
|
319
|
+
box-sizing: border-box;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.fn-whitelist-folder-buttons {
|
|
323
|
+
display: flex;
|
|
324
|
+
gap: 8px;
|
|
325
|
+
justify-content: flex-end;
|
|
326
|
+
align-items: center;
|
|
327
|
+
flex-grow: 0;
|
|
328
|
+
flex-shrink: 0;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* Mobile Overrides */
|
|
332
|
+
@media (max-width: 768px) {
|
|
333
|
+
.fn-whitelist-folder-input-container {
|
|
334
|
+
display: block;
|
|
335
|
+
width: 100%;
|
|
336
|
+
text-align: center;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.fn-whitelist-folder-input-container input {
|
|
340
|
+
width: 100%;
|
|
341
|
+
margin-right: 0;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.fn-whitelist-folder-buttons {
|
|
345
|
+
display: flex;
|
|
346
|
+
flex-direction: row;
|
|
347
|
+
justify-content: flex-start;
|
|
348
|
+
align-items: center;
|
|
349
|
+
width: 100%;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.is-phone .fn-overview-folder-path .setting-item-control {
|
|
353
|
+
display: block;
|
|
354
|
+
}
|
|
355
|
+
}
|