-
Notifications
You must be signed in to change notification settings - Fork 0
/
everforest-ant-dark.css
1110 lines (991 loc) · 34.7 KB
/
everforest-ant-dark.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
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
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
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
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/******************************************************************
EverForest Ant Dark by Octavia N. (https://github.com/Lolabird/everforest-ant-dark-trilium-theme)
This theme inspired by and meant to be paired with the KDE Plasma theme Ant Dark and the more generally available theme EverForest.
******************************************************************/
/*****FONT IMPORTS*****/
@font-face {
font-family: "JetBrainsMono";
src: url('/custom/themes/EFAD/JetBrainsMono-Regular.woff2') format("woff2");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "JetBrainsMono";
src: url('/custom/themes/EFAD/JetBrainsMono-Italic.woff2') format("woff2");
font-weight: 400;
font-style: oblique;
}
@font-face {
font-family: "JetBrainsMono";
src: url('/custom/themes/EFAD/JetBrainsMono-Bold.woff2') format("woff2");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "JetBrainsMono";
src: url('/custom/themes/EFAD/JetBrainsMono-BoldItalic.woff2') format("woff2");
font-weight: 700;
font-style: oblique;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-300-Light.woff2') format("woff2");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-300-LightItalic.woff2') format("woff2");
font-weight: 300;
font-style: oblique;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-400-Book.woff2') format("woff2");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-400-BookItalic.woff2') format("woff2");
font-weight: 400;
font-style: oblique;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-500-Medium.woff2') format("woff2");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-500-MediumItalic.woff2') format("woff2");
font-weight: 500;
font-style: oblique;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-600-Semi.woff2') format("woff2");
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-600-SemiItalic.woff2') format("woff2");
font-weight: 600;
font-style: oblique;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-700-Bold.woff2') format("woff2");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-700-BoldItalic.woff2') format("woff2");
font-weight: 700;
font-style: oblique;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-800-Heavy.woff2') format("woff2");
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-800-HeavyItalic.woff2') format("woff2");
font-weight: 800;
font-style: oblique;
}
/*****ROOT (COLOR AND FONT KEY)*****/
:root{
/***main body (including CKEditor), modal(options menu), and some code colors (see last section for more code colors)*/
--text-gray: #D8D8D8;
--devils-gray-lol: #666;
--background-gray: #192124;
--soft-gray: #23272E;
--sand: #D3C6AA;
--tan: #F4D289;
--cool-gray: #5D7576;
--light-turquoise: #6DF9CD;
--soft-sea-green: #99ccb1;
--header-font-family: Jost, sans-serif;
--code-select-gray: #253749;
--table-header-gray: #30363B;
--tree-background-gray: #232A2E;
--cherry-red: #FF3030;
--code-comment: #95ACB2;
--code-tag: #759DC2;
--code-string: #91A192;
--code-number: #FFB380;
--code-pseudo: #27AE60;
--code-class: #5BB394;
--code-keyword: #CE9292;
--code-meta: #BDA88C;
--code-def: #5C9CE4;
--code-var: #D29E58;
--code-builtin: #C39AD0;
--code-attribute: #CBE0EA;
}
/*****HTML (GENERAL STYLES)*****/
/******************************************************************
These are variables that already exist in the native stylesheet, just redefined here. This could have been put in ':root' or 'body{}' but for the sake of organization, I kept them in 'html' where they have been similarly placed in the Light Theme.
******************************************************************/
html {
--theme-style: dark;
/***fonts***/
/*general fonts*/
--main-font-family: Jost, sans-serif;
--main-font-size: 1.2rem;
--tree-font-family: Jost, sans-serif;
--tree-font-size: 1.3rem;
--detail-font-family: Jost, sans-serif;
--detail-font-size: 1.3rem;
/*code fonts*/
--monospace-font-family: JetBrainsMono, monospace;
--monospace-font-size: 1.2rem;
/***colors***/
/*main notes window*/
--main-background-color: var(--background-gray);
--main-text-color: var(--text-gray);
--main-border-color: var(--devils-gray-lol);
/*changes the window icons(x, [], -) and some text fields*/
--accented-background-color: var(--soft-gray);
/*changes the edit icons on text notes and the alert messages*/
--more-accented-background-color: var(--table-header-gray);
/*left, bottom left, and lower upper right icons*/
--button-background-color: transparent;
--button-disabled-background-color: var(--table-header-gray);
--button-border-color: var(--text-gray);
--button-text-color: var(--text-gray);
--button-border-radius: 5px;
/*changes button in label detail*/
--primary-button-background-color: var(--table-header-gray);
--primary-button-text-color: var(--text-gray);
--primary-button-border-color: var(--text-gray);
/* "muted-text-color" affects several components, but most are individually styled in this doc, so this should only affect the drop shadow of protected notes titles. */
--muted-text-color: var(--devils-gray-lol);
/*notes title and text fields in options menu and find (ctrl+f) search*/
--input-text-color: var(--sand);
/*affects find (ctrl+f) search input when inactive*/
--input-background-color: var(--sand);
/*changes the 'x' on the note tabs and the right+click and trilium (icon) menus*/
--hover-item-text-color: var(--text-gray);
/*changes side and right+click menus and note tabs*/
--hover-item-background-color: var(--soft-gray);
/*tree*/
--active-item-text-color: var(--soft-gray);
--active-item-background-color: var(--sand);
--left-pane-background-color: var(--tree-background-gray);
--left-pane-text-color: var(--text-gray);
/*right+click menus*/
--menu-text-color: var(--text-gray);
--menu-background-color: var(--background-gray);
/*the options menu*/
--modal-background-color: var(--background-gray);
--modal-backdrop-color: var(--text-gray);
/*left and bottom left menus*/
--launcher-pane-background-color: var(--background-gray);
--launcher-pane-text-color: var(--sand);
/*tabs*/
--active-tab-background-color: var(--sand);
--active-tab-text-color: var(--background-gray);
--inactive-tab-background-color: var(--table-header-gray);
--inactive-tab-text-color: var(--text-gray);
--active-tab-hover-background-color: var(--text-gray);
--inactive-tab-hover-background-color: var(--soft-gray);
/*general*/
--scrollbar-border-color: var(--sand);
--tooltip-background-color: var(--background-gray);
--link-color: var(--light-turquoise);
--mermaid-theme: dark;
}
/*****Image Caption*****/
.ck-content figure.image>figcaption {
font-size: 1rem;
font-weight: 300;
font-style: oblique;
color: var(--sand) !important;
}
.ck-content figure.image>figcaption code {
font-size: .8rem;
}
.ck-content figure.image>figcaption i {
font-style: normal;
color: var(--text-gray);
}
.ck-content figure.image>figcaption b, .ck-content figure.image>figcaption strong {
color: var(--text-gray);
}
/*****Scrollbar*****/
::-webkit-scrollbar-thumb{
background-color: transparent !important;
}
::-webkit-scrollbar-thumb:hover{
border-color: var(--tan) !important;
}
/*****TABS*****/
.tab-row-widget .note-tab .note-tab-wrapper {
height: 46px !important;
font-size: var(--detail-font-size);
font-family: var(--header-font-family);
}
.tab-row-widget .note-tab .note-tab-title {
font-size: 1.5rem;
}
.tab-row-widget .note-tab .note-tab-close {
font-size: 1.5rem;
margin-bottom: 10px;
}
.note-tab div.note-tab-close.bx.bx-x:hover {
background: transparent;
color: var(--tan);
}
.note-tab[active] div.note-tab-close.bx.bx-x:hover {
background: transparent;
color: var(--cherry-red);
}
/*fixes the issue of not being able to access widgets in the top bar*/
.tab-row-filler {
-webkit-app-region: none !important;
}
/*****TOC*****/
.toc-widget{
overflow: visible !important;
font-size: var(--tree-font-size);
}
/***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] {
color: var(--tan) !important;
}
.toc-widget span.toc li:not([style*="color:"]) {
color: inherit !important;
}
.toc-widget .toc li, .highlights-list > ol > li {
text-align: left;
}
/*****Included Notes*****/
.include-note {
margin-bottom: 1.1rem !important;
}
/*****HEADERS*****/
/*h1 is not defined, because it's not currently an option for headers in the main body*/
.ck-content h2 {
color: #C0902B;
font-weight: 800;
font-family: var(--header-font-family);
font-size: 2rem;
}
.ck-content h2 code, .ck-content h2 code b, .ck-content h2 code strong, .ck-content h2 code i, .ck-content h2 code em {
font-size: 1.7rem;
background: transparent;
}
.ck-content h3 {
color: #B29556;
font-weight: 700;
font-family: var(--header-font-family);
font-size: 1.9rem;
}
.ck-content h3 code, .ck-content h3 code b, .ck-content h3 code strong, .ck-content h3 code i, .ck-content h3 code em {
font-size: 1.6rem;
background: transparent;
}
.ck-content h4 {
color: #E2B24D;
font-weight: 600;
font-family: var(--header-font-family);
font-size: 1.78rem;
}
.ck-content h4 code, .ck-content h4 code b, .ck-content h4 code strong, .ck-content h4 code i, .ck-content h4 code em {
font-size: 1.5rem;
background: transparent;
}
.ck-content h5 {
color: #BDA97F;
font-weight: 600;
font-family: var(--header-font-family);
font-size: 1.65rem;
}
.ck-content h5 code, .ck-content h5 code b, .ck-content h5 code strong, .ck-content h5 code i, .ck-content h5 code em {
font-size: 1.4rem;
background: transparent;
}
.ck-content h6 {
color: var(--tan);
font-weight: 600;
font-family: var(--header-font-family);
font-size: 1.53rem;
}
.ck-content h6 code, .ck-content h6 code b, .ck-content h6 code strong, .ck-content h6 code i, .ck-content h6 code em {
font-size: 1.3rem;
background: transparent;
}
/*****TABLE*****/
.ck-content .table>figcaption {
background-color: var(--table-header-gray);
color: var(--tan);
font-size: 1.3rem;
font-weight: 600;
font-family: var(--header-font-family);
}
.ck-content .table table, .ck-content .table table td, .ck-content .table table th {
border: none;
}
.ck-content .table table th {
font-weight: 600 !important;
font-size: 1.15rem;
color: var(--sand)
}
tr:nth-child(odd) {
background-color: var(--table-header-gray);
}
.ck-content .table table th {
background-color: var(--background-gray) !important;
}
.ck-content .table table tbody tr:nth-child(odd) th{
background-color: var(--table-header-gray) !important;
}
.ck-content .table table tbody tr:nth-child(even) th{
background-color: var(--background-gray) !important;
}
.ck-content .table table {
width: 100%;
max-height: 90vh;
overflow: auto;
}
.ck-content .table table thead th {
position: sticky;
position: -webkit-sticky;
top: 0;
z-index: 1;
}
.ck-content .table table tbody th {
position: relative;
}
.ck-content .table table thead th:first-child {
position: sticky;
position: -webkit-sticky;
left: 0;
z-index: 2;
}
.ck-content .table table tbody th {
position: sticky;
left: 0;
z-index: 1;
}
/*****TEXT DECORATION*****/
/*bold*/
body strong, body b {
color:var(--sand);
font-weight: 700;
}
/***lists***/
li label {
display: inline;
line-height: 2rem;
}
.ck-content .todo-list .todo-list__label>input[checked]:before, .ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{
background: var(--soft-sea-green);
border-color: var(--soft-sea-green) !important;
}
.ck-content .todo-list .todo-list__label>input[checked]:after, .ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after {
border-color: var(--background-gray);
}
.ck-content .todo-list .todo-list__label > input:not([checked]):before, .ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:not([checked]):before {
border: 1px solid var(--cherry-red) !important;
}
/***italics and quotes***/
body em, body i {
color:var(--sand);
}
.ck-content blockquote {
color: var(--sand);
font-weight: 300;
font-size: 1.5rem;
overflow: hidden;
padding-right: 1.5em;
padding-left: .5em;
margin-left: 0;
margin-right: 0;
font-style: italic;
border-left: 3px solid var(--tan);
}
.ck-content blockquote p{
margin-bottom: 0;
padding-bottom: .3em;
}
.ck-content blockquote i{
font-style: normal;
color: var(--text-gray);
}
.ck-content blockquote b, .ck-content blockquote strong{
color: var(--text-gray);
font-weight: 500;
}
.ck-content blockquote code, .ck-content blockquote code i, .ck-content blockquote code strong {
font-size: 1.1rem;
}
.ck-content blockquote code strong {
font-weight: 700;
}
/***decorated links***/
a > i, a > em, a > b, a > strong {
color: var(--link-color);
}
/*****ICONS*****/
/*main note icon*/
.note-icon::before {
color: var(--devils-gray-lol);
}
.note-icon:hover::before {
color: var(--sand);
border-color: var(--sand) !important; /*not working*/
}
.note-icon:focus::before, .bx-calendar:focus::before {
color: var(--sand);
}
.icon-list {
color: var(--soft-sea-green);
}
/***note properties menu***/
.ribbon-tab-title-icon {
color: var(--devils-gray-lol);
}
.ribbon-tab-title-icon:hover {
color: var(--sand);
}
/***launcher, floating tree, icon action and title bar buttons***/
div.title-bar-buttons.component button, button.icon-action, .icon-action {
color: var(--sand) !important;
}
#launcher-pane .launcher-button:hover, button.tree-floating-button:hover, .title-bar-buttons div:hover button, button.icon-action:hover, .icon-action:hover {
color: var(--tan) !important;
border: none !important;
}
/***Calendar***/
div.dropdown-menu.dropdown-menu-right > div.calendar-dropdown-widget > div.calendar-body > a.calendar-date:hover, .calendar-dropdown-widget .calendar-btn:hover {
color: var(--tan) !important;
background: var(--soft-gray);
}
a.calendar-date.calendar-date-exists {
color: var(--sand);
}
a.calendar-date.calendar-date-today {
background: var(--table-header-gray);
}
/***tree***/
/*note icon*/
.fancytree-custom-icon {
color: var(--sand);
}
span.fancytree-active > .fancytree-custom-icon {
color: var(--soft-gray);
}
.note-icon-widget button.note-icon {
border: none !important;
}
span.fancytree-node.protected > span.fancytree-custom-icon {
filter: drop-shadow(2px 2px 2px var(--soft-sea-green));
}
/*drop down icon*/
.fancytree-expander::before {
color: var(--devils-gray-lol);
}
/*tree action buttons*/
button.tree-floating-button {
font-size: 1.5rem !important;
}
/***Trilium icon***/
body .global-menu-button {
background-image: url("/assets/vX/images/icon-grey.png");
}
/*****INPUT FIELDS*****/
/***password and options menu fields***/
.form-control {
color: var(--text-gray) !important;
}
.form-control:focus {
color: var(--sand) !important;
background-color: var(--soft-gray);
border-color: var(--text-gray) !important;
outline: 0;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
.component.title-row{
margin-top: 10px;
margin-bottom: 10px;
}
.note-title-widget input.note-title {
font-family: var(--header-font-family);
}
.note-title:focus {
color: var(--text-gray) !important;
background-color: var(--soft-gray) !important;
border-color: var(--text-gray) !important;
outline: 0;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
/***selection and find/replace (button)***/
::selection {
background: #253749 !important /*var(--code-select-gray)*/;
}
span.ck-find-result {
color: var(--background-gray) !important;
background: var(--sand);
}
span.ck-find-result_selected {
color: var(--background-gray) !important;
background: var(--tan);
}
/***Modal search active dropdown selection***/
.aa-dropdown-menu .aa-suggestion.aa-cursor b {
color: var(--soft-gray);
}
/***Empty note field***/
input.form-control.note-autocomplete.note-autocomplete-input.aa-input {
height: auto;
}
/*****BUTTONS*****/
.help-button {
color: hsl(15, 100%, 56%);
}
.help-button:hover {
color: var(--sand);
}
/*edit button*/
.bx-edit-alt {
height: 40px;
}
/***primary and secondary buttons***/
button:focus :not(.close) :not(.help-button) :not(.ck-button-save) :not(.ck-button-cancel), .btn:focus {
color: var(--text-gray) !important;
background-color: var(--devils-gray-lol) !important;
border-color: var(--text-gray) !important;
outline: 0;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
button:hover :not(.close) :not(.help-button) :not(.ck-button-save) :not(.ck-button-cancel), .btn:hover {
background-color: var(--soft-gray) !important;
color: var(--sand);
border-color: var(--sand);
}
/***table sub-menu***/
/*table field input label*/
.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{
background: var(--soft-gray);
color: var(--text-gray);
}
/*table field and button inputs*/
.ck.ck-button:active, .ck.ck-button:focus, a.ck.ck-button:active, a.ck.ck-button:focus, .ck.ck-input-text:focus {
border: 1px solid var(--text-gray) !important;
box-shadow: 0 0 0 0.2rem rgb(252 251 179 / 50%) !important;
}
.ck.ck-input-text[readonly]:focus {
border: 1px solid var(--ck-color-input-disabled-border) !important;
background: var(--ck-color-input-disabled-background) !important;
color: var(--ck-color-input-disabled-text) !important;
}
/*color button*/
.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled, .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled>.ck.ck-input-color__button__preview, .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator {
border: 1px solid var(--ck-color-input-disabled-border) !important;
}
/*image caption field*/
.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused, .ck .ck-editor__nested-editable:focus {
background-color: var(--ck-color-widget-editable-focus-background);
border: none /*var(--ck-focus-ring)*/;
box-shadow: var(--ck-inner-shadow),0 0;
outline: none;
}
/*backend logs*/
textarea.backend-log-textarea {
color: var(--soft-sea-green) !important;
background: var(--soft-gray) !important;
}
/*****NOTE MAP*****/
.note-detail-relation-map path, .note-detail-relation-map .jtk-endpoint{
fill: var(--soft-sea-green) !important;
}
svg.jtk-connector path {
stroke: var(--soft-sea-green);
fill: none !important;
}
.note-detail-relation-map .note-box {
padding: 12px 30px 12px 12px;
position: absolute !important;
background-color: var(--tree-background-gray);
color: var(--main-text-color);
z-index: 4;
border: 1px solid #666;
box-shadow: 1px 1px 12px #777;
border-radius: 8px;
opacity: 0.9;
font-size: 15px;
width: auto;
height: auto;
max-width: 230px;
min-width: 150px;
max-height: 200px;
overflow: hidden;
}
/*****FLOATING BUTTONS*****/
/***Backlinks Popup***/
.floating-buttons-children {
flex-direction: column-reverse !important;
}
.backlinks-ticker {
padding: 6px 3px !important;
writing-mode: vertical-lr;
margin-bottom: 15px;
}
div.backlinks-items {
z-index: 10;
position: absolute;
top: 50px;
right: 10px;
width: 400px;
border-radius: 10px;
background-color: var(--soft-gray);
color: var(--text-gray);
padding: 20px;
overflow-y: auto;
box-shadow: 2px 2px 5px var(--text-gray);
}
div.backlinks-items div:hover {
background-color: var(--code-select-gray);
}
.backlink-excerpt .backlink-link {
background-color: var(--table-header-gray) !important;
}
.backlinks-ticker:hover {
background-color: var(--code-select-gray);
}
/***Relation Map and Canvas Buttons***/
.relation-map-buttons {
display: flex;
gap: 10px;
flex-direction: column;
}
.relation-map-buttons > .btn-group {
position: relative;
display: -ms-inline-flexbox;
display: inline-flex;
flex-direction: column;
vertical-align: middle;
}
.relation-map-buttons > button, .relation-map-buttons > .btn-group button {
border: none !important;
}
.relation-map-buttons > .btn-group > .btn-group:not(:first-child), .relation-map-buttons > .btn-group > .btn:not(:first-child), .relation-map-buttons > .btn-group > .btn-group:not(:last-child) >.btn, .relation-map-buttons > .btn-group > .btn:not(:last-child):not(.dropdown-toggle), button.copy-image-reference-button, button.export-mermaid-button {
margin: 5px 0 5px 1px !important;
border-radius: var(--button-border-radius);
}
.relation-map-buttons > button:hover, .relation-map-buttons > .btn-group button:hover, button.copy-image-reference-button:hover, button.export-mermaid-button:hover {
border: none;
background: transparent !important;
color: var(--tan);
}
/***Close Button***/
.close-floating-buttons-button {
border: none !important;
color: var(--button-text-color);
padding: 6px;
border-radius: 100px;
margin: 5px;
}
.close-floating-buttons-button:hover {
border: none !important;
color: var(--cherry-red) !important;
}
/*****ATTRIBUTES POPUP*****/
.attr-help td {
color: var(--text-gray) !important;
}
/*****DELETION ALERT*****/
.alert-danger {
color: #f5c6cb;
background-color: #930210;
border-color: #f5c6cb;
}
/*****CODE IN TEXT NOTES)*****/
/***code blocks***/
.ck-content pre {
background: var(--soft-gray);
font-size: 0.95rem;
border-color: var(--soft-sea-green);
}
.ck-content pre code {
font-size: 0.95rem;
background: transparent !important;
color: var(--soft-sea-green) !important;
}
/*code block label*/
pre::after{
background: var(--code-select-gray) !important;
color: var(--sand) !important;
border-color: var(--sand) !important;
letter-spacing: 1px;
}
/***inline code***/
.ck-content code, .ck-content code i, .ck-content code strong {
font-size: .95rem;
background: var(--soft-gray);
color: var(--soft-sea-green) !important;
letter-spacing: 1px;
padding: 0;
}
.ck-content .ck-code_selected {
background-color: var(--code-select-gray) !important;
letter-spacing: 1px;
}
/*****CKEDITOR*****/
/******************************************************************
NOTE: The following lines of code affect the editor menus. Similar to the General Styles section, the variables below are simply redefined here.
I've commented out the lines that don't seem to have an affect on anything, along with adding a question mark (?) in a comment to differentiate those lines from the rest of the code. They are left here in case anyone wants to experiment and figure out where those lines have an effect. If you find anything, please let me know so I can update the code ^_^
******************************************************************/
body {
/***overrides generic colors***/
--ck-color-base-text: var(--tan); /*toggled color (editor sub-menu)*/
--ck-color-base-foreground: var(--table-header-gray); /*tiny attached triangle and selection hover*/
--ck-color-focus-border: var(--sand); /*table and color (editor menu) focus*/
--ck-color-text: var(--soft-sea-green); /*text color*/
/* --ck-color-shadow-drop: red; /*?*/
/* --ck-color-shadow-inner: red; /*?*/
/***overrides the default '.ck-button' class colors***/
/*general buttons*/
--ck-color-button-default-background: transparent;
--ck-color-button-default-hover-background: var(--table-header-gray);
--ck-color-button-default-active-background: var(--devils-gray-lol);
--ck-color-button-default-active-shadow: var(--devils-gray-lol); /*thin line on top of active buttons*/
--ck-color-button-default-disabled-background: var(--background-gray); /*disabled buttons*/
--ck-color-button-on-color: var(--tan); /*selected property/button*/
/*dropdown buttons*/
--ck-color-button-on-background: var(--code-select-gray); /*active*/
--ck-color-button-on-hover-background: var(--table-header-gray); /*hover*/
--ck-color-button-on-active-background: var(--devils-gray-lol); /*exit click on active*/
--ck-color-button-on-active-shadow: transparent; /*top line on exit click of active*/
/*--ck-color-button-on-disabled-background: red; /*?*/
/*find button (editor sub-menu)*/
--ck-color-button-action-background: var(--tan) !important;
--ck-color-button-action-hover-background: var(--devils-gray-lol) !important;
--ck-color-button-action-active-background: var(--tan) !important; /*find button active and field descritpion*/
--ck-color-button-action-active-shadow: transparent !important; /*top line*/
/*--ck-color-button-action-disabled-background: red; /*?*/
--ck-color-button-action-text: var(--soft-gray) !important; /*find button(editor sub-menu)*/
/*save and cancel*/
--ck-color-button-save: var(--soft-sea-green) /*hsl(120, 100%, 46%)*/; /*table sub-menu*/
--ck-color-button-cancel: hsl(15, 100%, 56%); /*table sub-menu*/
/***overrides the default '.ck-dropdown' class colors (color sub-menus)***/
--ck-color-dropdown-panel-background: var(--soft-gray);
--ck-color-dropdown-panel-border: var(--devils-gray-lol);
/***overrides the default '.ck-splitbutton' class colors***/
--ck-color-split-button-hover-background: var(--devils-gray-lol);
--ck-color-split-button-hover-border: var(--soft-sea-green);
/***overrides the default '.ck-input' class colors***/
/*--ck-color-input-background: red; /*?*/
--ck-color-input-border: var(--text-gray); /*inactive (enabled AND disabled) editable field(editor sub-menus)*/
/*--ck-color-input-text: red; /*?*/
--ck-color-input-disabled-background: var(--soft-gray); /*disabled color picker(table sub-menu)*/
--ck-color-input-disabled-border: var(--background-gray); /*disabled editor border (table sub-menu)*/
--ck-color-input-disabled-text: var(--text-gray); /*editor input text (enable AND disabled)*/
/***overrides the default '.ck-list' (list menus) class colors***/
--ck-color-list-background: transparent; /*focus out*/
--ck-color-list-button-hover-background: var(--table-header-gray);
--ck-color-list-button-on-background: var(--sand); /*toggled active*/
--ck-color-list-button-on-background-focus: var(--devils-gray-lol); /*hover on toggled/active*/
--ck-color-list-button-on-text: var(--soft-gray); /*toggled/active*/
/***overrides the default .ck-balloon-panel class colors (overall look and feel of the editor toolbars and sub-menus)***/
--ck-color-panel-background: var(--soft-gray);
--ck-color-panel-border: var(--devils-gray-lol);
/***overrides the default .ck-toolbar class colors***/
--ck-color-toolbar-background: var(--soft-gray); /*lots of overlap with the above backgound setting*/
--ck-color-toolbar-border: var(--sand); /*section separators*/
/***overrides the default .ck-tooltip class colors***/
--ck-color-tooltip-background: var(--sand);
--ck-color-tooltip-text: var(--background-gray);
/* Overrides the default colors used by the ckeditor5-image package.*/
/*--ck-color-image-caption-background: red; /*?*/
/*--ck-color-image-caption-text: red; /*?*/
/***overrides the default colors used by the ckeditor5-widget (image/table) package***/
--ck-color-widget-blurred-border: var(--devils-gray-lol); /*shows up briefly after switching tabs*/
--ck-color-widget-hover-border: var(--sand); /*object in focus*/
--ck-color-widget-editable-focus-background: var(--table-header-gray); /*table caption in focus*/
/***overrides the default colors used by the ckeditor5-link package***/
/*--ck-color-link-default: red; /*this is overridden by a link setting set earlier in the code*/
--ck-color-table-focused-cell-background: var(--table-header-gray);
/*--ck-color-todo-list-checkmark-border: red; /*?*/
--ck-color-engine-placeholder-text: var(--text-gray); /*caption placeholder text*/
--ck-z-modal: 10000;
/*--ck-color-widget-type-around-button: red; /*?*/
--ck-color-widget-type-around-button-hover: var(--tan); /*applies when table/image is in focus*/
}
/*****CODEMIRROR****/
/******************************************************************
NOTE: comments for this section are for how they appear in CSS code notes unless otherwise noted. All code notes have the same color theme, but the application may be different. Some elements are affected the same way accross all code notes (i.e. all strings appear the same across code notes and as do comments, variables, and functions).
******************************************************************/
/***general appearance***/
/*'...line' is for regular code notes text, not sure what '...line-like' is for*/
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
color: var(--text-gray);
}
.CodeMirror-linenumber {color: var(--devils-gray-lol);}
.CodeMirror-cursor {
border-left: 1px solid var(--devils-gray-lol);
}
/***highlighted and selected text in code notes***/
.CodeMirror-selected {
background-color: var(--code-select-gray);
}
.CodeMirror-focused .CodeMirror-selected {
background-color: var(--code-select-gray);
}
.cm-s-default .cm-matchhighlight{
color: var(--text-gray) !important;
background-color: var(--table-header-gray);
}
/***general elements***/
.cm-s-default .cm-atom {color: var(--code-number);} /*fonts and colors (code not words)*/
.cm-s-default .cm-def {color: var(--code-def);} /*@ and class definitions (php)*/
.cm-s-default .cm-qualifier {color: var(--code-class);} /*class*/
.cm-s-default .cm-builtin {color: var(--code-builtin);} /*id-selectors*/
.cm-s-default .cm-tag {color: var(--code-tag);} /*html tags*/
.cm-s-default .cm-meta {color: var(--code-meta);} /*meta (browser compatability) tags*/
.cm-s-default .cm-comment {color: var(--code-comment);} /*comments*/
.cm-s-default .cm-number {color: var(--code-number);} /*numbers including units, not including color codes*/
.cm-s-default .cm-keyword {color: var(--code-keyword);} /*color names and keywords*/
.cm-s-default .cm-attribute {color: var(--code-attribute);} /*print keyword*/
/***variables***/
.cm-s-default .cm-punctuation, .cm-s-default .cm-operator {}
.cm-s-default .cm-property{color: var(--code-attribute);}
.cm-s-default .cm-variable, .cm-s-default .cm-variable-2 {color: var(--code-var);} /*custom properties and php variables*/
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: var(--code-pseudo);} /*pseudo elements and classes*/
/***strings***/
.cm-s-default .cm-string {color: var(--code-string);}
.cm-s-default .cm-string-2 {color: var(--code-string);} /*Regex and strings that can contain other strings*/
/***brackets and parentheses***/
div.CodeMirror span.CodeMirror-matchingbracket {color: #92D652;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: var(--cherry-red);}
/***code errors***/
.cm-s-default .cm-error {color: var(--cherry-red);}
.cm-invalidchar {color: var(--cherry-red);}
/*****ADDONS*****/
/***Highlight.js***/
pre code.hljs {
display:block;
overflow-x:auto;
padding:1em;
}
code.hljs {
padding:3px 5px;
}
.hljs{
background:#fff;