lexgui 0.1.45 → 0.2.0
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/components/codeeditor.js +129 -99
- package/build/lexgui.css +402 -144
- package/build/lexgui.js +8278 -7629
- package/build/lexgui.min.css +1 -0
- package/build/lexgui.min.js +1 -0
- package/build/lexgui.module.js +903 -274
- package/build/lexgui.module.min.js +1 -0
- package/changelog.md +29 -2
- package/demo.js +89 -839
- package/package.json +1 -1
package/build/lexgui.css
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: "GoogleSans";
|
|
6
|
-
src: url("
|
|
6
|
+
src: url("https://raw.githubusercontent.com/jxarco/lexgui.js/master/data/GoogleSans.ttf");
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
/*
|
|
11
|
-
color-scheme:
|
|
10
|
+
/* default color scheme */
|
|
11
|
+
color-scheme: dark;
|
|
12
12
|
|
|
13
13
|
--global-font: "GoogleSans", sans-serif;
|
|
14
14
|
--global-title-font: "GoogleSans", sans-serif;
|
|
15
|
-
--global-font-size:
|
|
16
|
-
--global-font-size-big:
|
|
17
|
-
--global-color-primary: light-dark(#f9f9f9, #
|
|
18
|
-
--global-color-secondary: light-dark(#ececec, #
|
|
19
|
-
--global-color-terciary: light-dark(#e0e0e0, #
|
|
20
|
-
--global-color-quaternary: light-dark(#c8c8c8, #
|
|
21
|
-
--global-color-quinary: light-dark(#b0b0b0, #
|
|
15
|
+
--global-font-size: 13px;
|
|
16
|
+
--global-font-size-big: 15px;
|
|
17
|
+
--global-color-primary: light-dark(#f9f9f9, #141414);
|
|
18
|
+
--global-color-secondary: light-dark(#ececec, #252525);
|
|
19
|
+
--global-color-terciary: light-dark(#e0e0e0, #3a3a3a);
|
|
20
|
+
--global-color-quaternary: light-dark(#c8c8c8, #494949);
|
|
21
|
+
--global-color-quinary: light-dark(#b0b0b0, #5c5c5c);
|
|
22
22
|
--global-selected: #2d69da;
|
|
23
23
|
--global-selected-light: #0d99ff;
|
|
24
24
|
--global-selected-dark: #304b86;
|
|
@@ -28,8 +28,9 @@
|
|
|
28
28
|
--global-button-color: light-dark(#f9f9f9, #3e3e3e);
|
|
29
29
|
--global-button-color-hovered: light-dark(#ececec, #444);
|
|
30
30
|
--global-text-primary: light-dark(#202124, #f4f4ffe6);
|
|
31
|
-
--global-text-secondary: light-dark(#
|
|
32
|
-
--global-text-terciary: light-dark(#
|
|
31
|
+
--global-text-secondary: light-dark(#353636, #bfbfc0ea);
|
|
32
|
+
--global-text-terciary: light-dark(#5a5a5af5, #929292d8);
|
|
33
|
+
--global-text-quaternary: light-dark(#6b6a6af5, #585757e1);
|
|
33
34
|
--global-intense-background: light-dark(#fefefe, #121212);
|
|
34
35
|
--global-medium-background: #252525;
|
|
35
36
|
--global-blur-background: light-dark(#f7f7f7d8, #1f1f1fe7);
|
|
@@ -90,8 +91,14 @@ body {
|
|
|
90
91
|
margin: 0;
|
|
91
92
|
padding: 0;
|
|
92
93
|
font-family: var(--global-font);
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:root[data-strictVP="false"] {
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
|
|
101
|
+
margin: 0;
|
|
95
102
|
}
|
|
96
103
|
|
|
97
104
|
a:any-link {
|
|
@@ -102,6 +109,53 @@ canvas {
|
|
|
102
109
|
border-radius: 6px;
|
|
103
110
|
}
|
|
104
111
|
|
|
112
|
+
dialog {
|
|
113
|
+
transition: display 0.1s allow-discrete, overlay 0.1s allow-discrete;
|
|
114
|
+
animation: dialogHide 0.1s forwards;
|
|
115
|
+
&[open] {
|
|
116
|
+
animation: dialogShow 0.1s forwards;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
dialog::backdrop {
|
|
121
|
+
background-color: #0000008c;
|
|
122
|
+
position: absolute;
|
|
123
|
+
opacity: 1;
|
|
124
|
+
transition: opacity 0.2s ease-in;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@keyframes dialogShow {
|
|
128
|
+
from {
|
|
129
|
+
opacity: 0;
|
|
130
|
+
transform: translate3d(0, -8px, 0)
|
|
131
|
+
scale3d(0.92, 0.92, 0.92)
|
|
132
|
+
rotate(0);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
to {
|
|
136
|
+
opacity: 1;
|
|
137
|
+
transform: translate3d(0, 0, 0)
|
|
138
|
+
scale3d(1, 1, 1)
|
|
139
|
+
rotate(0);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@keyframes dialogHide {
|
|
144
|
+
from {
|
|
145
|
+
opacity: 1;
|
|
146
|
+
transform: translate3d(0, 0, 0)
|
|
147
|
+
scale3d(1, 1, 1)
|
|
148
|
+
rotate(0);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
to {
|
|
152
|
+
opacity: 0;
|
|
153
|
+
transform: translate3d(0, -8px, 0)
|
|
154
|
+
scale3d(0.92, 0.92, 0.92)
|
|
155
|
+
rotate(0);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
105
159
|
body.nocursor * {
|
|
106
160
|
cursor: none !important;
|
|
107
161
|
}
|
|
@@ -147,6 +201,10 @@ body.noevents * {
|
|
|
147
201
|
position: absolute;
|
|
148
202
|
}
|
|
149
203
|
|
|
204
|
+
:root[data-strictVP="false"] {
|
|
205
|
+
bottom: unset;
|
|
206
|
+
}
|
|
207
|
+
|
|
150
208
|
.leximage {
|
|
151
209
|
text-align: center;
|
|
152
210
|
}
|
|
@@ -159,6 +217,7 @@ body.noevents * {
|
|
|
159
217
|
margin-left: 4px;
|
|
160
218
|
cursor: pointer;
|
|
161
219
|
line-height: inherit !important;
|
|
220
|
+
color: var(--global-text-secondary);
|
|
162
221
|
}
|
|
163
222
|
|
|
164
223
|
.lexicon:hover {
|
|
@@ -170,7 +229,9 @@ body.noevents * {
|
|
|
170
229
|
margin-top: 0.01em;
|
|
171
230
|
}
|
|
172
231
|
|
|
173
|
-
|
|
232
|
+
/* Commandbar */
|
|
233
|
+
|
|
234
|
+
.commandbar {
|
|
174
235
|
position: absolute;
|
|
175
236
|
background-color: var(--global-blur-background);
|
|
176
237
|
--webkit-backdrop-filter: blur(12px);
|
|
@@ -181,7 +242,8 @@ body.noevents * {
|
|
|
181
242
|
max-width: 740px;
|
|
182
243
|
top: 15%;
|
|
183
244
|
left: calc(50% - min(15%, 740px));
|
|
184
|
-
|
|
245
|
+
margin: 0;
|
|
246
|
+
padding: 0 0 2px 0;
|
|
185
247
|
flex-wrap: wrap;
|
|
186
248
|
z-index: 105;
|
|
187
249
|
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
|
|
@@ -190,14 +252,18 @@ body.noevents * {
|
|
|
190
252
|
/* this fixes the overflow:hidden in Chrome/Opera */
|
|
191
253
|
}
|
|
192
254
|
|
|
193
|
-
|
|
255
|
+
.commandbar[open] {
|
|
256
|
+
display: flex;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.commandbar .gs-header {
|
|
194
260
|
width: 100%;
|
|
195
261
|
height: 32px;
|
|
196
262
|
display: flex;
|
|
197
263
|
padding: 6px;
|
|
198
264
|
}
|
|
199
265
|
|
|
200
|
-
|
|
266
|
+
.commandbar a {
|
|
201
267
|
color: var(--global-text-secondary);
|
|
202
268
|
padding: 10px;
|
|
203
269
|
background-color: var(--global-color-terciary);
|
|
@@ -206,7 +272,7 @@ body.noevents * {
|
|
|
206
272
|
font-size: 12px;
|
|
207
273
|
}
|
|
208
274
|
|
|
209
|
-
|
|
275
|
+
.commandbar input {
|
|
210
276
|
width: 100%;
|
|
211
277
|
flex: 50%;
|
|
212
278
|
background: none;
|
|
@@ -222,29 +288,30 @@ body.noevents * {
|
|
|
222
288
|
font-weight: 600;
|
|
223
289
|
}
|
|
224
290
|
|
|
225
|
-
|
|
291
|
+
.commandbar .lexarea {
|
|
226
292
|
background: none !important;
|
|
227
293
|
}
|
|
228
294
|
|
|
229
|
-
|
|
295
|
+
.commandbar .searchitembox {
|
|
230
296
|
flex-basis: 100%;
|
|
231
297
|
overflow-y: scroll;
|
|
232
298
|
max-height: calc(512px - 48px);
|
|
233
299
|
}
|
|
234
300
|
|
|
235
|
-
|
|
301
|
+
.commandbar .searchitembox::-webkit-scrollbar {
|
|
236
302
|
display: none;
|
|
237
303
|
}
|
|
238
304
|
|
|
239
|
-
|
|
305
|
+
.commandbar .searchitembox .searchitem {
|
|
240
306
|
padding: 10px;
|
|
241
307
|
padding-left: 50px;
|
|
242
308
|
color: var(--global-text-primary);
|
|
243
|
-
font-size:
|
|
309
|
+
font-size: var(--global-font-size);
|
|
310
|
+
line-height: 15px;
|
|
244
311
|
cursor: pointer;
|
|
245
312
|
}
|
|
246
313
|
|
|
247
|
-
|
|
314
|
+
.commandbar .searchitembox .searchitem a {
|
|
248
315
|
padding: 0px;
|
|
249
316
|
margin-left: -28px;
|
|
250
317
|
margin-top: 2px;
|
|
@@ -252,7 +319,7 @@ body.noevents * {
|
|
|
252
319
|
float: left;
|
|
253
320
|
}
|
|
254
321
|
|
|
255
|
-
|
|
322
|
+
.commandbar .searchitembox .searchitem i {
|
|
256
323
|
width: 12px;
|
|
257
324
|
font-size: 11px;
|
|
258
325
|
margin-right: 4px;
|
|
@@ -260,24 +327,24 @@ body.noevents * {
|
|
|
260
327
|
vertical-align: middle;
|
|
261
328
|
}
|
|
262
329
|
|
|
263
|
-
|
|
330
|
+
.commandbar .searchitembox .searchitem img {
|
|
264
331
|
width: 12px;
|
|
265
332
|
margin-right: 4px;
|
|
266
333
|
margin-top: -2px;
|
|
267
334
|
vertical-align: middle;
|
|
268
335
|
}
|
|
269
336
|
|
|
270
|
-
|
|
337
|
+
.commandbar .searchitembox .searchitem .lang-ext {
|
|
271
338
|
color: #676e75;
|
|
272
339
|
font-size: var(--global-font-size);
|
|
273
340
|
}
|
|
274
341
|
|
|
275
|
-
|
|
342
|
+
.commandbar .searchitembox .searchitem.last {
|
|
276
343
|
border-bottom-left-radius: 6px;
|
|
277
344
|
border-bottom-right-radius: 6px;
|
|
278
345
|
}
|
|
279
346
|
|
|
280
|
-
|
|
347
|
+
.commandbar .searchitembox .searchitem.hovered {
|
|
281
348
|
background-color: var(--global-selected);
|
|
282
349
|
color: #f5f5f5;
|
|
283
350
|
}
|
|
@@ -309,6 +376,11 @@ body.noevents * {
|
|
|
309
376
|
margin-bottom: 12px;
|
|
310
377
|
}
|
|
311
378
|
|
|
379
|
+
.lexfooter h2 {
|
|
380
|
+
margin-block-start: 0.83em;
|
|
381
|
+
margin-block-end: 0.83em;
|
|
382
|
+
}
|
|
383
|
+
|
|
312
384
|
.lexfooter ul li {
|
|
313
385
|
margin-bottom: 8px;
|
|
314
386
|
font-size: 14px;
|
|
@@ -384,17 +456,23 @@ body.noevents * {
|
|
|
384
456
|
/* Dialogs and alerts */
|
|
385
457
|
|
|
386
458
|
.lexdialog {
|
|
459
|
+
outline: none;
|
|
460
|
+
border: none;
|
|
387
461
|
background: none;
|
|
462
|
+
margin: 0;
|
|
463
|
+
padding: 0;
|
|
388
464
|
position: absolute;
|
|
389
465
|
min-width: 256px;
|
|
390
|
-
|
|
466
|
+
min-height: max-content;
|
|
467
|
+
overflow: hidden;
|
|
391
468
|
box-shadow: 0 2px 8px #101010;
|
|
392
|
-
border-radius:
|
|
469
|
+
border-radius: 8px;
|
|
393
470
|
z-index: 101;
|
|
394
471
|
background-color: var(--global-color-secondary);
|
|
395
472
|
}
|
|
396
473
|
|
|
397
474
|
.lexdialogtitle {
|
|
475
|
+
outline: none;
|
|
398
476
|
font-family: var(--global-title-font);
|
|
399
477
|
font-weight: 600;
|
|
400
478
|
font-size: 18px;
|
|
@@ -462,7 +540,6 @@ body.noevents * {
|
|
|
462
540
|
/* Pocket Dialog */
|
|
463
541
|
|
|
464
542
|
.lexdialog.pocket {
|
|
465
|
-
margin: 3px;
|
|
466
543
|
background-color: var(--global-color-primary);
|
|
467
544
|
}
|
|
468
545
|
|
|
@@ -527,16 +604,6 @@ body.noevents * {
|
|
|
527
604
|
/* Pop up dialog */
|
|
528
605
|
.lexpopup {
|
|
529
606
|
background: var(--global-blur-background);
|
|
530
|
-
opacity: 0;
|
|
531
|
-
transition: opacity 1s;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.lexpopup.fadein {
|
|
535
|
-
opacity: 1;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.lexpopup.fadeout {
|
|
539
|
-
opacity: 0;
|
|
540
607
|
}
|
|
541
608
|
|
|
542
609
|
:root[data-theme="light"] {
|
|
@@ -553,6 +620,17 @@ body.noevents * {
|
|
|
553
620
|
}
|
|
554
621
|
}
|
|
555
622
|
|
|
623
|
+
/* Generic */
|
|
624
|
+
|
|
625
|
+
.lexcontainer {
|
|
626
|
+
display: flex;
|
|
627
|
+
flex-direction: row;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.lexcontainer.col {
|
|
631
|
+
flex-direction: column;
|
|
632
|
+
}
|
|
633
|
+
|
|
556
634
|
/* Area */
|
|
557
635
|
|
|
558
636
|
.lexarea {
|
|
@@ -760,6 +838,11 @@ body.noevents * {
|
|
|
760
838
|
padding-right: 4px;
|
|
761
839
|
}
|
|
762
840
|
|
|
841
|
+
.lexwidget.right {
|
|
842
|
+
margin-left: auto;
|
|
843
|
+
margin-right: 8px;
|
|
844
|
+
}
|
|
845
|
+
|
|
763
846
|
.lexwidget.micro button {
|
|
764
847
|
padding-left: 4px;
|
|
765
848
|
padding-right: 4px;
|
|
@@ -926,16 +1009,12 @@ body.noevents * {
|
|
|
926
1009
|
}
|
|
927
1010
|
}
|
|
928
1011
|
|
|
929
|
-
.lexfilter input {
|
|
930
|
-
font-family: var(--global-font);
|
|
931
|
-
}
|
|
932
|
-
|
|
933
1012
|
.lextitle {
|
|
934
1013
|
width: fit-content;
|
|
935
1014
|
width: -moz-fit-content;
|
|
936
1015
|
color: var(--global-text-secondary);
|
|
937
1016
|
font-weight: 800;
|
|
938
|
-
font-size:
|
|
1017
|
+
font-size: 14px;
|
|
939
1018
|
margin: 12px;
|
|
940
1019
|
padding: 2px;
|
|
941
1020
|
padding-left: 12px;
|
|
@@ -985,7 +1064,7 @@ body.noevents * {
|
|
|
985
1064
|
background-color: var(--button-color);
|
|
986
1065
|
border-radius: 6px;
|
|
987
1066
|
border: 1px solid transparent;
|
|
988
|
-
margin-top: 2px;
|
|
1067
|
+
/* margin-top: 2px; */
|
|
989
1068
|
min-height: 22px !important;
|
|
990
1069
|
color: var(--global-text-primary);
|
|
991
1070
|
font-weight: 500;
|
|
@@ -995,18 +1074,37 @@ body.noevents * {
|
|
|
995
1074
|
cursor: pointer;
|
|
996
1075
|
font-family: var(--global-font);
|
|
997
1076
|
transition: 0.1s linear;
|
|
998
|
-
padding: 0.
|
|
1077
|
+
padding: 0.35rem;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
:root[data-theme="light"] {
|
|
1081
|
+
.lexbutton {
|
|
1082
|
+
--button-color: var(--global-button-color);
|
|
1083
|
+
border: 1px solid var(--global-color-terciary) !important;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.lexbutton.selected {
|
|
1087
|
+
background: #3c4145;
|
|
1088
|
+
color: #DDD;
|
|
1089
|
+
}
|
|
999
1090
|
}
|
|
1000
1091
|
|
|
1001
1092
|
/* Colors */
|
|
1002
|
-
.lexbutton.primary { --button-color: var(--global-selected); }
|
|
1003
|
-
.lexbutton.secondary { --button-color: var(--global-selected-light); }
|
|
1004
|
-
.lexbutton.accent { --button-color: var(--global-color-accent); }
|
|
1005
|
-
.lexbutton.warning { --button-color: var(--global-color-warning); }
|
|
1006
|
-
.lexbutton.error { --button-color: var(--global-color-error); }
|
|
1093
|
+
.lexbutton.primary { --button-color: var(--global-selected) !important; color: #f9f9f9 !important; }
|
|
1094
|
+
.lexbutton.secondary { --button-color: var(--global-selected-light) !important; color: #f9f9f9 !important; }
|
|
1095
|
+
.lexbutton.accent { --button-color: var(--global-color-accent) !important; color: #f9f9f9 !important; }
|
|
1096
|
+
.lexbutton.warning { --button-color: var(--global-color-warning) !important; color: #793205 !important; }
|
|
1097
|
+
.lexbutton.error { --button-color: var(--global-color-error) !important; color: #52020d !important; }
|
|
1007
1098
|
/* Few Sizes */
|
|
1008
1099
|
.lexbutton.xs { width: 25% !important; margin: 0 auto; }
|
|
1009
1100
|
.lexbutton.sm { width: 45% !important; margin: 0 auto; }
|
|
1101
|
+
/* Styles */
|
|
1102
|
+
.lexbutton.outline { box-shadow: none; --button-color: var(--global-intense-background); border: 1px solid var(--global-color-quaternary) !important; }
|
|
1103
|
+
|
|
1104
|
+
.lexbutton.left {
|
|
1105
|
+
text-align: left;
|
|
1106
|
+
padding-inline: 12px;
|
|
1107
|
+
}
|
|
1010
1108
|
|
|
1011
1109
|
.lexbutton span:has(.lexbadge) {
|
|
1012
1110
|
display: inline-flex;
|
|
@@ -1031,8 +1129,15 @@ body.noevents * {
|
|
|
1031
1129
|
font-size: 10px;
|
|
1032
1130
|
}
|
|
1033
1131
|
|
|
1132
|
+
.lexbutton.array span {
|
|
1133
|
+
display: inline-flex;
|
|
1134
|
+
margin-left: 8px;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1034
1137
|
.lexbutton.array a {
|
|
1035
1138
|
margin-top: 2px;
|
|
1139
|
+
margin-right: 3px;
|
|
1140
|
+
margin-left: auto;
|
|
1036
1141
|
}
|
|
1037
1142
|
|
|
1038
1143
|
.lexbutton:hover {
|
|
@@ -1046,6 +1151,10 @@ body.noevents * {
|
|
|
1046
1151
|
transform: scale(0.99);
|
|
1047
1152
|
}
|
|
1048
1153
|
|
|
1154
|
+
.lexbutton:disabled {
|
|
1155
|
+
color: var(--global-text-terciary);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1049
1158
|
.lexbutton.selected {
|
|
1050
1159
|
background: #3c4145;
|
|
1051
1160
|
color: #DDD;
|
|
@@ -1056,72 +1165,41 @@ body.noevents * {
|
|
|
1056
1165
|
margin-top: 0px;
|
|
1057
1166
|
}
|
|
1058
1167
|
|
|
1059
|
-
:root[data-theme="light"] {
|
|
1060
|
-
.lexbutton {
|
|
1061
|
-
background-color: var(--global-button-color);
|
|
1062
|
-
color: var(--global-text-primary);
|
|
1063
|
-
border: 1px solid var(--global-color-terciary) !important;
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
.lexbutton.accept {
|
|
1067
|
-
background-color: var(--global-selected);
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
.lexbutton:hover {
|
|
1071
|
-
background-color: var(--global-button-color-hovered);
|
|
1072
|
-
color: var(--global-text-primary);
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
.lexbutton.accept:hover {
|
|
1076
|
-
background-color: #3b6790;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.lexbutton.selected {
|
|
1080
|
-
background: #3c4145;
|
|
1081
|
-
color: #DDD;
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
1168
|
/* Combo Buttons */
|
|
1086
1169
|
|
|
1087
|
-
.lexcombobuttons {
|
|
1170
|
+
.lexcombobuttons .lexcombobuttonsbox {
|
|
1088
1171
|
display: flex;
|
|
1089
|
-
|
|
1172
|
+
background-color: light-dark(var(--global-color-terciary), var(--global-button-color));
|
|
1173
|
+
width: max-content;
|
|
1174
|
+
justify-self: center;
|
|
1175
|
+
padding: 3px;
|
|
1176
|
+
border-radius: 8px;
|
|
1177
|
+
gap: 0.2em;
|
|
1090
1178
|
}
|
|
1091
1179
|
|
|
1092
|
-
.lexcombobuttons.right {
|
|
1093
|
-
justify-
|
|
1180
|
+
.lexcombobuttons.right .lexcombobuttonsbox {
|
|
1181
|
+
justify-self: right;
|
|
1094
1182
|
}
|
|
1095
1183
|
|
|
1096
|
-
.lexcombobuttons.left {
|
|
1097
|
-
justify-
|
|
1184
|
+
.lexcombobuttons.left .lexcombobuttonsbox {
|
|
1185
|
+
justify-self: left;
|
|
1098
1186
|
}
|
|
1099
1187
|
|
|
1100
1188
|
.lexcombobuttons .lexbutton.combo {
|
|
1101
|
-
margin-left: 1px;
|
|
1102
|
-
margin-right: 1px;
|
|
1103
|
-
border-radius: 0px;
|
|
1104
1189
|
display: flex;
|
|
1105
|
-
padding: 0.
|
|
1190
|
+
padding: 0.7em 1.6em;
|
|
1106
1191
|
transition: 0.2s;
|
|
1192
|
+
background: none;
|
|
1107
1193
|
}
|
|
1108
1194
|
|
|
1109
|
-
.lexcombobuttons .lexbutton.combo:
|
|
1110
|
-
|
|
1111
|
-
border-bottom-left-radius: 4px;
|
|
1112
|
-
margin-left: 0px;
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
.lexcombobuttons .lexbutton.combo:last-child {
|
|
1116
|
-
border-top-right-radius: 4px;
|
|
1117
|
-
border-bottom-right-radius: 4px;
|
|
1118
|
-
margin-right: 0px;
|
|
1195
|
+
.lexcombobuttons .lexbutton.combo:hover {
|
|
1196
|
+
color: var(--global-text-secondary);
|
|
1119
1197
|
}
|
|
1120
1198
|
|
|
1121
1199
|
.lexcombobuttons .lexbutton.combo.selected {
|
|
1122
|
-
background:
|
|
1200
|
+
background-color: var(--global-color-primary);
|
|
1123
1201
|
outline: none;
|
|
1124
|
-
color:
|
|
1202
|
+
color: var(--global-text-primary);
|
|
1125
1203
|
}
|
|
1126
1204
|
|
|
1127
1205
|
.lexcombobuttons .lexbutton.combo:active {
|
|
@@ -1129,21 +1207,20 @@ body.noevents * {
|
|
|
1129
1207
|
color: #ccc;
|
|
1130
1208
|
}
|
|
1131
1209
|
|
|
1132
|
-
.lexcombobuttons .lexbutton.combo a {
|
|
1133
|
-
padding: 2px;
|
|
1134
|
-
/* margin-right: 2px; */
|
|
1135
|
-
padding-top: 0.3em;
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
1210
|
.lexcombobuttons .lexbutton.combo span {
|
|
1139
1211
|
line-height: 18px;
|
|
1140
1212
|
}
|
|
1141
1213
|
|
|
1214
|
+
.lexcombobuttons .lexbutton.combo a {
|
|
1215
|
+
font-size: 11px;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1142
1218
|
/* Dropdown (Combo) */
|
|
1143
1219
|
|
|
1144
1220
|
.lexdropdown {
|
|
1145
1221
|
display: grid;
|
|
1146
1222
|
align-content: center;
|
|
1223
|
+
position: relative;
|
|
1147
1224
|
}
|
|
1148
1225
|
|
|
1149
1226
|
.lexdropdown .lexwidget {
|
|
@@ -1152,15 +1229,18 @@ body.noevents * {
|
|
|
1152
1229
|
|
|
1153
1230
|
.lexdropdown .lexfilter {
|
|
1154
1231
|
width: calc(100% - 6px) !important;
|
|
1155
|
-
background-color: var(--global-color-primary);
|
|
1156
1232
|
padding: 2px 3px;
|
|
1233
|
+
background-color: var(--global-color-primary);
|
|
1234
|
+
border-bottom: 1px solid;
|
|
1235
|
+
border-color: color-mix(in srgb, var(--global-text-terciary), #00000000 75%);
|
|
1157
1236
|
}
|
|
1158
1237
|
|
|
1159
1238
|
.lexdropdown .lexfilter a {
|
|
1160
|
-
|
|
1239
|
+
font-size: 10px;
|
|
1240
|
+
padding-inline: 4px;
|
|
1161
1241
|
}
|
|
1162
1242
|
|
|
1163
|
-
.lexdropdown
|
|
1243
|
+
.lexdropdown ul .lexlistitem {
|
|
1164
1244
|
font-size: 11px;
|
|
1165
1245
|
}
|
|
1166
1246
|
|
|
@@ -1180,32 +1260,40 @@ body.noevents * {
|
|
|
1180
1260
|
height: fit-content;
|
|
1181
1261
|
}
|
|
1182
1262
|
|
|
1183
|
-
.lexdropdown
|
|
1184
|
-
position: fixed;
|
|
1185
|
-
list-style: none;
|
|
1263
|
+
.lexdropdown .lexdropdownoptions {
|
|
1186
1264
|
background-color: var(--global-color-primary);
|
|
1187
1265
|
-webkit-backdrop-filter: blur(10px);
|
|
1188
1266
|
backdrop-filter: blur(10px);
|
|
1189
|
-
padding: 0px;
|
|
1190
|
-
transform: translateY(-4px);
|
|
1191
|
-
z-index: 10;
|
|
1192
1267
|
margin: 0;
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
border-bottom-right-radius: 8px;
|
|
1268
|
+
padding: 0;
|
|
1269
|
+
border: none;
|
|
1270
|
+
outline: none;
|
|
1271
|
+
width: fit-content;
|
|
1198
1272
|
max-height: -webkit-fill-available;
|
|
1273
|
+
position: fixed;
|
|
1274
|
+
z-index: 10000;
|
|
1275
|
+
box-shadow: 0 0px 6px rgba(0, 0, 0, 0.603);
|
|
1276
|
+
border-bottom-left-radius: 6px;
|
|
1277
|
+
border-bottom-right-radius: 6px;
|
|
1199
1278
|
overflow-y: auto;
|
|
1200
1279
|
overflow-x: hidden;
|
|
1201
1280
|
}
|
|
1202
1281
|
|
|
1203
|
-
.lexdropdown ul
|
|
1204
|
-
|
|
1282
|
+
.lexdropdown ul {
|
|
1283
|
+
list-style: none;
|
|
1284
|
+
padding: 0px;
|
|
1285
|
+
z-index: 10;
|
|
1286
|
+
margin: 0;
|
|
1287
|
+
width: 100%;
|
|
1288
|
+
height: 100%;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.lexdropdown .lexdropdownoptions.place-above {
|
|
1292
|
+
/* max-height: unset; */
|
|
1205
1293
|
border-bottom-left-radius: 0px;
|
|
1206
1294
|
border-bottom-right-radius: 0px;
|
|
1207
|
-
border-top-left-radius:
|
|
1208
|
-
border-top-right-radius:
|
|
1295
|
+
border-top-left-radius: 6px;
|
|
1296
|
+
border-top-right-radius: 6px;
|
|
1209
1297
|
}
|
|
1210
1298
|
|
|
1211
1299
|
.lexdropdown .lexdropdownitem {
|
|
@@ -1217,18 +1305,27 @@ body.noevents * {
|
|
|
1217
1305
|
align-content: center;
|
|
1218
1306
|
display: flow-root;
|
|
1219
1307
|
padding: 2px 0px;
|
|
1308
|
+
padding-right: 32px;
|
|
1220
1309
|
-webkit-user-select: none;
|
|
1221
1310
|
-moz-user-select: none;
|
|
1222
1311
|
-ms-user-select: none;
|
|
1223
1312
|
user-select: none;
|
|
1224
1313
|
}
|
|
1225
1314
|
|
|
1226
|
-
.lexdropdown .lexdropdownitem
|
|
1315
|
+
.lexdropdown .lexdropdownitem.empty {
|
|
1316
|
+
cursor: default;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
.lexdropdown .lexdropdownitem.empty .option {
|
|
1320
|
+
padding: 12px;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.lexdropdown .lexdropdownitem:not(.empty):hover {
|
|
1227
1324
|
background-color: var(--global-selected);
|
|
1228
1325
|
color: var(--global-text-primary);
|
|
1229
1326
|
}
|
|
1230
1327
|
|
|
1231
|
-
.lexdropdown .lexdropdownitem:active {
|
|
1328
|
+
.lexdropdown .lexdropdownitem:not(.empty):active {
|
|
1232
1329
|
color: #fff;
|
|
1233
1330
|
}
|
|
1234
1331
|
|
|
@@ -1259,7 +1356,7 @@ body.noevents * {
|
|
|
1259
1356
|
|
|
1260
1357
|
.lexdropdown ul {
|
|
1261
1358
|
background-color: var(--global-color-primary);
|
|
1262
|
-
box-shadow: 0 0px
|
|
1359
|
+
box-shadow: 0 0px 6px rgba(175, 175, 175, 0.788);
|
|
1263
1360
|
}
|
|
1264
1361
|
|
|
1265
1362
|
.lexdropdown .lexdropdownitem:hover {
|
|
@@ -1347,7 +1444,7 @@ body.noevents * {
|
|
|
1347
1444
|
/* Toggle Widget */
|
|
1348
1445
|
|
|
1349
1446
|
.lextoggle {
|
|
1350
|
-
--toggle-color:
|
|
1447
|
+
--toggle-color: #1a1a1a;
|
|
1351
1448
|
border: 1px solid transparent;
|
|
1352
1449
|
color: #f9f9f9;
|
|
1353
1450
|
background-color: var(--global-color-quaternary);
|
|
@@ -1357,6 +1454,8 @@ body.noevents * {
|
|
|
1357
1454
|
appearance: none;
|
|
1358
1455
|
vertical-align: middle;
|
|
1359
1456
|
-webkit-user-select: none;
|
|
1457
|
+
-moz-user-select: none;
|
|
1458
|
+
-ms-user-select: none;
|
|
1360
1459
|
user-select: none;
|
|
1361
1460
|
border-radius: 12px;
|
|
1362
1461
|
padding: 3px;
|
|
@@ -1884,7 +1983,7 @@ input[type="range"] {
|
|
|
1884
1983
|
-moz-user-select: none;
|
|
1885
1984
|
-ms-user-select: none;
|
|
1886
1985
|
user-select: none;
|
|
1887
|
-
font-size:
|
|
1986
|
+
font-size: var(--global-font-size-big);
|
|
1888
1987
|
font-weight: 800;
|
|
1889
1988
|
}
|
|
1890
1989
|
|
|
@@ -2143,7 +2242,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2143
2242
|
display: flex;
|
|
2144
2243
|
height: 100%;
|
|
2145
2244
|
color: var(--global-text-primary);
|
|
2146
|
-
font-size:
|
|
2245
|
+
font-size: 14px;
|
|
2147
2246
|
font-weight: 500;
|
|
2148
2247
|
}
|
|
2149
2248
|
|
|
@@ -2310,9 +2409,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2310
2409
|
display: flex;
|
|
2311
2410
|
background-color: var(--global-color-secondary);
|
|
2312
2411
|
margin-top: 10px;
|
|
2313
|
-
margin-bottom:
|
|
2412
|
+
margin-bottom: 10px;
|
|
2314
2413
|
border-radius: 6px;
|
|
2315
2414
|
padding-inline: 4px;
|
|
2415
|
+
font-size: 16px;
|
|
2316
2416
|
}
|
|
2317
2417
|
|
|
2318
2418
|
.lexmenubar .lexmenubuttons.center {
|
|
@@ -2322,17 +2422,17 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2322
2422
|
}
|
|
2323
2423
|
|
|
2324
2424
|
.lexmenubar .lexmenubuttons.right {
|
|
2325
|
-
margin-left:
|
|
2326
|
-
margin-right:
|
|
2425
|
+
margin-left: unset;
|
|
2426
|
+
margin-right: 12px;
|
|
2327
2427
|
}
|
|
2328
2428
|
|
|
2329
2429
|
.lexmenubar .lexmenubutton {
|
|
2330
|
-
/* display: flex; */
|
|
2331
2430
|
justify-content: center;
|
|
2332
2431
|
padding: 8px;
|
|
2333
2432
|
padding-top: 0.6em;
|
|
2334
2433
|
color: var(--global-text-secondary);
|
|
2335
2434
|
cursor: pointer;
|
|
2435
|
+
line-height: 10px;
|
|
2336
2436
|
-webkit-user-select: none;
|
|
2337
2437
|
-moz-user-select: none;
|
|
2338
2438
|
-ms-user-select: none;
|
|
@@ -2752,7 +2852,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2752
2852
|
}
|
|
2753
2853
|
|
|
2754
2854
|
.lexareatabs.row {
|
|
2755
|
-
width: 100
|
|
2855
|
+
width: calc(100%-9px);
|
|
2756
2856
|
}
|
|
2757
2857
|
|
|
2758
2858
|
.lexareatabs.row {
|
|
@@ -3028,6 +3128,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3028
3128
|
cursor: default;
|
|
3029
3129
|
-webkit-user-select: none;
|
|
3030
3130
|
-moz-user-select: none;
|
|
3131
|
+
-ms-user-select: none;
|
|
3031
3132
|
user-select: none;
|
|
3032
3133
|
}
|
|
3033
3134
|
|
|
@@ -3064,6 +3165,104 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3064
3165
|
color: var(--global-text-secondary);
|
|
3065
3166
|
}
|
|
3066
3167
|
|
|
3168
|
+
/* Table Widget */
|
|
3169
|
+
|
|
3170
|
+
.lextable table {
|
|
3171
|
+
width: 100%;
|
|
3172
|
+
border: 2px solid;
|
|
3173
|
+
border-color: light-dark(#dbd8d8c0, #5c5b5b7a);
|
|
3174
|
+
border-collapse: separate;
|
|
3175
|
+
/* border-left: 0; */
|
|
3176
|
+
border-radius: 8px;
|
|
3177
|
+
border-spacing: 0px;
|
|
3178
|
+
overflow: hidden;
|
|
3179
|
+
background-color: var(--global-button-color);
|
|
3180
|
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3183
|
+
thead {
|
|
3184
|
+
display: table-header-group;
|
|
3185
|
+
border-color: inherit;
|
|
3186
|
+
border-collapse: separate;
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
tr {
|
|
3190
|
+
display: table-row;
|
|
3191
|
+
vertical-align: inherit;
|
|
3192
|
+
border-color: inherit;
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
th {
|
|
3196
|
+
--th-color: light-dark(var(--global-text-quaternary), var(--global-text-primary));
|
|
3197
|
+
color: var(--th-color);
|
|
3198
|
+
font-size: calc(var(--global-font-size) + 1px) !important;
|
|
3199
|
+
cursor: pointer;
|
|
3200
|
+
transition: all 0.1s linear;
|
|
3201
|
+
background-color: color-mix(in srgb, var(--global-button-color), #000 10%);
|
|
3202
|
+
-webkit-user-select: none;
|
|
3203
|
+
-moz-user-select: none;
|
|
3204
|
+
-ms-user-select: none;
|
|
3205
|
+
user-select: none;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
tr:hover {
|
|
3209
|
+
background-color: color-mix(in srgb, var(--global-button-color), #000 7%);
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
th a {
|
|
3213
|
+
/* color: var(--global-selected-light); */
|
|
3214
|
+
margin-left: 4px;
|
|
3215
|
+
font-size: 10px !important;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
th a:active {
|
|
3219
|
+
transform: scale(1.01);
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
th:hover {
|
|
3223
|
+
color: color-mix(in srgb, var(--th-color), #000 10%);
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
th, td {
|
|
3227
|
+
padding: 6px;
|
|
3228
|
+
padding-inline: 12px;
|
|
3229
|
+
text-align: left;
|
|
3230
|
+
vertical-align: top;
|
|
3231
|
+
/* border-left: 2px solid red; */
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
th.sm, td.sm {
|
|
3235
|
+
width: 8%;
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
th .lexcheckbox, td .lexcheckbox {
|
|
3239
|
+
margin-top: 3px;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
td {
|
|
3243
|
+
border-top: 2px solid;
|
|
3244
|
+
border-color: light-dark(#dbd8d8c0, #5c5b5b7a);
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
thead:first-child tr:first-child th:first-child, tbody:first-child tr:first-child td:first-child {
|
|
3248
|
+
border-radius: 8px 0 0 0;
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3251
|
+
thead:last-child tr:last-child th:first-child, tbody:last-child tr:last-child td:first-child {
|
|
3252
|
+
border-radius: 0 0 0 8px;
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
.lextable .lextablebuttons {
|
|
3256
|
+
display: inline-flex;
|
|
3257
|
+
gap: 8px;
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
:root[data-theme="light"] {
|
|
3261
|
+
.lextable table {
|
|
3262
|
+
box-shadow: none;
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3067
3266
|
/* Custom Widgets Widget */
|
|
3068
3267
|
|
|
3069
3268
|
.lexcustomitems {
|
|
@@ -3243,6 +3442,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3243
3442
|
vertical-align: middle;
|
|
3244
3443
|
-webkit-user-select: none;
|
|
3245
3444
|
-moz-user-select: none;
|
|
3445
|
+
-ms-user-select: none;
|
|
3246
3446
|
user-select: none;
|
|
3247
3447
|
place-content: center;
|
|
3248
3448
|
display: inline-grid;
|
|
@@ -3479,6 +3679,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3479
3679
|
/* Asset Browser */
|
|
3480
3680
|
|
|
3481
3681
|
.lexassetbrowser {
|
|
3682
|
+
min-height: 190px;
|
|
3482
3683
|
height: 100%;
|
|
3483
3684
|
border-radius: 6px;
|
|
3484
3685
|
background-color: var(--global-color-primary);
|
|
@@ -3534,6 +3735,9 @@ ul.lexassetscontent {
|
|
|
3534
3735
|
font-size: var(--global-font-size);
|
|
3535
3736
|
color: #AAA;
|
|
3536
3737
|
-webkit-user-drag: element;
|
|
3738
|
+
-webkit-user-select: none;
|
|
3739
|
+
-moz-user-select: none;
|
|
3740
|
+
-ms-user-select: none;
|
|
3537
3741
|
user-select: none;
|
|
3538
3742
|
box-sizing: border-box;
|
|
3539
3743
|
width: 10em;
|
|
@@ -3593,6 +3797,7 @@ ul.lexassetscontent {
|
|
|
3593
3797
|
.lexassetscontent li:hover + .lexitemdesc {
|
|
3594
3798
|
opacity: 1;
|
|
3595
3799
|
}
|
|
3800
|
+
|
|
3596
3801
|
.lexassetscontent.list li {
|
|
3597
3802
|
width: calc(100% - 0.5em);
|
|
3598
3803
|
height: 1.8em;
|
|
@@ -3866,7 +4071,7 @@ ul.lexassetscontent {
|
|
|
3866
4071
|
|
|
3867
4072
|
.lexcodegutter {
|
|
3868
4073
|
width: 48px;
|
|
3869
|
-
height: calc(100% -
|
|
4074
|
+
height: calc(100% - 65px);
|
|
3870
4075
|
background-color: light-dark(var(--global-color-terciary), var(--global-medium-background));
|
|
3871
4076
|
margin-top: 28px;
|
|
3872
4077
|
overflow: hidden;
|
|
@@ -3875,7 +4080,7 @@ ul.lexassetscontent {
|
|
|
3875
4080
|
}
|
|
3876
4081
|
|
|
3877
4082
|
.lexcodeeditor .codetabsarea {
|
|
3878
|
-
height: calc(100% -
|
|
4083
|
+
height: calc(100% - 64px) !important;
|
|
3879
4084
|
background-color: light-dark(var(--global-color-terciary), var(--global-medium-background));
|
|
3880
4085
|
overflow: scroll;
|
|
3881
4086
|
}
|
|
@@ -3892,6 +4097,10 @@ ul.lexassetscontent {
|
|
|
3892
4097
|
width: calc(100% - 10px) !important;
|
|
3893
4098
|
}
|
|
3894
4099
|
|
|
4100
|
+
.lexcodeeditor .codetabsarea.with-hscrollbar {
|
|
4101
|
+
height: calc(100% - 72px) !important;
|
|
4102
|
+
}
|
|
4103
|
+
|
|
3895
4104
|
.lexcodeeditor .codetabsarea.dragging {
|
|
3896
4105
|
background-color: var(--global-color-secondary);
|
|
3897
4106
|
}
|
|
@@ -3903,7 +4112,7 @@ ul.lexassetscontent {
|
|
|
3903
4112
|
-moz-osx-font-smoothing: grayscale;
|
|
3904
4113
|
font-feature-settings: "ss04", "ss05";
|
|
3905
4114
|
font-size: var(--code-editor-font-size);
|
|
3906
|
-
padding-right: 6px;
|
|
4115
|
+
/* padding-right: 6px; */
|
|
3907
4116
|
position: relative;
|
|
3908
4117
|
}
|
|
3909
4118
|
|
|
@@ -3943,6 +4152,22 @@ ul.lexassetscontent {
|
|
|
3943
4152
|
background-color: #333437a9;
|
|
3944
4153
|
}
|
|
3945
4154
|
|
|
4155
|
+
.lexcodeeditor.disabled pre.active-line {
|
|
4156
|
+
background-color: transparent;
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
.lexcodeeditor pre.added {
|
|
4160
|
+
background-color: #40db212f !important;
|
|
4161
|
+
}
|
|
4162
|
+
|
|
4163
|
+
.lexcodeeditor pre.removed {
|
|
4164
|
+
background-color: #db21212f !important;
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4167
|
+
.lexcodeeditor.disabled .lexareatab {
|
|
4168
|
+
cursor: default;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
3946
4171
|
.lexcodeeditor span {
|
|
3947
4172
|
-webkit-text-size-adjust: 100%;
|
|
3948
4173
|
cursor: text;
|
|
@@ -3956,7 +4181,7 @@ ul.lexassetscontent {
|
|
|
3956
4181
|
display: inline-block;
|
|
3957
4182
|
}
|
|
3958
4183
|
|
|
3959
|
-
pre .line-gutter {
|
|
4184
|
+
.lexcodeeditor pre .line-gutter {
|
|
3960
4185
|
color: var(--global-text-terciary);
|
|
3961
4186
|
width: 48px;
|
|
3962
4187
|
height: var(--code-editor-row-height);
|
|
@@ -3973,6 +4198,10 @@ pre .line-gutter {
|
|
|
3973
4198
|
z-index: 1;
|
|
3974
4199
|
}
|
|
3975
4200
|
|
|
4201
|
+
.lexcodeeditor.no-gutter pre .line-gutter {
|
|
4202
|
+
opacity: 0;
|
|
4203
|
+
}
|
|
4204
|
+
|
|
3976
4205
|
.lexcodeeditor .cursors,
|
|
3977
4206
|
.lexcodeeditor .selections {
|
|
3978
4207
|
-webkit-text-size-adjust: 100%;
|
|
@@ -4171,6 +4400,30 @@ pre .line-gutter {
|
|
|
4171
4400
|
color: #95a0e1;
|
|
4172
4401
|
}
|
|
4173
4402
|
|
|
4403
|
+
.lexcodesnippet {
|
|
4404
|
+
position: relative;
|
|
4405
|
+
border-radius: 12px;
|
|
4406
|
+
overflow: hidden;
|
|
4407
|
+
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.6);
|
|
4408
|
+
border: 2px solid var(--global-color-primary);
|
|
4409
|
+
}
|
|
4410
|
+
|
|
4411
|
+
.lexcodesnippet .lexwindowbuttons {
|
|
4412
|
+
width: 100px;
|
|
4413
|
+
padding-inline: 16px;
|
|
4414
|
+
display: inline-flex;
|
|
4415
|
+
gap: 6px;
|
|
4416
|
+
align-items: center;
|
|
4417
|
+
justify-content: center;
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4420
|
+
.lexcodesnippet .lexwindowbuttons span {
|
|
4421
|
+
width: 11px;
|
|
4422
|
+
height: 11px;
|
|
4423
|
+
border-radius: 50%;
|
|
4424
|
+
cursor: default;
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4174
4427
|
/* Common */
|
|
4175
4428
|
|
|
4176
4429
|
.cm-str { color: #ca7d59; } /* string */
|
|
@@ -4243,15 +4496,20 @@ pre .line-gutter {
|
|
|
4243
4496
|
.cm-bln.markdown { color: #a1d2f0; } /* builtin */
|
|
4244
4497
|
|
|
4245
4498
|
:root[data-theme="light"] {
|
|
4499
|
+
|
|
4246
4500
|
.lexcodeeditor pre.active-line {
|
|
4247
4501
|
background-color: #c5c4c4ab;
|
|
4248
4502
|
}
|
|
4249
4503
|
|
|
4504
|
+
.lexcodeeditor.disabled pre.active-line {
|
|
4505
|
+
background: none;
|
|
4506
|
+
}
|
|
4507
|
+
|
|
4250
4508
|
.lexcodescrollbar div {
|
|
4251
4509
|
/* thumb */
|
|
4252
4510
|
background-color: #8383839d !important;
|
|
4253
4511
|
}
|
|
4254
|
-
|
|
4512
|
+
|
|
4255
4513
|
.lexcodescrollbar div:hover {
|
|
4256
4514
|
/* thumb */
|
|
4257
4515
|
background-color: #5e5e5ea9 !important;
|
|
@@ -4762,7 +5020,7 @@ pre .line-gutter {
|
|
|
4762
5020
|
/* .lexvideoeditor .lexvideotimebar canvas {
|
|
4763
5021
|
width: calc(100%);
|
|
4764
5022
|
height: calc(100% );
|
|
4765
|
-
padding: 5px;
|
|
5023
|
+
padding: 5px;
|
|
4766
5024
|
} */
|
|
4767
5025
|
|
|
4768
5026
|
.resizeable {
|