lexgui 0.1.46 → 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/lexgui.css CHANGED
@@ -7,18 +7,18 @@
7
7
  }
8
8
 
9
9
  :root {
10
- /* this has to be set to switch between light or dark */
11
- color-scheme: light dark;
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: 12px;
16
- --global-font-size-big: 14px;
17
- --global-color-primary: light-dark(#f9f9f9, #1c1c1c);
18
- --global-color-secondary: light-dark(#ececec, #2c2c2c);
19
- --global-color-terciary: light-dark(#e0e0e0, #444);
20
- --global-color-quaternary: light-dark(#c8c8c8, #555);
21
- --global-color-quinary: light-dark(#b0b0b0, #666);
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(#2c2d2e, #cacad4ea);
32
- --global-text-terciary: light-dark(#474747f5, #727272b9);
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
- /* font-weight: 400; */
94
- /* letter-spacing: -0.01em; */
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
- #global-search {
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
- display: flex;
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
- #global-search .gs-header {
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
- #global-search a {
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
- #global-search input {
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
- #global-search .lexarea {
291
+ .commandbar .lexarea {
226
292
  background: none !important;
227
293
  }
228
294
 
229
- #global-search .searchitembox {
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
- #global-search .searchitembox::-webkit-scrollbar {
301
+ .commandbar .searchitembox::-webkit-scrollbar {
236
302
  display: none;
237
303
  }
238
304
 
239
- #global-search .searchitembox .searchitem {
305
+ .commandbar .searchitembox .searchitem {
240
306
  padding: 10px;
241
307
  padding-left: 50px;
242
308
  color: var(--global-text-primary);
243
- font-size: 13px;
309
+ font-size: var(--global-font-size);
310
+ line-height: 15px;
244
311
  cursor: pointer;
245
312
  }
246
313
 
247
- #global-search .searchitembox .searchitem a {
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
- #global-search .searchitembox .searchitem i {
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
- #global-search .searchitembox .searchitem img {
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
- #global-search .searchitembox .searchitem .lang-ext {
337
+ .commandbar .searchitembox .searchitem .lang-ext {
271
338
  color: #676e75;
272
339
  font-size: var(--global-font-size);
273
340
  }
274
341
 
275
- #global-search .searchitembox .searchitem.last {
342
+ .commandbar .searchitembox .searchitem.last {
276
343
  border-bottom-left-radius: 6px;
277
344
  border-bottom-right-radius: 6px;
278
345
  }
279
346
 
280
- #global-search .searchitembox .searchitem.hovered {
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
- /* overflow: hidden; */
466
+ min-height: max-content;
467
+ overflow: hidden;
391
468
  box-shadow: 0 2px 8px #101010;
392
- border-radius: 6px;
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: 13px;
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,13 +1074,12 @@ body.noevents * {
995
1074
  cursor: pointer;
996
1075
  font-family: var(--global-font);
997
1076
  transition: 0.1s linear;
998
- padding: 0.25rem;
1077
+ padding: 0.35rem;
999
1078
  }
1000
1079
 
1001
1080
  :root[data-theme="light"] {
1002
1081
  .lexbutton {
1003
1082
  --button-color: var(--global-button-color);
1004
- color: var(--global-text-primary);
1005
1083
  border: 1px solid var(--global-color-terciary) !important;
1006
1084
  }
1007
1085
 
@@ -1020,6 +1098,13 @@ body.noevents * {
1020
1098
  /* Few Sizes */
1021
1099
  .lexbutton.xs { width: 25% !important; margin: 0 auto; }
1022
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
+ }
1023
1108
 
1024
1109
  .lexbutton span:has(.lexbadge) {
1025
1110
  display: inline-flex;
@@ -1044,8 +1129,15 @@ body.noevents * {
1044
1129
  font-size: 10px;
1045
1130
  }
1046
1131
 
1132
+ .lexbutton.array span {
1133
+ display: inline-flex;
1134
+ margin-left: 8px;
1135
+ }
1136
+
1047
1137
  .lexbutton.array a {
1048
1138
  margin-top: 2px;
1139
+ margin-right: 3px;
1140
+ margin-left: auto;
1049
1141
  }
1050
1142
 
1051
1143
  .lexbutton:hover {
@@ -1059,6 +1151,10 @@ body.noevents * {
1059
1151
  transform: scale(0.99);
1060
1152
  }
1061
1153
 
1154
+ .lexbutton:disabled {
1155
+ color: var(--global-text-terciary);
1156
+ }
1157
+
1062
1158
  .lexbutton.selected {
1063
1159
  background: #3c4145;
1064
1160
  color: #DDD;
@@ -1071,44 +1167,39 @@ body.noevents * {
1071
1167
 
1072
1168
  /* Combo Buttons */
1073
1169
 
1074
- .lexcombobuttons {
1170
+ .lexcombobuttons .lexcombobuttonsbox {
1075
1171
  display: flex;
1076
- justify-content: center;
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;
1077
1178
  }
1078
1179
 
1079
- .lexcombobuttons.right {
1080
- justify-content: right;
1180
+ .lexcombobuttons.right .lexcombobuttonsbox {
1181
+ justify-self: right;
1081
1182
  }
1082
1183
 
1083
- .lexcombobuttons.left {
1084
- justify-content: left;
1184
+ .lexcombobuttons.left .lexcombobuttonsbox {
1185
+ justify-self: left;
1085
1186
  }
1086
1187
 
1087
1188
  .lexcombobuttons .lexbutton.combo {
1088
- margin-left: 1px;
1089
- margin-right: 1px;
1090
- border-radius: 0px;
1091
1189
  display: flex;
1092
- padding: 0.65em;
1190
+ padding: 0.7em 1.6em;
1093
1191
  transition: 0.2s;
1192
+ background: none;
1094
1193
  }
1095
1194
 
1096
- .lexcombobuttons .lexbutton.combo:first-child {
1097
- border-top-left-radius: 4px;
1098
- border-bottom-left-radius: 4px;
1099
- margin-left: 0px;
1100
- }
1101
-
1102
- .lexcombobuttons .lexbutton.combo:last-child {
1103
- border-top-right-radius: 4px;
1104
- border-bottom-right-radius: 4px;
1105
- margin-right: 0px;
1195
+ .lexcombobuttons .lexbutton.combo:hover {
1196
+ color: var(--global-text-secondary);
1106
1197
  }
1107
1198
 
1108
1199
  .lexcombobuttons .lexbutton.combo.selected {
1109
- background: light-dark(var(--global-selected-light), var(--global-selected));
1200
+ background-color: var(--global-color-primary);
1110
1201
  outline: none;
1111
- color: #fff;
1202
+ color: var(--global-text-primary);
1112
1203
  }
1113
1204
 
1114
1205
  .lexcombobuttons .lexbutton.combo:active {
@@ -1116,21 +1207,20 @@ body.noevents * {
1116
1207
  color: #ccc;
1117
1208
  }
1118
1209
 
1119
- .lexcombobuttons .lexbutton.combo a {
1120
- padding: 2px;
1121
- /* margin-right: 2px; */
1122
- padding-top: 0.3em;
1123
- }
1124
-
1125
1210
  .lexcombobuttons .lexbutton.combo span {
1126
1211
  line-height: 18px;
1127
1212
  }
1128
1213
 
1214
+ .lexcombobuttons .lexbutton.combo a {
1215
+ font-size: 11px;
1216
+ }
1217
+
1129
1218
  /* Dropdown (Combo) */
1130
1219
 
1131
1220
  .lexdropdown {
1132
1221
  display: grid;
1133
1222
  align-content: center;
1223
+ position: relative;
1134
1224
  }
1135
1225
 
1136
1226
  .lexdropdown .lexwidget {
@@ -1139,15 +1229,18 @@ body.noevents * {
1139
1229
 
1140
1230
  .lexdropdown .lexfilter {
1141
1231
  width: calc(100% - 6px) !important;
1142
- background-color: var(--global-color-primary);
1143
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%);
1144
1236
  }
1145
1237
 
1146
1238
  .lexdropdown .lexfilter a {
1147
- transform: translateX(-10px);
1239
+ font-size: 10px;
1240
+ padding-inline: 4px;
1148
1241
  }
1149
1242
 
1150
- .lexdropdown .lexoptions .lexlistitem {
1243
+ .lexdropdown ul .lexlistitem {
1151
1244
  font-size: 11px;
1152
1245
  }
1153
1246
 
@@ -1167,32 +1260,40 @@ body.noevents * {
1167
1260
  height: fit-content;
1168
1261
  }
1169
1262
 
1170
- .lexdropdown ul {
1171
- position: fixed;
1172
- list-style: none;
1263
+ .lexdropdown .lexdropdownoptions {
1173
1264
  background-color: var(--global-color-primary);
1174
1265
  -webkit-backdrop-filter: blur(10px);
1175
1266
  backdrop-filter: blur(10px);
1176
- padding: 0px;
1177
- transform: translateY(-4px);
1178
- z-index: 10;
1179
1267
  margin: 0;
1180
- margin-top: 5px;
1181
- width: 100%;
1182
- box-shadow: 0 0px 12px rgba(0, 0, 0, 0.788);
1183
- border-bottom-left-radius: 8px;
1184
- border-bottom-right-radius: 8px;
1268
+ padding: 0;
1269
+ border: none;
1270
+ outline: none;
1271
+ width: fit-content;
1185
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;
1186
1278
  overflow-y: auto;
1187
1279
  overflow-x: hidden;
1188
1280
  }
1189
1281
 
1190
- .lexdropdown ul.place-above {
1191
- max-height: unset;
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; */
1192
1293
  border-bottom-left-radius: 0px;
1193
1294
  border-bottom-right-radius: 0px;
1194
- border-top-left-radius: 8px;
1195
- border-top-right-radius: 8px;
1295
+ border-top-left-radius: 6px;
1296
+ border-top-right-radius: 6px;
1196
1297
  }
1197
1298
 
1198
1299
  .lexdropdown .lexdropdownitem {
@@ -1204,18 +1305,27 @@ body.noevents * {
1204
1305
  align-content: center;
1205
1306
  display: flow-root;
1206
1307
  padding: 2px 0px;
1308
+ padding-right: 32px;
1207
1309
  -webkit-user-select: none;
1208
1310
  -moz-user-select: none;
1209
1311
  -ms-user-select: none;
1210
1312
  user-select: none;
1211
1313
  }
1212
1314
 
1213
- .lexdropdown .lexdropdownitem:hover {
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 {
1214
1324
  background-color: var(--global-selected);
1215
1325
  color: var(--global-text-primary);
1216
1326
  }
1217
1327
 
1218
- .lexdropdown .lexdropdownitem:active {
1328
+ .lexdropdown .lexdropdownitem:not(.empty):active {
1219
1329
  color: #fff;
1220
1330
  }
1221
1331
 
@@ -1246,7 +1356,7 @@ body.noevents * {
1246
1356
 
1247
1357
  .lexdropdown ul {
1248
1358
  background-color: var(--global-color-primary);
1249
- box-shadow: 0 0px 8px rgba(175, 175, 175, 0.788);
1359
+ box-shadow: 0 0px 6px rgba(175, 175, 175, 0.788);
1250
1360
  }
1251
1361
 
1252
1362
  .lexdropdown .lexdropdownitem:hover {
@@ -1334,7 +1444,7 @@ body.noevents * {
1334
1444
  /* Toggle Widget */
1335
1445
 
1336
1446
  .lextoggle {
1337
- --toggle-color: var(--global-button-color);
1447
+ --toggle-color: #1a1a1a;
1338
1448
  border: 1px solid transparent;
1339
1449
  color: #f9f9f9;
1340
1450
  background-color: var(--global-color-quaternary);
@@ -1344,6 +1454,8 @@ body.noevents * {
1344
1454
  appearance: none;
1345
1455
  vertical-align: middle;
1346
1456
  -webkit-user-select: none;
1457
+ -moz-user-select: none;
1458
+ -ms-user-select: none;
1347
1459
  user-select: none;
1348
1460
  border-radius: 12px;
1349
1461
  padding: 3px;
@@ -1871,7 +1983,7 @@ input[type="range"] {
1871
1983
  -moz-user-select: none;
1872
1984
  -ms-user-select: none;
1873
1985
  user-select: none;
1874
- font-size: 14px;
1986
+ font-size: var(--global-font-size-big);
1875
1987
  font-weight: 800;
1876
1988
  }
1877
1989
 
@@ -2130,7 +2242,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
2130
2242
  display: flex;
2131
2243
  height: 100%;
2132
2244
  color: var(--global-text-primary);
2133
- font-size: 13px;
2245
+ font-size: 14px;
2134
2246
  font-weight: 500;
2135
2247
  }
2136
2248
 
@@ -2297,9 +2409,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
2297
2409
  display: flex;
2298
2410
  background-color: var(--global-color-secondary);
2299
2411
  margin-top: 10px;
2300
- margin-bottom: 8px;
2412
+ margin-bottom: 10px;
2301
2413
  border-radius: 6px;
2302
2414
  padding-inline: 4px;
2415
+ font-size: 16px;
2303
2416
  }
2304
2417
 
2305
2418
  .lexmenubar .lexmenubuttons.center {
@@ -2309,17 +2422,17 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
2309
2422
  }
2310
2423
 
2311
2424
  .lexmenubar .lexmenubuttons.right {
2312
- margin-left: auto;
2313
- margin-right: 16px;
2425
+ margin-left: unset;
2426
+ margin-right: 12px;
2314
2427
  }
2315
2428
 
2316
2429
  .lexmenubar .lexmenubutton {
2317
- /* display: flex; */
2318
2430
  justify-content: center;
2319
2431
  padding: 8px;
2320
2432
  padding-top: 0.6em;
2321
2433
  color: var(--global-text-secondary);
2322
2434
  cursor: pointer;
2435
+ line-height: 10px;
2323
2436
  -webkit-user-select: none;
2324
2437
  -moz-user-select: none;
2325
2438
  -ms-user-select: none;
@@ -2739,7 +2852,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
2739
2852
  }
2740
2853
 
2741
2854
  .lexareatabs.row {
2742
- width: 100%;
2855
+ width: calc(100%-9px);
2743
2856
  }
2744
2857
 
2745
2858
  .lexareatabs.row {
@@ -3015,6 +3128,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3015
3128
  cursor: default;
3016
3129
  -webkit-user-select: none;
3017
3130
  -moz-user-select: none;
3131
+ -ms-user-select: none;
3018
3132
  user-select: none;
3019
3133
  }
3020
3134
 
@@ -3051,6 +3165,104 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3051
3165
  color: var(--global-text-secondary);
3052
3166
  }
3053
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
+
3054
3266
  /* Custom Widgets Widget */
3055
3267
 
3056
3268
  .lexcustomitems {
@@ -3230,6 +3442,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3230
3442
  vertical-align: middle;
3231
3443
  -webkit-user-select: none;
3232
3444
  -moz-user-select: none;
3445
+ -ms-user-select: none;
3233
3446
  user-select: none;
3234
3447
  place-content: center;
3235
3448
  display: inline-grid;
@@ -3466,6 +3679,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
3466
3679
  /* Asset Browser */
3467
3680
 
3468
3681
  .lexassetbrowser {
3682
+ min-height: 190px;
3469
3683
  height: 100%;
3470
3684
  border-radius: 6px;
3471
3685
  background-color: var(--global-color-primary);
@@ -3521,6 +3735,9 @@ ul.lexassetscontent {
3521
3735
  font-size: var(--global-font-size);
3522
3736
  color: #AAA;
3523
3737
  -webkit-user-drag: element;
3738
+ -webkit-user-select: none;
3739
+ -moz-user-select: none;
3740
+ -ms-user-select: none;
3524
3741
  user-select: none;
3525
3742
  box-sizing: border-box;
3526
3743
  width: 10em;
@@ -3580,6 +3797,7 @@ ul.lexassetscontent {
3580
3797
  .lexassetscontent li:hover + .lexitemdesc {
3581
3798
  opacity: 1;
3582
3799
  }
3800
+
3583
3801
  .lexassetscontent.list li {
3584
3802
  width: calc(100% - 0.5em);
3585
3803
  height: 1.8em;
@@ -3853,7 +4071,7 @@ ul.lexassetscontent {
3853
4071
 
3854
4072
  .lexcodegutter {
3855
4073
  width: 48px;
3856
- height: calc(100% - 62px);
4074
+ height: calc(100% - 65px);
3857
4075
  background-color: light-dark(var(--global-color-terciary), var(--global-medium-background));
3858
4076
  margin-top: 28px;
3859
4077
  overflow: hidden;
@@ -3862,7 +4080,7 @@ ul.lexassetscontent {
3862
4080
  }
3863
4081
 
3864
4082
  .lexcodeeditor .codetabsarea {
3865
- height: calc(100% - 72px) !important;
4083
+ height: calc(100% - 64px) !important;
3866
4084
  background-color: light-dark(var(--global-color-terciary), var(--global-medium-background));
3867
4085
  overflow: scroll;
3868
4086
  }
@@ -3879,6 +4097,10 @@ ul.lexassetscontent {
3879
4097
  width: calc(100% - 10px) !important;
3880
4098
  }
3881
4099
 
4100
+ .lexcodeeditor .codetabsarea.with-hscrollbar {
4101
+ height: calc(100% - 72px) !important;
4102
+ }
4103
+
3882
4104
  .lexcodeeditor .codetabsarea.dragging {
3883
4105
  background-color: var(--global-color-secondary);
3884
4106
  }
@@ -3890,7 +4112,7 @@ ul.lexassetscontent {
3890
4112
  -moz-osx-font-smoothing: grayscale;
3891
4113
  font-feature-settings: "ss04", "ss05";
3892
4114
  font-size: var(--code-editor-font-size);
3893
- padding-right: 6px;
4115
+ /* padding-right: 6px; */
3894
4116
  position: relative;
3895
4117
  }
3896
4118
 
@@ -3930,16 +4152,16 @@ ul.lexassetscontent {
3930
4152
  background-color: #333437a9;
3931
4153
  }
3932
4154
 
3933
- .lexcodeeditor pre.added {
3934
- background-color: #40db212f;
4155
+ .lexcodeeditor.disabled pre.active-line {
4156
+ background-color: transparent;
3935
4157
  }
3936
4158
 
3937
- .lexcodeeditor pre.removed {
3938
- background-color: #db21212f;
4159
+ .lexcodeeditor pre.added {
4160
+ background-color: #40db212f !important;
3939
4161
  }
3940
4162
 
3941
- .lexcodeeditor.disabled pre.active-line {
3942
- background: none;
4163
+ .lexcodeeditor pre.removed {
4164
+ background-color: #db21212f !important;
3943
4165
  }
3944
4166
 
3945
4167
  .lexcodeeditor.disabled .lexareatab {
@@ -3959,7 +4181,7 @@ ul.lexassetscontent {
3959
4181
  display: inline-block;
3960
4182
  }
3961
4183
 
3962
- pre .line-gutter {
4184
+ .lexcodeeditor pre .line-gutter {
3963
4185
  color: var(--global-text-terciary);
3964
4186
  width: 48px;
3965
4187
  height: var(--code-editor-row-height);
@@ -3976,6 +4198,10 @@ pre .line-gutter {
3976
4198
  z-index: 1;
3977
4199
  }
3978
4200
 
4201
+ .lexcodeeditor.no-gutter pre .line-gutter {
4202
+ opacity: 0;
4203
+ }
4204
+
3979
4205
  .lexcodeeditor .cursors,
3980
4206
  .lexcodeeditor .selections {
3981
4207
  -webkit-text-size-adjust: 100%;
@@ -4283,7 +4509,7 @@ pre .line-gutter {
4283
4509
  /* thumb */
4284
4510
  background-color: #8383839d !important;
4285
4511
  }
4286
-
4512
+
4287
4513
  .lexcodescrollbar div:hover {
4288
4514
  /* thumb */
4289
4515
  background-color: #5e5e5ea9 !important;
@@ -4794,7 +5020,7 @@ pre .line-gutter {
4794
5020
  /* .lexvideoeditor .lexvideotimebar canvas {
4795
5021
  width: calc(100%);
4796
5022
  height: calc(100% );
4797
- padding: 5px;
5023
+ padding: 5px;
4798
5024
  } */
4799
5025
 
4800
5026
  .resizeable {