lexgui 0.5.3 → 0.5.4
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/timeline.js +1 -1
- package/build/lexgui.css +107 -43
- package/build/lexgui.js +259 -84
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +259 -84
- package/build/lexgui.module.min.js +1 -1
- package/build/utilities.css +107 -8
- package/changelog.md +16 -1
- package/demo.js +372 -42
- package/package.json +1 -1
|
@@ -176,7 +176,7 @@ class Timeline {
|
|
|
176
176
|
header.addTitle(this.name );
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
const buttonContainer = LX.makeContainer(["auto", "100%"], "
|
|
179
|
+
const buttonContainer = LX.makeContainer( ["auto", "100%"], "flex flex-row" );
|
|
180
180
|
|
|
181
181
|
header.queue( buttonContainer );
|
|
182
182
|
|
package/build/lexgui.css
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--global-text-secondary: light-dark(#262627, #d1d1d3);
|
|
35
35
|
--global-text-tertiary: light-dark(#3c3c3df5, #aaaaaa);
|
|
36
36
|
--global-text-quaternary: light-dark(#515152f5, #807f7f);
|
|
37
|
-
--global-intense-background: light-dark(#fefefe, #
|
|
37
|
+
--global-intense-background: light-dark(#fefefe, #040405);
|
|
38
38
|
--global-medium-background: #252525;
|
|
39
39
|
--global-blur-background: light-dark(#f7f7f7d8, #1f1f1fe7);
|
|
40
40
|
--global-color-transparent: #00000000;
|
|
@@ -182,6 +182,7 @@ body {
|
|
|
182
182
|
margin: 0;
|
|
183
183
|
padding: 0;
|
|
184
184
|
font-family: var(--global-font);
|
|
185
|
+
background-color: var(--global-color-primary);
|
|
185
186
|
}
|
|
186
187
|
|
|
187
188
|
*,
|
|
@@ -344,8 +345,11 @@ svg.xxl { width: var(--svg-size-xxl); height: var(--svg-size-xxl); }
|
|
|
344
345
|
max-width: 256px;
|
|
345
346
|
}
|
|
346
347
|
|
|
347
|
-
.
|
|
348
|
+
.lock {
|
|
348
349
|
margin-left: 4px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.lexicon {
|
|
349
353
|
cursor: pointer;
|
|
350
354
|
line-height: inherit !important;
|
|
351
355
|
color: var(--global-text-secondary);
|
|
@@ -896,13 +900,43 @@ a svg, svg path {
|
|
|
896
900
|
|
|
897
901
|
/* Generic */
|
|
898
902
|
|
|
899
|
-
.lexcontainer {
|
|
900
|
-
|
|
901
|
-
|
|
903
|
+
.lexcontainer.wrapper {
|
|
904
|
+
margin-left: auto;
|
|
905
|
+
margin-right: auto;
|
|
906
|
+
max-width: 1400px;
|
|
907
|
+
border: 0px solid var(--global-color-tertiary);
|
|
902
908
|
}
|
|
903
909
|
|
|
904
|
-
|
|
905
|
-
|
|
910
|
+
@media (min-width: 1400px) {
|
|
911
|
+
.lexcontainer.wrapper {
|
|
912
|
+
border-left-width: 1px;
|
|
913
|
+
border-right-width: 1px;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
@media (min-width: 1800px) {
|
|
918
|
+
.lexcontainer.wrapper {
|
|
919
|
+
max-width: 1536px;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.lextooltip {
|
|
924
|
+
position: fixed;
|
|
925
|
+
background-color: var(--global-text-primary);
|
|
926
|
+
color: var(--global-color-primary);
|
|
927
|
+
font-size: var(--global-font-size-sm);
|
|
928
|
+
padding: 0.2rem;
|
|
929
|
+
padding-inline: 0.5rem;
|
|
930
|
+
border-radius: 0.4rem;
|
|
931
|
+
transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
932
|
+
animation-duration: 400ms;
|
|
933
|
+
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
934
|
+
will-change: transform, opacity;
|
|
935
|
+
animation-name: slideUpAndFade;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.lextooltip[data-closed] {
|
|
939
|
+
opacity: 0;
|
|
906
940
|
}
|
|
907
941
|
|
|
908
942
|
/* Dropdown Menu */
|
|
@@ -1067,7 +1101,6 @@ a svg, svg path {
|
|
|
1067
1101
|
|
|
1068
1102
|
.lexsplitbar.vertical {
|
|
1069
1103
|
cursor: ns-resize;
|
|
1070
|
-
transform: translateY(-3px);
|
|
1071
1104
|
left: calc(50% - 32px);
|
|
1072
1105
|
}
|
|
1073
1106
|
|
|
@@ -1095,6 +1128,9 @@ a svg, svg path {
|
|
|
1095
1128
|
.lexbranch {
|
|
1096
1129
|
width: 100%;
|
|
1097
1130
|
border-radius: 6px;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.lexpanel .lexbranch:not(:last-of-type) {
|
|
1098
1134
|
margin-bottom: 4px !important;
|
|
1099
1135
|
}
|
|
1100
1136
|
|
|
@@ -1107,7 +1143,6 @@ a svg, svg path {
|
|
|
1107
1143
|
|
|
1108
1144
|
.lexbranch.last .lexbranchcontent {
|
|
1109
1145
|
overflow: hidden;
|
|
1110
|
-
margin-bottom: 6px;
|
|
1111
1146
|
}
|
|
1112
1147
|
|
|
1113
1148
|
.lexbranchtitle {
|
|
@@ -1177,10 +1212,6 @@ a svg, svg path {
|
|
|
1177
1212
|
align-content: center;
|
|
1178
1213
|
}
|
|
1179
1214
|
|
|
1180
|
-
.lexbranch.first .lexbranchtitle {
|
|
1181
|
-
margin-top: 4px;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
1215
|
.lexbranch.last.closed .lexbranchtitle {
|
|
1185
1216
|
margin-bottom: 6px;
|
|
1186
1217
|
}
|
|
@@ -1297,9 +1328,12 @@ a svg, svg path {
|
|
|
1297
1328
|
|
|
1298
1329
|
.lexwidget .inputicon {
|
|
1299
1330
|
padding: 6px;
|
|
1300
|
-
font-size: var(--global-font-size-
|
|
1331
|
+
font-size: var(--global-font-size-xs);
|
|
1301
1332
|
align-self: center;
|
|
1302
1333
|
text-align: center;
|
|
1334
|
+
margin-left: 4px;
|
|
1335
|
+
position: absolute;
|
|
1336
|
+
z-index: 1;
|
|
1303
1337
|
}
|
|
1304
1338
|
|
|
1305
1339
|
.lexseparator {
|
|
@@ -1356,7 +1390,7 @@ a svg, svg path {
|
|
|
1356
1390
|
border-radius: 6px;
|
|
1357
1391
|
position: relative;
|
|
1358
1392
|
border: 1px solid transparent;
|
|
1359
|
-
padding:
|
|
1393
|
+
padding: 6px 12px;
|
|
1360
1394
|
}
|
|
1361
1395
|
|
|
1362
1396
|
.lexwidget .lextext:disabled {
|
|
@@ -1420,6 +1454,25 @@ a svg, svg path {
|
|
|
1420
1454
|
transition: 0.1s linear;
|
|
1421
1455
|
}
|
|
1422
1456
|
|
|
1457
|
+
.lexwidget textarea.outline {
|
|
1458
|
+
background: var(--global-color-primary);
|
|
1459
|
+
border: 1px solid #7a797c4f;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
.lexwidget textarea.nobg {
|
|
1463
|
+
background: none;
|
|
1464
|
+
border: 1px solid transparent;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
.lexwidget textarea.dashed {
|
|
1468
|
+
background: var(--global-color-primary);
|
|
1469
|
+
border: 1px dashed #7a797c4f;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
.lexwidget textarea.outline:hover, .lexwidget .lextext.nobg:hover {
|
|
1473
|
+
background: none;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1423
1476
|
.lexwidget textarea:disabled {
|
|
1424
1477
|
resize: none;
|
|
1425
1478
|
}
|
|
@@ -2547,12 +2600,11 @@ input[type=number] {
|
|
|
2547
2600
|
.lextree .lextreetools {
|
|
2548
2601
|
background: var(--global-color-tertiary);
|
|
2549
2602
|
padding: 2px;
|
|
2550
|
-
padding-
|
|
2551
|
-
padding-right: 6px;
|
|
2603
|
+
padding-inline: 8px;
|
|
2552
2604
|
display: flex;
|
|
2553
2605
|
align-items: center;
|
|
2554
2606
|
border-radius: 10px;
|
|
2555
|
-
|
|
2607
|
+
gap: 0.5rem;
|
|
2556
2608
|
}
|
|
2557
2609
|
|
|
2558
2610
|
.lexwidget.nobranch .lextree .lextreetools {
|
|
@@ -2574,10 +2626,6 @@ input[type=number] {
|
|
|
2574
2626
|
border-top-right-radius: 8px;
|
|
2575
2627
|
}
|
|
2576
2628
|
|
|
2577
|
-
.lextree .lextreetools a {
|
|
2578
|
-
margin-right: 8px;
|
|
2579
|
-
}
|
|
2580
|
-
|
|
2581
2629
|
.lextree span {
|
|
2582
2630
|
padding: 8px;
|
|
2583
2631
|
display: block;
|
|
@@ -2795,7 +2843,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2795
2843
|
|
|
2796
2844
|
.lexbadge {
|
|
2797
2845
|
border-radius: 0.35rem;
|
|
2798
|
-
color:
|
|
2846
|
+
color: var(--global-text-primary);
|
|
2799
2847
|
border: 1px solid var(--badge-color, #14171a);
|
|
2800
2848
|
width: fit-content;
|
|
2801
2849
|
justify-content: center;
|
|
@@ -2821,6 +2869,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2821
2869
|
background-color: #0000;
|
|
2822
2870
|
background-image: none;
|
|
2823
2871
|
}
|
|
2872
|
+
.lexbadge.no-bg {
|
|
2873
|
+
background: none;
|
|
2874
|
+
border: none;
|
|
2875
|
+
}
|
|
2824
2876
|
/* Sizes */
|
|
2825
2877
|
.lexbadge.xs { padding-inline: 0.4rem; font-size: var(--global-font-size-xs); }
|
|
2826
2878
|
.lexbadge.sm { padding-inline: 0.5rem; font-size: var(--global-font-size-sm); }
|
|
@@ -2874,7 +2926,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
2874
2926
|
}
|
|
2875
2927
|
|
|
2876
2928
|
.lexmenubox {
|
|
2877
|
-
position:
|
|
2929
|
+
position: fixed;
|
|
2878
2930
|
z-index: 1001;
|
|
2879
2931
|
background-color: #111111f3;
|
|
2880
2932
|
border: 1px solid #aaaaaa48;
|
|
@@ -3066,8 +3118,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3066
3118
|
|
|
3067
3119
|
.lexcontextmenu {
|
|
3068
3120
|
z-index: 102;
|
|
3069
|
-
position:
|
|
3070
|
-
/* padding-right: 20px; */
|
|
3121
|
+
position: fixed;
|
|
3071
3122
|
border-radius: 6px;
|
|
3072
3123
|
box-shadow: 0 0 6px rgba(46, 46, 46, 0.2) !important;
|
|
3073
3124
|
background-color: var(--global-blur-background);
|
|
@@ -3170,7 +3221,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3170
3221
|
padding: 10px;
|
|
3171
3222
|
display: flex;
|
|
3172
3223
|
flex-direction: column;
|
|
3173
|
-
gap: 0.2rem;
|
|
3224
|
+
/* gap: 0.2rem; */
|
|
3174
3225
|
}
|
|
3175
3226
|
|
|
3176
3227
|
.lexsidebar *::-webkit-scrollbar {
|
|
@@ -3201,8 +3252,8 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3201
3252
|
}
|
|
3202
3253
|
|
|
3203
3254
|
.lexsidebar .lexsidebarseparator {
|
|
3204
|
-
background-color:
|
|
3205
|
-
width: 100
|
|
3255
|
+
background-color: var(--global-color-tertiary);
|
|
3256
|
+
width: calc(100% + 20px);
|
|
3206
3257
|
height: 1px;
|
|
3207
3258
|
margin: 0 auto;
|
|
3208
3259
|
margin-top: 0.4rem;
|
|
@@ -3212,7 +3263,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3212
3263
|
.lexsidebar .lexsidebarfilter {
|
|
3213
3264
|
transform: translate(0, 0);
|
|
3214
3265
|
opacity: 1;
|
|
3215
|
-
margin-
|
|
3266
|
+
margin-bottom: 0.5rem;
|
|
3216
3267
|
transition: all 0.2s cubic-bezier(0,0,.2,1);
|
|
3217
3268
|
}
|
|
3218
3269
|
|
|
@@ -3253,8 +3304,9 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3253
3304
|
|
|
3254
3305
|
.lexsidebar .lexsidebarentry {
|
|
3255
3306
|
width: 100%;
|
|
3256
|
-
padding: 6px;
|
|
3257
3307
|
padding-inline: 8px;
|
|
3308
|
+
padding-block: 6px;
|
|
3309
|
+
margin-block: 0.15rem;
|
|
3258
3310
|
border-radius: 8px;
|
|
3259
3311
|
cursor: pointer;
|
|
3260
3312
|
-webkit-user-select: none;
|
|
@@ -3283,7 +3335,8 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3283
3335
|
transform: scale(0.99);
|
|
3284
3336
|
}
|
|
3285
3337
|
|
|
3286
|
-
.lexsidebar .lexsidebarentry
|
|
3338
|
+
.lexsidebar .lexsidebarentry .lexsidebarentrycontent {
|
|
3339
|
+
font-weight: 500;
|
|
3287
3340
|
display: flex;
|
|
3288
3341
|
gap: 0.8em;
|
|
3289
3342
|
margin: 0;
|
|
@@ -3291,22 +3344,26 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3291
3344
|
opacity: 0.95;
|
|
3292
3345
|
}
|
|
3293
3346
|
|
|
3294
|
-
.lexsidebar .lexsidebarentry
|
|
3347
|
+
.lexsidebar .lexsidebarentry .lexsidebarentrycontent i {
|
|
3295
3348
|
min-width: 22px;
|
|
3296
3349
|
max-width: 22px;
|
|
3297
3350
|
margin: auto 0;
|
|
3298
3351
|
text-align: center;
|
|
3299
|
-
|
|
3352
|
+
font-size: var(--global-font-size-lg);
|
|
3300
3353
|
}
|
|
3301
3354
|
|
|
3302
|
-
.lexsidebar .lexsidebarentry
|
|
3355
|
+
.lexsidebar .lexsidebarentry .lexsidebarentrycontent a:not(.lexicon) {
|
|
3303
3356
|
overflow: hidden;
|
|
3304
3357
|
white-space: nowrap;
|
|
3305
3358
|
text-overflow: ellipsis;
|
|
3306
3359
|
align-content: center;
|
|
3307
3360
|
}
|
|
3308
3361
|
|
|
3309
|
-
.lexsidebar .lexsidebarentry
|
|
3362
|
+
.lexsidebar .lexsidebarentry .lexsidebarentryicon {
|
|
3363
|
+
margin-left: 2px;
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
.lexsidebar .lexsidebarentry a.lexicon:not(.lexsidebarentryicon) {
|
|
3310
3367
|
margin-left: auto;
|
|
3311
3368
|
}
|
|
3312
3369
|
|
|
@@ -3362,7 +3419,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3362
3419
|
display: none !important;
|
|
3363
3420
|
}
|
|
3364
3421
|
|
|
3365
|
-
.lexsidebar.collapsed .lexsidebarcontent div a {
|
|
3422
|
+
.lexsidebar.collapsed .lexsidebarcontent div a:not(.lexsidebarentryicon) {
|
|
3366
3423
|
display: none;
|
|
3367
3424
|
}
|
|
3368
3425
|
|
|
@@ -3372,7 +3429,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3372
3429
|
font-weight: 600;
|
|
3373
3430
|
background-color: var(--global-text-primary);
|
|
3374
3431
|
color: var(--global-color-primary);
|
|
3375
|
-
font-size: var(--global-font-size);
|
|
3432
|
+
font-size: var(--global-font-size-sm);
|
|
3376
3433
|
border-radius: 6px;
|
|
3377
3434
|
text-align: center;
|
|
3378
3435
|
opacity: 0;
|
|
@@ -3385,7 +3442,15 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3385
3442
|
|
|
3386
3443
|
.lexsidebar.collapsed .lexsidebarentry:hover .lexsidebarentrydesc {
|
|
3387
3444
|
opacity: 1;
|
|
3388
|
-
transform: translate(
|
|
3445
|
+
transform: translate(2px, 0);
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
.lexsidebar.collapsed .lexsidebarentry:hover {
|
|
3449
|
+
display: flex;
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
.lexsidebar .lexsidebarheader {
|
|
3453
|
+
margin-bottom: 0.5rem;
|
|
3389
3454
|
}
|
|
3390
3455
|
|
|
3391
3456
|
.lexsidebar .lexsidebarfooter, .lexsidebar .lexsidebarheader {
|
|
@@ -3627,7 +3692,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3627
3692
|
text-align: center;
|
|
3628
3693
|
align-items: center;
|
|
3629
3694
|
padding: 3px;
|
|
3630
|
-
color: var(--global-text-
|
|
3695
|
+
color: var(--global-text-tertiary);
|
|
3631
3696
|
cursor: pointer;
|
|
3632
3697
|
-webkit-user-select: none;
|
|
3633
3698
|
-moz-user-select: none;
|
|
@@ -3637,9 +3702,10 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3637
3702
|
}
|
|
3638
3703
|
|
|
3639
3704
|
.lexareatabs .lexareatab.thumb {
|
|
3640
|
-
position: absolute;
|
|
3641
3705
|
background: var(--global-color-accent);
|
|
3642
3706
|
z-index: 0;
|
|
3707
|
+
height: 22px;
|
|
3708
|
+
position: absolute;
|
|
3643
3709
|
transition: linear transform 0.15s;
|
|
3644
3710
|
}
|
|
3645
3711
|
|
|
@@ -3647,7 +3713,6 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3647
3713
|
background-color: var(--global-color-tertiary);
|
|
3648
3714
|
border-radius: 8px;
|
|
3649
3715
|
padding: 3px;
|
|
3650
|
-
margin: 6px;
|
|
3651
3716
|
gap: 0.1em;
|
|
3652
3717
|
}
|
|
3653
3718
|
|
|
@@ -3656,7 +3721,6 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
3656
3721
|
transition: 0.1s;
|
|
3657
3722
|
background: none;
|
|
3658
3723
|
border-radius: 6px;
|
|
3659
|
-
color: var(--global-text-secondary);
|
|
3660
3724
|
}
|
|
3661
3725
|
|
|
3662
3726
|
.lexareatabs.fit {
|