lexgui 0.4.0 → 0.4.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/build/lexgui.css CHANGED
@@ -1,9 +1,10 @@
1
+ /* clean-css ignore:start */
1
2
  @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap');
2
-
3
3
  @font-face {
4
4
  font-family: "GoogleSans";
5
5
  src: url("https://raw.githubusercontent.com/jxarco/lexgui.js/master/data/GoogleSans.ttf");
6
6
  }
7
+ /* clean-css ignore:end */
7
8
 
8
9
  :root {
9
10
  /* default color scheme */
@@ -217,9 +218,10 @@ canvas {
217
218
  dialog {
218
219
  transition: display 0.1s allow-discrete, overlay 0.1s allow-discrete;
219
220
  animation: dialogHide 0.1s forwards;
220
- &[open] {
221
- animation: dialogShow 0.1s forwards;
222
- }
221
+ }
222
+
223
+ dialog[open] {
224
+ animation: dialogShow 0.1s forwards;
223
225
  }
224
226
 
225
227
  dialog::backdrop {
@@ -328,6 +330,7 @@ body.noevents * {
328
330
  cursor: pointer;
329
331
  line-height: inherit !important;
330
332
  color: var(--global-text-secondary);
333
+ align-content: center;
331
334
  }
332
335
 
333
336
  .lexicon:hover {
@@ -336,6 +339,7 @@ body.noevents * {
336
339
 
337
340
  .lexicon:active {
338
341
  color: var(--global-text-secondary);
342
+ transform: scale(0.99);
339
343
  }
340
344
 
341
345
  .lexicon:hover svg, .lexicon:hover svg path {
@@ -402,6 +406,13 @@ body.noevents * {
402
406
  gap: 0.25rem;
403
407
  height: fit-content;
404
408
  margin: auto 0;
409
+ max-width: 512px;
410
+ }
411
+
412
+ .lextoast .lextoastcontent div {
413
+ white-space: nowrap;
414
+ overflow: hidden;
415
+ text-overflow: ellipsis;
405
416
  }
406
417
 
407
418
  .lextoast .lextoastcontent .title {
@@ -797,6 +808,11 @@ body.noevents * {
797
808
  transition: opacity 0.2s;
798
809
  }
799
810
 
811
+ /* Suppose any child will be a div.. */
812
+ .lexdialog.pocket .lexdialogcontent:not(:has(div)) {
813
+ padding: 0px;
814
+ }
815
+
800
816
  .lexdialog.pocket.minimized .lexdialogtitle {
801
817
  border-bottom-left-radius: 8px;
802
818
  border-bottom-right-radius: 8px;
@@ -831,18 +847,12 @@ body.noevents * {
831
847
  background: var(--global-blur-background);
832
848
  }
833
849
 
834
- :root[data-theme="light"] {
835
- .lexdialog {
836
- box-shadow: 0px 2px 6px #30303083;
837
- }
838
-
839
- .lexdialogtitle {
840
- text-shadow: 0px 2px 2px #8d8d8d34;
841
- }
850
+ :root[data-theme="light"] .lexdialog {
851
+ box-shadow: 0px 2px 6px #30303083;
852
+ }
842
853
 
843
- .lexpopup {
844
- background: var(--global-blur-background);
845
- }
854
+ :root[data-theme="light"] .lexdialogtitle {
855
+ text-shadow: 0px 2px 2px #8d8d8d34;
846
856
  }
847
857
 
848
858
  /* Generic */
@@ -930,6 +940,7 @@ body.noevents * {
930
940
  background-color: var(--global-color-secondary);
931
941
  text-shadow: 0px 1px 6px #5554547c;
932
942
  padding: 10px;
943
+ display: flex;
933
944
  border-top-left-radius: 8px;
934
945
  border-top-right-radius: 8px;
935
946
  cursor: pointer;
@@ -983,6 +994,8 @@ body.noevents * {
983
994
 
984
995
  .lexbranch .branchicon {
985
996
  font-size: var(--global-font-size);
997
+ margin-right: 12px;
998
+ align-content: center;
986
999
  }
987
1000
 
988
1001
  .lexbranch.first .lexbranchtitle {
@@ -996,24 +1009,23 @@ body.noevents * {
996
1009
  .lexbranch .switch-branch-button {
997
1010
  float: right;
998
1011
  font-size: var(--global-font-size-sm);
999
- margin: 8px 6px -4px 2px;
1000
- transition: 0.1s;
1012
+ transition: transform 0.1s ease-out;
1013
+ margin-left: auto;
1014
+ align-content: center;
1001
1015
  }
1002
1016
 
1003
1017
  .lexbranch.closed .switch-branch-button {
1004
1018
  transform: rotate(180deg);
1005
1019
  }
1006
1020
 
1007
- :root[data-theme="light"] {
1008
- .lexbranchtitle {
1009
- color: var(--global-text-secondary);
1010
- background-color: var(--global-color-secondary);
1011
- text-shadow: 0px 2px 2px #e0e0e03a;
1012
- }
1021
+ :root[data-theme="light"] .lexbranchtitle {
1022
+ color: var(--global-text-secondary);
1023
+ background-color: var(--global-color-secondary);
1024
+ text-shadow: 0px 2px 2px #e0e0e03a;
1025
+ }
1013
1026
 
1014
- .lexbranch.closed .lexbranchtitle {
1015
- background-color: inherit;
1016
- }
1027
+ :root[data-theme="light"] .lexbranch.closed .lexbranchtitle {
1028
+ background-color: inherit;
1017
1029
  }
1018
1030
 
1019
1031
  /* Widgets */
@@ -1049,7 +1061,7 @@ body.noevents * {
1049
1061
  }
1050
1062
 
1051
1063
  .lexwidget.nobranch {
1052
- padding-left: 12px;
1064
+ width: calc(100% - 10px) !important;
1053
1065
  }
1054
1066
 
1055
1067
  .lexwidget.auto {
@@ -1223,15 +1235,13 @@ body.noevents * {
1223
1235
  margin: 5px 0 5px 4px;
1224
1236
  }
1225
1237
 
1226
- :root[data-theme="light"] {
1227
- .lexwidget .lextext {
1228
- border: 1px solid var(--global-color-terciary) !important;
1229
- }
1238
+ :root[data-theme="light"] .lexwidget .lextext {
1239
+ border: 1px solid var(--global-color-terciary) !important;
1240
+ }
1230
1241
 
1231
- .lexbranch .lexseparator {
1232
- border-top: 1px solid #e7e7e7;
1233
- border-bottom: 1px solid #c1c1c1;
1234
- }
1242
+ :root[data-theme="light"] .lexbranch .lexseparator {
1243
+ border-top: 1px solid #e7e7e7;
1244
+ border-bottom: 1px solid #c1c1c1;
1235
1245
  }
1236
1246
 
1237
1247
  .lextitle {
@@ -1302,16 +1312,14 @@ body.noevents * {
1302
1312
  padding: 0.35rem;
1303
1313
  }
1304
1314
 
1305
- :root[data-theme="light"] {
1306
- .lexbutton {
1307
- --button-color: var(--global-button-color);
1308
- border: 1px solid var(--global-color-terciary);
1309
- }
1315
+ :root[data-theme="light"] .lexbutton {
1316
+ --button-color: var(--global-button-color);
1317
+ border: 1px solid var(--global-color-terciary);
1318
+ }
1310
1319
 
1311
- .lexbutton.selected {
1312
- background: #3c4145;
1313
- color: #DDD;
1314
- }
1320
+ :root[data-theme="light"] .lexbutton.selected {
1321
+ background: #3c4145;
1322
+ color: #DDD;
1315
1323
  }
1316
1324
 
1317
1325
  /* Colors */
@@ -1575,21 +1583,18 @@ body.noevents * {
1575
1583
  margin-top: 8px;
1576
1584
  }
1577
1585
 
1578
- :root[data-theme="light"] {
1579
-
1580
- .lexdropdown .lexfilter {
1581
- background-color: var(--global-color-primary);
1582
- }
1586
+ :root[data-theme="light"] .lexdropdown .lexfilter {
1587
+ background-color: var(--global-color-primary);
1588
+ }
1583
1589
 
1584
- .lexdropdown ul {
1585
- background-color: var(--global-color-primary);
1586
- box-shadow: 0 0px 6px rgba(175, 175, 175, 0.788);
1587
- }
1590
+ :root[data-theme="light"] .lexdropdown ul {
1591
+ background-color: var(--global-color-primary);
1592
+ box-shadow: 0 0px 6px rgba(175, 175, 175, 0.788);
1593
+ }
1588
1594
 
1589
- .lexdropdown .lexdropdownitem:hover {
1590
- background-color: var(--global-selected-light);
1591
- color: #fff;
1592
- }
1595
+ :root[data-theme="light"] .lexdropdown .lexdropdownitem:hover {
1596
+ background-color: var(--global-selected-light);
1597
+ color: #fff;
1593
1598
  }
1594
1599
 
1595
1600
  /* Check box */
@@ -1649,16 +1654,11 @@ body.noevents * {
1649
1654
  }
1650
1655
 
1651
1656
  .lexcheckboxcont {
1652
- font-weight: bold;
1653
1657
  display: inline-flex;
1654
1658
  gap: 8px;
1655
1659
  margin: 0 auto;
1656
1660
  }
1657
1661
 
1658
- .lexcheckboxcont .checkboxtext {
1659
- font-weight: bold;
1660
- }
1661
-
1662
1662
  .lexcheckboxsubmenu {
1663
1663
  width: 100%;
1664
1664
  padding: 6px;
@@ -2319,7 +2319,7 @@ input[type=number] {
2319
2319
 
2320
2320
  .lextree {
2321
2321
  border-radius: 6px;
2322
- width: calc(100% - 6px);
2322
+ width: 100%;
2323
2323
  min-height: 12px;
2324
2324
  margin: 0 auto;
2325
2325
  margin-top: 6px;
@@ -2373,6 +2373,9 @@ input[type=number] {
2373
2373
  .lextree ul {
2374
2374
  padding-bottom: 16px;
2375
2375
  padding-inline-start: 0px;
2376
+ display: flex;
2377
+ flex-direction: column;
2378
+ gap: 0.25rem;
2376
2379
  }
2377
2380
 
2378
2381
  .lextree input {
@@ -2389,8 +2392,8 @@ input[type=number] {
2389
2392
  .lextree .lextreeitem {
2390
2393
  list-style-type: none;
2391
2394
  align-items: center;
2392
- margin-bottom: 3px;
2393
2395
  line-height: 25px;
2396
+ display: flex;
2394
2397
  cursor: pointer;
2395
2398
  outline: none;
2396
2399
  border-radius: 6px;
@@ -2400,6 +2403,13 @@ input[type=number] {
2400
2403
  user-select: none;
2401
2404
  }
2402
2405
 
2406
+ .lextree .lextreeitem div {
2407
+ display: flex;
2408
+ gap: 0.25rem;
2409
+ margin-left: auto;
2410
+ margin-right: 8px;
2411
+ }
2412
+
2403
2413
  .lextree .lextreeitem img {
2404
2414
  width: 12px;
2405
2415
  height: 12px;
@@ -2412,6 +2422,7 @@ input[type=number] {
2412
2422
  width: 12px;
2413
2423
  height: 12px;
2414
2424
  margin-right: 6px;
2425
+ font-size: var(--global-font-size-sm);
2415
2426
  }
2416
2427
 
2417
2428
  .lextree .lextreeitem.draggingover {
@@ -2428,35 +2439,13 @@ input[type=number] {
2428
2439
  background: light-dark(var(--global-selected-light), var(--global-selected));
2429
2440
  }
2430
2441
 
2431
- .lextree .lextreeitem a {
2432
- margin-right: 6px;
2433
- margin-top: 4px;
2434
- font-size: var(--global-font-size-sm);
2435
- }
2436
-
2437
2442
  .lextree .lextreeitem a.hierarchy {
2438
2443
  margin-right: 6px;
2439
2444
  margin-top: 4px;
2440
2445
  }
2441
2446
 
2442
- .lextree .lextreeitem a:hover {
2443
- color: var(--global-text-primary);
2444
- }
2445
-
2446
- .lextree .lextreeitem a:active {
2447
- color: var(--global-button-color);
2448
- margin-top: 6px;
2449
- }
2450
-
2451
- .lextree .lextreeitem.parent a {
2452
- font-size: var(--global-font-size-xs);
2453
- }
2454
-
2455
- .lextree .lextreeitem .itemicon {
2456
- font-size: var(--global-font-size-sm) !important;
2457
- float: right;
2458
- margin-top: 7px;
2459
- margin-right: 8px;
2447
+ .lextree .lextreeitem .lexicon {
2448
+ font-size: var(--global-font-size-sm);
2460
2449
  }
2461
2450
 
2462
2451
  .lextree .lextreeitem .itemicon:hover {
@@ -2667,11 +2656,9 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
2667
2656
  opacity: 0;
2668
2657
  }
2669
2658
 
2670
- :root[data-theme="light"] {
2671
- .lexmenubox {
2672
- background-color: #fffffff3;
2673
- box-shadow: 0px 6px 7px -3px #a7a7a7b7 !important;
2674
- }
2659
+ :root[data-theme="light"] .lexmenubox {
2660
+ background-color: #fffffff3;
2661
+ box-shadow: 0px 6px 7px -3px #a7a7a7b7 !important;
2675
2662
  }
2676
2663
 
2677
2664
  .lexmenubox[data-submenu] {
@@ -2836,6 +2823,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
2836
2823
  margin-left: 0px !important;
2837
2824
  }
2838
2825
 
2826
+ .lexmenubar .lexmenubutton.main a {
2827
+ font-size: var(--global-font-size-xxl);
2828
+ }
2829
+
2839
2830
  .lexmenubar .lexmenubutton.disabled a {
2840
2831
  color: light-dark(var(--global-color-terciary), var(--global-button-color));
2841
2832
  cursor: default;
@@ -3006,6 +2997,12 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3006
2997
  margin-bottom: 0.4rem;
3007
2998
  }
3008
2999
 
3000
+ .lexsidebar .lextext {
3001
+ transform: translate(0, 0);
3002
+ opacity: 1;
3003
+ transition: transform 0.3s cubic-bezier(0,0,.2,1), opacity 0.1s cubic-bezier(0,0,.2,1), max-height 0.3s cubic-bezier(0,0,.2,1);
3004
+ }
3005
+
3009
3006
  .lexsidebar .lexsidebargrouptitle {
3010
3007
  font-size: var(--global-font-size-sm);
3011
3008
  font-weight: 600;
@@ -3030,13 +3027,13 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3030
3027
  transition: transform 0.3s cubic-bezier(0,0,.2,1), opacity 0.1s cubic-bezier(0,0,.2,1), max-height 0.3s cubic-bezier(0,0,.2,1);
3031
3028
  }
3032
3029
 
3033
- .lexsidebar.collapsing .lexsidebargrouptitle * {
3030
+ .lexsidebar.collapsing .lexsidebargrouptitle *, .lexsidebar.collapsing .lextext {
3034
3031
  max-height: 0px;
3035
3032
  transform: translate(0, -24px);
3036
3033
  opacity: 0;
3037
3034
  }
3038
3035
 
3039
- .lexsidebar.collapsed .lexsidebargrouptitle * {
3036
+ .lexsidebar.collapsed .lexsidebargrouptitle *, .lexsidebar.collapsed .lextext {
3040
3037
  display: none;
3041
3038
  }
3042
3039
 
@@ -3107,6 +3104,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3107
3104
  margin-left: 16px;
3108
3105
  padding-inline: 16px;
3109
3106
  display: flex;
3107
+ align-self: center;
3110
3108
  flex-direction: column;
3111
3109
  -webkit-user-select: none;
3112
3110
  -moz-user-select: none;
@@ -3116,6 +3114,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3116
3114
  border-left: 1px solid #5251514d;
3117
3115
  }
3118
3116
 
3117
+ .lexsidebar .lexsidebarsubentrycontainer:not(:has(div)) {
3118
+ margin: 0px;
3119
+ }
3120
+
3119
3121
  .lexsidebar.collapsing .lexsidebarsubentrycontainer {
3120
3122
  max-height: 0px;
3121
3123
  transform: translate(-8px, -8px);
@@ -3179,7 +3181,9 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3179
3181
  display: flex;
3180
3182
  border-radius: 8px;
3181
3183
  padding: 8px;
3184
+ font-size: var(--global-font-size);
3182
3185
  cursor: pointer;
3186
+ align-items: center;
3183
3187
  -webkit-user-select: none;
3184
3188
  -moz-user-select: none;
3185
3189
  -ms-user-select: none;
@@ -3200,17 +3204,24 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3200
3204
  }
3201
3205
 
3202
3206
  .lexsidebar .lexavatar {
3203
- background-color: #000;
3207
+ background-color: var(--global-intense-background);
3208
+ }
3209
+
3210
+ .lexsidebar .lexavatar:has(svg) {
3211
+ border: 1px solid #ffffff18;
3204
3212
  }
3205
3213
 
3206
3214
  .lexsidebar .lexsidebarfooter div, .lexsidebar .lexsidebarheader div {
3207
- width: calc(100% - 88px);
3208
3215
  height: 100%;
3216
+ transition: width 0.3s cubic-bezier(0,0,.2,1), padding-inline 0.3s cubic-bezier(0,0,.2,1);
3217
+ }
3218
+
3219
+ .lexsidebar .lexsidebarfooter div.infodefault, .lexsidebar .lexsidebarheader div.infodefault {
3220
+ width: calc(100% - 88px);
3209
3221
  padding-inline: 12px;
3210
3222
  justify-content: center;
3211
3223
  display: flex;
3212
3224
  flex-direction: column;
3213
- transition: width 0.3s cubic-bezier(0,0,.2,1), padding-inline 0.3s cubic-bezier(0,0,.2,1);
3214
3225
  }
3215
3226
 
3216
3227
  .lexsidebar .lexsidebarfooter div span, .lexsidebar .lexsidebarheader div span {
@@ -3232,6 +3243,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3232
3243
  align-content: center;
3233
3244
  }
3234
3245
 
3246
+ .lexsidebar .lexsidebarheader a.toggler {
3247
+ margin-left: auto;
3248
+ }
3249
+
3235
3250
  .lexsidebar .lexsidebarfooter svg, .lexsidebar .lexsidebarheader svg {
3236
3251
  place-self: center;
3237
3252
  }
@@ -3349,10 +3364,8 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3349
3364
  margin-left: 4px;
3350
3365
  }
3351
3366
 
3352
- :root[data-theme="light"] {
3353
- .lexoverlaybuttons .lexbutton img {
3354
- filter: invert(1);
3355
- }
3367
+ :root[data-theme="light"] .lexoverlaybuttons .lexbutton img {
3368
+ filter: invert(1);
3356
3369
  }
3357
3370
 
3358
3371
  .lexoverlaybuttons .lexbutton.selected {
@@ -3888,10 +3901,8 @@ thead:last-child tr:last-child th:first-child, tbody:last-child tr:last-child td
3888
3901
  gap: 8px;
3889
3902
  }
3890
3903
 
3891
- :root[data-theme="light"] {
3892
- .lextable table {
3893
- box-shadow: none;
3894
- }
3904
+ :root[data-theme="light"] .lextable table {
3905
+ box-shadow: none;
3895
3906
  }
3896
3907
 
3897
3908
  /* Custom Widgets Widget */
@@ -4032,38 +4043,35 @@ thead:last-child tr:last-child th:first-child, tbody:last-child tr:last-child td
4032
4043
  margin-top: 8px;
4033
4044
  }
4034
4045
 
4035
- :root[data-theme="light"] {
4036
-
4037
- .lexknob .knobcircle {
4038
- background: rgb(182, 182, 182);
4039
- background: linear-gradient(180deg, rgba(200, 200, 200, 1) 0%, rgba(160, 160, 160, 1) 100%);
4040
- box-shadow: 0px 0px 8px 2px #a3a3a379;
4041
- }
4046
+ :root[data-theme="light"] .lexknob .knobcircle {
4047
+ background: rgb(182, 182, 182);
4048
+ background: linear-gradient(180deg, rgba(200, 200, 200, 1) 0%, rgba(160, 160, 160, 1) 100%);
4049
+ box-shadow: 0px 0px 8px 2px #a3a3a379;
4050
+ }
4042
4051
 
4043
- /* Arc Indicator */
4044
- .lexknob .knobcircle::before {
4045
- border: 2px solid rgba(255, 255, 255, 0.2);
4046
- }
4052
+ /* Arc Indicator */
4053
+ :root[data-theme="light"] .lexknob .knobcircle::before {
4054
+ border: 2px solid rgba(255, 255, 255, 0.2);
4055
+ }
4047
4056
 
4048
- /* Tick Marks */
4049
- .lexknob.show-ticks .knobcircle::after {
4050
- background: repeating-conic-gradient(transparent 0deg,
4051
- rgba(50, 50, 50, 0.493) 1deg 3deg,
4052
- transparent 4deg calc(var(--knob-snap-mark) - 1deg));
4053
- }
4057
+ /* Tick Marks */
4058
+ :root[data-theme="light"] .lexknob.show-ticks .knobcircle::after {
4059
+ background: repeating-conic-gradient(transparent 0deg,
4060
+ rgba(50, 50, 50, 0.493) 1deg 3deg,
4061
+ transparent 4deg calc(var(--knob-snap-mark) - 1deg));
4062
+ }
4054
4063
 
4055
- .lexknob .innerknobcircle {
4056
- background-color: rgb(182, 182, 182);
4057
- }
4064
+ :root[data-theme="light"] .lexknob .innerknobcircle {
4065
+ background-color: rgb(182, 182, 182);
4066
+ }
4058
4067
 
4059
- .lexknob .knobmarker {
4060
- background-color: var(--global-selected-dark);
4061
- filter: brightness(1.5);
4062
- }
4068
+ :root[data-theme="light"] .lexknob .knobmarker {
4069
+ background-color: var(--global-selected-dark);
4070
+ filter: brightness(1.5);
4071
+ }
4063
4072
 
4064
- .lexknob.disabled .knobmarker {
4065
- background-color: var(--global-text-primary);
4066
- }
4073
+ :root[data-theme="light"] .lexknob.disabled .knobmarker {
4074
+ background-color: var(--global-text-primary);
4067
4075
  }
4068
4076
 
4069
4077
  /* Icon swap */
@@ -4159,7 +4167,6 @@ thead:last-child tr:last-child th:first-child, tbody:last-child tr:last-child td
4159
4167
 
4160
4168
  .lextimeline .lextree {
4161
4169
  margin: 0px !important;
4162
- width: 100%;
4163
4170
  }
4164
4171
 
4165
4172
  .lextimeline .lextree .lextreeitem {
@@ -5105,94 +5112,91 @@ ul.lexassetscontent {
5105
5112
 
5106
5113
  .cm-bln.markdown { color: #a1d2f0; } /* builtin */
5107
5114
 
5108
- :root[data-theme="light"] {
5109
-
5110
- .lexcodeeditor pre.active-line {
5111
- background-color: #c5c4c4ab;
5112
- }
5113
-
5114
- .lexcodeeditor.disabled pre.active-line {
5115
- background: none;
5116
- }
5117
-
5118
- .lexcodescrollbar div {
5119
- /* thumb */
5120
- background-color: #8383839d !important;
5121
- }
5115
+ :root[data-theme="light"] .lexcodeeditor pre.active-line {
5116
+ background-color: #c5c4c4ab;
5117
+ }
5122
5118
 
5123
- .lexcodescrollbar div:hover {
5124
- /* thumb */
5125
- background-color: #5e5e5ea9 !important;
5126
- }
5119
+ :root[data-theme="light"] .lexcodeeditor.disabled pre.active-line {
5120
+ background: none;
5121
+ }
5127
5122
 
5128
- .cm-str { color: #a15e3e; } /* string */
5129
- .cm-std { color: #a753c0; } /* statements & declarations */
5130
- .cm-kwd { color: #1967d2; } /* keyword */
5131
- .cm-com { color: #188038; } /* comment */
5132
-
5133
- .cm-typ.javascript { color: #0b9484; } /* type */
5134
- .cm-dec.javascript { color: #c5221f; } /* decimal */
5135
- .cm-sym.javascript { color: #333333; } /* symbol */
5136
- .cm-mtd.javascript { color: #539ac7 } /* method */
5137
-
5138
- .cm-typ.c { color: #0b9484; } /* type */
5139
- .cm-bln.c { color: #333333; } /* builtin */
5140
- .cm-dec.c { color: #c5221f; } /* decimal */
5141
- .cm-sym.c { color: #333333; } /* symbol */
5142
- .cm-mtd.c { color: #539ac7 } /* method */
5143
- .cm-ppc.c { color: #626262 } /* preprocessor */
5144
-
5145
- .cm-typ.cpp { color: #0b9484; } /* type */
5146
- .cm-bln.cpp { color: #333333; } /* builtin */
5147
- .cm-dec.cpp { color: #c5221f; } /* decimal */
5148
- .cm-sym.cpp { color: #333333; } /* symbol */
5149
- .cm-mtd.cpp { color: #539ac7 } /* method */
5150
- .cm-ppc.cpp { color: #626262 } /* preprocessor */
5151
-
5152
- .cm-sym.cmake { color: #a753c0; } /* symbol */
5153
-
5154
- .cm-kwd.css { color: #c49319; } /* keyword */
5155
- .cm-typ.css { color: #539ac7; } /* type */
5156
- .cm-bln.css { color: #2194ce; } /* builtin */
5157
- .cm-dec.css { color: #c5221f; } /* decimal */
5158
- .cm-sym.css { color: #a753c0; } /* symbol */
5159
-
5160
- .cm-dec.json { color: #c5221f; } /* decimal */
5161
- .cm-sym.json { color: #a753c0; } /* symbol */
5162
-
5163
- .cm-typ.glsl { color: #0b9484; } /* type */
5164
- .cm-dec.glsl { color: #c5221f; } /* decimal */
5165
- .cm-mtd.glsl { color: #539ac7; } /* method */
5166
- .cm-sym.glsl { color: #a753c0; } /* symbol */
5167
-
5168
- .cm-typ.wgsl { color: #0b9484; } /* type */
5169
- .cm-dec.wgsl { color: #c5221f; } /* decimal */
5170
- .cm-mtd.wgsl { color: #539ac7; } /* method */
5171
- .cm-sym.wgsl { color: #a753c0; } /* symbol */
5172
- .cm-ppc.wgsl { color: #626262; } /* preprocessor */
5173
-
5174
- .cm-typ.rust { color: #0b9484; } /* type */
5175
- .cm-dec.rust { color: #c5221f; } /* decimal */
5176
- .cm-sym.rust { color: #333333; } /* symbol */
5177
- .cm-mtd.rust { color: #539ac7 } /* method */
5178
-
5179
- .cm-typ.python { color: #0b9484; } /* type */
5180
- .cm-dec.python { color: #c5221f; } /* decimal */
5181
- .cm-sym.python { color: #333333; } /* symbol */
5182
- .cm-mtd.python { color: #539ac7 } /* method */
5183
-
5184
- .cm-dec.batch { color: #c5221f; } /* decimal */
5185
- .cm-sym.batch { color: #a753c0; } /* symbol */
5186
-
5187
- .cm-bln.html { color: #539ac7; } /* builtin */
5188
- .cm-sym.html { color: #696969; } /* symbol */
5189
-
5190
- .cm-bln.xml { color: #a1d2f0; } /* builtin */
5191
- .cm-sym.xml { color: #929292; } /* symbol */
5192
-
5193
- .cm-bln.markdown { color: #a1d2f0; } /* builtin */
5123
+ :root[data-theme="light"] .lexcodescrollbar div {
5124
+ /* thumb */
5125
+ background-color: #8383839d !important;
5194
5126
  }
5195
5127
 
5128
+ :root[data-theme="light"] .lexcodescrollbar div:hover {
5129
+ /* thumb */
5130
+ background-color: #5e5e5ea9 !important;
5131
+ }
5132
+
5133
+ :root[data-theme="light"] .cm-str { color: #a15e3e; } /* string */
5134
+ :root[data-theme="light"] .cm-std { color: #a753c0; } /* statements & declarations */
5135
+ :root[data-theme="light"] .cm-kwd { color: #1967d2; } /* keyword */
5136
+ :root[data-theme="light"] .cm-com { color: #188038; } /* comment */
5137
+
5138
+ :root[data-theme="light"] .cm-typ.javascript { color: #0b9484; } /* type */
5139
+ :root[data-theme="light"] .cm-dec.javascript { color: #c5221f; } /* decimal */
5140
+ :root[data-theme="light"] .cm-sym.javascript { color: #333333; } /* symbol */
5141
+ :root[data-theme="light"] .cm-mtd.javascript { color: #539ac7 } /* method */
5142
+
5143
+ :root[data-theme="light"] .cm-typ.c { color: #0b9484; } /* type */
5144
+ :root[data-theme="light"] .cm-bln.c { color: #333333; } /* builtin */
5145
+ :root[data-theme="light"] .cm-dec.c { color: #c5221f; } /* decimal */
5146
+ :root[data-theme="light"] .cm-sym.c { color: #333333; } /* symbol */
5147
+ :root[data-theme="light"] .cm-mtd.c { color: #539ac7 } /* method */
5148
+ :root[data-theme="light"] .cm-ppc.c { color: #626262 } /* preprocessor */
5149
+
5150
+ :root[data-theme="light"] .cm-typ.cpp { color: #0b9484; } /* type */
5151
+ :root[data-theme="light"] .cm-bln.cpp { color: #333333; } /* builtin */
5152
+ :root[data-theme="light"] .cm-dec.cpp { color: #c5221f; } /* decimal */
5153
+ :root[data-theme="light"] .cm-sym.cpp { color: #333333; } /* symbol */
5154
+ :root[data-theme="light"] .cm-mtd.cpp { color: #539ac7 } /* method */
5155
+ :root[data-theme="light"] .cm-ppc.cpp { color: #626262 } /* preprocessor */
5156
+
5157
+ :root[data-theme="light"] .cm-sym.cmake { color: #a753c0; } /* symbol */
5158
+
5159
+ :root[data-theme="light"] .cm-kwd.css { color: #c49319; } /* keyword */
5160
+ :root[data-theme="light"] .cm-typ.css { color: #539ac7; } /* type */
5161
+ :root[data-theme="light"] .cm-bln.css { color: #2194ce; } /* builtin */
5162
+ :root[data-theme="light"] .cm-dec.css { color: #c5221f; } /* decimal */
5163
+ :root[data-theme="light"] .cm-sym.css { color: #a753c0; } /* symbol */
5164
+
5165
+ :root[data-theme="light"] .cm-dec.json { color: #c5221f; } /* decimal */
5166
+ :root[data-theme="light"] .cm-sym.json { color: #a753c0; } /* symbol */
5167
+
5168
+ :root[data-theme="light"] .cm-typ.glsl { color: #0b9484; } /* type */
5169
+ :root[data-theme="light"] .cm-dec.glsl { color: #c5221f; } /* decimal */
5170
+ :root[data-theme="light"] .cm-mtd.glsl { color: #539ac7; } /* method */
5171
+ :root[data-theme="light"] .cm-sym.glsl { color: #a753c0; } /* symbol */
5172
+
5173
+ :root[data-theme="light"] .cm-typ.wgsl { color: #0b9484; } /* type */
5174
+ :root[data-theme="light"] .cm-dec.wgsl { color: #c5221f; } /* decimal */
5175
+ :root[data-theme="light"] .cm-mtd.wgsl { color: #539ac7; } /* method */
5176
+ :root[data-theme="light"] .cm-sym.wgsl { color: #a753c0; } /* symbol */
5177
+ :root[data-theme="light"] .cm-ppc.wgsl { color: #626262; } /* preprocessor */
5178
+
5179
+ :root[data-theme="light"] .cm-typ.rust { color: #0b9484; } /* type */
5180
+ :root[data-theme="light"] .cm-dec.rust { color: #c5221f; } /* decimal */
5181
+ :root[data-theme="light"] .cm-sym.rust { color: #333333; } /* symbol */
5182
+ :root[data-theme="light"] .cm-mtd.rust { color: #539ac7 } /* method */
5183
+
5184
+ :root[data-theme="light"] .cm-typ.python { color: #0b9484; } /* type */
5185
+ :root[data-theme="light"] .cm-dec.python { color: #c5221f; } /* decimal */
5186
+ :root[data-theme="light"] .cm-sym.python { color: #333333; } /* symbol */
5187
+ :root[data-theme="light"] .cm-mtd.python { color: #539ac7 } /* method */
5188
+
5189
+ :root[data-theme="light"] .cm-dec.batch { color: #c5221f; } /* decimal */
5190
+ :root[data-theme="light"] .cm-sym.batch { color: #a753c0; } /* symbol */
5191
+
5192
+ :root[data-theme="light"] .cm-bln.html { color: #539ac7; } /* builtin */
5193
+ :root[data-theme="light"] .cm-sym.html { color: #696969; } /* symbol */
5194
+
5195
+ :root[data-theme="light"] .cm-bln.xml { color: #a1d2f0; } /* builtin */
5196
+ :root[data-theme="light"] .cm-sym.xml { color: #929292; } /* symbol */
5197
+
5198
+ :root[data-theme="light"] .cm-bln.markdown { color: #a1d2f0; } /* builtin */
5199
+
5196
5200
  /* Node Graph */
5197
5201
 
5198
5202
  .lexgraph {