-
Notifications
You must be signed in to change notification settings - Fork 10
/
blue-theme-dark-mode.css
710 lines (598 loc) · 18.2 KB
/
blue-theme-dark-mode.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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
180
181
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
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
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
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
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
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
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
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
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
/*
Blue theme dark-mode
https://github.com/SiriusXT/trilium-theme-blue
dark-mode version:0.8 for trilium-NEXT:>=0.90.8
*/
body{
--h2-background-color: rgb(105 154 187 / 50%);
--h3-background-color: rgb(112 175 164 / 40%);
--h4-background-color: rgb(215 187 162 / 40%);
--h5-background-color: rgb(190 186 206 / 40%);
--h6-background-color: rgb(197 197 197 / 40%);
--right-pane-li-hover-background: rgb(46, 46, 46);
--ck-color-table-focused-cell-background:#1E1E1E;
--ck-color-selector-focused-cell-background:#1E1E1E;
--ck-color-focus-border:#bfbfbf;/*table focus border*/
}
:root {
--theme-style: dark;
--main-background-color: #1E1E1E;
--main-text-color: #d4d4d4;
--main-border-color: #333333;
--accented-background-color: #222;/*rgb(51, 51, 51);*/
--more-accented-background-color: #333;
--button-background-color: transparent;
--button-border-color: #333;
--button-text-color: currentColor;
--button-border-radius: 3px;
--button-disabled-background-color: transparent;
--button-disabled-text-color: #999;
--primary-button-background-color: #0E639C50;
--primary-button-text-color: #ccc;
--primary-button-border-color: transparent;
--muted-text-color: #bbb;
--input-text-color: #ccc;
--input-background-color: #333;
--hover-item-text-color: #ccc;
--hover-item-background-color: transparent;
--hover-item-border-color: #333;
--active-item-text-color: #ccc;
--active-item-background-color: #4682B430;
--active-item-border-color: transparent;
--menu-text-color: #ccc;
--menu-background-color: #222;
--modal-background-color: #333;
--modal-backdrop-color: #444;
--left-pane-background-color: #252526;
--left-pane-text-color: #AAAAAA;
--launcher-pane-background-color: #333333;
--launcher-pane-text-color: rgba(255, 255, 255, 0.4);
--active-tab-background-color: rgb(30, 30, 30);
--active-tab-hover-background-color: rgb(30, 30, 30);
--active-tab-text-color: rgb(255, 255, 255);
--inactive-tab-background-color: rgb(51, 51, 51);
--inactive-tab-hover-background-color: rgb(51, 51, 51);
--inactive-tab-text-color: rgba(255, 255, 255, 0.5);
--scrollbar-border-color: #333;
--tooltip-background-color: #333;
--link-color: #4682B4;
--mermaid-theme: dark;
--ck-color-code-block-label-background: #333;
}
body ::-webkit-calendar-picker-indicator {
filter: invert(1);
}
body .CodeMirror {
filter: invert(88%) hue-rotate(180deg);
}
div.note-book-content.type-canvas>div.rendered-note-content>svg{
filter: invert(88%) hue-rotate(180deg);
}
.excalidraw.theme--dark {
--theme-filter: invert(80%) hue-rotate(180deg) !important;
}
div#launcher-pane .global-menu-button {
filter: invert(0.5);
}
body div.CodeMirror-vscrollbar::-webkit-scrollbar-thumb {
border-radius: 5px !important;
background: #ddd !important;
border-color:#ccc;
}
div.tree:not(.fancytree-ext-filter.fancytree-ext-filter-hide) li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n) {
border-left: 3px solid #f4a6a670;
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
div.tree:not(.fancytree-ext-filter.fancytree-ext-filter-hide) li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+1) {
border-left: 3px solid #99d0df70;
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
div.tree:not(.fancytree-ext-filter.fancytree-ext-filter-hide) li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+2) {
border-left: 3px solid #b4afdf70;
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
div.tree:not(.fancytree-ext-filter.fancytree-ext-filter-hide) li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+3) {
border-left: 3px solid #abd58b70;
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
div.tree:not(.fancytree-ext-filter.fancytree-ext-filter-hide) li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+4) {
border-left: 3px solid #f3d27570;
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
div.tree:not(.fancytree-ext-filter.fancytree-ext-filter-hide) li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+5) {
border-left: 3px solid #bccdf170;
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n):hover {
background-color: #f4a6a607 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+1):hover {
background-color: #99d0df07 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+2):hover {
background-color: #b4afdf07 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+3):hover {
background-color: #abd58b07 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+4):hover {
background-color: #f3d27507 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+5):hover {
background-color: #bccdf107 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n)>span.fancytree-node:hover {
background-color: #f4a6a607 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+1)>span.fancytree-node:hover {
background-color: #99d0df07 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+2)>span.fancytree-node:hover {
background-color: #b4afdf07 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+3)>span.fancytree-node:hover {
background-color: #abd58b07 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+4)>span.fancytree-node:hover {
background-color: #f3d27507 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+5)>span.fancytree-node:hover {
background-color: #bccdf107 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n)>span.fancytree-node.fancytree-active {
background-color: #f4a6a610 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+1)>span.fancytree-node.fancytree-active {
background-color: #99d0df10 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+2)>span.fancytree-node.fancytree-active {
background-color: #b4afdf10 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+3)>span.fancytree-node.fancytree-active {
background-color: #abd58b10 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+4)>span.fancytree-node.fancytree-active {
background-color: #f3d27510 !important;
}
li.fancytree-lastsib ul li[role='treeitem']:nth-of-type(6n+5)>span.fancytree-node.fancytree-active {
background-color: #bccdf110 !important;
}
/*代码块*/
div.note-detail.component .hljs-built_in, div.note-detail.component .hljs-keyword, div.note-detail.component .hljs-name, div.note-detail.component .hljs-selector-tag, div.note-detail.component .hljs-tag {
color: #4aa8b7;
}
.hljs-addition, .hljs-attribute, .hljs-literal, .hljs-section, .hljs-string, .hljs-template-tag, .hljs-template-variable, .hljs-title, .hljs-type{
color: #bd3c16;
}
div.note-detail.component .ck-content code{
background-color: var(--more-accented-background-color);
}
.ck-content pre {
border: 1px solid var(--main-border-color) !important;
border-radius: 0px !important;
background-color: var(--more-accented-background-color);
}
/*Quotation block color inversion
.ck-content blockquote {
filter: invert(100%) hue-rotate(180deg);
}*/
div.tooltip-inner{
box-shadow:0px 0px 0px 0px #000 !important;
}
div.modal.mx-auto.component {
background-color: #00000085 !important;
}
/*Heading*/
div.component.note-split.type-text h1 {
padding-left: 0.4em;
border-left: 9px solid rgba(0, 0, 0, 1);
border-bottom: 1px solid rgba(0, 0, 0, 1);
}
div.component.note-split.type-text h2:not(div.note-list-widget h2) {
background: var(--h2-background-color);
border-radius: 6px 6px 6px 6px;
/* box-shadow: 0 0 0 1px var(--h2-background-color), 1px 1px 6px 1px var(--h2-background-color); */
/* color: #000000; */
padding: 5px 0 2px 10px;
text-shadow: 2px 2px 3px var(--main-background-color);
}
div.component.note-split.type-text h3:not(div.note-list-widget h3) {
background: var(--h3-background-color);
border-radius: 6px 6px 6px 6px;
/* box-shadow: 0 0 0 1px var(--h3-background-color), 1px 1px 6px 1px var(--h3-background-color); */
/* color: #000000; */
padding: 4px 0 2px 10px;
text-shadow: 2px 2px 3px var(--main-background-color);
}
div.component.note-split.type-text h4:not(div.note-list-widget h4) {
background: var(--h4-background-color);
border-radius: 6px 6px 6px 6px;
/* box-shadow: 0 0 0 1px var(--h4-background-color), 1px 1px 6px 1px var(--h4-background-color); */
/* color: #000000; */
padding: 3px 0 2px 10px;
text-shadow: 2px 2px 3px var(--main-background-color);
}
div.component.note-split.type-text h5:not(.note-book-header):not(div.note-list-widget h5) {
background: var(--h5-background-color);
border-radius: 6px 6px 6px 6px;
/* box-shadow: 0 0 0 1px var(--h5-background-color), 1px 1px 6px 1px var(--h5-background-color); */
/* color: #000000; */
padding: 2px 0 2px 10px;
text-shadow: 2px 2px 3px var(--main-background-color);
}
div.component.note-split.type-text h6:not(div.note-list-widget h6) {
background: var(--h6-background-color);
border-radius: 6px 6px 6px 6px;
/* box-shadow: 0 0 0 1px var(--h6-background-color), 1px 1px 6px 1px var(--h6-background-color); */
/* color: #000000; */
padding: 1px 0 2px 10px;
text-shadow: 2px 2px 3px var(--main-background-color);
}
div.component.note-split.type-text h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: .3rem !important;
margin-bottom: .15rem !important;
}
/*TOC*/
div.toc-widget span.toc>ol>li{
color:var(--h2-background-color);
}
div.toc-widget span.toc>ol>ol>li{
color:var(--h3-background-color);
}
div.toc-widget span.toc>ol>ol>ol>li{
color:var(--h4-background-color);
}
div.toc-widget span.toc>ol>ol>ol>ol>li{
color:var(--h5-background-color);
}
div.toc-widget span.toc>ol>ol>ol>ol>ol>li{
color:var(--h6-background-color);
}
div.toc-widget .toc ol{
padding-left:15px;
}
div#rest-pane.component div.tab-row-widget.component{
box-shadow: 0px 1px #111;
}
div.quick-search.input-group.input-group-sm.component{
box-shadow: 0px 1px #111;
}
div.note-book-card.block-link.expanded {
box-shadow: 1px 1px 1px 0px #111;
}
::-webkit-scrollbar-thumb{
background-color:#222 !important;
}
/*Show shadow on right*/
#launcher-pane{
box-shadow: 1px 0px #111;
z-index:999;
}
strong{
color: #fff;
}
/*Make the notification in the bottom right*/
div#toast-container{
right:10px !important;
bottom:10px !important;
top:auto !important;
width:auto !important;
}
/*Background color for button opening*/
.switch-widget span.slider.checked {
background-color: var(--primary-button-background-color) !important;
}
/*horizontal line*/
div.note-detail div.ck-horizontal-line.ck-widget{
margin-top: 10px !important;
}
.ck-content hr{
margin-bottom: 10px !important;
}
/*Left title font*/
body,span.fancytree-title{
font-family:var(--detail-font-family) !important;
top:0px !important;
}
span:not(.fancytree-active) span.fancytree-title{
font-weight: 500 !important;
}
/*Left navigation bar
#launcher-pane .launcher-button{
color: #f0f4f4 !important;
background-color: var(--color-blue-light) !important;
}*/
.global-menu{
/* background-color: var(--color-blue-light);*/
width: auto !important;
}
#launcher-container div.dropdown.right-dropdown-widget.dropright.component > button{
padding-left:8px !important;
}
ul.fancytree-container li {
contain: initial;
}
.global-menu-button{
background-size: 35px !important;
}
div#launcher-pane.component{
width: 44px !important;
}
#launcher-pane .launcher-button{
padding: initial !important;
}
div.dropdown.global-menu.dropright.component > .icon-action{
border:0px;
}
.dropdown, .dropleft, .dropright, .dropup {
position: initial;
}
.sync-status .sync-status-icon {
padding: 8px 8px 8px 8px;
}
.sync-status .sync-status-icon span{
padding: 8px 8px 8px 8px;
}
div.quick-search.input-group.input-group-sm.component{
align-content: center;
}
/*Left fold arrow*/
span.fancytree-node:not(.fancytree-folder) .fancytree-expander::before{
content: "\ec21" !important;
visibility: visible !important;
color: var(--left-pane-text-color) !important;
opacity:0.1;
}
#center-pane .title-row .note-icon-widget button {
display: flex;
margin-top: 2px;
}
input.note-title{
font-family:var(--detail-font-family) !important;
font-weight:bold;
}
.bx-dock-right::before{
vertical-align: middle;
}
div#rest-pane > div.component{
height: 30px !important;
margin-bottom: 1px !important;
}
.note-new-tab{
width: 30px !important;
height: 30px !important;
font-size: 19px !important;
}
div#rest-pane div.tab-row-widget div.tab-row-widget-container div.note-tab div.note-tab-wrapper{
padding: 2px 5px 1px 5px !important;
height: 30px !important;
}
div.note-tab-wrapper div.note-tab-close.bx{
padding-bottom: 25px;
}
div#rest-pane div.tab-row-widget div.tab-row-widget-container div.note-tab div.note-tab-wrapper>div:hover {
background: none;
}
div#rest-pane div.tab-row-widget div.tab-row-widget-container div.note-tab[active] .note-tab-wrapper div.note-tab-title::before {
content: "\203B ";
margin-right: 5px;
}
/*Gap height between panel items*/
.fancytree-node{
padding-top:0px !important;
padding-bottom:0px !important;
}
span.fancytree-node.fancytree-active {
border-radius: 0px !important;
border: 0px !important;
}
span.button-widget.icon-action.bx.component.bx-history,
.ribbon-button-container .icon-action {
padding-top: 5px !important;
}
span.fancytree-node:hover{
border: 0px !important;
}
span.fancytree-node{
border:0px !important;
}
.title-bar-buttons div button.icon-action {
font-size: 80% !important;
}
.title-bar-buttons {
font-size: 12px;
}
div.note-detail p{
margin-top: 0.5rem !important;/*0.1*/
margin-bottom: 0.5rem !important;/*0.1*/
/*first-line indent*/
text-indent: 2em;
/*Align both ends*/
text-align: justify;
}
/*does not indent
div.note-detail p span.bx {
display: inline;
}*/
/*List and text alignment*/
dl, ol, ul{
padding-left: 2em;
}
div.note-detail ul>li,ol>li{
text-align: justify;
}
div.note-detail ol, .note-detail ul, .note-detail dl{
margin-bottom: 0 !important;
}
.ck-content .todo-list li {
margin-bottom: 0 !important;
}
blockquote>p {
text-indent: 0em;
}
p>span.ck-math-tex {
text-indent: 0em;/*Formulas are not indented*/
}
/*line spacing*/
.note-detail {
line-height: 1.35;
}
/*Image center*/
.ck-content p>span.image-inline{
vertical-align: middle;
}
/*image*/
.ck-content figure.image{
margin-top: 0.5rem;/*0.2*/
margin-bottom: 0.5rem;/*0.2*/
}
/*Image Borders*/
div.note-detail.component span.image-inline {
border: 1px dashed var(--main-border-color);
}
div.note-detail.component figure.image {
border: 1px dashed var(--main-border-color);
}
::selection {
background-color: rgba(70,130,180,0.5) !important;
}
.note-properties-widget {
padding: 0px !important;
}
/*Left side of title bar*/
.note-icon-widget.dropdown.component {
padding-top: 1.5px !important;
}
/*Button below title bar*/
.basic-properties-widget>* {
margin-top: 0px !important;
}
div.attribute-list {
margin-top: 0px !important;
}
.basic-properties-widget {
padding: 0px 12px 0px 12px !important;
}
.component {
padding-top: 0px !important;
padding-bottom: 0px !important;
}
.inherited-attributes-container {
padding: 0px 12px 0px 12px !important;
}
.add-new-attribute-button,.save-attributes-button {
bottom: 0px !important;
}
/*code block*/
#center-pane div.note-detail-editable-text div.note-detail-editable-text-editor.ck.ck-content pre,
#center-pane .CodeMirror pre code {
/* color: var(--color-blue-dark) !important; */
padding: 0.2em;
/*original 1.5em;*/
margin: 0.5rem auto 0.5rem;
/*original margin: 1.0rem auto 2.5rem;*/
/* background-color: var(--color-gray-dark);
border: 1px dotted var(--color-gray); */
border-radius: 5px;
}
/*Upper right corner text*/
.ck.ck-editor__editable pre[data-language]::after {
opacity: 0.5;
}
/*formula spacing*/
.ck-math-tex .katex-display {
margin: 0;
}
/*Quote block style*/
.ck-content blockquote{
font-style: initial !important;
color: #708faf !important;
border-left: 5px solid var(--main-border-color) !important;
background: none repeat scroll 0 0 rgba(102,128,153,.1) !important;
padding: 8px 1px 0px 10px !important;
margin: 0.2rem 0 0 0 !important;
}
code{
font-size: 100% !important;
}
blockquote>p{
margin-bottom: 0 !important;
text-indent: 1.7em !important;
}
/*
dl, ol, ul{
margin-bottom: 0.5rem !important;
}
*/
/*table top and bottom spacing*/
.ck-content .table{
margin-top: 0.1rem;
margin-bottom: 0.1rem;
--bs-table-bg: auto;
}
.ck-content .table>figcaption{
background-color: var(--main-background-color) !important;
color: var(--muted-text-color) !important;
border-color: var(--muted-text-color) !important;
}
/*.ck-content .table table td, .ck-content .table table th{
border: 1px solid var(--main-border-color) !important;
}
.ck-content .table table{
border: 1px solid var(--main-border-color) !important;
}*/
/*设置界面*/
.form-control {
border: 1px solid var(--main-border-color) !important;
}
.input-group-text {
border: 1px solid var(--main-border-color) !important;
}
div.shared-info-widget.alert.alert-warning.component{
margin-top: 0;
margin-bottom: 0;
}
/*input box focus border color*/
:focus-visible {
outline: 2px solid var(--main-border-color);
}
div.note-title-widget.component > input.note-title{
margin-top: 2px;
}
div.note-icon-widget > button.bx.bx-code.note-icon{
margin-top: 2px !important;
}
/*The color of the button when clicked, such as the three buttons in the upper right corner*/
.btn.focus, .btn:focus{
box-shadow: 0 0 0 0.2rem #11111100 !important;
}
/*The size of the three buttons in the upper right corner*/
.title-bar-buttons div{
height:unset !important;
width: unset !important;
}
.title-bar-buttons div button{
height: unset !important;
width: unset !important;
}
/*new tab page*/
.note-new-tab{
background-color: var(--accented-background-color);
border-radius: 8px;
}
/*Hollow tree arrow in the lower left corner*/
.bxs-tree::before {
color: transparent;
-webkit-text-stroke: 1.8px var(--left-pane-text-color);
}