joplin-plugin-explorer 1.6.0 → 1.6.2
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/package.json +1 -1
- package/publish/index.js +1 -1
- package/publish/manifest.json +1 -1
- package/publish/plugin.jpl +0 -0
- package/publish/webview/panel.css +848 -846
- package/publish/webview/panel.js +1 -1
|
@@ -1,846 +1,848 @@
|
|
|
1
|
-
html, body {
|
|
2
|
-
height: 100%;
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
#notes-in-list-root {
|
|
9
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
10
|
-
font-size: 13px;
|
|
11
|
-
color: var(--joplin-color);
|
|
12
|
-
background-color: var(--joplin-background-color);
|
|
13
|
-
height: 100vh;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
user-select: none;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* Toolbar */
|
|
21
|
-
.toolbar {
|
|
22
|
-
display: flex;
|
|
23
|
-
gap: 4px;
|
|
24
|
-
padding: 6px 8px;
|
|
25
|
-
border-bottom: 1px solid var(--joplin-divider-color, #ddd);
|
|
26
|
-
align-items: center;
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.toolbar button {
|
|
31
|
-
background: var(--joplin-background-color3, #f0f0f0);
|
|
32
|
-
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
33
|
-
border-radius: 4px;
|
|
34
|
-
padding: 4px 8px;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
color: var(--joplin-color);
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
white-space: nowrap;
|
|
39
|
-
flex-shrink: 0;
|
|
40
|
-
line-height: 1.2;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.toolbar button:hover {
|
|
44
|
-
background: var(--joplin-background-color-hover3, #e0e0e0);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.toolbar button:active {
|
|
48
|
-
opacity: 0.7;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#btn-sort {
|
|
52
|
-
min-width: 76px;
|
|
53
|
-
text-align: center;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Search bar */
|
|
57
|
-
.search-bar {
|
|
58
|
-
padding: 4px 8px;
|
|
59
|
-
border-bottom: 1px solid var(--joplin-divider-color, #ddd);
|
|
60
|
-
flex-shrink: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
#search-input {
|
|
64
|
-
width: 100%;
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
padding: 5px 8px;
|
|
67
|
-
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
68
|
-
border-radius: 4px;
|
|
69
|
-
background: var(--joplin-background-color, #fff);
|
|
70
|
-
color: var(--joplin-color);
|
|
71
|
-
font-size: 12px;
|
|
72
|
-
outline: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
#search-input:focus {
|
|
76
|
-
border-color: var(--joplin-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
.tree-item.folder
|
|
180
|
-
.
|
|
181
|
-
.pinned-section-header
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
border
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
.bottom-bar button
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
border
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
/* Drill
|
|
283
|
-
.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
border-
|
|
298
|
-
border-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
border
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
*
|
|
345
|
-
.
|
|
346
|
-
.
|
|
347
|
-
.
|
|
348
|
-
.
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
border-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
font-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
|
|
371
|
-
[data-arrow-pos="right"] .
|
|
372
|
-
[data-arrow-pos="right"] .
|
|
373
|
-
[data-arrow-pos="right"] .
|
|
374
|
-
[data-arrow-pos="right"] .
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
[data-arrow-pos="right"] .
|
|
379
|
-
[data-arrow-pos="right"] .
|
|
380
|
-
[data-arrow-pos="right"] .
|
|
381
|
-
[data-arrow-pos="right"] .
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
[data-arrow-pos="right"] .
|
|
390
|
-
[data-arrow-pos="right"] .
|
|
391
|
-
[data-arrow-pos="right"] .
|
|
392
|
-
[data-arrow-pos="right"] .
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
.
|
|
398
|
-
.
|
|
399
|
-
.
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
.
|
|
405
|
-
.
|
|
406
|
-
.
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
*
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
margin-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
*
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
*
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
.smart-folder.smart-empty
|
|
462
|
-
.smart-
|
|
463
|
-
.
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
.trash-
|
|
469
|
-
.
|
|
470
|
-
.tag-
|
|
471
|
-
.tag-children
|
|
472
|
-
.tag-children
|
|
473
|
-
.tag-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
border
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
*
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
border
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
outline
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
outline
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
.tree-item.drop-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
.tree-item.drop-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
font-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
-webkit-
|
|
656
|
-
-webkit-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
font-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
border
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
border
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
.
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
.
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
1
|
+
html, body {
|
|
2
|
+
height: 100%;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
#notes-in-list-root {
|
|
9
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
10
|
+
font-size: 13px;
|
|
11
|
+
color: var(--joplin-color);
|
|
12
|
+
background-color: var(--joplin-background-color);
|
|
13
|
+
height: 100vh;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
user-select: none;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Toolbar */
|
|
21
|
+
.toolbar {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 4px;
|
|
24
|
+
padding: 6px 8px;
|
|
25
|
+
border-bottom: 1px solid var(--joplin-divider-color, #ddd);
|
|
26
|
+
align-items: center;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.toolbar button {
|
|
31
|
+
background: var(--joplin-background-color3, #f0f0f0);
|
|
32
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
padding: 4px 8px;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
color: var(--joplin-color);
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
line-height: 1.2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.toolbar button:hover {
|
|
44
|
+
background: var(--joplin-background-color-hover3, #e0e0e0);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.toolbar button:active {
|
|
48
|
+
opacity: 0.7;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#btn-sort {
|
|
52
|
+
min-width: 76px;
|
|
53
|
+
text-align: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Search bar */
|
|
57
|
+
.search-bar {
|
|
58
|
+
padding: 4px 8px;
|
|
59
|
+
border-bottom: 1px solid var(--joplin-divider-color, #ddd);
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
#search-input {
|
|
64
|
+
width: 100%;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
padding: 5px 8px;
|
|
67
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
68
|
+
border-radius: 4px;
|
|
69
|
+
background: var(--joplin-background-color, #fff);
|
|
70
|
+
color: var(--joplin-color);
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
outline: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
#search-input:focus {
|
|
76
|
+
border-color: var(--joplin-url-color, #4a9cf5);
|
|
77
|
+
box-shadow: 0 0 0 2px var(--joplin-selected-color, rgba(74, 156, 245, 0.2));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Tree container */
|
|
81
|
+
#tree-container {
|
|
82
|
+
flex: 1;
|
|
83
|
+
overflow-y: scroll;
|
|
84
|
+
padding: 4px 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#tree-container::-webkit-scrollbar {
|
|
88
|
+
width: 8px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
#tree-container::-webkit-scrollbar-track {
|
|
92
|
+
background: transparent;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
#tree-container::-webkit-scrollbar-thumb {
|
|
96
|
+
background: var(--joplin-color-faded, #888);
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
#tree-container::-webkit-scrollbar-thumb:hover {
|
|
101
|
+
background: var(--joplin-color, #555);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Tree items */
|
|
105
|
+
.tree-item {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
padding: 3px 8px;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
gap: 5px;
|
|
111
|
+
border-radius: 3px;
|
|
112
|
+
margin: 1px 4px;
|
|
113
|
+
min-height: 24px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.tree-item:hover {
|
|
117
|
+
background: var(--joplin-background-color-hover3, rgba(100, 100, 100, 0.1));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.tree-item.note.selected {
|
|
121
|
+
background: var(--joplin-selected-color, rgba(74, 156, 245, 0.2));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Toggle arrow */
|
|
125
|
+
.toggle {
|
|
126
|
+
width: 14px;
|
|
127
|
+
text-align: center;
|
|
128
|
+
font-size: 9px;
|
|
129
|
+
flex-shrink: 0;
|
|
130
|
+
color: var(--joplin-color-faded, #888);
|
|
131
|
+
transition: transform 0.15s;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Icons */
|
|
135
|
+
.icon {
|
|
136
|
+
flex-shrink: 0;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
width: 18px;
|
|
139
|
+
text-align: center;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.custom-icon {
|
|
143
|
+
display: block;
|
|
144
|
+
width: 16px;
|
|
145
|
+
height: 16px;
|
|
146
|
+
object-fit: contain;
|
|
147
|
+
margin: 0 auto;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Label */
|
|
151
|
+
.label {
|
|
152
|
+
flex: 1;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* Note count badge */
|
|
159
|
+
.count {
|
|
160
|
+
color: var(--joplin-color-faded, #888);
|
|
161
|
+
font-size: 10px;
|
|
162
|
+
flex-shrink: 0;
|
|
163
|
+
background: var(--joplin-background-color3, rgba(100,100,100,0.1));
|
|
164
|
+
border-radius: 8px;
|
|
165
|
+
padding: 0 5px;
|
|
166
|
+
min-width: 16px;
|
|
167
|
+
text-align: center;
|
|
168
|
+
line-height: 16px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Collapsed children */
|
|
172
|
+
.children.collapsed {
|
|
173
|
+
display: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Open/closed icon variants: both are in the DOM, the .collapsed class on
|
|
177
|
+
the folder row / pinned header picks which one shows. This lets the
|
|
178
|
+
webview toggle folders without a backend re-render. */
|
|
179
|
+
.tree-item.folder.collapsed .icon-when-open { display: none; }
|
|
180
|
+
.tree-item.folder:not(.collapsed) .icon-when-collapsed { display: none; }
|
|
181
|
+
.pinned-section-header.collapsed .icon-when-open { display: none; }
|
|
182
|
+
.pinned-section-header:not(.collapsed) .icon-when-collapsed { display: none; }
|
|
183
|
+
|
|
184
|
+
/* Folder styling */
|
|
185
|
+
.folder .label {
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Note styling */
|
|
190
|
+
.note .label {
|
|
191
|
+
font-weight: normal;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.note .icon {
|
|
195
|
+
font-size: 12px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Bottom bar (sync) */
|
|
199
|
+
.bottom-bar {
|
|
200
|
+
display: flex;
|
|
201
|
+
padding: 6px 8px;
|
|
202
|
+
border-top: 1px solid var(--joplin-divider-color, #ddd);
|
|
203
|
+
flex-shrink: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.bottom-bar button {
|
|
207
|
+
flex: 1;
|
|
208
|
+
background: var(--joplin-background-color3, #f0f0f0);
|
|
209
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
210
|
+
border-radius: 4px;
|
|
211
|
+
padding: 5px 10px;
|
|
212
|
+
cursor: pointer;
|
|
213
|
+
color: var(--joplin-color);
|
|
214
|
+
font-size: 12px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.bottom-bar button:hover {
|
|
218
|
+
background: var(--joplin-background-color-hover3, #e0e0e0);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.bottom-bar button:active {
|
|
222
|
+
opacity: 0.7;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.bottom-bar button:disabled,
|
|
226
|
+
.bottom-bar button.syncing {
|
|
227
|
+
opacity: 0.5;
|
|
228
|
+
cursor: not-allowed;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.bottom-bar button.sync-done {
|
|
232
|
+
color: #27ae60;
|
|
233
|
+
opacity: 1;
|
|
234
|
+
cursor: default;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.bottom-bar button.sync-error {
|
|
238
|
+
color: #e74c3c;
|
|
239
|
+
opacity: 1;
|
|
240
|
+
cursor: default;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Context menu */
|
|
244
|
+
.context-menu {
|
|
245
|
+
position: fixed;
|
|
246
|
+
background: var(--joplin-background-color, #fff);
|
|
247
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
248
|
+
border-radius: 6px;
|
|
249
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
250
|
+
padding: 4px 0;
|
|
251
|
+
min-width: 160px;
|
|
252
|
+
z-index: 9999;
|
|
253
|
+
font-size: 12px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ctx-item {
|
|
257
|
+
padding: 6px 14px;
|
|
258
|
+
cursor: pointer;
|
|
259
|
+
color: var(--joplin-color);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* Fixed-width icon slot so emoji of different widths don't skew the labels */
|
|
263
|
+
.ctx-icon {
|
|
264
|
+
display: inline-block;
|
|
265
|
+
width: 20px;
|
|
266
|
+
text-align: center;
|
|
267
|
+
margin-right: 5px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.ctx-item:hover {
|
|
271
|
+
background: var(--joplin-background-color-hover3, rgba(100, 100, 100, 0.1));
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ctx-danger {
|
|
275
|
+
color: #e74c3c;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.ctx-danger:hover {
|
|
279
|
+
background: rgba(231, 76, 60, 0.1);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/* Drill-in submenu (the narrow panel webview clips flyouts) */
|
|
283
|
+
/* Drill row is flex so the arrow can sit vertically centered at the right. */
|
|
284
|
+
.ctx-drill {
|
|
285
|
+
display: flex;
|
|
286
|
+
align-items: center;
|
|
287
|
+
}
|
|
288
|
+
/* True geometric triangle: a zero-size box whose left border forms a solid
|
|
289
|
+
right-pointing arrow. No font glyph involved, so flex centering is exact —
|
|
290
|
+
the glyph-baseline guesswork of ▶/▸ goes away entirely. */
|
|
291
|
+
.ctx-sub-arrow {
|
|
292
|
+
margin-left: auto;
|
|
293
|
+
width: 0;
|
|
294
|
+
height: 0;
|
|
295
|
+
font-size: 0; /* hide the ▶ text content itself */
|
|
296
|
+
color: transparent;
|
|
297
|
+
border-top: 4px solid transparent;
|
|
298
|
+
border-bottom: 4px solid transparent;
|
|
299
|
+
border-left: 5px solid var(--joplin-color, #ccc);
|
|
300
|
+
opacity: 0.7;
|
|
301
|
+
box-sizing: content-box;
|
|
302
|
+
}
|
|
303
|
+
.ctx-back {
|
|
304
|
+
color: var(--joplin-color-faded, #888);
|
|
305
|
+
font-weight: 600;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.ctx-sep {
|
|
309
|
+
height: 1px;
|
|
310
|
+
background: var(--joplin-divider-color, #ddd);
|
|
311
|
+
margin: 4px 0;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/* Hover preview tooltip */
|
|
315
|
+
#note-preview {
|
|
316
|
+
position: fixed;
|
|
317
|
+
max-width: 260px;
|
|
318
|
+
z-index: 9998;
|
|
319
|
+
background: var(--joplin-background-color, #fff);
|
|
320
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
321
|
+
border-radius: 6px;
|
|
322
|
+
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
|
|
323
|
+
padding: 8px 10px;
|
|
324
|
+
font-size: 12px;
|
|
325
|
+
pointer-events: none;
|
|
326
|
+
}
|
|
327
|
+
.note-preview-title {
|
|
328
|
+
font-weight: 600;
|
|
329
|
+
margin-bottom: 2px;
|
|
330
|
+
}
|
|
331
|
+
.note-preview-meta {
|
|
332
|
+
color: var(--joplin-color-faded, #888);
|
|
333
|
+
font-size: 10px;
|
|
334
|
+
margin-bottom: 5px;
|
|
335
|
+
}
|
|
336
|
+
.note-preview-body {
|
|
337
|
+
color: var(--joplin-color, #ddd);
|
|
338
|
+
opacity: 0.85;
|
|
339
|
+
line-height: 1.45;
|
|
340
|
+
word-break: break-word;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* ---- unified section chrome ----
|
|
344
|
+
* One soft line ABOVE each section header plus breathing room; bodies draw
|
|
345
|
+
* no borders at all, so no state combination can double up lines. */
|
|
346
|
+
.pinned-section-header,
|
|
347
|
+
.smart-section-header,
|
|
348
|
+
.trash-section-header,
|
|
349
|
+
.tags-section-header {
|
|
350
|
+
display: flex;
|
|
351
|
+
align-items: center;
|
|
352
|
+
padding: 4px 8px;
|
|
353
|
+
gap: 5px;
|
|
354
|
+
/* --sec-gap: sectionSpacing setting, set inline on the root (#9) */
|
|
355
|
+
margin: var(--sec-gap, 5px) 4px 1px;
|
|
356
|
+
min-height: 24px;
|
|
357
|
+
padding: 3px 8px;
|
|
358
|
+
border-top: 1px solid rgba(127, 127, 127, 0.22);
|
|
359
|
+
border-radius: 0 0 3px 3px;
|
|
360
|
+
cursor: pointer;
|
|
361
|
+
user-select: none;
|
|
362
|
+
color: var(--joplin-color-faded, #888);
|
|
363
|
+
font-weight: 600;
|
|
364
|
+
font-size: 13px;
|
|
365
|
+
letter-spacing: 0.4px;
|
|
366
|
+
}
|
|
367
|
+
/* Arrow position mode (toggleArrowPosition setting, root data-arrow-pos).
|
|
368
|
+
* "right": chevrons sit right after the text everywhere - section headers,
|
|
369
|
+
* section rows AND notebook tree folders - with counts on the right edge.
|
|
370
|
+
* "left": no overrides, everything keeps the classic leading arrow. */
|
|
371
|
+
[data-arrow-pos="right"] .pinned-section-header .label,
|
|
372
|
+
[data-arrow-pos="right"] .smart-section-header .label,
|
|
373
|
+
[data-arrow-pos="right"] .trash-section-header .label,
|
|
374
|
+
[data-arrow-pos="right"] .tags-section-header .label,
|
|
375
|
+
[data-arrow-pos="right"] .tree-item.folder .label {
|
|
376
|
+
flex: 0 1 auto;
|
|
377
|
+
}
|
|
378
|
+
[data-arrow-pos="right"] .pinned-section-header .toggle,
|
|
379
|
+
[data-arrow-pos="right"] .smart-section-header .toggle,
|
|
380
|
+
[data-arrow-pos="right"] .trash-section-header .toggle,
|
|
381
|
+
[data-arrow-pos="right"] .tags-section-header .toggle,
|
|
382
|
+
[data-arrow-pos="right"] .tree-item.folder .toggle {
|
|
383
|
+
order: 3;
|
|
384
|
+
width: auto;
|
|
385
|
+
margin-left: 2px;
|
|
386
|
+
font-size: 8px;
|
|
387
|
+
opacity: 0.75;
|
|
388
|
+
}
|
|
389
|
+
[data-arrow-pos="right"] .pinned-section-header .count,
|
|
390
|
+
[data-arrow-pos="right"] .smart-section-header .count,
|
|
391
|
+
[data-arrow-pos="right"] .trash-section-header .count,
|
|
392
|
+
[data-arrow-pos="right"] .tags-section-header .count,
|
|
393
|
+
[data-arrow-pos="right"] .tree-item.folder .count {
|
|
394
|
+
order: 4; /* after the chevron (order 3): text › ......... count */
|
|
395
|
+
margin-left: auto;
|
|
396
|
+
}
|
|
397
|
+
.pinned-section-header .icon,
|
|
398
|
+
.smart-section-header .icon,
|
|
399
|
+
.trash-section-header .icon,
|
|
400
|
+
.tags-section-header .icon {
|
|
401
|
+
font-size: 12px;
|
|
402
|
+
opacity: 0.85;
|
|
403
|
+
}
|
|
404
|
+
.pinned-section-header:hover,
|
|
405
|
+
.smart-section-header:hover,
|
|
406
|
+
.trash-section-header:hover,
|
|
407
|
+
.tags-section-header:hover {
|
|
408
|
+
background: var(--joplin-background-color-hover3, rgba(100, 100, 100, 0.12));
|
|
409
|
+
}
|
|
410
|
+
/* The notebook tree has no header row - its wrapper draws the same
|
|
411
|
+
* section-opening line as the headers do. */
|
|
412
|
+
#main-tree {
|
|
413
|
+
margin: var(--sec-gap, 5px) 4px 1px;
|
|
414
|
+
padding-top: 4px;
|
|
415
|
+
border-top: 1px solid rgba(127, 127, 127, 0.22);
|
|
416
|
+
}
|
|
417
|
+
/* #main-tree already carries the 4px side margins; zero the rows' own so
|
|
418
|
+
* tree counts land on the same right edge as section header counts
|
|
419
|
+
* (they were 4px further left - measured, not eyeballed). */
|
|
420
|
+
#main-tree .tree-item {
|
|
421
|
+
margin-left: 0;
|
|
422
|
+
margin-right: 0;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* Expand animation: children fade/slide in when the USER toggles a section
|
|
426
|
+
* or folder (JS adds .anim-expand only on interactive expands, so panel
|
|
427
|
+
* re-renders don't flash). */
|
|
428
|
+
@keyframes sectionExpand {
|
|
429
|
+
from { opacity: 0; transform: translateY(-4px); }
|
|
430
|
+
to { opacity: 1; transform: none; }
|
|
431
|
+
}
|
|
432
|
+
.anim-expand { animation: sectionExpand 0.16s ease-out; }
|
|
433
|
+
|
|
434
|
+
/* Whichever section comes first sits right under the search bar's own
|
|
435
|
+
* border - no extra line there. */
|
|
436
|
+
#tree-container > div:first-child {
|
|
437
|
+
border-top: none;
|
|
438
|
+
margin-top: 0;
|
|
439
|
+
padding-top: 4px;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.pinned-section-body.collapsed {
|
|
443
|
+
display: none;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.pinned-item {
|
|
447
|
+
padding-left: 26px !important;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* (Section rows are .tree-item.folder too - covered by the arrow-position
|
|
451
|
+
* rules above.) */
|
|
452
|
+
|
|
453
|
+
/* ---- tags section (tags as folders) ---- */
|
|
454
|
+
.tags-section-body.collapsed { display: none; }
|
|
455
|
+
/* Smart folders sit right under the pinned body, whose border-bottom
|
|
456
|
+
* already draws the divider - a border-top here doubled the line. The
|
|
457
|
+
* section closes with its own bottom divider before the tree instead. */
|
|
458
|
+
.smart-section-body.collapsed { display: none; }
|
|
459
|
+
/* Empty smart folder: keeps its folder shape (arrow included) but dimmed,
|
|
460
|
+
* and clicking it does nothing (no children container exists). */
|
|
461
|
+
.smart-folder.smart-empty { opacity: 0.45; }
|
|
462
|
+
.smart-folder.smart-empty:hover { background: none; cursor: default; }
|
|
463
|
+
.smart-children.collapsed { display: none; }
|
|
464
|
+
.trash-children.collapsed { display: none; }
|
|
465
|
+
/* Rows swept out of view when an ancestor trash folder is collapsed */
|
|
466
|
+
.trash-hidden { display: none; }
|
|
467
|
+
/* Rows carry inline padding (depth-based); containers only need hide/show */
|
|
468
|
+
.trash-folder-children.collapsed { display: none; }
|
|
469
|
+
.trash-note .label { opacity: 0.75; }
|
|
470
|
+
.tag-folder { padding-left: 26px !important; }
|
|
471
|
+
.tag-children { }
|
|
472
|
+
.tag-children.collapsed { display: none; }
|
|
473
|
+
.tag-children .tree-item.note { padding-left: 44px !important; }
|
|
474
|
+
.tag-empty {
|
|
475
|
+
padding: 2px 8px 2px 44px;
|
|
476
|
+
color: var(--joplin-color-faded, #888);
|
|
477
|
+
font-size: 11px;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/* Empty drop zone — sticky at bottom of scroll viewport */
|
|
481
|
+
.drop-zone-empty {
|
|
482
|
+
position: sticky;
|
|
483
|
+
bottom: 0;
|
|
484
|
+
height: 32px;
|
|
485
|
+
flex-shrink: 0;
|
|
486
|
+
opacity: 0;
|
|
487
|
+
pointer-events: none;
|
|
488
|
+
transition: opacity 0.15s;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/* Only show during drag (activated by JS class on tree-container) */
|
|
492
|
+
#tree-container.dragging-active .drop-zone-empty {
|
|
493
|
+
opacity: 1;
|
|
494
|
+
pointer-events: auto;
|
|
495
|
+
border: 2px dashed var(--joplin-url-color, #4a9cf5);
|
|
496
|
+
border-radius: 6px;
|
|
497
|
+
margin: 4px 8px;
|
|
498
|
+
text-align: center;
|
|
499
|
+
line-height: 28px;
|
|
500
|
+
font-size: 11px;
|
|
501
|
+
color: var(--joplin-url-color, #4a9cf5);
|
|
502
|
+
/* Solid panel base under the blue tint - the zone floats (sticky) above
|
|
503
|
+
* tree rows, so a translucent-only background let them bleed through. */
|
|
504
|
+
background: linear-gradient(rgba(74, 156, 245, 0.15), rgba(74, 156, 245, 0.15)),
|
|
505
|
+
var(--joplin-background-color, #1e1e1e);
|
|
506
|
+
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
|
|
507
|
+
z-index: 10;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/* Temporary drop target when the pinned section is empty (#13): sticky so
|
|
511
|
+
* it stays visible however far the tree is scrolled (same pattern as the
|
|
512
|
+
* drop-zone-empty bar). */
|
|
513
|
+
#pinned-drop-ph {
|
|
514
|
+
position: sticky;
|
|
515
|
+
top: 0;
|
|
516
|
+
z-index: 10;
|
|
517
|
+
justify-content: center;
|
|
518
|
+
border: 2px dashed var(--joplin-url-color, #4a9cf5);
|
|
519
|
+
border-radius: 6px;
|
|
520
|
+
margin: 4px 8px;
|
|
521
|
+
padding: 6px 8px;
|
|
522
|
+
color: var(--joplin-url-color, #4a9cf5);
|
|
523
|
+
font-size: 12px;
|
|
524
|
+
background: linear-gradient(rgba(74, 156, 245, 0.15), rgba(74, 156, 245, 0.15)),
|
|
525
|
+
var(--joplin-background-color, #1e1e1e);
|
|
526
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Pinned section accepts drops during drag — outline doesn't affect layout */
|
|
530
|
+
#tree-container.dragging-active .pinned-section-header {
|
|
531
|
+
outline: 2px dashed var(--joplin-url-color, #4a9cf5);
|
|
532
|
+
outline-offset: -2px;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/* Drag & Drop */
|
|
536
|
+
.tree-item.dragging {
|
|
537
|
+
opacity: 0.35;
|
|
538
|
+
filter: grayscale(30%);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.tree-item.drop-target {
|
|
542
|
+
background: var(--joplin-selected-color, rgba(74, 156, 245, 0.28));
|
|
543
|
+
outline: 2px solid var(--joplin-url-color, #4a9cf5);
|
|
544
|
+
outline-offset: -2px;
|
|
545
|
+
border-radius: 4px;
|
|
546
|
+
box-shadow: 0 0 0 2px rgba(74, 156, 245, 0.15);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/* Horizontal insertion bar (above/below) — position:relative only when active */
|
|
550
|
+
.tree-item.drop-above,
|
|
551
|
+
.tree-item.drop-below {
|
|
552
|
+
position: relative;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.tree-item.drop-above::before,
|
|
556
|
+
.tree-item.drop-below::before {
|
|
557
|
+
content: '';
|
|
558
|
+
position: absolute;
|
|
559
|
+
left: 4px;
|
|
560
|
+
right: 4px;
|
|
561
|
+
height: 3px;
|
|
562
|
+
background: var(--joplin-url-color, #4a9cf5);
|
|
563
|
+
border-radius: 2px;
|
|
564
|
+
box-shadow: 0 0 4px rgba(74, 156, 245, 0.6);
|
|
565
|
+
pointer-events: none;
|
|
566
|
+
z-index: 5;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.tree-item.drop-above::before {
|
|
570
|
+
top: -2px;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.tree-item.drop-below::before {
|
|
574
|
+
bottom: -2px;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/* Dropping into empty area -> create new notebook */
|
|
578
|
+
#tree-container.drop-empty {
|
|
579
|
+
box-shadow: inset 0 0 0 2px var(--joplin-url-color, #4a9cf5);
|
|
580
|
+
background: rgba(74, 156, 245, 0.06);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
#search-results {
|
|
585
|
+
flex: 1;
|
|
586
|
+
overflow-y: scroll;
|
|
587
|
+
padding: 4px 0;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
#search-results::-webkit-scrollbar {
|
|
591
|
+
width: 8px;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
#search-results::-webkit-scrollbar-track {
|
|
595
|
+
background: transparent;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
#search-results::-webkit-scrollbar-thumb {
|
|
599
|
+
background: var(--joplin-color-faded, #888);
|
|
600
|
+
border-radius: 4px;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/* Search results */
|
|
604
|
+
.search-status {
|
|
605
|
+
padding: 8px 12px;
|
|
606
|
+
font-size: 11px;
|
|
607
|
+
color: var(--joplin-color-faded, #888);
|
|
608
|
+
border-bottom: 1px solid var(--joplin-divider-color, #eee);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.search-result-item {
|
|
612
|
+
display: flex;
|
|
613
|
+
align-items: flex-start;
|
|
614
|
+
padding: 8px 10px;
|
|
615
|
+
gap: 8px;
|
|
616
|
+
min-height: auto;
|
|
617
|
+
margin: 0; /* override .tree-item margin for note items in search results */
|
|
618
|
+
border-radius: 0;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.search-result-item .icon {
|
|
622
|
+
flex-shrink: 0;
|
|
623
|
+
font-size: 12px;
|
|
624
|
+
width: 18px;
|
|
625
|
+
text-align: center;
|
|
626
|
+
line-height: 16.8px; /* match .search-result-title 12px * 1.4 */
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.search-result-content {
|
|
630
|
+
flex: 1;
|
|
631
|
+
min-width: 0;
|
|
632
|
+
overflow: hidden;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.search-result-title {
|
|
636
|
+
font-weight: 600;
|
|
637
|
+
font-size: 12px;
|
|
638
|
+
line-height: 1.4;
|
|
639
|
+
white-space: nowrap;
|
|
640
|
+
overflow: hidden;
|
|
641
|
+
text-overflow: ellipsis;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.search-result-folder {
|
|
645
|
+
font-size: 10px;
|
|
646
|
+
color: var(--joplin-color-faded, #999);
|
|
647
|
+
margin-top: 1px;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.search-result-snippet {
|
|
651
|
+
font-size: 11px;
|
|
652
|
+
color: var(--joplin-color-faded, #777);
|
|
653
|
+
margin-top: 3px;
|
|
654
|
+
line-height: 1.4;
|
|
655
|
+
display: -webkit-box;
|
|
656
|
+
-webkit-line-clamp: 2;
|
|
657
|
+
-webkit-box-orient: vertical;
|
|
658
|
+
overflow: hidden;
|
|
659
|
+
word-break: break-all;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/* Search section headers */
|
|
663
|
+
.search-section-header {
|
|
664
|
+
padding: 6px 10px;
|
|
665
|
+
font-size: 11px;
|
|
666
|
+
font-weight: 700;
|
|
667
|
+
color: var(--joplin-color-faded, #888);
|
|
668
|
+
background: var(--joplin-background-color3, rgba(100, 100, 100, 0.06));
|
|
669
|
+
border-bottom: 1px solid var(--joplin-divider-color, #eee);
|
|
670
|
+
text-transform: uppercase;
|
|
671
|
+
letter-spacing: 0.5px;
|
|
672
|
+
cursor: pointer;
|
|
673
|
+
user-select: none;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.search-section-header:hover {
|
|
677
|
+
background: var(--joplin-background-color-hover3, rgba(100, 100, 100, 0.12));
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.section-toggle {
|
|
681
|
+
display: inline-block;
|
|
682
|
+
font-size: 9px;
|
|
683
|
+
width: 12px;
|
|
684
|
+
text-align: center;
|
|
685
|
+
transition: transform 0.15s;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.search-section-body.collapsed {
|
|
689
|
+
display: none;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/* Tag items in search results */
|
|
693
|
+
.search-tag-item {
|
|
694
|
+
cursor: pointer;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.search-tag-item:hover {
|
|
698
|
+
background: var(--joplin-background-color-hover3, rgba(100, 100, 100, 0.1));
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.tag-expand-arrow {
|
|
702
|
+
flex-shrink: 0;
|
|
703
|
+
font-size: 9px;
|
|
704
|
+
color: var(--joplin-color-faded, #888);
|
|
705
|
+
transition: transform 0.15s;
|
|
706
|
+
margin-right: 4px;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.tag-expand-arrow.expanded {
|
|
710
|
+
transform: rotate(90deg);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.tag-notes-container {
|
|
714
|
+
padding-left: 16px;
|
|
715
|
+
border-left: 2px solid var(--joplin-divider-color, #eee);
|
|
716
|
+
margin-left: 18px;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/* Folder items in search results */
|
|
720
|
+
.search-folder-item {
|
|
721
|
+
cursor: pointer;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.search-folder-item:hover {
|
|
725
|
+
background: var(--joplin-background-color-hover3, rgba(100, 100, 100, 0.1));
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/* Flash highlight when locating a folder from search */
|
|
729
|
+
@keyframes locate-pulse {
|
|
730
|
+
0% { background: rgba(74, 156, 245, 0.5); }
|
|
731
|
+
100% { background: transparent; }
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.tree-item.locate-flash {
|
|
735
|
+
animation: locate-pulse 1.5s ease-out;
|
|
736
|
+
border-radius: 4px;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/* Inline input dialog */
|
|
740
|
+
.inline-input-overlay {
|
|
741
|
+
position: fixed;
|
|
742
|
+
top: 0; left: 0; right: 0; bottom: 0;
|
|
743
|
+
background: rgba(0, 0, 0, 0.3);
|
|
744
|
+
display: flex;
|
|
745
|
+
align-items: center;
|
|
746
|
+
justify-content: center;
|
|
747
|
+
z-index: 10000;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.inline-input-dialog {
|
|
751
|
+
background: var(--joplin-background-color, #fff);
|
|
752
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
753
|
+
border-radius: 8px;
|
|
754
|
+
padding: 16px;
|
|
755
|
+
min-width: 240px;
|
|
756
|
+
max-width: 90%;
|
|
757
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.inline-input-label {
|
|
761
|
+
font-size: 12px;
|
|
762
|
+
margin-bottom: 8px;
|
|
763
|
+
color: var(--joplin-color);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.inline-input-field {
|
|
767
|
+
width: 100%;
|
|
768
|
+
box-sizing: border-box;
|
|
769
|
+
padding: 6px 8px;
|
|
770
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
771
|
+
border-radius: 4px;
|
|
772
|
+
background: var(--joplin-background-color, #fff);
|
|
773
|
+
color: var(--joplin-color);
|
|
774
|
+
font-size: 13px;
|
|
775
|
+
outline: none;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.inline-input-field:focus {
|
|
779
|
+
border-color: var(--joplin-url-color, #4a9cf5);
|
|
780
|
+
box-shadow: 0 0 0 2px var(--joplin-selected-color, rgba(74, 156, 245, 0.2));
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.inline-input-buttons {
|
|
784
|
+
display: flex;
|
|
785
|
+
gap: 8px;
|
|
786
|
+
margin-top: 12px;
|
|
787
|
+
justify-content: flex-end;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.inline-input-buttons button {
|
|
791
|
+
padding: 5px 16px;
|
|
792
|
+
border: 1px solid var(--joplin-divider-color, #ccc);
|
|
793
|
+
border-radius: 4px;
|
|
794
|
+
cursor: pointer;
|
|
795
|
+
font-size: 12px;
|
|
796
|
+
color: var(--joplin-color);
|
|
797
|
+
background: var(--joplin-background-color3, #f0f0f0);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.inline-input-ok {
|
|
801
|
+
background: #1a73e8 !important;
|
|
802
|
+
color: #fff !important;
|
|
803
|
+
border-color: #1a73e8 !important;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.inline-input-buttons button:hover {
|
|
807
|
+
opacity: 0.85;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
mark.search-highlight {
|
|
811
|
+
background: rgba(255, 213, 0, 0.4);
|
|
812
|
+
color: inherit;
|
|
813
|
+
padding: 0 1px;
|
|
814
|
+
border-radius: 2px;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/* ---- Note-row badges: checkbox progress pie + published link ---- */
|
|
818
|
+
/* Hug the badges to the title text instead of the row's right edge. */
|
|
819
|
+
.tree-item.note .label { flex: 0 1 auto; }
|
|
820
|
+
.todo-pie, .shared-badge {
|
|
821
|
+
flex-shrink: 0;
|
|
822
|
+
display: inline-flex;
|
|
823
|
+
align-items: center;
|
|
824
|
+
}
|
|
825
|
+
.todo-pie svg, .shared-badge svg { display: block; }
|
|
826
|
+
/* Same box metrics as .count (min-width 16 + 5px side padding) so the
|
|
827
|
+
pie centers exactly where count digits center. */
|
|
828
|
+
.todo-pie {
|
|
829
|
+
color: var(--joplin-color-faded, #888);
|
|
830
|
+
margin-left: auto;
|
|
831
|
+
min-width: 16px;
|
|
832
|
+
padding: 0 5px;
|
|
833
|
+
justify-content: center;
|
|
834
|
+
}
|
|
835
|
+
.todo-pie .pie-ring { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.55; }
|
|
836
|
+
.todo-pie .pie-fill { fill: currentColor; opacity: 0.8; }
|
|
837
|
+
.shared-badge {
|
|
838
|
+
color: var(--joplin-color-faded, #999);
|
|
839
|
+
opacity: 0.75;
|
|
840
|
+
cursor: pointer;
|
|
841
|
+
padding: 2px;
|
|
842
|
+
border-radius: 3px;
|
|
843
|
+
}
|
|
844
|
+
.shared-badge:hover {
|
|
845
|
+
opacity: 1;
|
|
846
|
+
color: inherit;
|
|
847
|
+
background: rgba(127, 127, 127, 0.25);
|
|
848
|
+
}
|