@lijinmei-810/dev-inspector 0.1.0 → 0.1.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/README.md +84 -0
- package/dist/dev-inspector.css +1809 -220
- package/dist/index.cjs +3365 -772
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1813 -352
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +30 -9
- package/dist/index.d.ts +30 -9
- package/dist/index.js +3366 -773
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -27,6 +27,32 @@
|
|
|
27
27
|
.di-trigger:hover {
|
|
28
28
|
box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
|
|
29
29
|
}
|
|
30
|
+
.di-trigger::after {
|
|
31
|
+
content: attr(data-tooltip);
|
|
32
|
+
position: absolute;
|
|
33
|
+
right: 0;
|
|
34
|
+
bottom: calc(100% + 10px);
|
|
35
|
+
width: max-content;
|
|
36
|
+
max-width: 220px;
|
|
37
|
+
padding: 7px 9px;
|
|
38
|
+
border-radius: 7px;
|
|
39
|
+
background: #0f172a;
|
|
40
|
+
color: #fff;
|
|
41
|
+
font-size: 11px;
|
|
42
|
+
line-height: 1.35;
|
|
43
|
+
font-weight: 650;
|
|
44
|
+
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
|
|
45
|
+
opacity: 0;
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
transform: translateY(4px);
|
|
48
|
+
transition: opacity 0.12s, transform 0.12s;
|
|
49
|
+
white-space: normal;
|
|
50
|
+
}
|
|
51
|
+
.di-trigger:hover::after,
|
|
52
|
+
.di-trigger:focus-visible::after {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
transform: translateY(0);
|
|
55
|
+
}
|
|
30
56
|
.di-dl-btn {
|
|
31
57
|
position: fixed;
|
|
32
58
|
right: 72px;
|
|
@@ -209,14 +235,17 @@
|
|
|
209
235
|
background: #e0e0e0;
|
|
210
236
|
}
|
|
211
237
|
.di-hover {
|
|
212
|
-
|
|
238
|
+
outline: 2px solid rgba(124, 58, 237, 0.5) !important;
|
|
239
|
+
outline-offset: 2px !important;
|
|
213
240
|
}
|
|
214
241
|
.di-selected {
|
|
215
|
-
|
|
242
|
+
outline: 2px solid #7c3aed !important;
|
|
243
|
+
outline-offset: 2px !important;
|
|
216
244
|
}
|
|
217
245
|
.di-panel .di-hover,
|
|
218
246
|
.di-panel .di-selected,
|
|
219
247
|
.di-trigger.di-hover {
|
|
248
|
+
outline: none !important;
|
|
220
249
|
box-shadow: none !important;
|
|
221
250
|
}
|
|
222
251
|
.di-label {
|
|
@@ -248,7 +277,25 @@
|
|
|
248
277
|
background: #7c3aed;
|
|
249
278
|
border-radius: 1px;
|
|
250
279
|
}
|
|
280
|
+
.di-label--bottom::after {
|
|
281
|
+
top: -5px;
|
|
282
|
+
bottom: auto;
|
|
283
|
+
}
|
|
284
|
+
.di-label--inside {
|
|
285
|
+
padding: 4px 10px;
|
|
286
|
+
font-size: 11px;
|
|
287
|
+
box-shadow: 0 2px 8px rgba(124, 58, 237, 0.22);
|
|
288
|
+
}
|
|
289
|
+
.di-label--inside::after {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
251
292
|
.di-panel {
|
|
293
|
+
--di-section-title-gap: 6px;
|
|
294
|
+
--di-field-label-gap: 8px;
|
|
295
|
+
--di-control-gap-x: 6px;
|
|
296
|
+
--di-control-gap-y: 6px;
|
|
297
|
+
--di-tool-row-padding-block: 6px;
|
|
298
|
+
--di-tool-row-padding-inline: 8px;
|
|
252
299
|
position: fixed;
|
|
253
300
|
z-index: 99997;
|
|
254
301
|
width: 380px;
|
|
@@ -291,29 +338,44 @@
|
|
|
291
338
|
align-items: center;
|
|
292
339
|
gap: 8px;
|
|
293
340
|
}
|
|
294
|
-
.di-
|
|
341
|
+
.di-head-icon-btn {
|
|
295
342
|
display: inline-flex;
|
|
296
343
|
align-items: center;
|
|
297
344
|
justify-content: center;
|
|
298
|
-
width:
|
|
299
|
-
height:
|
|
345
|
+
width: 26px;
|
|
346
|
+
height: 26px;
|
|
300
347
|
border: 1px solid #e5e7eb;
|
|
301
|
-
border-radius:
|
|
302
|
-
background: #
|
|
303
|
-
color: #
|
|
304
|
-
font-size: 12px;
|
|
348
|
+
border-radius: 7px;
|
|
349
|
+
background: #fff;
|
|
350
|
+
color: #64748b;
|
|
305
351
|
cursor: pointer;
|
|
306
|
-
transition:
|
|
352
|
+
transition:
|
|
353
|
+
background 0.12s,
|
|
354
|
+
border-color 0.12s,
|
|
355
|
+
color 0.12s,
|
|
356
|
+
box-shadow 0.12s;
|
|
307
357
|
line-height: 1;
|
|
358
|
+
padding: 0;
|
|
308
359
|
}
|
|
309
|
-
.di-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
border-color: #
|
|
360
|
+
.di-head-icon-btn:hover:not(:disabled),
|
|
361
|
+
.di-head-icon-btn:focus-visible:not(:disabled) {
|
|
362
|
+
background: #faf5ff;
|
|
363
|
+
border-color: #c4b5fd;
|
|
364
|
+
color: #7c3aed;
|
|
365
|
+
outline: none;
|
|
366
|
+
box-shadow: 0 1px 3px rgba(124, 58, 237, 0.12);
|
|
313
367
|
}
|
|
314
|
-
.di-
|
|
315
|
-
|
|
368
|
+
.di-head-icon-btn:disabled {
|
|
369
|
+
background: #fff;
|
|
370
|
+
border-color: #eef2f7;
|
|
371
|
+
color: #cbd5e1;
|
|
316
372
|
cursor: not-allowed;
|
|
373
|
+
box-shadow: none;
|
|
374
|
+
}
|
|
375
|
+
.di-head-icon-btn svg {
|
|
376
|
+
width: 15px;
|
|
377
|
+
height: 15px;
|
|
378
|
+
flex: 0 0 auto;
|
|
317
379
|
}
|
|
318
380
|
.di-head-right {
|
|
319
381
|
display: flex;
|
|
@@ -345,24 +407,6 @@
|
|
|
345
407
|
.di-spec-link:hover {
|
|
346
408
|
text-decoration: underline;
|
|
347
409
|
}
|
|
348
|
-
.di-close {
|
|
349
|
-
width: 24px;
|
|
350
|
-
height: 24px;
|
|
351
|
-
border-radius: 6px;
|
|
352
|
-
border: 1px solid #e5e7eb;
|
|
353
|
-
background: #fff;
|
|
354
|
-
color: #6b7280;
|
|
355
|
-
font-size: 16px;
|
|
356
|
-
line-height: 1;
|
|
357
|
-
cursor: pointer;
|
|
358
|
-
display: flex;
|
|
359
|
-
align-items: center;
|
|
360
|
-
justify-content: center;
|
|
361
|
-
padding: 0;
|
|
362
|
-
}
|
|
363
|
-
.di-close:hover {
|
|
364
|
-
background: #f9fafb;
|
|
365
|
-
}
|
|
366
410
|
.di-body {
|
|
367
411
|
overflow-y: auto;
|
|
368
412
|
flex: 1;
|
|
@@ -384,17 +428,124 @@
|
|
|
384
428
|
font-size: 12px;
|
|
385
429
|
font-weight: 700;
|
|
386
430
|
color: #111827;
|
|
387
|
-
margin-bottom:
|
|
431
|
+
margin-bottom: var(--di-section-title-gap);
|
|
388
432
|
}
|
|
389
433
|
.di-section-title-row {
|
|
390
434
|
display: flex;
|
|
391
435
|
align-items: center;
|
|
392
|
-
gap:
|
|
393
|
-
margin-bottom:
|
|
436
|
+
gap: var(--di-control-gap-x);
|
|
437
|
+
margin-bottom: var(--di-section-title-gap);
|
|
438
|
+
}
|
|
439
|
+
.di-section-title-row--action {
|
|
440
|
+
justify-content: space-between;
|
|
441
|
+
min-height: 24px;
|
|
442
|
+
}
|
|
443
|
+
.di-section-title-row--empty {
|
|
444
|
+
margin-bottom: 0;
|
|
394
445
|
}
|
|
395
446
|
.di-section-title-row .di-section-title {
|
|
396
447
|
margin-bottom: 0;
|
|
397
448
|
}
|
|
449
|
+
.di-section-title-group {
|
|
450
|
+
display: inline-flex;
|
|
451
|
+
align-items: center;
|
|
452
|
+
gap: 6px;
|
|
453
|
+
min-width: 0;
|
|
454
|
+
}
|
|
455
|
+
.di-section-icon-action {
|
|
456
|
+
width: 24px;
|
|
457
|
+
height: 24px;
|
|
458
|
+
border: 1px solid #e5e7eb;
|
|
459
|
+
border-radius: 7px;
|
|
460
|
+
background: #fff;
|
|
461
|
+
color: #64748b;
|
|
462
|
+
display: inline-flex;
|
|
463
|
+
align-items: center;
|
|
464
|
+
justify-content: center;
|
|
465
|
+
padding: 0;
|
|
466
|
+
cursor: pointer;
|
|
467
|
+
transition:
|
|
468
|
+
background 0.12s,
|
|
469
|
+
border-color 0.12s,
|
|
470
|
+
color 0.12s,
|
|
471
|
+
box-shadow 0.12s;
|
|
472
|
+
}
|
|
473
|
+
.di-section-icon-action:hover,
|
|
474
|
+
.di-section-icon-action:focus-visible {
|
|
475
|
+
background: #faf5ff;
|
|
476
|
+
border-color: #c4b5fd;
|
|
477
|
+
color: #7c3aed;
|
|
478
|
+
outline: none;
|
|
479
|
+
box-shadow: 0 1px 3px rgba(124, 58, 237, 0.12);
|
|
480
|
+
}
|
|
481
|
+
.di-section-icon-action svg {
|
|
482
|
+
width: 14px;
|
|
483
|
+
height: 14px;
|
|
484
|
+
}
|
|
485
|
+
.di-section-icon-action--reset {
|
|
486
|
+
color: #64748b;
|
|
487
|
+
}
|
|
488
|
+
.di-source-action {
|
|
489
|
+
width: 18px;
|
|
490
|
+
height: 18px;
|
|
491
|
+
min-width: 18px;
|
|
492
|
+
border: 0;
|
|
493
|
+
border-radius: 5px;
|
|
494
|
+
background: transparent;
|
|
495
|
+
color: #94a3b8;
|
|
496
|
+
display: inline-flex;
|
|
497
|
+
align-items: center;
|
|
498
|
+
justify-content: center;
|
|
499
|
+
padding: 0;
|
|
500
|
+
cursor: pointer;
|
|
501
|
+
transition:
|
|
502
|
+
background 0.12s,
|
|
503
|
+
color 0.12s,
|
|
504
|
+
opacity 0.12s,
|
|
505
|
+
width 0.12s,
|
|
506
|
+
min-width 0.12s,
|
|
507
|
+
transform 0.12s;
|
|
508
|
+
}
|
|
509
|
+
.di-source-action:hover,
|
|
510
|
+
.di-source-action:focus-visible {
|
|
511
|
+
background: #faf5ff;
|
|
512
|
+
color: #7c3aed;
|
|
513
|
+
outline: none;
|
|
514
|
+
transform: translateY(-0.5px);
|
|
515
|
+
}
|
|
516
|
+
.di-source-action--field {
|
|
517
|
+
position: absolute;
|
|
518
|
+
top: 50%;
|
|
519
|
+
right: 0;
|
|
520
|
+
width: 0;
|
|
521
|
+
min-width: 0;
|
|
522
|
+
opacity: 0;
|
|
523
|
+
pointer-events: none;
|
|
524
|
+
overflow: hidden;
|
|
525
|
+
transform: translateY(-50%);
|
|
526
|
+
}
|
|
527
|
+
.di-space-card:hover .di-source-action--field,
|
|
528
|
+
.di-space-card:focus-within .di-source-action--field,
|
|
529
|
+
.di-text-card:hover .di-source-action--field,
|
|
530
|
+
.di-text-card:focus-within .di-source-action--field,
|
|
531
|
+
.di-shadow-card:hover .di-source-action--field,
|
|
532
|
+
.di-shadow-card:focus-within .di-source-action--field {
|
|
533
|
+
width: 18px;
|
|
534
|
+
min-width: 18px;
|
|
535
|
+
opacity: 1;
|
|
536
|
+
pointer-events: auto;
|
|
537
|
+
}
|
|
538
|
+
.di-source-action--field:hover,
|
|
539
|
+
.di-source-action--field:focus-visible {
|
|
540
|
+
transform: translateY(calc(-50% - 0.5px));
|
|
541
|
+
}
|
|
542
|
+
.di-token-empty-state {
|
|
543
|
+
padding: 12px 14px;
|
|
544
|
+
color: #94a3b8;
|
|
545
|
+
font-size: 11px;
|
|
546
|
+
font-weight: 650;
|
|
547
|
+
text-align: center;
|
|
548
|
+
}
|
|
398
549
|
.di-help-icon {
|
|
399
550
|
width: 18px;
|
|
400
551
|
height: 18px;
|
|
@@ -429,138 +580,363 @@
|
|
|
429
580
|
line-height: 1.5;
|
|
430
581
|
color: #6b7280;
|
|
431
582
|
}
|
|
432
|
-
.di-
|
|
433
|
-
position: relative;
|
|
583
|
+
.di-component-card {
|
|
434
584
|
display: flex;
|
|
435
|
-
|
|
585
|
+
flex-direction: column;
|
|
436
586
|
gap: 8px;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
.di-attr-label {
|
|
443
|
-
width: 44px;
|
|
444
|
-
flex-shrink: 0;
|
|
445
|
-
font-size: 12px;
|
|
446
|
-
color: #6b7280;
|
|
587
|
+
padding: 10px 12px;
|
|
588
|
+
border: 1px solid #e5e7eb;
|
|
589
|
+
border-radius: 8px;
|
|
590
|
+
background: #fff;
|
|
591
|
+
box-sizing: border-box;
|
|
447
592
|
}
|
|
448
|
-
.di-
|
|
449
|
-
width: 28px;
|
|
450
|
-
height: 28px;
|
|
451
|
-
border-radius: 6px;
|
|
452
|
-
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
453
|
-
flex-shrink: 0;
|
|
454
|
-
cursor: pointer;
|
|
593
|
+
.di-component-head {
|
|
455
594
|
display: flex;
|
|
456
595
|
align-items: center;
|
|
457
|
-
justify-content:
|
|
458
|
-
|
|
459
|
-
}
|
|
460
|
-
.di-swatch-btn:hover {
|
|
461
|
-
transform: scale(1.06);
|
|
596
|
+
justify-content: space-between;
|
|
597
|
+
gap: 10px;
|
|
462
598
|
}
|
|
463
|
-
.di-
|
|
464
|
-
|
|
599
|
+
.di-component-main {
|
|
600
|
+
min-width: 0;
|
|
465
601
|
display: flex;
|
|
466
602
|
flex-direction: column;
|
|
467
|
-
gap:
|
|
468
|
-
min-width: 0;
|
|
469
|
-
overflow: hidden;
|
|
603
|
+
gap: 2px;
|
|
470
604
|
}
|
|
471
|
-
.di-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
605
|
+
.di-component-name {
|
|
606
|
+
min-width: 0;
|
|
607
|
+
color: #111827;
|
|
608
|
+
font-size: 14px;
|
|
609
|
+
font-weight: 800;
|
|
610
|
+
line-height: 1.25;
|
|
476
611
|
overflow: hidden;
|
|
477
612
|
text-overflow: ellipsis;
|
|
613
|
+
white-space: nowrap;
|
|
478
614
|
}
|
|
479
|
-
.di-
|
|
615
|
+
.di-component-meta-row {
|
|
616
|
+
display: grid;
|
|
617
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
618
|
+
gap: 6px;
|
|
619
|
+
}
|
|
620
|
+
.di-component-meta-row span {
|
|
621
|
+
min-width: 0;
|
|
622
|
+
color: #64748b;
|
|
480
623
|
font-size: 11px;
|
|
481
|
-
font-weight:
|
|
482
|
-
|
|
483
|
-
font-family: monospace;
|
|
484
|
-
white-space: nowrap;
|
|
624
|
+
font-weight: 600;
|
|
625
|
+
line-height: 1.35;
|
|
485
626
|
overflow: hidden;
|
|
486
627
|
text-overflow: ellipsis;
|
|
487
|
-
}
|
|
488
|
-
.di-hex {
|
|
489
|
-
font-size: 10px;
|
|
490
|
-
color: #9ca3af;
|
|
491
|
-
font-family: monospace;
|
|
492
628
|
white-space: nowrap;
|
|
493
|
-
overflow: hidden;
|
|
494
|
-
text-overflow: ellipsis;
|
|
495
629
|
}
|
|
496
|
-
.di-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
630
|
+
.di-component-fields {
|
|
631
|
+
display: flex;
|
|
632
|
+
flex-direction: column;
|
|
633
|
+
gap: 8px;
|
|
500
634
|
}
|
|
501
|
-
.di-
|
|
502
|
-
display:
|
|
635
|
+
.di-component-field {
|
|
636
|
+
display: grid;
|
|
637
|
+
grid-template-columns: 42px minmax(0, 1fr);
|
|
503
638
|
align-items: center;
|
|
504
|
-
|
|
505
|
-
border-radius: 6px;
|
|
506
|
-
border: 1px dashed #d1d5db;
|
|
507
|
-
background: none;
|
|
508
|
-
color: #6b7280;
|
|
509
|
-
font-size: 12px;
|
|
510
|
-
font-family: inherit;
|
|
511
|
-
cursor: pointer;
|
|
512
|
-
transition: all 0.12s;
|
|
639
|
+
gap: 8px;
|
|
513
640
|
}
|
|
514
|
-
.di-
|
|
515
|
-
|
|
516
|
-
|
|
641
|
+
.di-component-field > span {
|
|
642
|
+
color: #64748b;
|
|
643
|
+
font-size: 11px;
|
|
644
|
+
font-weight: 700;
|
|
645
|
+
line-height: 1.2;
|
|
517
646
|
}
|
|
518
|
-
.di-
|
|
647
|
+
.di-component-text-input {
|
|
648
|
+
width: 100%;
|
|
649
|
+
min-width: 0;
|
|
650
|
+
height: 32px;
|
|
651
|
+
padding: 0 9px;
|
|
652
|
+
border: 1px solid #e5e7eb;
|
|
653
|
+
border-radius: 7px;
|
|
654
|
+
background: #fff;
|
|
655
|
+
color: #111827;
|
|
656
|
+
font: inherit;
|
|
519
657
|
font-size: 12px;
|
|
520
|
-
font-
|
|
521
|
-
|
|
522
|
-
border-radius: 5px;
|
|
523
|
-
padding: 2px 6px;
|
|
658
|
+
font-weight: 650;
|
|
659
|
+
box-sizing: border-box;
|
|
524
660
|
outline: none;
|
|
525
|
-
|
|
526
|
-
width: 140px;
|
|
527
|
-
background: #faf5ff;
|
|
661
|
+
transition: border-color 0.12s, background 0.12s;
|
|
528
662
|
}
|
|
529
|
-
.di-
|
|
663
|
+
.di-component-text-input:focus {
|
|
664
|
+
border-color: #a78bfa;
|
|
530
665
|
background: #faf5ff;
|
|
531
666
|
}
|
|
532
|
-
.di-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
width: 260px;
|
|
538
|
-
background: #fff;
|
|
539
|
-
border: 1px solid #e5e7eb;
|
|
540
|
-
border-radius: 10px;
|
|
541
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
542
|
-
overflow: hidden;
|
|
667
|
+
.di-component-field--children {
|
|
668
|
+
align-items: center;
|
|
669
|
+
}
|
|
670
|
+
.di-component-child-list {
|
|
671
|
+
min-width: 0;
|
|
543
672
|
display: flex;
|
|
544
673
|
flex-direction: column;
|
|
545
|
-
|
|
546
|
-
}
|
|
547
|
-
.di-dropdown-list {
|
|
548
|
-
overflow-y: auto;
|
|
549
|
-
flex: 1;
|
|
550
|
-
min-height: 0;
|
|
674
|
+
gap: 6px;
|
|
551
675
|
}
|
|
552
|
-
.di-
|
|
553
|
-
|
|
676
|
+
.di-component-child-item {
|
|
677
|
+
min-width: 0;
|
|
678
|
+
display: grid;
|
|
679
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
554
680
|
align-items: center;
|
|
555
681
|
gap: 8px;
|
|
556
|
-
|
|
557
|
-
padding:
|
|
558
|
-
border:
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
682
|
+
min-height: 30px;
|
|
683
|
+
padding: 0 9px;
|
|
684
|
+
border: 1px solid #eef2f7;
|
|
685
|
+
border-radius: 7px;
|
|
686
|
+
background: #f8fafc;
|
|
687
|
+
box-sizing: border-box;
|
|
688
|
+
}
|
|
689
|
+
.di-component-child-item--with-label {
|
|
690
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
691
|
+
}
|
|
692
|
+
.di-component-child-label {
|
|
693
|
+
color: #64748b;
|
|
694
|
+
font-size: 11px;
|
|
695
|
+
font-weight: 700;
|
|
696
|
+
line-height: 1.2;
|
|
697
|
+
white-space: nowrap;
|
|
698
|
+
}
|
|
699
|
+
.di-component-child-value {
|
|
700
|
+
min-width: 0;
|
|
701
|
+
color: #111827;
|
|
702
|
+
font-size: 12px;
|
|
703
|
+
font-weight: 700;
|
|
704
|
+
line-height: 1.2;
|
|
705
|
+
overflow: hidden;
|
|
706
|
+
text-overflow: ellipsis;
|
|
707
|
+
white-space: nowrap;
|
|
708
|
+
}
|
|
709
|
+
.di-component-child-select {
|
|
710
|
+
height: 24px;
|
|
711
|
+
padding: 0 8px;
|
|
712
|
+
border: 1px solid #ddd6fe;
|
|
713
|
+
border-radius: 6px;
|
|
714
|
+
background: #fff;
|
|
715
|
+
color: #7c3aed;
|
|
716
|
+
font-family: inherit;
|
|
717
|
+
font-size: 11px;
|
|
718
|
+
font-weight: 800;
|
|
719
|
+
cursor: pointer;
|
|
720
|
+
}
|
|
721
|
+
.di-component-child-select:hover,
|
|
722
|
+
.di-component-child-select:focus-visible {
|
|
723
|
+
border-color: #a78bfa;
|
|
724
|
+
background: #faf5ff;
|
|
725
|
+
outline: none;
|
|
726
|
+
}
|
|
727
|
+
.di-component-segment {
|
|
728
|
+
display: grid;
|
|
729
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
730
|
+
min-width: 0;
|
|
731
|
+
padding: 3px;
|
|
732
|
+
border: 1px solid #e5e7eb;
|
|
733
|
+
border-radius: 8px;
|
|
734
|
+
background: #f8fafc;
|
|
735
|
+
gap: 3px;
|
|
736
|
+
}
|
|
737
|
+
.di-component-segment--size {
|
|
738
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
739
|
+
}
|
|
740
|
+
.di-component-segment--tone {
|
|
741
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
742
|
+
}
|
|
743
|
+
.di-component-segment-btn {
|
|
744
|
+
min-width: 0;
|
|
745
|
+
height: 26px;
|
|
746
|
+
padding: 0 4px;
|
|
747
|
+
border: 0;
|
|
748
|
+
border-radius: 6px;
|
|
749
|
+
background: transparent;
|
|
750
|
+
color: #64748b;
|
|
751
|
+
font-family: inherit;
|
|
752
|
+
font-size: 11px;
|
|
753
|
+
font-weight: 750;
|
|
754
|
+
cursor: pointer;
|
|
755
|
+
white-space: nowrap;
|
|
756
|
+
overflow: hidden;
|
|
757
|
+
text-overflow: ellipsis;
|
|
758
|
+
}
|
|
759
|
+
.di-component-segment-btn:hover,
|
|
760
|
+
.di-component-segment-btn:focus-visible {
|
|
761
|
+
background: #ede9fe;
|
|
762
|
+
color: #7c3aed;
|
|
763
|
+
outline: none;
|
|
764
|
+
}
|
|
765
|
+
.di-component-segment-btn--on,
|
|
766
|
+
.di-component-segment-btn--on:hover,
|
|
767
|
+
.di-component-segment-btn--on:focus-visible {
|
|
768
|
+
background: #fff;
|
|
769
|
+
color: #7c3aed;
|
|
770
|
+
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
771
|
+
}
|
|
772
|
+
.di-advanced-section {
|
|
773
|
+
background: #fbfdff;
|
|
774
|
+
}
|
|
775
|
+
.di-advanced-toggle {
|
|
776
|
+
width: 100%;
|
|
777
|
+
display: flex;
|
|
778
|
+
align-items: center;
|
|
779
|
+
justify-content: space-between;
|
|
780
|
+
gap: 10px;
|
|
781
|
+
padding: 0;
|
|
782
|
+
border: 0;
|
|
783
|
+
background: transparent;
|
|
784
|
+
color: #111827;
|
|
785
|
+
font-family: inherit;
|
|
786
|
+
font-size: 12px;
|
|
787
|
+
font-weight: 800;
|
|
788
|
+
cursor: pointer;
|
|
789
|
+
text-align: left;
|
|
790
|
+
}
|
|
791
|
+
.di-advanced-toggle:hover,
|
|
792
|
+
.di-advanced-toggle:focus-visible {
|
|
793
|
+
color: #7c3aed;
|
|
794
|
+
outline: none;
|
|
795
|
+
}
|
|
796
|
+
.di-advanced-chevron {
|
|
797
|
+
color: #7c3aed;
|
|
798
|
+
font-size: 11px;
|
|
799
|
+
font-weight: 800;
|
|
800
|
+
}
|
|
801
|
+
.di-advanced-desc {
|
|
802
|
+
margin-top: 4px;
|
|
803
|
+
color: #64748b;
|
|
804
|
+
font-size: 11px;
|
|
805
|
+
font-weight: 600;
|
|
806
|
+
line-height: 1.4;
|
|
807
|
+
}
|
|
808
|
+
.di-color-row {
|
|
809
|
+
position: relative;
|
|
810
|
+
display: flex;
|
|
811
|
+
align-items: center;
|
|
812
|
+
gap: 8px;
|
|
813
|
+
margin-bottom: 8px;
|
|
814
|
+
}
|
|
815
|
+
.di-color-row:last-child {
|
|
816
|
+
margin-bottom: 0;
|
|
817
|
+
}
|
|
818
|
+
.di-attr-label {
|
|
819
|
+
width: 44px;
|
|
820
|
+
flex-shrink: 0;
|
|
821
|
+
font-size: 12px;
|
|
822
|
+
color: #6b7280;
|
|
823
|
+
}
|
|
824
|
+
.di-swatch-btn {
|
|
825
|
+
width: 28px;
|
|
826
|
+
height: 28px;
|
|
827
|
+
border-radius: 6px;
|
|
828
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
829
|
+
flex-shrink: 0;
|
|
830
|
+
cursor: pointer;
|
|
831
|
+
display: flex;
|
|
832
|
+
align-items: center;
|
|
833
|
+
justify-content: center;
|
|
834
|
+
transition: transform 0.12s;
|
|
835
|
+
}
|
|
836
|
+
.di-swatch-btn:hover {
|
|
837
|
+
transform: scale(1.06);
|
|
838
|
+
}
|
|
839
|
+
.di-color-info {
|
|
840
|
+
flex: 1;
|
|
841
|
+
display: flex;
|
|
842
|
+
flex-direction: column;
|
|
843
|
+
gap: 1px;
|
|
844
|
+
min-width: 0;
|
|
845
|
+
overflow: hidden;
|
|
846
|
+
}
|
|
847
|
+
.di-token-name {
|
|
848
|
+
font-size: 11px;
|
|
849
|
+
font-weight: 600;
|
|
850
|
+
color: #7c3aed;
|
|
851
|
+
white-space: nowrap;
|
|
852
|
+
overflow: hidden;
|
|
853
|
+
text-overflow: ellipsis;
|
|
854
|
+
}
|
|
855
|
+
.di-token-name--plain {
|
|
856
|
+
font-size: 11px;
|
|
857
|
+
font-weight: 500;
|
|
858
|
+
color: #374151;
|
|
859
|
+
font-family: monospace;
|
|
860
|
+
white-space: nowrap;
|
|
861
|
+
overflow: hidden;
|
|
862
|
+
text-overflow: ellipsis;
|
|
863
|
+
}
|
|
864
|
+
.di-hex {
|
|
865
|
+
font-size: 10px;
|
|
866
|
+
color: #9ca3af;
|
|
867
|
+
font-family: monospace;
|
|
868
|
+
white-space: nowrap;
|
|
869
|
+
overflow: hidden;
|
|
870
|
+
text-overflow: ellipsis;
|
|
871
|
+
}
|
|
872
|
+
.di-hex--main {
|
|
873
|
+
font-size: 13px;
|
|
874
|
+
color: #374151;
|
|
875
|
+
font-family: monospace;
|
|
876
|
+
}
|
|
877
|
+
.di-token-add {
|
|
878
|
+
display: inline-flex;
|
|
879
|
+
align-items: center;
|
|
880
|
+
padding: 3px 10px;
|
|
881
|
+
border-radius: 6px;
|
|
882
|
+
border: 1px dashed #d1d5db;
|
|
883
|
+
background: none;
|
|
884
|
+
color: #6b7280;
|
|
885
|
+
font-size: 12px;
|
|
886
|
+
font-family: inherit;
|
|
887
|
+
cursor: pointer;
|
|
888
|
+
transition: all 0.12s;
|
|
889
|
+
}
|
|
890
|
+
.di-token-add:hover {
|
|
891
|
+
border-color: #7c3aed;
|
|
892
|
+
color: #7c3aed;
|
|
893
|
+
}
|
|
894
|
+
.di-inline-input {
|
|
895
|
+
font-size: 12px;
|
|
896
|
+
font-family: monospace;
|
|
897
|
+
border: 1px solid #7c3aed;
|
|
898
|
+
border-radius: 5px;
|
|
899
|
+
padding: 2px 6px;
|
|
900
|
+
outline: none;
|
|
901
|
+
color: #111827;
|
|
902
|
+
width: 140px;
|
|
903
|
+
background: #faf5ff;
|
|
904
|
+
}
|
|
905
|
+
.di-inline-input--token {
|
|
906
|
+
background: #faf5ff;
|
|
907
|
+
}
|
|
908
|
+
.di-dropdown {
|
|
909
|
+
position: absolute;
|
|
910
|
+
top: calc(100% + 4px);
|
|
911
|
+
left: 54px;
|
|
912
|
+
z-index: 10;
|
|
913
|
+
width: 260px;
|
|
914
|
+
background: #fff;
|
|
915
|
+
border: 1px solid #e5e7eb;
|
|
916
|
+
border-radius: 10px;
|
|
917
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
918
|
+
overflow: hidden;
|
|
919
|
+
display: flex;
|
|
920
|
+
flex-direction: column;
|
|
921
|
+
max-height: 320px;
|
|
922
|
+
}
|
|
923
|
+
.di-dropdown-list {
|
|
924
|
+
overflow-y: auto;
|
|
925
|
+
flex: 1;
|
|
926
|
+
min-height: 0;
|
|
927
|
+
}
|
|
928
|
+
.di-dropdown-item {
|
|
929
|
+
display: flex;
|
|
930
|
+
align-items: center;
|
|
931
|
+
gap: 8px;
|
|
932
|
+
width: 100%;
|
|
933
|
+
padding: 8px 12px;
|
|
934
|
+
border: none;
|
|
935
|
+
background: none;
|
|
936
|
+
cursor: pointer;
|
|
937
|
+
text-align: left;
|
|
938
|
+
font-family: inherit;
|
|
939
|
+
transition: background 0.1s;
|
|
564
940
|
}
|
|
565
941
|
.di-dropdown-item:hover {
|
|
566
942
|
background: #f5f3ff;
|
|
@@ -604,11 +980,6 @@
|
|
|
604
980
|
border-top: 1px solid #f3f4f6;
|
|
605
981
|
background: #fff;
|
|
606
982
|
}
|
|
607
|
-
.di-dropdown-custom-label {
|
|
608
|
-
font-size: 11px;
|
|
609
|
-
color: #6b7280;
|
|
610
|
-
flex-shrink: 0;
|
|
611
|
-
}
|
|
612
983
|
.di-dropdown-custom-input {
|
|
613
984
|
min-width: 0;
|
|
614
985
|
flex: 1;
|
|
@@ -653,9 +1024,13 @@
|
|
|
653
1024
|
min-height: 52px;
|
|
654
1025
|
height: auto;
|
|
655
1026
|
margin-bottom: 8px;
|
|
1027
|
+
display: block;
|
|
656
1028
|
overflow: hidden;
|
|
657
1029
|
field-sizing: content;
|
|
658
1030
|
}
|
|
1031
|
+
.di-text-section .di-typography-toolbar {
|
|
1032
|
+
margin-top: 0;
|
|
1033
|
+
}
|
|
659
1034
|
.di-empty {
|
|
660
1035
|
font-size: 12px;
|
|
661
1036
|
color: #9ca3af;
|
|
@@ -716,13 +1091,13 @@
|
|
|
716
1091
|
background: #faf5ff;
|
|
717
1092
|
}
|
|
718
1093
|
.di-weight-btn--on {
|
|
719
|
-
background: #
|
|
720
|
-
border-color: #
|
|
721
|
-
color: #
|
|
1094
|
+
background: #f5f3ff;
|
|
1095
|
+
border-color: #c4b5fd;
|
|
1096
|
+
color: #7c3aed;
|
|
722
1097
|
}
|
|
723
1098
|
.di-weight-btn--on:hover {
|
|
724
|
-
background: #
|
|
725
|
-
border-color: #
|
|
1099
|
+
background: #ede9fe;
|
|
1100
|
+
border-color: #a78bfa;
|
|
726
1101
|
}
|
|
727
1102
|
.di-boxing {
|
|
728
1103
|
position: relative;
|
|
@@ -945,54 +1320,27 @@
|
|
|
945
1320
|
font-size: 9px;
|
|
946
1321
|
color: #9ca3af;
|
|
947
1322
|
}
|
|
948
|
-
.di-
|
|
949
|
-
|
|
950
|
-
grid-template-columns: repeat(3, 1fr);
|
|
951
|
-
gap: 8px;
|
|
952
|
-
}
|
|
953
|
-
.di-border-card {
|
|
954
|
-
display: flex;
|
|
955
|
-
flex-direction: column;
|
|
956
|
-
gap: 6px;
|
|
957
|
-
border: 1px solid #e5e7eb;
|
|
958
|
-
border-radius: 10px;
|
|
959
|
-
padding: 8px 10px 10px;
|
|
1323
|
+
.di-color-swatch--empty,
|
|
1324
|
+
.di-swatch-btn--empty {
|
|
960
1325
|
position: relative;
|
|
961
|
-
|
|
1326
|
+
background: repeating-conic-gradient(#e5e7eb 0% 25%, #fff 0% 50%) 0 0 / 8px 8px !important;
|
|
1327
|
+
border: 1px solid #e5e7eb !important;
|
|
962
1328
|
overflow: hidden;
|
|
963
1329
|
}
|
|
964
|
-
.di-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1330
|
+
.di-color-swatch--empty::after,
|
|
1331
|
+
.di-swatch-btn--empty::after {
|
|
1332
|
+
content: "";
|
|
1333
|
+
position: absolute;
|
|
1334
|
+
left: 3px;
|
|
1335
|
+
right: 3px;
|
|
1336
|
+
top: 50%;
|
|
1337
|
+
height: 1.5px;
|
|
1338
|
+
border-radius: 999px;
|
|
1339
|
+
background: #94a3b8;
|
|
1340
|
+
transform: rotate(-45deg);
|
|
1341
|
+
pointer-events: none;
|
|
969
1342
|
}
|
|
970
|
-
.di-border-
|
|
971
|
-
display: flex;
|
|
972
|
-
flex-direction: row;
|
|
973
|
-
align-items: center;
|
|
974
|
-
gap: 8px;
|
|
975
|
-
margin-top: 0 !important;
|
|
976
|
-
}
|
|
977
|
-
.di-border-color-info {
|
|
978
|
-
min-width: 0;
|
|
979
|
-
overflow: hidden;
|
|
980
|
-
flex: 1;
|
|
981
|
-
display: flex;
|
|
982
|
-
flex-direction: column;
|
|
983
|
-
gap: 1px;
|
|
984
|
-
}
|
|
985
|
-
.di-border-styles {
|
|
986
|
-
display: grid;
|
|
987
|
-
grid-template-columns: 1fr 1fr;
|
|
988
|
-
gap: 4px;
|
|
989
|
-
margin-top: 6px;
|
|
990
|
-
}
|
|
991
|
-
.di-swatch-btn--empty {
|
|
992
|
-
background: repeating-conic-gradient(#e5e7eb 0% 25%, #fff 0% 50%) 0 0 / 8px 8px !important;
|
|
993
|
-
border: 1px solid #e5e7eb !important;
|
|
994
|
-
}
|
|
995
|
-
.di-border-style-single {
|
|
1343
|
+
.di-border-style-single {
|
|
996
1344
|
display: flex;
|
|
997
1345
|
align-items: center;
|
|
998
1346
|
gap: 6px;
|
|
@@ -1015,6 +1363,11 @@
|
|
|
1015
1363
|
font-weight: 600;
|
|
1016
1364
|
color: #7c3aed;
|
|
1017
1365
|
}
|
|
1366
|
+
.di-custom-option-label {
|
|
1367
|
+
font-size: 11px;
|
|
1368
|
+
font-weight: 650;
|
|
1369
|
+
color: #111827;
|
|
1370
|
+
}
|
|
1018
1371
|
.di-border-style-name {
|
|
1019
1372
|
font-size: 10px;
|
|
1020
1373
|
color: #111827;
|
|
@@ -1051,32 +1404,270 @@
|
|
|
1051
1404
|
font-weight: 700;
|
|
1052
1405
|
background: #f5f3ff;
|
|
1053
1406
|
}
|
|
1054
|
-
.di-border
|
|
1055
|
-
|
|
1407
|
+
.di-dropdown--border {
|
|
1408
|
+
left: 0;
|
|
1409
|
+
width: 220px;
|
|
1410
|
+
}
|
|
1411
|
+
.di-container-toolbar {
|
|
1412
|
+
display: grid;
|
|
1413
|
+
grid-template-columns: minmax(112px, max-content) minmax(0, 1fr);
|
|
1414
|
+
align-items: center;
|
|
1415
|
+
gap: 6px;
|
|
1416
|
+
width: 100%;
|
|
1417
|
+
margin-top: 8px;
|
|
1418
|
+
padding: 0;
|
|
1419
|
+
border: 0;
|
|
1420
|
+
background: transparent;
|
|
1421
|
+
box-sizing: border-box;
|
|
1422
|
+
}
|
|
1423
|
+
.di-container-toolbar--custom {
|
|
1424
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1425
|
+
row-gap: 6px;
|
|
1426
|
+
}
|
|
1427
|
+
.di-border-control--width,
|
|
1428
|
+
.di-border-control--line,
|
|
1429
|
+
.di-border-control--radius {
|
|
1430
|
+
grid-template-columns: minmax(0, 1fr) 8px;
|
|
1431
|
+
}
|
|
1432
|
+
.di-border-control--line {
|
|
1433
|
+
grid-template-columns: auto minmax(0, 1fr) 8px;
|
|
1434
|
+
}
|
|
1435
|
+
.di-border-control--radius {
|
|
1436
|
+
grid-template-columns: auto minmax(0, 1fr) 8px;
|
|
1437
|
+
}
|
|
1438
|
+
.di-container-preset-drop {
|
|
1439
|
+
min-width: 260px;
|
|
1440
|
+
max-width: 340px;
|
|
1441
|
+
}
|
|
1442
|
+
.di-radius-drop {
|
|
1443
|
+
min-width: 178px;
|
|
1444
|
+
max-width: 240px;
|
|
1445
|
+
}
|
|
1446
|
+
.di-typography-toolbar {
|
|
1447
|
+
display: grid;
|
|
1448
|
+
grid-template-columns: minmax(112px, max-content) minmax(0, 1fr);
|
|
1449
|
+
align-items: center;
|
|
1450
|
+
gap: 6px;
|
|
1451
|
+
width: 100%;
|
|
1452
|
+
margin-top: 8px;
|
|
1453
|
+
padding: 0;
|
|
1454
|
+
border: 0;
|
|
1455
|
+
background: transparent;
|
|
1456
|
+
box-sizing: border-box;
|
|
1457
|
+
}
|
|
1458
|
+
.di-typography-toolbar--custom {
|
|
1459
|
+
grid-template-columns: minmax(64px, max-content) minmax(78px, max-content) minmax(92px, 1fr);
|
|
1460
|
+
}
|
|
1461
|
+
.di-typography-control-wrap {
|
|
1462
|
+
position: relative;
|
|
1463
|
+
min-width: 0;
|
|
1464
|
+
}
|
|
1465
|
+
.di-typography-control {
|
|
1466
|
+
display: grid;
|
|
1467
|
+
align-items: center;
|
|
1468
|
+
gap: 4px;
|
|
1469
|
+
width: 100%;
|
|
1470
|
+
min-width: 0;
|
|
1471
|
+
height: 32px;
|
|
1472
|
+
padding: 0 6px;
|
|
1473
|
+
border: 1px solid #e5e7eb;
|
|
1056
1474
|
border-radius: 6px;
|
|
1475
|
+
background: #fff;
|
|
1476
|
+
color: #111827;
|
|
1477
|
+
cursor: pointer;
|
|
1478
|
+
font-family: inherit;
|
|
1479
|
+
text-align: left;
|
|
1480
|
+
transition:
|
|
1481
|
+
border-color 0.12s,
|
|
1482
|
+
background 0.12s,
|
|
1483
|
+
color 0.12s;
|
|
1484
|
+
}
|
|
1485
|
+
.di-typography-control:hover,
|
|
1486
|
+
.di-typography-control:focus-visible {
|
|
1487
|
+
border-color: #c4b5fd;
|
|
1488
|
+
background: #faf5ff;
|
|
1489
|
+
outline: none;
|
|
1490
|
+
}
|
|
1491
|
+
.di-typography-control--style-compact {
|
|
1492
|
+
grid-template-columns: minmax(0, 1fr) 8px;
|
|
1493
|
+
}
|
|
1494
|
+
.di-typography-control--size {
|
|
1495
|
+
grid-template-columns: minmax(0, 1fr) 8px;
|
|
1496
|
+
}
|
|
1497
|
+
.di-typography-control--size-token {
|
|
1498
|
+
grid-template-columns: auto minmax(0, 1fr) 8px;
|
|
1499
|
+
}
|
|
1500
|
+
.di-typography-control--weight {
|
|
1501
|
+
grid-template-columns: auto minmax(0, 1fr) 8px;
|
|
1502
|
+
}
|
|
1503
|
+
.di-typography-control--color {
|
|
1504
|
+
grid-template-columns: 24px minmax(0, 1fr);
|
|
1505
|
+
padding-left: 4px;
|
|
1506
|
+
}
|
|
1507
|
+
.di-typography-control-value {
|
|
1508
|
+
min-width: 0;
|
|
1509
|
+
overflow: hidden;
|
|
1510
|
+
text-overflow: ellipsis;
|
|
1511
|
+
white-space: nowrap;
|
|
1512
|
+
}
|
|
1513
|
+
.di-typography-control-value {
|
|
1514
|
+
color: #111827;
|
|
1515
|
+
font-size: 11px;
|
|
1516
|
+
font-weight: 500;
|
|
1517
|
+
}
|
|
1518
|
+
.di-typography-style-drop {
|
|
1519
|
+
min-width: 260px;
|
|
1520
|
+
max-width: 340px;
|
|
1521
|
+
}
|
|
1522
|
+
.di-typography-custom-action,
|
|
1523
|
+
.di-typography-custom-note {
|
|
1524
|
+
width: 100%;
|
|
1525
|
+
border: none;
|
|
1526
|
+
border-top: 1px solid #eef2f7;
|
|
1527
|
+
background: #fff;
|
|
1528
|
+
padding: 9px 12px;
|
|
1529
|
+
display: flex;
|
|
1530
|
+
flex-direction: column;
|
|
1531
|
+
align-items: flex-start;
|
|
1532
|
+
gap: 2px;
|
|
1533
|
+
font-family: inherit;
|
|
1534
|
+
text-align: left;
|
|
1535
|
+
}
|
|
1536
|
+
.di-typography-custom-action {
|
|
1537
|
+
cursor: pointer;
|
|
1538
|
+
}
|
|
1539
|
+
.di-typography-custom-action:hover,
|
|
1540
|
+
.di-typography-custom-action:focus-visible {
|
|
1541
|
+
background: #faf5ff;
|
|
1542
|
+
outline: none;
|
|
1543
|
+
}
|
|
1544
|
+
.di-typography-custom-note {
|
|
1545
|
+
background: #f8fafc;
|
|
1546
|
+
}
|
|
1547
|
+
.di-typography-size-drop {
|
|
1548
|
+
min-width: 178px;
|
|
1549
|
+
max-width: 240px;
|
|
1550
|
+
}
|
|
1551
|
+
.di-typography-style-drop-meta {
|
|
1552
|
+
min-width: 0;
|
|
1553
|
+
display: flex;
|
|
1554
|
+
flex-direction: column;
|
|
1555
|
+
align-items: flex-start;
|
|
1556
|
+
gap: 1px;
|
|
1557
|
+
}
|
|
1558
|
+
.di-typography-readout {
|
|
1559
|
+
min-width: 0;
|
|
1560
|
+
display: flex;
|
|
1561
|
+
flex-direction: column;
|
|
1562
|
+
justify-content: center;
|
|
1563
|
+
min-height: 32px;
|
|
1564
|
+
padding: 2px 6px;
|
|
1565
|
+
color: #111827;
|
|
1566
|
+
}
|
|
1567
|
+
.di-typography-readout-line {
|
|
1568
|
+
color: #111827;
|
|
1569
|
+
font-size: 12px;
|
|
1570
|
+
font-weight: 700;
|
|
1571
|
+
line-height: 1.25;
|
|
1572
|
+
}
|
|
1573
|
+
.di-typography-readout-token {
|
|
1574
|
+
min-width: 0;
|
|
1575
|
+
color: #64748b;
|
|
1576
|
+
font-size: 11px;
|
|
1577
|
+
font-weight: 600;
|
|
1578
|
+
line-height: 1.25;
|
|
1579
|
+
overflow: hidden;
|
|
1580
|
+
text-overflow: ellipsis;
|
|
1581
|
+
white-space: nowrap;
|
|
1582
|
+
}
|
|
1583
|
+
.di-custom-select {
|
|
1584
|
+
display: inline-flex;
|
|
1585
|
+
align-items: center;
|
|
1586
|
+
justify-content: center;
|
|
1587
|
+
width: max-content;
|
|
1588
|
+
min-width: max-content;
|
|
1589
|
+
height: 30px;
|
|
1590
|
+
padding: 0 10px;
|
|
1057
1591
|
border: 1px solid #e5e7eb;
|
|
1592
|
+
border-radius: 7px;
|
|
1058
1593
|
background: #fff;
|
|
1059
|
-
color: #
|
|
1060
|
-
font-size: 13px;
|
|
1594
|
+
color: #111827;
|
|
1061
1595
|
cursor: pointer;
|
|
1062
|
-
|
|
1596
|
+
font-family: inherit;
|
|
1597
|
+
font-size: 12px;
|
|
1598
|
+
font-weight: 700;
|
|
1599
|
+
text-align: center;
|
|
1600
|
+
transition:
|
|
1601
|
+
border-color 0.12s,
|
|
1602
|
+
background 0.12s,
|
|
1603
|
+
color 0.12s;
|
|
1063
1604
|
}
|
|
1064
|
-
.di-
|
|
1605
|
+
.di-custom-select:hover,
|
|
1606
|
+
.di-custom-select:focus-visible {
|
|
1065
1607
|
border-color: #c4b5fd;
|
|
1066
1608
|
background: #faf5ff;
|
|
1609
|
+
outline: none;
|
|
1067
1610
|
}
|
|
1068
|
-
.di-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1611
|
+
.di-custom-select-label {
|
|
1612
|
+
white-space: nowrap;
|
|
1613
|
+
overflow: hidden;
|
|
1614
|
+
text-overflow: ellipsis;
|
|
1072
1615
|
}
|
|
1073
|
-
.di-
|
|
1074
|
-
|
|
1075
|
-
|
|
1616
|
+
.di-color-select {
|
|
1617
|
+
display: grid;
|
|
1618
|
+
grid-template-columns: 24px minmax(0, 1fr);
|
|
1619
|
+
align-items: center;
|
|
1620
|
+
gap: 6px;
|
|
1621
|
+
width: 100%;
|
|
1622
|
+
min-width: 0;
|
|
1623
|
+
height: 32px;
|
|
1624
|
+
padding: 0 8px 0 4px;
|
|
1625
|
+
border: 1px solid #e5e7eb;
|
|
1626
|
+
border-radius: 6px;
|
|
1627
|
+
background: #fff;
|
|
1628
|
+
color: #111827;
|
|
1629
|
+
cursor: pointer;
|
|
1630
|
+
font-family: inherit;
|
|
1631
|
+
text-align: left;
|
|
1632
|
+
transition:
|
|
1633
|
+
border-color 0.12s,
|
|
1634
|
+
background 0.12s,
|
|
1635
|
+
color 0.12s;
|
|
1076
1636
|
}
|
|
1077
|
-
.di-
|
|
1078
|
-
|
|
1079
|
-
|
|
1637
|
+
.di-color-select:hover,
|
|
1638
|
+
.di-color-select:focus-visible {
|
|
1639
|
+
border-color: #c4b5fd;
|
|
1640
|
+
background: #faf5ff;
|
|
1641
|
+
outline: none;
|
|
1642
|
+
}
|
|
1643
|
+
.di-color-select--fill {
|
|
1644
|
+
height: 30px;
|
|
1645
|
+
border-radius: 7px;
|
|
1646
|
+
}
|
|
1647
|
+
.di-color-select--shadow {
|
|
1648
|
+
min-width: 0;
|
|
1649
|
+
}
|
|
1650
|
+
.di-color-select-swatch {
|
|
1651
|
+
display: flex;
|
|
1652
|
+
align-items: center;
|
|
1653
|
+
justify-content: center;
|
|
1654
|
+
width: 24px;
|
|
1655
|
+
height: 24px;
|
|
1656
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1657
|
+
border-radius: 6px;
|
|
1658
|
+
box-sizing: border-box;
|
|
1659
|
+
flex-shrink: 0;
|
|
1660
|
+
}
|
|
1661
|
+
.di-color-select-swatch--shadow {
|
|
1662
|
+
background: #fff;
|
|
1663
|
+
border-color: #e5e7eb;
|
|
1664
|
+
border-radius: 8px;
|
|
1665
|
+
}
|
|
1666
|
+
.di-color-select-copy {
|
|
1667
|
+
min-width: 0;
|
|
1668
|
+
display: flex;
|
|
1669
|
+
align-items: center;
|
|
1670
|
+
overflow: hidden;
|
|
1080
1671
|
}
|
|
1081
1672
|
.di-spinner {
|
|
1082
1673
|
display: flex;
|
|
@@ -1207,9 +1798,9 @@
|
|
|
1207
1798
|
color: #6b7280;
|
|
1208
1799
|
}
|
|
1209
1800
|
.di-modal-tab.--on {
|
|
1210
|
-
background: #
|
|
1211
|
-
border-color: #
|
|
1212
|
-
color: #
|
|
1801
|
+
background: #f5f3ff;
|
|
1802
|
+
border-color: #c4b5fd;
|
|
1803
|
+
color: #7c3aed;
|
|
1213
1804
|
font-weight: 600;
|
|
1214
1805
|
}
|
|
1215
1806
|
.di-modal-field {
|
|
@@ -1249,9 +1840,9 @@
|
|
|
1249
1840
|
color: #7c3aed;
|
|
1250
1841
|
}
|
|
1251
1842
|
.di-modal-opt-btn.--on {
|
|
1252
|
-
background: #
|
|
1253
|
-
border-color: #
|
|
1254
|
-
color: #
|
|
1843
|
+
background: #f5f3ff;
|
|
1844
|
+
border-color: #c4b5fd;
|
|
1845
|
+
color: #7c3aed;
|
|
1255
1846
|
}
|
|
1256
1847
|
.di-modal-select {
|
|
1257
1848
|
width: 100%;
|
|
@@ -1444,9 +2035,9 @@
|
|
|
1444
2035
|
color: #7c3aed;
|
|
1445
2036
|
}
|
|
1446
2037
|
.di-add-token-usage-btn.--on {
|
|
1447
|
-
background: #
|
|
1448
|
-
border-color: #
|
|
1449
|
-
color: #
|
|
2038
|
+
background: #f5f3ff;
|
|
2039
|
+
border-color: #c4b5fd;
|
|
2040
|
+
color: #7c3aed;
|
|
1450
2041
|
}
|
|
1451
2042
|
.di-add-token-input {
|
|
1452
2043
|
flex: 1;
|
|
@@ -1557,47 +2148,167 @@
|
|
|
1557
2148
|
}
|
|
1558
2149
|
.di-layout-grid {
|
|
1559
2150
|
display: grid;
|
|
1560
|
-
grid-template-columns:
|
|
1561
|
-
gap:
|
|
2151
|
+
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
|
|
2152
|
+
gap: 6px;
|
|
2153
|
+
align-items: stretch;
|
|
1562
2154
|
}
|
|
1563
2155
|
.di-layout-card {
|
|
1564
2156
|
min-width: 0;
|
|
1565
2157
|
border: 1px solid #e5e7eb;
|
|
1566
|
-
border-radius:
|
|
1567
|
-
padding:
|
|
2158
|
+
border-radius: 8px;
|
|
2159
|
+
padding: 6px;
|
|
1568
2160
|
background: #fff;
|
|
1569
2161
|
overflow: hidden;
|
|
1570
2162
|
}
|
|
2163
|
+
.di-layout-card--position,
|
|
2164
|
+
.di-layout-card--size {
|
|
2165
|
+
display: flex;
|
|
2166
|
+
flex-direction: column;
|
|
2167
|
+
gap: 5px;
|
|
2168
|
+
}
|
|
1571
2169
|
.di-layout-card-title {
|
|
1572
|
-
margin
|
|
1573
|
-
color: #
|
|
1574
|
-
font-size:
|
|
2170
|
+
margin: 0;
|
|
2171
|
+
color: #9ca3af;
|
|
2172
|
+
font-size: 10px;
|
|
1575
2173
|
font-weight: 700;
|
|
2174
|
+
line-height: 1;
|
|
2175
|
+
white-space: nowrap;
|
|
1576
2176
|
}
|
|
1577
|
-
.di-shadow-
|
|
1578
|
-
display:
|
|
1579
|
-
|
|
1580
|
-
gap:
|
|
2177
|
+
.di-shadow-panel {
|
|
2178
|
+
display: flex;
|
|
2179
|
+
flex-direction: column;
|
|
2180
|
+
gap: var(--di-control-gap-y);
|
|
2181
|
+
}
|
|
2182
|
+
.di-shadow-panel .di-section-title-row {
|
|
2183
|
+
margin-bottom: 0;
|
|
1581
2184
|
}
|
|
1582
2185
|
.di-shadow-card {
|
|
1583
2186
|
min-width: 0;
|
|
1584
|
-
|
|
2187
|
+
display: flex;
|
|
2188
|
+
flex-direction: column;
|
|
2189
|
+
gap: var(--di-control-gap-y);
|
|
2190
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
1585
2191
|
border-radius: 10px;
|
|
1586
|
-
|
|
1587
|
-
background: #fff;
|
|
1588
|
-
}
|
|
1589
|
-
.di-shadow-card-title {
|
|
1590
|
-
margin-bottom: 6px;
|
|
1591
|
-
color: #374151;
|
|
1592
|
-
font-size: 11px;
|
|
1593
|
-
font-weight: 700;
|
|
2192
|
+
background: #f8fafc;
|
|
1594
2193
|
}
|
|
1595
|
-
.di-shadow-
|
|
1596
|
-
|
|
1597
|
-
max-width: 320px;
|
|
2194
|
+
.di-shadow-card--empty {
|
|
2195
|
+
display: flex;
|
|
1598
2196
|
}
|
|
1599
|
-
.di-shadow-
|
|
1600
|
-
|
|
2197
|
+
.di-shadow-card--with-reset {
|
|
2198
|
+
display: flex;
|
|
2199
|
+
}
|
|
2200
|
+
.di-shadow-field-row {
|
|
2201
|
+
display: grid;
|
|
2202
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
2203
|
+
align-items: center;
|
|
2204
|
+
gap: var(--di-field-label-gap);
|
|
2205
|
+
min-width: 0;
|
|
2206
|
+
}
|
|
2207
|
+
.di-shadow-field-row--params {
|
|
2208
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
2209
|
+
border-radius: 10px;
|
|
2210
|
+
background: #f8fafc;
|
|
2211
|
+
}
|
|
2212
|
+
.di-shadow-add-action {
|
|
2213
|
+
justify-self: end;
|
|
2214
|
+
}
|
|
2215
|
+
.di-shadow-toolbar {
|
|
2216
|
+
display: grid;
|
|
2217
|
+
grid-template-columns: minmax(0, 1.35fr) 34px minmax(0, 1fr);
|
|
2218
|
+
align-items: center;
|
|
2219
|
+
gap: var(--di-field-label-gap);
|
|
2220
|
+
}
|
|
2221
|
+
.di-shadow-token-trigger {
|
|
2222
|
+
display: grid;
|
|
2223
|
+
grid-template-columns: minmax(0, 1fr) 8px;
|
|
2224
|
+
align-items: center;
|
|
2225
|
+
gap: var(--di-control-gap-x);
|
|
2226
|
+
min-width: 0;
|
|
2227
|
+
height: 32px;
|
|
2228
|
+
padding: 0 8px;
|
|
2229
|
+
border: 1px solid #e5e7eb;
|
|
2230
|
+
border-radius: 6px;
|
|
2231
|
+
background: #fff;
|
|
2232
|
+
color: #111827;
|
|
2233
|
+
font-family: inherit;
|
|
2234
|
+
cursor: pointer;
|
|
2235
|
+
text-align: left;
|
|
2236
|
+
}
|
|
2237
|
+
.di-shadow-token-trigger:hover,
|
|
2238
|
+
.di-shadow-token-trigger:focus-visible {
|
|
2239
|
+
border-color: #c4b5fd;
|
|
2240
|
+
background: #faf5ff;
|
|
2241
|
+
outline: none;
|
|
2242
|
+
}
|
|
2243
|
+
.di-shadow-token-label {
|
|
2244
|
+
color: #7c3aed;
|
|
2245
|
+
font-size: 12px;
|
|
2246
|
+
font-weight: 800;
|
|
2247
|
+
overflow: hidden;
|
|
2248
|
+
text-overflow: ellipsis;
|
|
2249
|
+
white-space: nowrap;
|
|
2250
|
+
}
|
|
2251
|
+
.di-shadow-token-trigger--custom .di-shadow-token-label {
|
|
2252
|
+
color: #111827;
|
|
2253
|
+
}
|
|
2254
|
+
.di-shadow-token-trigger--merged {
|
|
2255
|
+
grid-template-columns: 28px minmax(0, 1fr) 8px;
|
|
2256
|
+
gap: var(--di-field-label-gap);
|
|
2257
|
+
}
|
|
2258
|
+
.di-shadow-inline-chip {
|
|
2259
|
+
width: 28px;
|
|
2260
|
+
height: 28px;
|
|
2261
|
+
border-radius: 8px;
|
|
2262
|
+
border: 1px solid #e5e7eb;
|
|
2263
|
+
background: #fff;
|
|
2264
|
+
box-sizing: border-box;
|
|
2265
|
+
}
|
|
2266
|
+
.di-shadow-inline-copy {
|
|
2267
|
+
min-width: 0;
|
|
2268
|
+
display: flex;
|
|
2269
|
+
align-items: baseline;
|
|
2270
|
+
gap: var(--di-field-label-gap);
|
|
2271
|
+
}
|
|
2272
|
+
.di-shadow-inline-sub {
|
|
2273
|
+
min-width: 0;
|
|
2274
|
+
color: #94a3b8;
|
|
2275
|
+
font-family:
|
|
2276
|
+
ui-monospace,
|
|
2277
|
+
SFMono-Regular,
|
|
2278
|
+
Menlo,
|
|
2279
|
+
Monaco,
|
|
2280
|
+
Consolas,
|
|
2281
|
+
monospace;
|
|
2282
|
+
font-size: 11px;
|
|
2283
|
+
font-weight: 650;
|
|
2284
|
+
overflow: hidden;
|
|
2285
|
+
text-overflow: ellipsis;
|
|
2286
|
+
white-space: nowrap;
|
|
2287
|
+
}
|
|
2288
|
+
.di-shadow-custom-toolbar {
|
|
2289
|
+
position: relative;
|
|
2290
|
+
min-width: 0;
|
|
2291
|
+
display: grid;
|
|
2292
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2293
|
+
align-items: center;
|
|
2294
|
+
gap: var(--di-control-gap-x);
|
|
2295
|
+
transition: padding-right 0.12s;
|
|
2296
|
+
}
|
|
2297
|
+
.di-shadow-token-meta {
|
|
2298
|
+
min-width: 0;
|
|
2299
|
+
color: #64748b;
|
|
2300
|
+
font-size: 11px;
|
|
2301
|
+
font-weight: 650;
|
|
2302
|
+
overflow: hidden;
|
|
2303
|
+
text-overflow: ellipsis;
|
|
2304
|
+
white-space: nowrap;
|
|
2305
|
+
}
|
|
2306
|
+
.di-shadow-drop {
|
|
2307
|
+
min-width: 240px;
|
|
2308
|
+
max-width: 320px;
|
|
2309
|
+
}
|
|
2310
|
+
.di-shadow-drop-meta {
|
|
2311
|
+
min-width: 0;
|
|
1601
2312
|
display: flex;
|
|
1602
2313
|
flex-direction: column;
|
|
1603
2314
|
gap: 1px;
|
|
@@ -1631,82 +2342,188 @@
|
|
|
1631
2342
|
flex-direction: column;
|
|
1632
2343
|
gap: 2px;
|
|
1633
2344
|
}
|
|
2345
|
+
.di-shadow-custom-grid {
|
|
2346
|
+
display: grid;
|
|
2347
|
+
grid-template-columns: repeat(4, minmax(52px, 1fr));
|
|
2348
|
+
gap: var(--di-control-gap-x);
|
|
2349
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
2350
|
+
border: 0;
|
|
2351
|
+
border-radius: 10px;
|
|
2352
|
+
background: #f8fafc;
|
|
2353
|
+
}
|
|
2354
|
+
.di-shadow-custom-row {
|
|
2355
|
+
display: block;
|
|
2356
|
+
min-width: 0;
|
|
2357
|
+
}
|
|
2358
|
+
.di-shadow-custom-row--color {
|
|
2359
|
+
grid-column: 1 / -1;
|
|
2360
|
+
}
|
|
2361
|
+
.di-shadow-custom-label {
|
|
2362
|
+
color: #6b7280;
|
|
2363
|
+
font-size: 11px;
|
|
2364
|
+
font-weight: 700;
|
|
2365
|
+
line-height: 1.1;
|
|
2366
|
+
white-space: nowrap;
|
|
2367
|
+
}
|
|
2368
|
+
.di-shadow-custom-input {
|
|
2369
|
+
min-width: 0;
|
|
2370
|
+
width: 100%;
|
|
2371
|
+
height: 28px;
|
|
2372
|
+
padding: 0 8px 0 28px;
|
|
2373
|
+
border: 1px solid #e5e7eb;
|
|
2374
|
+
border-radius: 6px;
|
|
2375
|
+
background: #fff;
|
|
2376
|
+
color: #374151;
|
|
2377
|
+
font-family: monospace;
|
|
2378
|
+
font-size: 11px;
|
|
2379
|
+
box-sizing: border-box;
|
|
2380
|
+
outline: none;
|
|
2381
|
+
}
|
|
2382
|
+
.di-shadow-custom-input:hover,
|
|
2383
|
+
.di-shadow-custom-input:focus-visible {
|
|
2384
|
+
border-color: #c4b5fd;
|
|
2385
|
+
background: #faf5ff;
|
|
2386
|
+
color: #7c3aed;
|
|
2387
|
+
outline: none;
|
|
2388
|
+
}
|
|
1634
2389
|
.di-hex--wrap {
|
|
1635
2390
|
white-space: normal;
|
|
1636
2391
|
word-break: break-word;
|
|
1637
2392
|
line-height: 1.3;
|
|
1638
2393
|
}
|
|
1639
|
-
.di-
|
|
2394
|
+
.di-position-fields {
|
|
2395
|
+
display: flex;
|
|
2396
|
+
flex-direction: column;
|
|
2397
|
+
gap: 6px;
|
|
2398
|
+
min-width: 0;
|
|
2399
|
+
}
|
|
2400
|
+
.di-position-row {
|
|
1640
2401
|
display: grid;
|
|
1641
|
-
grid-template-columns:
|
|
1642
|
-
|
|
1643
|
-
gap: 4px;
|
|
2402
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2403
|
+
gap: 5px;
|
|
1644
2404
|
align-items: center;
|
|
1645
|
-
justify-items: center;
|
|
1646
|
-
justify-content: center;
|
|
1647
2405
|
}
|
|
1648
|
-
.di-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
2406
|
+
.di-position-axis {
|
|
2407
|
+
color: #6b7280;
|
|
2408
|
+
font-size: 12px;
|
|
2409
|
+
font-weight: 700;
|
|
2410
|
+
}
|
|
2411
|
+
.di-position-value {
|
|
2412
|
+
min-width: 0;
|
|
2413
|
+
height: 28px;
|
|
2414
|
+
padding: 0 8px;
|
|
1652
2415
|
border: 1px solid #e5e7eb;
|
|
1653
2416
|
border-radius: 6px;
|
|
1654
2417
|
background: #fff;
|
|
1655
|
-
color: #
|
|
1656
|
-
font-
|
|
1657
|
-
font-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
2418
|
+
color: #374151;
|
|
2419
|
+
font-family: monospace;
|
|
2420
|
+
font-size: 11px;
|
|
2421
|
+
text-align: left;
|
|
2422
|
+
cursor: text;
|
|
2423
|
+
overflow: hidden;
|
|
2424
|
+
text-overflow: clip;
|
|
2425
|
+
white-space: nowrap;
|
|
2426
|
+
outline: none;
|
|
2427
|
+
width: 100%;
|
|
2428
|
+
box-sizing: border-box;
|
|
1663
2429
|
}
|
|
1664
|
-
.di-
|
|
1665
|
-
.di-
|
|
2430
|
+
.di-position-value:hover,
|
|
2431
|
+
.di-position-value:focus-visible {
|
|
1666
2432
|
border-color: #c4b5fd;
|
|
1667
2433
|
background: #faf5ff;
|
|
1668
2434
|
color: #7c3aed;
|
|
1669
2435
|
outline: none;
|
|
1670
2436
|
}
|
|
1671
|
-
.di-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
justify-self: center;
|
|
2437
|
+
.di-number-stepper {
|
|
2438
|
+
position: relative;
|
|
2439
|
+
min-width: 0;
|
|
1675
2440
|
}
|
|
1676
|
-
.di-
|
|
1677
|
-
|
|
1678
|
-
grid-row: 2;
|
|
2441
|
+
.di-number-stepper .di-number-stepper-input {
|
|
2442
|
+
padding-right: 8px;
|
|
1679
2443
|
}
|
|
1680
|
-
.di-
|
|
1681
|
-
|
|
1682
|
-
grid-row: 2;
|
|
2444
|
+
.di-number-stepper--with-axis .di-number-stepper-input {
|
|
2445
|
+
padding-left: 28px;
|
|
1683
2446
|
}
|
|
1684
|
-
.di-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
border: 1px solid #e5e7eb;
|
|
1695
|
-
border-radius: 6px;
|
|
1696
|
-
background: #fff;
|
|
1697
|
-
color: #6b7280;
|
|
2447
|
+
.di-number-stepper--wide-axis .di-number-stepper-input {
|
|
2448
|
+
padding-left: 42px;
|
|
2449
|
+
}
|
|
2450
|
+
.di-field-axis {
|
|
2451
|
+
position: absolute;
|
|
2452
|
+
left: 9px;
|
|
2453
|
+
top: 50%;
|
|
2454
|
+
z-index: 1;
|
|
2455
|
+
transform: translateY(-50%);
|
|
2456
|
+
color: #94a3b8;
|
|
1698
2457
|
font-family: monospace;
|
|
1699
|
-
font-size:
|
|
1700
|
-
|
|
2458
|
+
font-size: 11px;
|
|
2459
|
+
font-weight: 500;
|
|
2460
|
+
line-height: 1;
|
|
2461
|
+
pointer-events: none;
|
|
2462
|
+
}
|
|
2463
|
+
.di-field-axis--wide {
|
|
2464
|
+
left: 9px;
|
|
2465
|
+
}
|
|
2466
|
+
.di-number-stepper-buttons {
|
|
2467
|
+
display: none;
|
|
2468
|
+
}
|
|
2469
|
+
.di-number-stepper-buttons button {
|
|
2470
|
+
position: relative;
|
|
2471
|
+
border: 0;
|
|
2472
|
+
padding: 0;
|
|
2473
|
+
background: transparent;
|
|
2474
|
+
color: #94a3b8;
|
|
2475
|
+
font-family: inherit;
|
|
2476
|
+
font-size: 0;
|
|
2477
|
+
line-height: 1;
|
|
2478
|
+
cursor: pointer;
|
|
2479
|
+
}
|
|
2480
|
+
.di-number-stepper-buttons button + button {
|
|
2481
|
+
border-top: 1px solid #eef2f7;
|
|
2482
|
+
}
|
|
2483
|
+
.di-number-stepper-buttons button::before {
|
|
2484
|
+
content: "";
|
|
2485
|
+
display: block;
|
|
2486
|
+
width: 8px;
|
|
2487
|
+
height: 5px;
|
|
2488
|
+
margin: auto;
|
|
2489
|
+
background-color: currentColor;
|
|
2490
|
+
mask: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 8px 5px no-repeat;
|
|
2491
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 8px 5px no-repeat;
|
|
2492
|
+
}
|
|
2493
|
+
.di-number-stepper-buttons button:first-child::before {
|
|
2494
|
+
transform: rotate(180deg);
|
|
2495
|
+
}
|
|
2496
|
+
.di-number-stepper-buttons button:last-child::before {
|
|
2497
|
+
transform: none;
|
|
2498
|
+
}
|
|
2499
|
+
.di-number-stepper-buttons button:hover,
|
|
2500
|
+
.di-number-stepper-buttons button:focus-visible {
|
|
2501
|
+
background: #f5f3ff;
|
|
2502
|
+
color: #7c3aed;
|
|
2503
|
+
outline: none;
|
|
1701
2504
|
}
|
|
1702
2505
|
.di-size-row {
|
|
1703
2506
|
display: grid;
|
|
1704
|
-
grid-template-columns:
|
|
1705
|
-
gap:
|
|
2507
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2508
|
+
gap: 5px;
|
|
1706
2509
|
align-items: center;
|
|
1707
2510
|
}
|
|
1708
2511
|
.di-size-row + .di-size-row {
|
|
1709
|
-
margin-top:
|
|
2512
|
+
margin-top: 0;
|
|
2513
|
+
}
|
|
2514
|
+
.di-size-field {
|
|
2515
|
+
position: relative;
|
|
2516
|
+
min-width: 0;
|
|
2517
|
+
--di-size-mode-inset: 9px;
|
|
2518
|
+
--di-size-mode-reserve: 23px;
|
|
2519
|
+
--di-size-mode-gap: 2px;
|
|
2520
|
+
}
|
|
2521
|
+
.di-size-field .di-number-stepper {
|
|
2522
|
+
width: 100%;
|
|
2523
|
+
min-width: 0;
|
|
2524
|
+
}
|
|
2525
|
+
.di-size-field .di-number-stepper--with-axis .di-size-value {
|
|
2526
|
+
padding-left: 24px;
|
|
1710
2527
|
}
|
|
1711
2528
|
.di-size-axis {
|
|
1712
2529
|
color: #6b7280;
|
|
@@ -1715,7 +2532,7 @@
|
|
|
1715
2532
|
}
|
|
1716
2533
|
.di-size-value {
|
|
1717
2534
|
min-width: 0;
|
|
1718
|
-
height:
|
|
2535
|
+
height: 28px;
|
|
1719
2536
|
padding: 0 8px;
|
|
1720
2537
|
border: 1px solid #e5e7eb;
|
|
1721
2538
|
border-radius: 6px;
|
|
@@ -1726,12 +2543,15 @@
|
|
|
1726
2543
|
text-align: left;
|
|
1727
2544
|
cursor: text;
|
|
1728
2545
|
overflow: hidden;
|
|
1729
|
-
text-overflow:
|
|
2546
|
+
text-overflow: clip;
|
|
1730
2547
|
white-space: nowrap;
|
|
1731
2548
|
outline: none;
|
|
1732
2549
|
width: 100%;
|
|
1733
2550
|
box-sizing: border-box;
|
|
1734
2551
|
}
|
|
2552
|
+
.di-size-field .di-size-value {
|
|
2553
|
+
padding-right: calc(var(--di-size-mode-inset) + var(--di-size-mode-reserve) + var(--di-size-mode-gap));
|
|
2554
|
+
}
|
|
1735
2555
|
.di-size-value:hover,
|
|
1736
2556
|
.di-size-value:focus-visible {
|
|
1737
2557
|
border-color: #c4b5fd;
|
|
@@ -1740,29 +2560,36 @@
|
|
|
1740
2560
|
outline: none;
|
|
1741
2561
|
}
|
|
1742
2562
|
.di-size-mode-select {
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
2563
|
+
position: absolute;
|
|
2564
|
+
top: 50%;
|
|
2565
|
+
right: var(--di-size-mode-inset);
|
|
2566
|
+
z-index: 2;
|
|
2567
|
+
transform: translateY(-50%);
|
|
2568
|
+
height: 22px;
|
|
2569
|
+
border-radius: 0;
|
|
2570
|
+
border: 0;
|
|
1746
2571
|
min-width: 0;
|
|
1747
|
-
width:
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
background
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
color: #111827;
|
|
1755
|
-
font-size: 11px;
|
|
2572
|
+
width: fit-content;
|
|
2573
|
+
max-width: max-content;
|
|
2574
|
+
padding: 2px;
|
|
2575
|
+
background: transparent;
|
|
2576
|
+
color: #64748b;
|
|
2577
|
+
font-size: 10px;
|
|
2578
|
+
font-weight: 650;
|
|
1756
2579
|
font-family: inherit;
|
|
1757
2580
|
cursor: pointer;
|
|
1758
2581
|
outline: none;
|
|
2582
|
+
text-align: center;
|
|
2583
|
+
text-align-last: center;
|
|
1759
2584
|
appearance: none;
|
|
1760
2585
|
-webkit-appearance: none;
|
|
2586
|
+
field-sizing: content;
|
|
2587
|
+
box-sizing: border-box;
|
|
2588
|
+
overflow: hidden;
|
|
1761
2589
|
}
|
|
1762
2590
|
.di-size-mode-select:hover,
|
|
1763
2591
|
.di-size-mode-select:focus-visible {
|
|
1764
|
-
|
|
1765
|
-
background: #faf5ff;
|
|
2592
|
+
background: transparent;
|
|
1766
2593
|
color: #7c3aed;
|
|
1767
2594
|
}
|
|
1768
2595
|
.di-space-row {
|
|
@@ -1993,41 +2820,179 @@
|
|
|
1993
2820
|
color: #9ca3af;
|
|
1994
2821
|
line-height: 1.2;
|
|
1995
2822
|
}
|
|
1996
|
-
.di-
|
|
2823
|
+
.di-space-row {
|
|
1997
2824
|
display: flex;
|
|
2825
|
+
flex-direction: column;
|
|
1998
2826
|
gap: 6px;
|
|
1999
|
-
flex-wrap: nowrap;
|
|
2000
|
-
overflow-x: auto;
|
|
2001
|
-
padding-bottom: 4px;
|
|
2002
|
-
scrollbar-width: thin;
|
|
2003
2827
|
}
|
|
2004
|
-
.di-
|
|
2828
|
+
.di-space-card {
|
|
2829
|
+
min-width: 0;
|
|
2005
2830
|
display: flex;
|
|
2006
2831
|
flex-direction: column;
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
border-radius: 8px;
|
|
2013
|
-
border: 1px solid #e5e7eb;
|
|
2014
|
-
background: #fff;
|
|
2015
|
-
cursor: pointer;
|
|
2016
|
-
transition: all 0.12s;
|
|
2017
|
-
gap: 1px;
|
|
2832
|
+
gap: 6px;
|
|
2833
|
+
padding: 0;
|
|
2834
|
+
border: 0;
|
|
2835
|
+
border-radius: 0;
|
|
2836
|
+
background: transparent;
|
|
2018
2837
|
}
|
|
2019
|
-
.di-
|
|
2020
|
-
|
|
2021
|
-
|
|
2838
|
+
.di-space-row-head {
|
|
2839
|
+
display: grid;
|
|
2840
|
+
grid-template-columns: 52px minmax(106px, 132px) minmax(0, 1fr);
|
|
2841
|
+
align-items: center;
|
|
2842
|
+
gap: 8px;
|
|
2843
|
+
min-width: 0;
|
|
2022
2844
|
}
|
|
2023
|
-
.di-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2845
|
+
.di-space-control-line {
|
|
2846
|
+
position: relative;
|
|
2847
|
+
min-width: 0;
|
|
2848
|
+
display: flex;
|
|
2849
|
+
align-items: center;
|
|
2850
|
+
gap: 6px;
|
|
2851
|
+
transition: padding-right 0.12s;
|
|
2852
|
+
}
|
|
2853
|
+
.di-space-title {
|
|
2854
|
+
color: #374151;
|
|
2855
|
+
font-size: 11px;
|
|
2856
|
+
font-weight: 700;
|
|
2857
|
+
white-space: nowrap;
|
|
2858
|
+
}
|
|
2859
|
+
.di-space-token-trigger {
|
|
2860
|
+
display: grid;
|
|
2861
|
+
grid-template-columns: auto minmax(0, 1fr) 8px;
|
|
2862
|
+
align-items: center;
|
|
2863
|
+
gap: 5px;
|
|
2864
|
+
min-width: 0;
|
|
2865
|
+
height: 30px;
|
|
2866
|
+
padding: 0 8px;
|
|
2867
|
+
border: 1px solid #e5e7eb;
|
|
2868
|
+
border-radius: 6px;
|
|
2869
|
+
background: #fff;
|
|
2870
|
+
color: #111827;
|
|
2871
|
+
font-family: inherit;
|
|
2872
|
+
cursor: pointer;
|
|
2873
|
+
text-align: left;
|
|
2874
|
+
}
|
|
2875
|
+
.di-space-token-trigger:hover,
|
|
2876
|
+
.di-space-token-trigger:focus-visible {
|
|
2877
|
+
border-color: #c4b5fd;
|
|
2878
|
+
background: #faf5ff;
|
|
2879
|
+
outline: none;
|
|
2880
|
+
}
|
|
2881
|
+
.di-space-token-label {
|
|
2882
|
+
color: #7c3aed;
|
|
2883
|
+
font-size: 12px;
|
|
2884
|
+
font-weight: 800;
|
|
2885
|
+
white-space: nowrap;
|
|
2886
|
+
}
|
|
2887
|
+
.di-space-token-trigger--empty .di-space-token-label,
|
|
2888
|
+
.di-token-name--empty {
|
|
2889
|
+
color: #9ca3af;
|
|
2890
|
+
}
|
|
2891
|
+
.di-space-token-meta {
|
|
2892
|
+
min-width: 0;
|
|
2893
|
+
color: #64748b;
|
|
2894
|
+
font-size: 11px;
|
|
2895
|
+
font-weight: 650;
|
|
2896
|
+
overflow: hidden;
|
|
2897
|
+
text-overflow: ellipsis;
|
|
2898
|
+
white-space: nowrap;
|
|
2899
|
+
}
|
|
2900
|
+
.di-space-summary {
|
|
2901
|
+
min-width: 0;
|
|
2902
|
+
color: #64748b;
|
|
2903
|
+
font-size: 11px;
|
|
2904
|
+
font-weight: 600;
|
|
2905
|
+
overflow: hidden;
|
|
2906
|
+
text-overflow: ellipsis;
|
|
2907
|
+
white-space: nowrap;
|
|
2908
|
+
}
|
|
2909
|
+
.di-space-token-menu {
|
|
2910
|
+
min-width: 220px;
|
|
2911
|
+
max-width: 300px;
|
|
2912
|
+
}
|
|
2913
|
+
.di-space-custom-grid {
|
|
2914
|
+
display: grid;
|
|
2915
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2916
|
+
gap: 6px;
|
|
2917
|
+
padding: 6px;
|
|
2918
|
+
border: 1px solid #eef2f7;
|
|
2919
|
+
border-radius: 8px;
|
|
2920
|
+
background: #fbfdff;
|
|
2921
|
+
}
|
|
2922
|
+
.di-space-custom-grid--gap {
|
|
2923
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2924
|
+
}
|
|
2925
|
+
.di-space-custom-row {
|
|
2926
|
+
display: grid;
|
|
2927
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2928
|
+
align-items: center;
|
|
2929
|
+
gap: 5px;
|
|
2930
|
+
min-width: 0;
|
|
2931
|
+
}
|
|
2932
|
+
.di-space-custom-label {
|
|
2933
|
+
color: #6b7280;
|
|
2934
|
+
font-size: 11px;
|
|
2935
|
+
font-weight: 700;
|
|
2936
|
+
line-height: 1.1;
|
|
2937
|
+
white-space: nowrap;
|
|
2938
|
+
}
|
|
2939
|
+
.di-space-custom-input {
|
|
2940
|
+
min-width: 0;
|
|
2941
|
+
width: 100%;
|
|
2942
|
+
height: 28px;
|
|
2943
|
+
padding: 0 8px;
|
|
2944
|
+
border: 1px solid #e5e7eb;
|
|
2945
|
+
border-radius: 6px;
|
|
2946
|
+
background: #fff;
|
|
2947
|
+
color: #374151;
|
|
2948
|
+
font-family: monospace;
|
|
2949
|
+
font-size: 11px;
|
|
2950
|
+
box-sizing: border-box;
|
|
2951
|
+
outline: none;
|
|
2952
|
+
}
|
|
2953
|
+
.di-space-custom-input:hover,
|
|
2954
|
+
.di-space-custom-input:focus-visible {
|
|
2955
|
+
border-color: #c4b5fd;
|
|
2956
|
+
background: #faf5ff;
|
|
2957
|
+
color: #7c3aed;
|
|
2958
|
+
outline: none;
|
|
2959
|
+
}
|
|
2960
|
+
.di-preset-row {
|
|
2961
|
+
display: flex;
|
|
2962
|
+
gap: 6px;
|
|
2963
|
+
flex-wrap: nowrap;
|
|
2964
|
+
overflow-x: auto;
|
|
2965
|
+
padding-bottom: 4px;
|
|
2966
|
+
scrollbar-width: thin;
|
|
2967
|
+
}
|
|
2968
|
+
.di-preset {
|
|
2969
|
+
display: flex;
|
|
2970
|
+
flex-direction: column;
|
|
2971
|
+
align-items: center;
|
|
2972
|
+
justify-content: center;
|
|
2973
|
+
flex: 0 0 60px;
|
|
2974
|
+
min-width: 60px;
|
|
2975
|
+
padding: 6px 10px;
|
|
2976
|
+
border-radius: 8px;
|
|
2977
|
+
border: 1px solid #e5e7eb;
|
|
2978
|
+
background: #fff;
|
|
2979
|
+
cursor: pointer;
|
|
2980
|
+
transition: all 0.12s;
|
|
2981
|
+
gap: 1px;
|
|
2982
|
+
}
|
|
2983
|
+
.di-preset:hover {
|
|
2984
|
+
border-color: #c4b5fd;
|
|
2985
|
+
background: #faf5ff;
|
|
2986
|
+
}
|
|
2987
|
+
.di-preset--on {
|
|
2988
|
+
border-color: #c4b5fd;
|
|
2989
|
+
background: #f5f3ff;
|
|
2990
|
+
color: #7c3aed;
|
|
2991
|
+
box-shadow: inset 0 0 0 1px #c4b5fd;
|
|
2027
2992
|
}
|
|
2028
2993
|
.di-preset--on:hover {
|
|
2029
|
-
background: #
|
|
2030
|
-
border-color: #
|
|
2994
|
+
background: #ede9fe;
|
|
2995
|
+
border-color: #a78bfa;
|
|
2031
2996
|
}
|
|
2032
2997
|
.di-preset-label {
|
|
2033
2998
|
font-size: 11px;
|
|
@@ -2042,7 +3007,8 @@
|
|
|
2042
3007
|
opacity: 0.75;
|
|
2043
3008
|
}
|
|
2044
3009
|
.di-preset--on .di-preset-sub {
|
|
2045
|
-
opacity: 0.
|
|
3010
|
+
opacity: 0.9;
|
|
3011
|
+
color: #8b5cf6;
|
|
2046
3012
|
}
|
|
2047
3013
|
.di-scope-row {
|
|
2048
3014
|
display: flex;
|
|
@@ -2073,13 +3039,14 @@
|
|
|
2073
3039
|
background: #faf5ff;
|
|
2074
3040
|
}
|
|
2075
3041
|
.di-scope-btn--on {
|
|
2076
|
-
border-color: #
|
|
2077
|
-
background: #
|
|
2078
|
-
color: #
|
|
3042
|
+
border-color: #c4b5fd;
|
|
3043
|
+
background: #f5f3ff;
|
|
3044
|
+
color: #7c3aed;
|
|
3045
|
+
box-shadow: inset 0 0 0 1px #c4b5fd;
|
|
2079
3046
|
}
|
|
2080
3047
|
.di-scope-btn--on:hover {
|
|
2081
|
-
background: #
|
|
2082
|
-
border-color: #
|
|
3048
|
+
background: #ede9fe;
|
|
3049
|
+
border-color: #a78bfa;
|
|
2083
3050
|
}
|
|
2084
3051
|
.di-scope-count {
|
|
2085
3052
|
display: inline-flex;
|
|
@@ -2096,8 +3063,8 @@
|
|
|
2096
3063
|
margin-left: 4px;
|
|
2097
3064
|
}
|
|
2098
3065
|
.di-scope-btn--on .di-scope-count {
|
|
2099
|
-
background: rgba(
|
|
2100
|
-
color: #
|
|
3066
|
+
background: rgba(124, 58, 237, 0.12);
|
|
3067
|
+
color: #7c3aed;
|
|
2101
3068
|
}
|
|
2102
3069
|
.di-note {
|
|
2103
3070
|
width: 100%;
|
|
@@ -2214,14 +3181,9 @@
|
|
|
2214
3181
|
flex-direction: column;
|
|
2215
3182
|
gap: 10px;
|
|
2216
3183
|
}
|
|
2217
|
-
.di-inbox-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
border-radius: 999px;
|
|
2221
|
-
background: rgba(124, 58, 237, 0.1);
|
|
2222
|
-
color: #7c3aed;
|
|
2223
|
-
font-size: 12px;
|
|
2224
|
-
font-weight: 700;
|
|
3184
|
+
.di-inbox-list--stored {
|
|
3185
|
+
padding-top: 2px;
|
|
3186
|
+
border-top: 1px dashed #e5e7eb;
|
|
2225
3187
|
}
|
|
2226
3188
|
.di-inbox-card {
|
|
2227
3189
|
display: flex;
|
|
@@ -2234,7 +3196,7 @@
|
|
|
2234
3196
|
}
|
|
2235
3197
|
.di-inbox-card-head {
|
|
2236
3198
|
display: flex;
|
|
2237
|
-
align-items:
|
|
3199
|
+
align-items: center;
|
|
2238
3200
|
justify-content: space-between;
|
|
2239
3201
|
gap: 10px;
|
|
2240
3202
|
}
|
|
@@ -2244,7 +3206,14 @@
|
|
|
2244
3206
|
.di-inbox-target {
|
|
2245
3207
|
font-size: 13px;
|
|
2246
3208
|
font-weight: 700;
|
|
2247
|
-
color: #
|
|
3209
|
+
color: var(--color-text-strong, #0f172a);
|
|
3210
|
+
word-break: break-word;
|
|
3211
|
+
}
|
|
3212
|
+
.di-inbox-meta {
|
|
3213
|
+
margin-top: 2px;
|
|
3214
|
+
font-size: 11px;
|
|
3215
|
+
line-height: 1.35;
|
|
3216
|
+
color: #94a3b8;
|
|
2248
3217
|
word-break: break-word;
|
|
2249
3218
|
}
|
|
2250
3219
|
.di-inbox-note {
|
|
@@ -2263,7 +3232,7 @@
|
|
|
2263
3232
|
}
|
|
2264
3233
|
.di-inbox-change-item {
|
|
2265
3234
|
display: flex;
|
|
2266
|
-
align-items:
|
|
3235
|
+
align-items: center;
|
|
2267
3236
|
justify-content: space-between;
|
|
2268
3237
|
gap: 10px;
|
|
2269
3238
|
color: #4b5563;
|
|
@@ -2292,4 +3261,496 @@
|
|
|
2292
3261
|
font-size: 11px;
|
|
2293
3262
|
line-height: 1.4;
|
|
2294
3263
|
}
|
|
3264
|
+
.di-inbox-icon-btn {
|
|
3265
|
+
flex: 0 0 auto;
|
|
3266
|
+
width: 24px;
|
|
3267
|
+
height: 24px;
|
|
3268
|
+
border: 1px solid #e2e8f0;
|
|
3269
|
+
border-radius: 7px;
|
|
3270
|
+
background: #fff;
|
|
3271
|
+
color: #64748b;
|
|
3272
|
+
font-size: 18px;
|
|
3273
|
+
line-height: 1;
|
|
3274
|
+
font-weight: 800;
|
|
3275
|
+
cursor: pointer;
|
|
3276
|
+
display: inline-flex;
|
|
3277
|
+
align-items: center;
|
|
3278
|
+
justify-content: center;
|
|
3279
|
+
box-sizing: border-box;
|
|
3280
|
+
}
|
|
3281
|
+
.di-inbox-icon-btn:hover {
|
|
3282
|
+
border-color: #c4b5fd;
|
|
3283
|
+
color: #7c3aed;
|
|
3284
|
+
}
|
|
3285
|
+
.di-inbox-icon-btn svg {
|
|
3286
|
+
width: 14px;
|
|
3287
|
+
height: 14px;
|
|
3288
|
+
flex: 0 0 auto;
|
|
3289
|
+
}
|
|
3290
|
+
.di-inbox-icon-btn--mini {
|
|
3291
|
+
width: 24px;
|
|
3292
|
+
height: 24px;
|
|
3293
|
+
}
|
|
3294
|
+
.di-tool-row {
|
|
3295
|
+
display: grid;
|
|
3296
|
+
grid-template-columns: 52px minmax(0, 1fr);
|
|
3297
|
+
align-items: center;
|
|
3298
|
+
gap: var(--di-field-label-gap);
|
|
3299
|
+
min-height: 44px;
|
|
3300
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
3301
|
+
border-radius: 10px;
|
|
3302
|
+
background: #f8fafc;
|
|
3303
|
+
box-sizing: border-box;
|
|
3304
|
+
}
|
|
3305
|
+
.di-tool-row--empty {
|
|
3306
|
+
grid-template-columns: minmax(0, 1fr) 24px;
|
|
3307
|
+
}
|
|
3308
|
+
.di-tool-row--with-reset {
|
|
3309
|
+
grid-template-columns: 52px minmax(0, 1fr) 24px;
|
|
3310
|
+
}
|
|
3311
|
+
.di-tool-row .di-section-title {
|
|
3312
|
+
margin-bottom: 0;
|
|
3313
|
+
}
|
|
3314
|
+
.di-text-section .di-note--sm {
|
|
3315
|
+
min-height: 44px;
|
|
3316
|
+
margin-bottom: 6px;
|
|
3317
|
+
border-radius: 10px;
|
|
3318
|
+
}
|
|
3319
|
+
.di-text-section .di-typography-toolbar {
|
|
3320
|
+
gap: var(--di-control-gap-x);
|
|
3321
|
+
padding: 6px;
|
|
3322
|
+
border-radius: 10px;
|
|
3323
|
+
background: #f8fafc;
|
|
3324
|
+
}
|
|
3325
|
+
.di-text-section .di-typography-control {
|
|
3326
|
+
height: 30px;
|
|
3327
|
+
border-radius: 7px;
|
|
3328
|
+
}
|
|
3329
|
+
.di-text-card {
|
|
3330
|
+
display: flex;
|
|
3331
|
+
flex-direction: column;
|
|
3332
|
+
gap: var(--di-control-gap-y);
|
|
3333
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
3334
|
+
border: 0;
|
|
3335
|
+
border-radius: 10px;
|
|
3336
|
+
background: #f8fafc;
|
|
3337
|
+
}
|
|
3338
|
+
.di-text-field-row {
|
|
3339
|
+
display: grid;
|
|
3340
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
3341
|
+
align-items: center;
|
|
3342
|
+
gap: var(--di-field-label-gap);
|
|
3343
|
+
min-width: 0;
|
|
3344
|
+
}
|
|
3345
|
+
.di-text-field-row--style {
|
|
3346
|
+
align-items: center;
|
|
3347
|
+
}
|
|
3348
|
+
.di-text-field-label {
|
|
3349
|
+
color: #9ca3af;
|
|
3350
|
+
font-size: 10px;
|
|
3351
|
+
font-weight: 800;
|
|
3352
|
+
line-height: 1.2;
|
|
3353
|
+
white-space: nowrap;
|
|
3354
|
+
}
|
|
3355
|
+
.di-text-card .di-note--sm {
|
|
3356
|
+
min-height: 30px;
|
|
3357
|
+
margin-bottom: 0;
|
|
3358
|
+
padding: 6px 9px;
|
|
3359
|
+
border-radius: 7px;
|
|
3360
|
+
font-size: 12px;
|
|
3361
|
+
font-weight: 650;
|
|
3362
|
+
}
|
|
3363
|
+
.di-text-card .di-typography-toolbar {
|
|
3364
|
+
min-width: 0;
|
|
3365
|
+
gap: var(--di-control-gap-x);
|
|
3366
|
+
padding: 0;
|
|
3367
|
+
border-radius: 0;
|
|
3368
|
+
background: transparent;
|
|
3369
|
+
}
|
|
3370
|
+
.di-text-card .di-typography-toolbar:not(.di-typography-toolbar--custom) {
|
|
3371
|
+
grid-template-columns: max-content;
|
|
3372
|
+
justify-content: start;
|
|
3373
|
+
}
|
|
3374
|
+
.di-text-card .di-typography-toolbar:not(.di-typography-toolbar--custom) .di-typography-control-wrap {
|
|
3375
|
+
width: max-content;
|
|
3376
|
+
}
|
|
3377
|
+
.di-text-card .di-typography-toolbar--custom {
|
|
3378
|
+
position: relative;
|
|
3379
|
+
grid-template-columns: max-content max-content minmax(64px, 1fr);
|
|
3380
|
+
transition: padding-right 0.12s;
|
|
3381
|
+
}
|
|
3382
|
+
.di-text-card:hover .di-typography-toolbar--custom,
|
|
3383
|
+
.di-text-card:focus-within .di-typography-toolbar--custom,
|
|
3384
|
+
.di-shadow-card:hover .di-shadow-custom-toolbar,
|
|
3385
|
+
.di-shadow-card:focus-within .di-shadow-custom-toolbar {
|
|
3386
|
+
padding-right: 24px;
|
|
3387
|
+
}
|
|
3388
|
+
.di-text-card .di-typography-toolbar--custom .di-typography-control-wrap:first-child,
|
|
3389
|
+
.di-text-card .di-typography-toolbar--custom .di-typography-control-wrap:nth-child(2) {
|
|
3390
|
+
justify-self: start;
|
|
3391
|
+
width: max-content;
|
|
3392
|
+
}
|
|
3393
|
+
.di-text-card .di-typography-control {
|
|
3394
|
+
height: 30px;
|
|
3395
|
+
padding: 0 6px;
|
|
3396
|
+
border-radius: 7px;
|
|
3397
|
+
}
|
|
3398
|
+
.di-text-card .di-typography-control--style-compact {
|
|
3399
|
+
grid-template-columns: max-content 8px;
|
|
3400
|
+
width: max-content;
|
|
3401
|
+
min-width: max-content;
|
|
3402
|
+
padding-inline: 10px;
|
|
3403
|
+
}
|
|
3404
|
+
.di-text-card .di-typography-control--size,
|
|
3405
|
+
.di-text-card .di-typography-control--weight {
|
|
3406
|
+
width: auto;
|
|
3407
|
+
padding-inline: 10px;
|
|
3408
|
+
}
|
|
3409
|
+
.di-text-card .di-typography-control--color {
|
|
3410
|
+
grid-template-columns: 24px minmax(0, 1fr);
|
|
3411
|
+
padding-left: 3px;
|
|
3412
|
+
}
|
|
3413
|
+
.di-layout-section .di-section-title,
|
|
3414
|
+
.di-shadow-section .di-section-title,
|
|
3415
|
+
.di-space-section .di-section-title {
|
|
3416
|
+
margin-bottom: var(--di-section-title-gap);
|
|
3417
|
+
}
|
|
3418
|
+
.di-layout-section .di-section-title-row .di-section-title,
|
|
3419
|
+
.di-shadow-section .di-section-title-row .di-section-title,
|
|
3420
|
+
.di-space-section .di-section-title-row .di-section-title {
|
|
3421
|
+
margin-bottom: 0;
|
|
3422
|
+
}
|
|
3423
|
+
.di-layout-section .di-layout-grid {
|
|
3424
|
+
grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
|
|
3425
|
+
gap: var(--di-control-gap-x);
|
|
3426
|
+
}
|
|
3427
|
+
.di-layout-section .di-layout-card {
|
|
3428
|
+
border: 0;
|
|
3429
|
+
border-radius: 10px;
|
|
3430
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
3431
|
+
background: #f8fafc;
|
|
3432
|
+
}
|
|
3433
|
+
.di-layout-section .di-layout-card--position,
|
|
3434
|
+
.di-layout-section .di-layout-card--size {
|
|
3435
|
+
gap: var(--di-control-gap-y);
|
|
3436
|
+
}
|
|
3437
|
+
.di-layout-section .di-layout-card--size {
|
|
3438
|
+
display: grid;
|
|
3439
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3440
|
+
align-content: start;
|
|
3441
|
+
}
|
|
3442
|
+
.di-layout-section .di-layout-card--alignment {
|
|
3443
|
+
grid-column: 1 / -1;
|
|
3444
|
+
display: grid;
|
|
3445
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
3446
|
+
align-items: center;
|
|
3447
|
+
gap: var(--di-field-label-gap);
|
|
3448
|
+
}
|
|
3449
|
+
.di-layout-section .di-layout-card-title {
|
|
3450
|
+
grid-column: 1 / -1;
|
|
3451
|
+
color: #9ca3af;
|
|
3452
|
+
font-size: 10px;
|
|
3453
|
+
font-weight: 800;
|
|
3454
|
+
line-height: 1;
|
|
3455
|
+
}
|
|
3456
|
+
.di-layout-section .di-position-fields {
|
|
3457
|
+
display: grid;
|
|
3458
|
+
grid-template-columns: repeat(auto-fit, minmax(min(72px, 100%), 1fr));
|
|
3459
|
+
gap: var(--di-control-gap-y);
|
|
3460
|
+
min-width: 0;
|
|
3461
|
+
}
|
|
3462
|
+
.di-layout-section .di-position-row,
|
|
3463
|
+
.di-layout-section .di-size-row {
|
|
3464
|
+
gap: var(--di-control-gap-x);
|
|
3465
|
+
}
|
|
3466
|
+
.di-layout-section .di-position-value,
|
|
3467
|
+
.di-layout-section .di-size-value {
|
|
3468
|
+
height: 28px;
|
|
3469
|
+
border-radius: 7px;
|
|
3470
|
+
}
|
|
3471
|
+
.di-layout-section .di-size-row {
|
|
3472
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3473
|
+
}
|
|
3474
|
+
.di-layout-section .di-size-mode-select {
|
|
3475
|
+
height: 22px;
|
|
3476
|
+
}
|
|
3477
|
+
.di-alignment-fields {
|
|
3478
|
+
display: grid;
|
|
3479
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3480
|
+
gap: var(--di-control-gap-x);
|
|
3481
|
+
min-width: 0;
|
|
3482
|
+
}
|
|
3483
|
+
.di-alignment-field {
|
|
3484
|
+
position: relative;
|
|
3485
|
+
display: block;
|
|
3486
|
+
min-width: 0;
|
|
3487
|
+
}
|
|
3488
|
+
.di-alignment-label {
|
|
3489
|
+
position: absolute;
|
|
3490
|
+
left: 9px;
|
|
3491
|
+
top: 50%;
|
|
3492
|
+
z-index: 1;
|
|
3493
|
+
transform: translateY(-50%);
|
|
3494
|
+
color: #94a3b8;
|
|
3495
|
+
font-size: 11px;
|
|
3496
|
+
font-weight: 600;
|
|
3497
|
+
line-height: 1;
|
|
3498
|
+
pointer-events: none;
|
|
3499
|
+
}
|
|
3500
|
+
.di-alignment-select {
|
|
3501
|
+
width: 100%;
|
|
3502
|
+
min-width: 0;
|
|
3503
|
+
height: 28px;
|
|
3504
|
+
padding: 0 8px 0 42px;
|
|
3505
|
+
border: 1px solid #e5e7eb;
|
|
3506
|
+
border-radius: 7px;
|
|
3507
|
+
background: #fff;
|
|
3508
|
+
color: #374151;
|
|
3509
|
+
font-size: 11px;
|
|
3510
|
+
font-family: inherit;
|
|
3511
|
+
font-weight: 650;
|
|
3512
|
+
outline: none;
|
|
3513
|
+
cursor: pointer;
|
|
3514
|
+
appearance: none;
|
|
3515
|
+
-webkit-appearance: none;
|
|
3516
|
+
}
|
|
3517
|
+
.di-alignment-select:hover,
|
|
3518
|
+
.di-alignment-select:focus-visible {
|
|
3519
|
+
border-color: #c4b5fd;
|
|
3520
|
+
background: #faf5ff;
|
|
3521
|
+
color: #7c3aed;
|
|
3522
|
+
}
|
|
3523
|
+
.di-typography-control > svg,
|
|
3524
|
+
.di-shadow-token-trigger > svg,
|
|
3525
|
+
.di-space-token-trigger > svg,
|
|
3526
|
+
.di-border-control--width > svg,
|
|
3527
|
+
.di-border-control--line > svg,
|
|
3528
|
+
.di-border-control--radius > svg,
|
|
3529
|
+
.di-color-select-swatch svg {
|
|
3530
|
+
display: none;
|
|
3531
|
+
}
|
|
3532
|
+
.di-typography-control--style-compact,
|
|
3533
|
+
.di-typography-control--size,
|
|
3534
|
+
.di-border-control--width,
|
|
3535
|
+
.di-border-control--radius {
|
|
3536
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3537
|
+
}
|
|
3538
|
+
.di-typography-control--size-token,
|
|
3539
|
+
.di-typography-control--weight,
|
|
3540
|
+
.di-border-control--line {
|
|
3541
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
3542
|
+
}
|
|
3543
|
+
.di-shadow-token-trigger--merged {
|
|
3544
|
+
grid-template-columns: 28px minmax(0, 1fr);
|
|
3545
|
+
}
|
|
3546
|
+
.di-space-token-trigger {
|
|
3547
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
3548
|
+
}
|
|
3549
|
+
.di-shadow-section .di-shadow-panel {
|
|
3550
|
+
gap: var(--di-control-gap-y);
|
|
3551
|
+
}
|
|
3552
|
+
.di-shadow-section .di-shadow-card {
|
|
3553
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
3554
|
+
border-radius: 10px;
|
|
3555
|
+
background: #f8fafc;
|
|
3556
|
+
gap: var(--di-control-gap-y);
|
|
3557
|
+
}
|
|
3558
|
+
.di-shadow-section .di-shadow-field-row--params {
|
|
3559
|
+
padding: 0;
|
|
3560
|
+
border-radius: 0;
|
|
3561
|
+
background: transparent;
|
|
3562
|
+
}
|
|
3563
|
+
.di-shadow-section .di-shadow-field-row {
|
|
3564
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
3565
|
+
gap: var(--di-field-label-gap);
|
|
3566
|
+
}
|
|
3567
|
+
.di-shadow-section .di-shadow-field-row .di-text-field-label {
|
|
3568
|
+
color: #9ca3af;
|
|
3569
|
+
font-size: 10px;
|
|
3570
|
+
font-weight: 800;
|
|
3571
|
+
line-height: 1.2;
|
|
3572
|
+
}
|
|
3573
|
+
.di-shadow-section .di-shadow-toolbar {
|
|
3574
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3575
|
+
}
|
|
3576
|
+
.di-shadow-section .di-shadow-custom-toolbar {
|
|
3577
|
+
position: relative;
|
|
3578
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3579
|
+
transition: padding-right 0.12s;
|
|
3580
|
+
}
|
|
3581
|
+
.di-shadow-section .di-shadow-token-trigger {
|
|
3582
|
+
height: 30px;
|
|
3583
|
+
border-radius: 7px;
|
|
3584
|
+
}
|
|
3585
|
+
.di-shadow-section .di-shadow-token-trigger--custom {
|
|
3586
|
+
width: max-content;
|
|
3587
|
+
max-width: 100%;
|
|
3588
|
+
justify-self: start;
|
|
3589
|
+
}
|
|
3590
|
+
.di-shadow-section .di-shadow-preview-chip {
|
|
3591
|
+
width: 30px;
|
|
3592
|
+
height: 30px;
|
|
3593
|
+
flex-basis: 30px;
|
|
3594
|
+
border-radius: 9px;
|
|
3595
|
+
}
|
|
3596
|
+
.di-shadow-section .di-shadow-custom-grid,
|
|
3597
|
+
.di-space-section .di-space-custom-grid {
|
|
3598
|
+
border: 0;
|
|
3599
|
+
border-radius: 10px;
|
|
3600
|
+
background: #f8fafc;
|
|
3601
|
+
}
|
|
3602
|
+
.di-shadow-section .di-shadow-field-row--params .di-shadow-custom-grid {
|
|
3603
|
+
padding: 0;
|
|
3604
|
+
border-radius: 0;
|
|
3605
|
+
background: transparent;
|
|
3606
|
+
}
|
|
3607
|
+
.di-shadow-section .di-shadow-custom-input,
|
|
3608
|
+
.di-shadow-section .di-color-select,
|
|
3609
|
+
.di-space-section .di-space-custom-input {
|
|
3610
|
+
height: 28px;
|
|
3611
|
+
border-radius: 7px;
|
|
3612
|
+
}
|
|
3613
|
+
.di-shadow-section .di-color-select--fill {
|
|
3614
|
+
height: 30px;
|
|
3615
|
+
}
|
|
3616
|
+
.di-space-section .di-space-row {
|
|
3617
|
+
display: flex;
|
|
3618
|
+
flex-direction: column;
|
|
3619
|
+
--di-space-row-gap: 4px;
|
|
3620
|
+
--di-space-row-padding-block: 4px;
|
|
3621
|
+
gap: var(--di-space-row-gap);
|
|
3622
|
+
}
|
|
3623
|
+
.di-space-section .di-space-card {
|
|
3624
|
+
display: grid;
|
|
3625
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
3626
|
+
align-items: start;
|
|
3627
|
+
column-gap: var(--di-field-label-gap);
|
|
3628
|
+
row-gap: var(--di-control-gap-y);
|
|
3629
|
+
padding: var(--di-space-row-padding-block) var(--di-tool-row-padding-inline);
|
|
3630
|
+
border-radius: 10px;
|
|
3631
|
+
background: #f8fafc;
|
|
3632
|
+
}
|
|
3633
|
+
.di-space-section .di-space-card--gap {
|
|
3634
|
+
grid-column: auto;
|
|
3635
|
+
}
|
|
3636
|
+
.di-space-section .di-space-row-head {
|
|
3637
|
+
display: contents;
|
|
3638
|
+
}
|
|
3639
|
+
.di-space-section .di-space-title {
|
|
3640
|
+
align-self: center;
|
|
3641
|
+
color: #9ca3af;
|
|
3642
|
+
font-size: 10px;
|
|
3643
|
+
font-weight: 800;
|
|
3644
|
+
line-height: 1.2;
|
|
3645
|
+
}
|
|
3646
|
+
.di-space-section .di-space-control-line {
|
|
3647
|
+
grid-column: 2;
|
|
3648
|
+
align-self: center;
|
|
3649
|
+
flex-wrap: wrap;
|
|
3650
|
+
}
|
|
3651
|
+
.di-space-section .di-space-control-line--custom {
|
|
3652
|
+
display: flex;
|
|
3653
|
+
align-items: center;
|
|
3654
|
+
flex-wrap: wrap;
|
|
3655
|
+
width: 100%;
|
|
3656
|
+
gap: var(--di-control-gap-x);
|
|
3657
|
+
}
|
|
3658
|
+
.di-space-card:hover .di-space-control-line--custom,
|
|
3659
|
+
.di-space-card:focus-within .di-space-control-line--custom {
|
|
3660
|
+
padding-right: 0;
|
|
3661
|
+
}
|
|
3662
|
+
.di-space-section .di-space-control-line--sides {
|
|
3663
|
+
justify-content: start;
|
|
3664
|
+
}
|
|
3665
|
+
.di-space-section .di-space-control-line--gap {
|
|
3666
|
+
justify-content: start;
|
|
3667
|
+
}
|
|
3668
|
+
.di-space-section .di-source-action--field {
|
|
3669
|
+
position: static;
|
|
3670
|
+
flex: 0 0 0;
|
|
3671
|
+
width: 0;
|
|
3672
|
+
min-width: 0;
|
|
3673
|
+
opacity: 0;
|
|
3674
|
+
overflow: hidden;
|
|
3675
|
+
pointer-events: none;
|
|
3676
|
+
transform: none;
|
|
3677
|
+
}
|
|
3678
|
+
.di-space-card:hover .di-source-action--field,
|
|
3679
|
+
.di-space-card:focus-within .di-source-action--field {
|
|
3680
|
+
flex-basis: 18px;
|
|
3681
|
+
width: 18px;
|
|
3682
|
+
min-width: 18px;
|
|
3683
|
+
opacity: 1;
|
|
3684
|
+
pointer-events: auto;
|
|
3685
|
+
}
|
|
3686
|
+
.di-space-section .di-source-action--field:hover,
|
|
3687
|
+
.di-space-section .di-source-action--field:focus-visible {
|
|
3688
|
+
transform: none;
|
|
3689
|
+
}
|
|
3690
|
+
.di-space-section .di-space-token-trigger {
|
|
3691
|
+
height: 30px;
|
|
3692
|
+
border-radius: 7px;
|
|
3693
|
+
width: max-content;
|
|
3694
|
+
min-width: max-content;
|
|
3695
|
+
max-width: 100%;
|
|
3696
|
+
justify-self: start;
|
|
3697
|
+
grid-template-columns: max-content;
|
|
3698
|
+
}
|
|
3699
|
+
.di-space-section .di-space-token-trigger:not(.di-space-token-trigger--empty) {
|
|
3700
|
+
grid-template-columns: max-content max-content;
|
|
3701
|
+
gap: var(--di-field-label-gap);
|
|
3702
|
+
}
|
|
3703
|
+
.di-space-section .di-space-token-trigger--empty {
|
|
3704
|
+
grid-template-columns: max-content;
|
|
3705
|
+
width: max-content;
|
|
3706
|
+
min-width: max-content;
|
|
3707
|
+
}
|
|
3708
|
+
.di-space-section .di-space-summary {
|
|
3709
|
+
display: none;
|
|
3710
|
+
}
|
|
3711
|
+
.di-space-section .di-space-token-meta {
|
|
3712
|
+
display: block;
|
|
3713
|
+
color: #94a3b8;
|
|
3714
|
+
font-size: 11px;
|
|
3715
|
+
font-weight: 650;
|
|
3716
|
+
}
|
|
3717
|
+
.di-space-section .di-space-custom-grid {
|
|
3718
|
+
flex: 1 1 260px;
|
|
3719
|
+
min-width: 0;
|
|
3720
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3721
|
+
padding: 0;
|
|
3722
|
+
border-radius: 0;
|
|
3723
|
+
background: transparent;
|
|
3724
|
+
gap: var(--di-control-gap-x);
|
|
3725
|
+
}
|
|
3726
|
+
.di-space-section .di-space-control-line--custom .di-space-custom-grid {
|
|
3727
|
+
display: contents;
|
|
3728
|
+
}
|
|
3729
|
+
.di-space-section .di-space-control-line--sides .di-space-custom-row {
|
|
3730
|
+
flex: 0 0 var(--di-space-input-width, 60px);
|
|
3731
|
+
}
|
|
3732
|
+
.di-space-section .di-space-control-line--gap .di-space-custom-row {
|
|
3733
|
+
flex: 0 0 var(--di-space-input-width, 72px);
|
|
3734
|
+
}
|
|
3735
|
+
.di-space-section .di-space-custom-grid--gap {
|
|
3736
|
+
flex: 0 1 136px;
|
|
3737
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3738
|
+
}
|
|
3739
|
+
.di-space-section .di-space-custom-row {
|
|
3740
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3741
|
+
gap: 0;
|
|
3742
|
+
}
|
|
3743
|
+
.di-space-section .di-space-custom-label {
|
|
3744
|
+
font-size: 10px;
|
|
3745
|
+
}
|
|
3746
|
+
.di-space-section .di-space-custom-input {
|
|
3747
|
+
padding-right: 9px;
|
|
3748
|
+
min-width: 0;
|
|
3749
|
+
}
|
|
3750
|
+
.di-space-section .di-number-stepper--with-axis .di-space-custom-input {
|
|
3751
|
+
padding-left: 25px;
|
|
3752
|
+
}
|
|
3753
|
+
.di-space-section .di-space-custom-grid--gap .di-number-stepper--with-axis .di-space-custom-input {
|
|
3754
|
+
padding-left: 42px;
|
|
3755
|
+
}
|
|
2295
3756
|
/*# sourceMappingURL=index.css.map */
|