@lijinmei-810/dev-inspector 0.2.0 → 0.2.1
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/dist/dev-inspector.css +494 -160
- package/dist/index.cjs +688 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +478 -180
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +689 -178
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
package/dist/dev-inspector.css
CHANGED
|
@@ -48,167 +48,64 @@
|
|
|
48
48
|
transform: translateY(0);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
right: 72px;
|
|
55
|
-
bottom: 24px;
|
|
56
|
-
z-index: 99999;
|
|
57
|
-
width: 48px;
|
|
58
|
-
height: 48px;
|
|
59
|
-
border-radius: 50%;
|
|
60
|
-
border: none;
|
|
61
|
-
background: #1a1a1a;
|
|
62
|
-
color: #fff;
|
|
63
|
-
font-size: 11px;
|
|
64
|
-
font-weight: 700;
|
|
65
|
-
font-family: "PingFang SC", system-ui, sans-serif;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
box-shadow: 0 4px 16px rgba(0,0,0,0.35);
|
|
68
|
-
transition: background 0.15s, box-shadow 0.15s;
|
|
69
|
-
}
|
|
70
|
-
.di-dl-btn:hover { background: #333; box-shadow: 0 6px 20px rgba(0,0,0,0.45); }
|
|
71
|
-
|
|
72
|
-
/* ── 下载弹窗 ── */
|
|
73
|
-
.di-dl-modal {
|
|
74
|
-
position: fixed;
|
|
75
|
-
right: 72px;
|
|
76
|
-
bottom: 80px;
|
|
77
|
-
z-index: 99999;
|
|
78
|
-
width: 200px;
|
|
79
|
-
background: #fff;
|
|
80
|
-
border-radius: 12px;
|
|
81
|
-
box-shadow: 0 8px 32px rgba(0,0,0,0.18);
|
|
82
|
-
padding: 16px;
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
gap: 10px;
|
|
86
|
-
font-family: "PingFang SC", system-ui, sans-serif;
|
|
87
|
-
}
|
|
88
|
-
.di-dl-title {
|
|
89
|
-
font-size: 13px;
|
|
90
|
-
font-weight: 700;
|
|
91
|
-
color: #111;
|
|
92
|
-
}
|
|
93
|
-
.di-dl-row {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
justify-content: space-between;
|
|
97
|
-
gap: 8px;
|
|
98
|
-
font-size: 13px;
|
|
99
|
-
color: #333;
|
|
100
|
-
}
|
|
101
|
-
.di-dl-check-label {
|
|
102
|
-
display: flex;
|
|
51
|
+
.di-match-badge {
|
|
52
|
+
position: relative;
|
|
53
|
+
display: inline-flex;
|
|
103
54
|
align-items: center;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
.di-dl-detail-btn {
|
|
109
|
-
background: none;
|
|
110
|
-
border: none;
|
|
111
|
-
font-size: 11px;
|
|
112
|
-
color: #888;
|
|
113
|
-
cursor: pointer;
|
|
114
|
-
padding: 0;
|
|
115
|
-
white-space: nowrap;
|
|
116
|
-
text-decoration: underline;
|
|
117
|
-
}
|
|
118
|
-
.di-dl-detail-btn:hover { color: #333; }
|
|
119
|
-
.di-dl-file-list {
|
|
120
|
-
margin: -4px 0 0 0;
|
|
121
|
-
padding: 8px 10px;
|
|
122
|
-
background: #f5f5f5;
|
|
123
|
-
border-radius: 6px;
|
|
124
|
-
list-style: none;
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-direction: column;
|
|
127
|
-
gap: 6px;
|
|
128
|
-
}
|
|
129
|
-
.di-dl-file-list li {
|
|
130
|
-
display: flex;
|
|
131
|
-
flex-direction: column;
|
|
132
|
-
gap: 1px;
|
|
133
|
-
}
|
|
134
|
-
.di-dl-file-name {
|
|
135
|
-
font-size: 11px;
|
|
136
|
-
font-weight: 600;
|
|
137
|
-
color: #222;
|
|
138
|
-
font-family: "SF Mono", monospace;
|
|
139
|
-
}
|
|
140
|
-
.di-dl-file-desc {
|
|
55
|
+
justify-content: center;
|
|
56
|
+
height: 20px;
|
|
57
|
+
padding: 0 7px;
|
|
58
|
+
border-radius: 999px;
|
|
141
59
|
font-size: 10px;
|
|
142
|
-
|
|
143
|
-
line-height: 1
|
|
60
|
+
font-weight: 800;
|
|
61
|
+
line-height: 1;
|
|
62
|
+
white-space: nowrap;
|
|
63
|
+
cursor: default;
|
|
64
|
+
outline: none;
|
|
144
65
|
}
|
|
145
|
-
.di-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
66
|
+
.di-match-badge::after {
|
|
67
|
+
content: attr(data-tooltip);
|
|
68
|
+
position: absolute;
|
|
69
|
+
left: 50%;
|
|
70
|
+
bottom: calc(100% + 8px);
|
|
71
|
+
transform: translate(-50%, 4px);
|
|
72
|
+
width: max-content;
|
|
73
|
+
max-width: 220px;
|
|
74
|
+
padding: 7px 9px;
|
|
75
|
+
border-radius: 7px;
|
|
76
|
+
background: #0f172a;
|
|
149
77
|
color: #fff;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
font-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
/* ── 状态反馈 ── */
|
|
161
|
-
.di-dl-status {
|
|
162
|
-
display: flex;
|
|
163
|
-
align-items: center;
|
|
164
|
-
gap: 8px;
|
|
165
|
-
font-size: 12px;
|
|
166
|
-
color: #555;
|
|
167
|
-
padding: 4px 0;
|
|
78
|
+
font-size: 11px;
|
|
79
|
+
line-height: 1.35;
|
|
80
|
+
font-weight: 650;
|
|
81
|
+
box-shadow: 0 8px 24px rgba(15,23,42,0.18);
|
|
82
|
+
opacity: 0;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
transition: opacity 0.12s, transform 0.12s;
|
|
85
|
+
white-space: normal;
|
|
86
|
+
z-index: 20;
|
|
168
87
|
}
|
|
169
|
-
.di-
|
|
170
|
-
.di-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
border: 2px solid #ddd;
|
|
174
|
-
border-top-color: #1a1a1a;
|
|
175
|
-
border-radius: 50%;
|
|
176
|
-
animation: di-spin 0.7s linear infinite;
|
|
177
|
-
flex-shrink: 0;
|
|
88
|
+
.di-match-badge:hover::after,
|
|
89
|
+
.di-match-badge:focus-visible::after {
|
|
90
|
+
opacity: 1;
|
|
91
|
+
transform: translate(-50%, 0);
|
|
178
92
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
.di-dl-done {
|
|
183
|
-
display: flex;
|
|
184
|
-
flex-direction: column;
|
|
185
|
-
gap: 6px;
|
|
186
|
-
padding: 4px 0;
|
|
93
|
+
.di-match-badge--matched {
|
|
94
|
+
background: #ede9fe;
|
|
95
|
+
color: #7c3aed;
|
|
187
96
|
}
|
|
188
|
-
.di-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
color: #1a1a1a;
|
|
97
|
+
.di-match-badge--pending {
|
|
98
|
+
background: #f1f5f9;
|
|
99
|
+
color: #64748b;
|
|
192
100
|
}
|
|
193
|
-
.di-
|
|
194
|
-
|
|
195
|
-
color: #
|
|
196
|
-
font-family: "SF Mono", monospace;
|
|
197
|
-
word-break: break-all;
|
|
101
|
+
.di-match-badge--token {
|
|
102
|
+
background: #ede9fe;
|
|
103
|
+
color: #7c3aed;
|
|
198
104
|
}
|
|
199
|
-
.di-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
background: #f0f0f0;
|
|
203
|
-
border: none;
|
|
204
|
-
border-radius: 7px;
|
|
205
|
-
font-size: 12px;
|
|
206
|
-
font-weight: 500;
|
|
207
|
-
color: #333;
|
|
208
|
-
cursor: pointer;
|
|
209
|
-
transition: background 0.15s;
|
|
105
|
+
.di-match-badge--raw {
|
|
106
|
+
background: #eef2f7;
|
|
107
|
+
color: #64748b;
|
|
210
108
|
}
|
|
211
|
-
.di-dl-reveal-btn:hover { background: #e0e0e0; }
|
|
212
109
|
|
|
213
110
|
/* ── 高亮 ── */
|
|
214
111
|
.di-hover {
|
|
@@ -764,6 +661,22 @@
|
|
|
764
661
|
height: 36px;
|
|
765
662
|
}
|
|
766
663
|
|
|
664
|
+
.di-library-toolbar-actions {
|
|
665
|
+
display: flex;
|
|
666
|
+
align-items: center;
|
|
667
|
+
justify-content: flex-end;
|
|
668
|
+
gap: 8px;
|
|
669
|
+
flex-wrap: wrap;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.di-library-toolbar-actions .di-btn-save,
|
|
673
|
+
.di-library-toolbar-actions .di-library-workbench-soft-btn {
|
|
674
|
+
flex: 0 0 auto;
|
|
675
|
+
width: auto;
|
|
676
|
+
min-width: 104px;
|
|
677
|
+
height: 36px;
|
|
678
|
+
}
|
|
679
|
+
|
|
767
680
|
.di-library-workbench-table {
|
|
768
681
|
display: grid;
|
|
769
682
|
gap: 8px;
|
|
@@ -1433,6 +1346,7 @@
|
|
|
1433
1346
|
}
|
|
1434
1347
|
|
|
1435
1348
|
.di-library-edit-panel,
|
|
1349
|
+
.di-library-import-panel,
|
|
1436
1350
|
.di-library-detail-card {
|
|
1437
1351
|
display: grid;
|
|
1438
1352
|
gap: 12px;
|
|
@@ -1459,6 +1373,154 @@
|
|
|
1459
1373
|
gap: 6px;
|
|
1460
1374
|
}
|
|
1461
1375
|
|
|
1376
|
+
.di-library-import-option {
|
|
1377
|
+
display: grid;
|
|
1378
|
+
grid-template-columns: 22px minmax(0, 1fr) max-content;
|
|
1379
|
+
align-items: start;
|
|
1380
|
+
column-gap: 12px;
|
|
1381
|
+
row-gap: 8px;
|
|
1382
|
+
min-width: 0;
|
|
1383
|
+
padding: 14px;
|
|
1384
|
+
border: 1px solid #eef2f7;
|
|
1385
|
+
border-radius: 10px;
|
|
1386
|
+
background: #f8fafc;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
.di-library-import-steps {
|
|
1390
|
+
display: flex;
|
|
1391
|
+
flex-wrap: wrap;
|
|
1392
|
+
gap: 6px;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.di-library-import-steps span {
|
|
1396
|
+
height: 24px;
|
|
1397
|
+
display: inline-flex;
|
|
1398
|
+
align-items: center;
|
|
1399
|
+
padding: 0 8px;
|
|
1400
|
+
border-radius: 999px;
|
|
1401
|
+
background: #f8fafc;
|
|
1402
|
+
color: #64748b;
|
|
1403
|
+
font-size: 10px;
|
|
1404
|
+
font-weight: 800;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.di-library-import-option--primary {
|
|
1408
|
+
border-color: #ede9fe;
|
|
1409
|
+
background: #faf5ff;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.di-library-import-option > div {
|
|
1413
|
+
min-width: 0;
|
|
1414
|
+
display: contents;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
.di-library-import-option svg {
|
|
1418
|
+
grid-column: 1;
|
|
1419
|
+
grid-row: 1;
|
|
1420
|
+
align-self: center;
|
|
1421
|
+
justify-self: center;
|
|
1422
|
+
color: #7c3aed;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
.di-library-import-option strong {
|
|
1426
|
+
grid-column: 2;
|
|
1427
|
+
grid-row: 1;
|
|
1428
|
+
align-self: center;
|
|
1429
|
+
min-width: 0;
|
|
1430
|
+
color: #111827;
|
|
1431
|
+
font-size: 13px;
|
|
1432
|
+
font-weight: 900;
|
|
1433
|
+
overflow: hidden;
|
|
1434
|
+
text-overflow: ellipsis;
|
|
1435
|
+
white-space: nowrap;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
.di-library-import-option span {
|
|
1439
|
+
grid-column: 2;
|
|
1440
|
+
grid-row: 2;
|
|
1441
|
+
min-width: 0;
|
|
1442
|
+
color: #64748b;
|
|
1443
|
+
font-size: 11px;
|
|
1444
|
+
font-weight: 700;
|
|
1445
|
+
line-height: 1.4;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.di-library-import-option button,
|
|
1449
|
+
.di-library-import-option input::file-selector-button {
|
|
1450
|
+
grid-column: 3;
|
|
1451
|
+
grid-row: 1;
|
|
1452
|
+
align-self: center;
|
|
1453
|
+
justify-self: end;
|
|
1454
|
+
min-width: 72px;
|
|
1455
|
+
height: 28px;
|
|
1456
|
+
padding: 0 9px;
|
|
1457
|
+
border: 1px solid #e5e7eb;
|
|
1458
|
+
border-radius: 8px;
|
|
1459
|
+
background: #fff;
|
|
1460
|
+
color: #334155;
|
|
1461
|
+
font-family: inherit;
|
|
1462
|
+
font-size: 10px;
|
|
1463
|
+
font-weight: 850;
|
|
1464
|
+
cursor: pointer;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
.di-library-import-option button:hover,
|
|
1468
|
+
.di-library-import-option button:focus-visible,
|
|
1469
|
+
.di-library-import-option input::file-selector-button:hover {
|
|
1470
|
+
border-color: #c4b5fd;
|
|
1471
|
+
color: #7c3aed;
|
|
1472
|
+
outline: none;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.di-library-import-option input {
|
|
1476
|
+
grid-column: 3;
|
|
1477
|
+
grid-row: 1;
|
|
1478
|
+
align-self: center;
|
|
1479
|
+
justify-self: end;
|
|
1480
|
+
width: 78px;
|
|
1481
|
+
max-width: 78px;
|
|
1482
|
+
color: transparent;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
.di-library-import-format {
|
|
1486
|
+
margin: 0;
|
|
1487
|
+
padding: 0;
|
|
1488
|
+
border-radius: 9px;
|
|
1489
|
+
background: #f8fafc;
|
|
1490
|
+
color: #475569;
|
|
1491
|
+
overflow: auto;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
.di-library-import-format summary {
|
|
1495
|
+
min-height: 32px;
|
|
1496
|
+
display: flex;
|
|
1497
|
+
align-items: center;
|
|
1498
|
+
padding: 0 10px;
|
|
1499
|
+
color: #64748b;
|
|
1500
|
+
font-size: 11px;
|
|
1501
|
+
font-weight: 850;
|
|
1502
|
+
cursor: pointer;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
.di-library-import-format pre {
|
|
1506
|
+
margin: 0;
|
|
1507
|
+
padding: 10px;
|
|
1508
|
+
border-top: 1px solid #e5e7eb;
|
|
1509
|
+
color: #475569;
|
|
1510
|
+
font-size: 10px;
|
|
1511
|
+
line-height: 1.5;
|
|
1512
|
+
white-space: pre-wrap;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
.di-library-import-msg {
|
|
1516
|
+
padding: 8px 10px;
|
|
1517
|
+
border-radius: 8px;
|
|
1518
|
+
background: #ede9fe;
|
|
1519
|
+
color: #7c3aed;
|
|
1520
|
+
font-size: 11px;
|
|
1521
|
+
font-weight: 800;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1462
1524
|
.di-library-detail-preview {
|
|
1463
1525
|
display: grid;
|
|
1464
1526
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
@@ -3534,7 +3596,7 @@
|
|
|
3534
3596
|
background: #faf5ff;
|
|
3535
3597
|
font-size: 11px;
|
|
3536
3598
|
line-height: 1.5;
|
|
3537
|
-
color: #
|
|
3599
|
+
color: #94a3b8;
|
|
3538
3600
|
}
|
|
3539
3601
|
|
|
3540
3602
|
.di-component-card {
|
|
@@ -3569,20 +3631,133 @@
|
|
|
3569
3631
|
text-overflow: ellipsis;
|
|
3570
3632
|
white-space: nowrap;
|
|
3571
3633
|
}
|
|
3634
|
+
.di-component-title-row {
|
|
3635
|
+
display: flex;
|
|
3636
|
+
align-items: center;
|
|
3637
|
+
gap: 8px;
|
|
3638
|
+
min-width: 0;
|
|
3639
|
+
}
|
|
3572
3640
|
.di-component-meta-row {
|
|
3573
|
-
display:
|
|
3574
|
-
|
|
3641
|
+
display: flex;
|
|
3642
|
+
align-items: center;
|
|
3643
|
+
justify-content: space-between;
|
|
3644
|
+
gap: 8px;
|
|
3645
|
+
}
|
|
3646
|
+
.di-component-meta-block {
|
|
3647
|
+
display: flex;
|
|
3648
|
+
flex-direction: column;
|
|
3575
3649
|
gap: 6px;
|
|
3576
3650
|
}
|
|
3577
|
-
.di-component-meta-
|
|
3578
|
-
|
|
3651
|
+
.di-component-meta-toggle {
|
|
3652
|
+
height: 26px;
|
|
3653
|
+
padding: 0 9px;
|
|
3654
|
+
border: 1px solid #e5e7eb;
|
|
3655
|
+
border-radius: 7px;
|
|
3656
|
+
background: #fff;
|
|
3579
3657
|
color: #64748b;
|
|
3658
|
+
font-family: inherit;
|
|
3580
3659
|
font-size: 11px;
|
|
3581
|
-
font-weight:
|
|
3660
|
+
font-weight: 800;
|
|
3661
|
+
cursor: pointer;
|
|
3662
|
+
display: inline-flex;
|
|
3663
|
+
align-items: center;
|
|
3664
|
+
gap: 6px;
|
|
3665
|
+
justify-self: end;
|
|
3666
|
+
transition: border-color 0.12s, background 0.12s, color 0.12s;
|
|
3667
|
+
}
|
|
3668
|
+
.di-component-meta-toggle:hover,
|
|
3669
|
+
.di-component-meta-toggle:focus-visible,
|
|
3670
|
+
.di-component-meta-toggle--on {
|
|
3671
|
+
border-color: #c4b5fd;
|
|
3672
|
+
background: #faf5ff;
|
|
3673
|
+
color: #7c3aed;
|
|
3674
|
+
outline: none;
|
|
3675
|
+
}
|
|
3676
|
+
.di-component-meta-toggle svg {
|
|
3677
|
+
transition: transform 0.12s ease;
|
|
3678
|
+
}
|
|
3679
|
+
.di-component-meta-toggle--on svg {
|
|
3680
|
+
transform: rotate(180deg);
|
|
3681
|
+
}
|
|
3682
|
+
.di-component-info-panel {
|
|
3683
|
+
margin: 0;
|
|
3684
|
+
padding: 0;
|
|
3685
|
+
border: none;
|
|
3686
|
+
border-radius: 0;
|
|
3687
|
+
background: transparent;
|
|
3688
|
+
display: flex;
|
|
3689
|
+
flex-direction: column;
|
|
3690
|
+
gap: 8px;
|
|
3691
|
+
}
|
|
3692
|
+
.di-component-info-row {
|
|
3693
|
+
display: grid;
|
|
3694
|
+
grid-template-columns: 48px minmax(0, 1fr);
|
|
3695
|
+
align-items: start;
|
|
3696
|
+
gap: 8px;
|
|
3697
|
+
}
|
|
3698
|
+
.di-component-info-row dt {
|
|
3699
|
+
color: #64748b;
|
|
3700
|
+
font-size: 11px;
|
|
3701
|
+
font-weight: 700;
|
|
3582
3702
|
line-height: 1.35;
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3703
|
+
}
|
|
3704
|
+
.di-component-info-row dd {
|
|
3705
|
+
margin: 0;
|
|
3706
|
+
min-width: 0;
|
|
3707
|
+
color: #111827;
|
|
3708
|
+
font-size: 12px;
|
|
3709
|
+
font-weight: 650;
|
|
3710
|
+
line-height: 1.35;
|
|
3711
|
+
word-break: break-word;
|
|
3712
|
+
}
|
|
3713
|
+
.di-component-info-elements {
|
|
3714
|
+
display: flex;
|
|
3715
|
+
flex-direction: column;
|
|
3716
|
+
gap: 8px;
|
|
3717
|
+
}
|
|
3718
|
+
.di-component-info-element-list {
|
|
3719
|
+
display: flex;
|
|
3720
|
+
flex-direction: column;
|
|
3721
|
+
gap: 8px;
|
|
3722
|
+
}
|
|
3723
|
+
.di-component-info-element-card {
|
|
3724
|
+
padding: 8px;
|
|
3725
|
+
border: 1px solid #e5e7eb;
|
|
3726
|
+
border-radius: 7px;
|
|
3727
|
+
background: #fff;
|
|
3728
|
+
display: flex;
|
|
3729
|
+
flex-direction: column;
|
|
3730
|
+
gap: 7px;
|
|
3731
|
+
}
|
|
3732
|
+
.di-component-info-element-head {
|
|
3733
|
+
display: flex;
|
|
3734
|
+
flex-direction: column;
|
|
3735
|
+
gap: 2px;
|
|
3736
|
+
}
|
|
3737
|
+
.di-component-info-element-label {
|
|
3738
|
+
color: #111827;
|
|
3739
|
+
font-size: 12px;
|
|
3740
|
+
font-weight: 800;
|
|
3741
|
+
line-height: 1.35;
|
|
3742
|
+
}
|
|
3743
|
+
.di-component-info-element-selector {
|
|
3744
|
+
color: #94a3b8;
|
|
3745
|
+
font-size: 11px;
|
|
3746
|
+
font-weight: 650;
|
|
3747
|
+
line-height: 1.35;
|
|
3748
|
+
word-break: break-all;
|
|
3749
|
+
}
|
|
3750
|
+
.di-component-info-element-meta {
|
|
3751
|
+
margin: 0;
|
|
3752
|
+
display: flex;
|
|
3753
|
+
flex-direction: column;
|
|
3754
|
+
gap: 6px;
|
|
3755
|
+
}
|
|
3756
|
+
.di-component-info-inline {
|
|
3757
|
+
display: inline-flex;
|
|
3758
|
+
align-items: center;
|
|
3759
|
+
flex-wrap: wrap;
|
|
3760
|
+
gap: 6px;
|
|
3586
3761
|
}
|
|
3587
3762
|
.di-component-fields {
|
|
3588
3763
|
display: flex;
|
|
@@ -3646,6 +3821,10 @@
|
|
|
3646
3821
|
.di-component-child-item--with-label {
|
|
3647
3822
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
3648
3823
|
}
|
|
3824
|
+
.di-component-child-item:has(.di-component-child-variant-grid) {
|
|
3825
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
3826
|
+
align-items: start;
|
|
3827
|
+
}
|
|
3649
3828
|
.di-component-child-label {
|
|
3650
3829
|
color: #64748b;
|
|
3651
3830
|
font-size: 11px;
|
|
@@ -3663,6 +3842,43 @@
|
|
|
3663
3842
|
text-overflow: ellipsis;
|
|
3664
3843
|
white-space: nowrap;
|
|
3665
3844
|
}
|
|
3845
|
+
.di-component-child-variant-grid {
|
|
3846
|
+
min-width: 0;
|
|
3847
|
+
display: grid;
|
|
3848
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3849
|
+
gap: 6px;
|
|
3850
|
+
}
|
|
3851
|
+
.di-component-child-variant-tile {
|
|
3852
|
+
min-width: 0;
|
|
3853
|
+
min-height: 28px;
|
|
3854
|
+
padding: 0 8px;
|
|
3855
|
+
border: 0;
|
|
3856
|
+
border-radius: 6px;
|
|
3857
|
+
background: transparent;
|
|
3858
|
+
color: #64748b;
|
|
3859
|
+
font-family: inherit;
|
|
3860
|
+
font-size: 12px;
|
|
3861
|
+
font-weight: 750;
|
|
3862
|
+
line-height: 1.2;
|
|
3863
|
+
cursor: pointer;
|
|
3864
|
+
white-space: nowrap;
|
|
3865
|
+
overflow: hidden;
|
|
3866
|
+
text-overflow: ellipsis;
|
|
3867
|
+
transition: background 0.12s, color 0.12s, box-shadow 0.12s;
|
|
3868
|
+
}
|
|
3869
|
+
.di-component-child-variant-tile:hover,
|
|
3870
|
+
.di-component-child-variant-tile:focus-visible {
|
|
3871
|
+
background: #ede9fe;
|
|
3872
|
+
color: #7c3aed;
|
|
3873
|
+
outline: none;
|
|
3874
|
+
}
|
|
3875
|
+
.di-component-child-variant-tile--on,
|
|
3876
|
+
.di-component-child-variant-tile--on:hover,
|
|
3877
|
+
.di-component-child-variant-tile--on:focus-visible {
|
|
3878
|
+
background: #fff;
|
|
3879
|
+
color: #7c3aed;
|
|
3880
|
+
box-shadow: 0 1px 3px rgba(15,23,42,0.08);
|
|
3881
|
+
}
|
|
3666
3882
|
.di-component-child-select {
|
|
3667
3883
|
height: 24px;
|
|
3668
3884
|
padding: 0 8px;
|
|
@@ -3697,6 +3913,48 @@
|
|
|
3697
3913
|
.di-component-segment--tone {
|
|
3698
3914
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3699
3915
|
}
|
|
3916
|
+
.di-component-variant-grid {
|
|
3917
|
+
min-width: 0;
|
|
3918
|
+
display: grid;
|
|
3919
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3920
|
+
gap: 6px;
|
|
3921
|
+
padding: 8px;
|
|
3922
|
+
border: 1px solid #e5e7eb;
|
|
3923
|
+
border-radius: 8px;
|
|
3924
|
+
background: #f8fafc;
|
|
3925
|
+
box-sizing: border-box;
|
|
3926
|
+
}
|
|
3927
|
+
.di-component-variant-tile {
|
|
3928
|
+
min-width: 0;
|
|
3929
|
+
min-height: 32px;
|
|
3930
|
+
padding: 0 8px;
|
|
3931
|
+
border: 0;
|
|
3932
|
+
border-radius: 6px;
|
|
3933
|
+
background: transparent;
|
|
3934
|
+
color: #64748b;
|
|
3935
|
+
font-family: inherit;
|
|
3936
|
+
font-size: 12px;
|
|
3937
|
+
font-weight: 750;
|
|
3938
|
+
line-height: 1.2;
|
|
3939
|
+
cursor: pointer;
|
|
3940
|
+
white-space: nowrap;
|
|
3941
|
+
overflow: hidden;
|
|
3942
|
+
text-overflow: ellipsis;
|
|
3943
|
+
transition: background 0.12s, color 0.12s, box-shadow 0.12s;
|
|
3944
|
+
}
|
|
3945
|
+
.di-component-variant-tile:hover,
|
|
3946
|
+
.di-component-variant-tile:focus-visible {
|
|
3947
|
+
background: #ede9fe;
|
|
3948
|
+
color: #7c3aed;
|
|
3949
|
+
outline: none;
|
|
3950
|
+
}
|
|
3951
|
+
.di-component-variant-tile--on,
|
|
3952
|
+
.di-component-variant-tile--on:hover,
|
|
3953
|
+
.di-component-variant-tile--on:focus-visible {
|
|
3954
|
+
background: #fff;
|
|
3955
|
+
color: #7c3aed;
|
|
3956
|
+
box-shadow: 0 1px 3px rgba(15,23,42,0.08);
|
|
3957
|
+
}
|
|
3700
3958
|
.di-component-segment-btn {
|
|
3701
3959
|
min-width: 0;
|
|
3702
3960
|
height: 26px;
|
|
@@ -5989,6 +6247,16 @@
|
|
|
5989
6247
|
}
|
|
5990
6248
|
.di-btn-save:hover { background: #6d28d9; }
|
|
5991
6249
|
|
|
6250
|
+
.di-btn-save-content {
|
|
6251
|
+
display: inline-flex;
|
|
6252
|
+
align-items: center;
|
|
6253
|
+
justify-content: center;
|
|
6254
|
+
gap: 6px;
|
|
6255
|
+
width: 100%;
|
|
6256
|
+
min-width: 0;
|
|
6257
|
+
white-space: nowrap;
|
|
6258
|
+
}
|
|
6259
|
+
|
|
5992
6260
|
.di-section-title--spaced {
|
|
5993
6261
|
margin-top: 16px;
|
|
5994
6262
|
}
|
|
@@ -6274,6 +6542,59 @@
|
|
|
6274
6542
|
padding-left: 3px;
|
|
6275
6543
|
}
|
|
6276
6544
|
|
|
6545
|
+
.di-annotation-card {
|
|
6546
|
+
display: flex;
|
|
6547
|
+
flex-direction: column;
|
|
6548
|
+
gap: var(--di-control-gap-y);
|
|
6549
|
+
padding: var(--di-tool-row-padding-block) var(--di-tool-row-padding-inline);
|
|
6550
|
+
border-radius: 10px;
|
|
6551
|
+
background: #f8fafc;
|
|
6552
|
+
}
|
|
6553
|
+
|
|
6554
|
+
.di-annotation-count {
|
|
6555
|
+
height: 20px;
|
|
6556
|
+
padding: 0 7px;
|
|
6557
|
+
border-radius: 999px;
|
|
6558
|
+
background: #ede9fe;
|
|
6559
|
+
color: #7c3aed;
|
|
6560
|
+
font-size: 10px;
|
|
6561
|
+
font-weight: 800;
|
|
6562
|
+
line-height: 20px;
|
|
6563
|
+
white-space: nowrap;
|
|
6564
|
+
}
|
|
6565
|
+
|
|
6566
|
+
.di-annotation-textarea {
|
|
6567
|
+
width: 100%;
|
|
6568
|
+
min-width: 0;
|
|
6569
|
+
min-height: 58px;
|
|
6570
|
+
max-height: 128px;
|
|
6571
|
+
padding: 8px 9px;
|
|
6572
|
+
border: 1px solid #e5e7eb;
|
|
6573
|
+
border-radius: 7px;
|
|
6574
|
+
background: #fff;
|
|
6575
|
+
color: var(--di-text-body-color, #6b7280);
|
|
6576
|
+
font-family: inherit;
|
|
6577
|
+
font-size: var(--di-text-body-size, 12px);
|
|
6578
|
+
font-weight: var(--di-text-body-weight, 400);
|
|
6579
|
+
line-height: var(--di-text-body-line-height, 1.5);
|
|
6580
|
+
box-sizing: border-box;
|
|
6581
|
+
outline: none;
|
|
6582
|
+
resize: none;
|
|
6583
|
+
transition: border-color 0.12s, background 0.12s;
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6586
|
+
.di-annotation-textarea::placeholder {
|
|
6587
|
+
color: var(--di-text-meta-color, #94a3b8);
|
|
6588
|
+
font-size: var(--di-text-meta-size, 11px);
|
|
6589
|
+
font-weight: var(--di-text-meta-weight, 600);
|
|
6590
|
+
line-height: var(--di-text-meta-line-height, 1.35);
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6593
|
+
.di-annotation-textarea:focus {
|
|
6594
|
+
border-color: #a78bfa;
|
|
6595
|
+
background: #fff;
|
|
6596
|
+
}
|
|
6597
|
+
|
|
6277
6598
|
.di-layout-section .di-section-title,
|
|
6278
6599
|
.di-shadow-section .di-section-title,
|
|
6279
6600
|
.di-space-section .di-section-title {
|
|
@@ -6419,6 +6740,19 @@
|
|
|
6419
6740
|
grid-template-columns: minmax(0, 1fr);
|
|
6420
6741
|
}
|
|
6421
6742
|
|
|
6743
|
+
.di-border-control--radius {
|
|
6744
|
+
display: inline-flex;
|
|
6745
|
+
align-items: center;
|
|
6746
|
+
justify-content: flex-start;
|
|
6747
|
+
gap: 4px;
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6750
|
+
.di-border-control--radius .di-border-style-label,
|
|
6751
|
+
.di-border-control--radius .di-typography-control-value {
|
|
6752
|
+
flex: 0 0 auto;
|
|
6753
|
+
line-height: 1;
|
|
6754
|
+
}
|
|
6755
|
+
|
|
6422
6756
|
.di-typography-control--size-token,
|
|
6423
6757
|
.di-typography-control--weight,
|
|
6424
6758
|
.di-border-control--line {
|