@walkeros/explorer 4.8.0-next-1791441510508 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -5
- package/README.md +5 -5
- package/dist/design/base.css +11 -12
- package/dist/design/check.mjs +183 -10
- package/dist/design/components/index.cjs +494 -248
- package/dist/design/components/index.cjs.map +1 -1
- package/dist/design/components/index.d.cts +63 -6
- package/dist/design/components/index.d.ts +63 -6
- package/dist/design/components/index.mjs +490 -244
- package/dist/design/components/index.mjs.map +1 -1
- package/dist/design/index.cjs +67 -5
- package/dist/design/index.cjs.map +1 -1
- package/dist/design/index.d.cts +243 -12
- package/dist/design/index.d.ts +243 -12
- package/dist/design/index.mjs +67 -5
- package/dist/design/index.mjs.map +1 -1
- package/dist/design/tailwind.css +19 -0
- package/dist/design/tokens.css +35 -5
- package/dist/index.d.cts +160 -27
- package/dist/index.d.ts +160 -27
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +890 -62
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
.elb-explorer-grid-wrapper {
|
|
17
17
|
--grid-min-box-width: 350px;
|
|
18
|
+
--grid-box-width: 350px;
|
|
18
19
|
--grid-row-min-height: 250px;
|
|
19
20
|
--grid-row-max-height: 450px;
|
|
20
21
|
--grid-box-max-height-mobile: 500px;
|
|
@@ -60,6 +61,30 @@
|
|
|
60
61
|
grid-template-columns: repeat(var(--grid-columns), minmax(var(--grid-min-box-width), 1fr));
|
|
61
62
|
}
|
|
62
63
|
}
|
|
64
|
+
.elb-explorer-grid.elb-explorer-grid--fixed {
|
|
65
|
+
grid-auto-flow: column;
|
|
66
|
+
grid-template-columns: none;
|
|
67
|
+
grid-auto-columns: min(var(--grid-box-width), 100% - 32px);
|
|
68
|
+
grid-auto-rows: minmax(var(--grid-row-min-height), var(--grid-row-max-height, auto));
|
|
69
|
+
overflow-x: auto;
|
|
70
|
+
overflow-y: hidden;
|
|
71
|
+
scroll-behavior: smooth;
|
|
72
|
+
scroll-snap-type: x mandatory;
|
|
73
|
+
}
|
|
74
|
+
.elb-explorer-grid.elb-explorer-grid--fixed > * {
|
|
75
|
+
min-width: 0;
|
|
76
|
+
scroll-snap-align: start;
|
|
77
|
+
}
|
|
78
|
+
.elb-explorer-grid.elb-explorer-grid--fixed > .elb-explorer-box {
|
|
79
|
+
height: 100%;
|
|
80
|
+
max-height: none;
|
|
81
|
+
}
|
|
82
|
+
@container grid-container (min-width: 600px) {
|
|
83
|
+
.elb-explorer-grid.elb-explorer-grid--fixed {
|
|
84
|
+
width: auto;
|
|
85
|
+
margin-inline: 48px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
63
88
|
@container grid-container (min-width: 800px) {
|
|
64
89
|
.elb-explorer-grid.elb-explorer-grid--row-auto {
|
|
65
90
|
grid-auto-rows: auto;
|
|
@@ -79,36 +104,34 @@
|
|
|
79
104
|
width: 40px;
|
|
80
105
|
height: 40px;
|
|
81
106
|
padding: 0;
|
|
82
|
-
border: 1px solid var(--
|
|
107
|
+
border: 1px solid var(--primary);
|
|
83
108
|
border-radius: var(--radius-full);
|
|
84
109
|
background: var(--surface);
|
|
85
110
|
color: var(--fg);
|
|
86
|
-
font-size: 24px;
|
|
87
|
-
line-height: 0;
|
|
88
111
|
cursor: pointer;
|
|
89
112
|
display: flex;
|
|
90
113
|
align-items: center;
|
|
91
114
|
justify-content: center;
|
|
92
|
-
transition:
|
|
115
|
+
transition: background-color var(--motion) var(--ease);
|
|
93
116
|
user-select: none;
|
|
94
117
|
}
|
|
95
|
-
@container grid-container (max-width:
|
|
118
|
+
@container grid-container (max-width: 599px) {
|
|
96
119
|
.elb-explorer-grid-scroll-button {
|
|
97
120
|
display: none;
|
|
98
121
|
}
|
|
99
122
|
}
|
|
100
123
|
.elb-explorer-grid-scroll-button:hover {
|
|
101
124
|
background: var(--surface-2);
|
|
102
|
-
transform: translateY(-50%) scale(1.1);
|
|
103
125
|
}
|
|
104
|
-
.elb-explorer-grid-scroll-button:
|
|
105
|
-
|
|
126
|
+
.elb-explorer-grid-scroll-button:focus-visible {
|
|
127
|
+
outline: 2px solid var(--focus);
|
|
128
|
+
outline-offset: 3px;
|
|
106
129
|
}
|
|
107
130
|
.elb-explorer-grid-scroll-button--left {
|
|
108
|
-
left:
|
|
131
|
+
left: 4px;
|
|
109
132
|
}
|
|
110
133
|
.elb-explorer-grid-scroll-button--right {
|
|
111
|
-
right:
|
|
134
|
+
right: 4px;
|
|
112
135
|
}
|
|
113
136
|
.elb-explorer {
|
|
114
137
|
width: 100%;
|
|
@@ -137,7 +160,7 @@
|
|
|
137
160
|
align-items: center;
|
|
138
161
|
justify-content: center;
|
|
139
162
|
color: var(--fg-2);
|
|
140
|
-
transition: all
|
|
163
|
+
transition: all var(--motion) var(--ease);
|
|
141
164
|
}
|
|
142
165
|
.elb-explorer-btn:hover {
|
|
143
166
|
background: var(--surface-2);
|
|
@@ -220,7 +243,6 @@
|
|
|
220
243
|
transition: none !important;
|
|
221
244
|
}
|
|
222
245
|
.elb-code-static {
|
|
223
|
-
--monaco-font-size: 13px;
|
|
224
246
|
flex: 1;
|
|
225
247
|
min-height: 0;
|
|
226
248
|
width: 100%;
|
|
@@ -230,7 +252,7 @@
|
|
|
230
252
|
overflow: hidden;
|
|
231
253
|
background: var(--code-bg);
|
|
232
254
|
color: var(--code-fg);
|
|
233
|
-
font-size: var(--
|
|
255
|
+
font-size: var(--type-code-step-size);
|
|
234
256
|
line-height: 1.5;
|
|
235
257
|
font-family: var(--font-mono);
|
|
236
258
|
}
|
|
@@ -269,7 +291,7 @@
|
|
|
269
291
|
color: var(--fg-2);
|
|
270
292
|
border: 0;
|
|
271
293
|
background: transparent;
|
|
272
|
-
transition: color
|
|
294
|
+
transition: color var(--motion) var(--ease), background var(--motion) var(--ease);
|
|
273
295
|
position: relative;
|
|
274
296
|
cursor: pointer;
|
|
275
297
|
text-align: center;
|
|
@@ -313,6 +335,32 @@
|
|
|
313
335
|
.elb-preview-btn.highlight-action {
|
|
314
336
|
color: var(--event-action);
|
|
315
337
|
}
|
|
338
|
+
.elb-explorer-toggle {
|
|
339
|
+
display: inline-grid;
|
|
340
|
+
place-items: center;
|
|
341
|
+
margin: 0;
|
|
342
|
+
padding: 4px 10px;
|
|
343
|
+
border: 1px solid var(--border-strong);
|
|
344
|
+
border-radius: var(--radius-xs);
|
|
345
|
+
background: var(--surface);
|
|
346
|
+
color: var(--fg);
|
|
347
|
+
font-family: var(--font-sans);
|
|
348
|
+
font-size: var(--type-product-small-size);
|
|
349
|
+
font-weight: 600;
|
|
350
|
+
line-height: var(--type-product-small-line-height);
|
|
351
|
+
cursor: pointer;
|
|
352
|
+
transition: background-color var(--motion) var(--ease), border-color var(--motion) var(--ease);
|
|
353
|
+
}
|
|
354
|
+
.elb-explorer-toggle:hover {
|
|
355
|
+
background: var(--surface-2);
|
|
356
|
+
}
|
|
357
|
+
.elb-explorer-toggle__label {
|
|
358
|
+
grid-area: 1/1;
|
|
359
|
+
white-space: nowrap;
|
|
360
|
+
}
|
|
361
|
+
.elb-explorer-toggle__label[aria-hidden=true] {
|
|
362
|
+
visibility: hidden;
|
|
363
|
+
}
|
|
316
364
|
.elb-code-box {
|
|
317
365
|
display: flex;
|
|
318
366
|
flex-direction: column;
|
|
@@ -350,6 +398,17 @@
|
|
|
350
398
|
margin: 0;
|
|
351
399
|
cursor: pointer;
|
|
352
400
|
}
|
|
401
|
+
.elb-codebox-placeholder {
|
|
402
|
+
position: absolute;
|
|
403
|
+
inset: 0 0 auto;
|
|
404
|
+
margin: 0;
|
|
405
|
+
padding: 8px 12px;
|
|
406
|
+
color: var(--fg-3);
|
|
407
|
+
font-family: var(--font-sans);
|
|
408
|
+
font-size: var(--type-product-small-size);
|
|
409
|
+
line-height: var(--type-product-small-line-height);
|
|
410
|
+
pointer-events: none;
|
|
411
|
+
}
|
|
353
412
|
.elb-codebox-marker-badge {
|
|
354
413
|
display: flex;
|
|
355
414
|
align-items: center;
|
|
@@ -362,7 +421,7 @@
|
|
|
362
421
|
font-weight: 600;
|
|
363
422
|
font-family: var(--font-mono);
|
|
364
423
|
line-height: 1;
|
|
365
|
-
transition: all
|
|
424
|
+
transition: all var(--motion) var(--ease);
|
|
366
425
|
}
|
|
367
426
|
.elb-codebox-marker-badge svg {
|
|
368
427
|
flex-shrink: 0;
|
|
@@ -452,7 +511,7 @@
|
|
|
452
511
|
user-select: none;
|
|
453
512
|
}
|
|
454
513
|
.elb-code-snippet .elb-code-static {
|
|
455
|
-
font-size:
|
|
514
|
+
font-size: var(--type-code-command-size);
|
|
456
515
|
}
|
|
457
516
|
.elb-code-view--fit {
|
|
458
517
|
--height-code-view-max: 600px;
|
|
@@ -477,7 +536,7 @@
|
|
|
477
536
|
background: var(--code-bar);
|
|
478
537
|
border-radius: var(--radius-xs);
|
|
479
538
|
opacity: 0;
|
|
480
|
-
transition: opacity
|
|
539
|
+
transition: opacity var(--motion) var(--ease);
|
|
481
540
|
}
|
|
482
541
|
.elb-explorer-content:hover > .elb-code-view-actions,
|
|
483
542
|
.elb-code-view-actions:focus-within {
|
|
@@ -781,7 +840,7 @@
|
|
|
781
840
|
text-align: left;
|
|
782
841
|
display: block;
|
|
783
842
|
width: 100%;
|
|
784
|
-
transition: opacity
|
|
843
|
+
transition: opacity var(--motion) var(--ease);
|
|
785
844
|
}
|
|
786
845
|
.elb-property-table__type-button:hover {
|
|
787
846
|
opacity: 0.7;
|
|
@@ -797,7 +856,7 @@
|
|
|
797
856
|
color: var(--danger);
|
|
798
857
|
font-weight: bold;
|
|
799
858
|
margin-left: 4px;
|
|
800
|
-
font-size:
|
|
859
|
+
font-size: var(--type-product-small-size);
|
|
801
860
|
}
|
|
802
861
|
.elb-property-table__action-cell {
|
|
803
862
|
text-align: center;
|
|
@@ -828,7 +887,7 @@
|
|
|
828
887
|
display: inline-flex;
|
|
829
888
|
align-items: center;
|
|
830
889
|
justify-content: center;
|
|
831
|
-
transition: background-color
|
|
890
|
+
transition: background-color var(--motion) var(--ease);
|
|
832
891
|
}
|
|
833
892
|
.elb-property-table__more-button:hover {
|
|
834
893
|
background: var(--surface-2);
|
|
@@ -891,7 +950,7 @@
|
|
|
891
950
|
display: inline-flex;
|
|
892
951
|
align-items: center;
|
|
893
952
|
justify-content: center;
|
|
894
|
-
transition: color
|
|
953
|
+
transition: color var(--motion) var(--ease), background-color var(--motion) var(--ease);
|
|
895
954
|
}
|
|
896
955
|
.elb-property-table__close-button:hover {
|
|
897
956
|
color: var(--fg);
|
|
@@ -944,7 +1003,7 @@
|
|
|
944
1003
|
}
|
|
945
1004
|
@media (max-width: 768px) {
|
|
946
1005
|
.elb-property-table__container {
|
|
947
|
-
margin:
|
|
1006
|
+
margin: 16px 0 0;
|
|
948
1007
|
}
|
|
949
1008
|
.elb-property-table {
|
|
950
1009
|
font-size: var(--type-product-caption-size);
|
|
@@ -958,7 +1017,7 @@
|
|
|
958
1017
|
}
|
|
959
1018
|
.elb-property-table tr {
|
|
960
1019
|
display: block;
|
|
961
|
-
margin-bottom:
|
|
1020
|
+
margin-bottom: 16px;
|
|
962
1021
|
border: 1px solid var(--border);
|
|
963
1022
|
border-radius: var(--radius-xs);
|
|
964
1023
|
background: var(--surface);
|
|
@@ -1044,7 +1103,7 @@
|
|
|
1044
1103
|
align-items: center;
|
|
1045
1104
|
justify-content: center;
|
|
1046
1105
|
min-height: 120px;
|
|
1047
|
-
padding:
|
|
1106
|
+
padding: 32px 16px;
|
|
1048
1107
|
color: var(--fg-2);
|
|
1049
1108
|
font-style: italic;
|
|
1050
1109
|
text-align: center;
|
|
@@ -1102,6 +1161,112 @@
|
|
|
1102
1161
|
font-size: var(--type-product-small-size);
|
|
1103
1162
|
}
|
|
1104
1163
|
}
|
|
1164
|
+
.elb-view-source {
|
|
1165
|
+
--elb-view-source-width: 100%;
|
|
1166
|
+
--elb-view-source-height: 0px;
|
|
1167
|
+
--elb-view-source-radius: 0px;
|
|
1168
|
+
--elb-view-source-inset: 0px;
|
|
1169
|
+
--elb-view-source-inset-top: 0px;
|
|
1170
|
+
--elb-view-source-inset-right: 0px;
|
|
1171
|
+
position: relative;
|
|
1172
|
+
}
|
|
1173
|
+
.elb-view-source--stretch,
|
|
1174
|
+
.elb-view-source--stretch > .elb-view-source__content {
|
|
1175
|
+
display: grid;
|
|
1176
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1177
|
+
}
|
|
1178
|
+
.elb-view-source__content[hidden] {
|
|
1179
|
+
display: none;
|
|
1180
|
+
}
|
|
1181
|
+
.elb-view-source__toolbar {
|
|
1182
|
+
position: absolute;
|
|
1183
|
+
top: calc(var(--elb-view-source-inset-top) + 8px);
|
|
1184
|
+
right: calc(var(--elb-view-source-inset-right) + 8px);
|
|
1185
|
+
z-index: var(--z-raised);
|
|
1186
|
+
display: flex;
|
|
1187
|
+
flex-wrap: wrap;
|
|
1188
|
+
justify-content: flex-end;
|
|
1189
|
+
align-items: stretch;
|
|
1190
|
+
gap: 4px;
|
|
1191
|
+
max-width: calc(100% - 16px);
|
|
1192
|
+
font-family: var(--font-sans);
|
|
1193
|
+
font-size: var(--type-product-small-size);
|
|
1194
|
+
line-height: var(--type-product-small-line-height);
|
|
1195
|
+
opacity: 0;
|
|
1196
|
+
pointer-events: none;
|
|
1197
|
+
transition: opacity var(--motion) var(--ease);
|
|
1198
|
+
}
|
|
1199
|
+
.elb-view-source__notice,
|
|
1200
|
+
.elb-view-source__reset {
|
|
1201
|
+
display: flex;
|
|
1202
|
+
align-items: center;
|
|
1203
|
+
border: 1px solid var(--border-strong);
|
|
1204
|
+
border-radius: var(--radius-xs);
|
|
1205
|
+
background: var(--surface);
|
|
1206
|
+
}
|
|
1207
|
+
.elb-view-source__notice {
|
|
1208
|
+
gap: 4px;
|
|
1209
|
+
padding: 0 8px;
|
|
1210
|
+
color: var(--fg);
|
|
1211
|
+
}
|
|
1212
|
+
.elb-view-source__notice svg {
|
|
1213
|
+
flex: none;
|
|
1214
|
+
color: var(--warning);
|
|
1215
|
+
}
|
|
1216
|
+
.elb-view-source__notice:empty {
|
|
1217
|
+
position: absolute;
|
|
1218
|
+
padding: 0;
|
|
1219
|
+
border: 0;
|
|
1220
|
+
}
|
|
1221
|
+
.elb-view-source__reset {
|
|
1222
|
+
justify-content: center;
|
|
1223
|
+
margin: 0;
|
|
1224
|
+
padding: 7px;
|
|
1225
|
+
color: var(--fg-2);
|
|
1226
|
+
cursor: pointer;
|
|
1227
|
+
transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease);
|
|
1228
|
+
}
|
|
1229
|
+
.elb-view-source__reset:hover {
|
|
1230
|
+
background: var(--surface-2);
|
|
1231
|
+
color: var(--fg);
|
|
1232
|
+
}
|
|
1233
|
+
.elb-view-source__code {
|
|
1234
|
+
display: flex;
|
|
1235
|
+
flex-direction: column;
|
|
1236
|
+
box-sizing: border-box;
|
|
1237
|
+
width: var(--elb-view-source-width);
|
|
1238
|
+
max-width: 100%;
|
|
1239
|
+
height: max(var(--elb-view-source-height), 160px);
|
|
1240
|
+
padding: var(--elb-view-source-inset);
|
|
1241
|
+
}
|
|
1242
|
+
.elb-view-source__surface {
|
|
1243
|
+
display: flex;
|
|
1244
|
+
flex: 1;
|
|
1245
|
+
flex-direction: column;
|
|
1246
|
+
min-height: 0;
|
|
1247
|
+
overflow: hidden;
|
|
1248
|
+
border-radius: var(--elb-view-source-radius);
|
|
1249
|
+
background: var(--code-bg);
|
|
1250
|
+
isolation: isolate;
|
|
1251
|
+
}
|
|
1252
|
+
.elb-view-source--code > .elb-view-source__toolbar,
|
|
1253
|
+
.elb-view-source--edited > .elb-view-source__toolbar,
|
|
1254
|
+
.elb-view-source--notice > .elb-view-source__toolbar {
|
|
1255
|
+
opacity: 1;
|
|
1256
|
+
pointer-events: auto;
|
|
1257
|
+
}
|
|
1258
|
+
.elb-view-source:hover:not(:has(.elb-view-source:hover)) > .elb-view-source__toolbar,
|
|
1259
|
+
.elb-view-source:has(:focus-visible):not(:has(.elb-view-source :focus-visible)) > .elb-view-source__toolbar {
|
|
1260
|
+
opacity: 1;
|
|
1261
|
+
pointer-events: auto;
|
|
1262
|
+
}
|
|
1263
|
+
@supports not selector(:has(*)) {
|
|
1264
|
+
.elb-view-source:hover > .elb-view-source__toolbar,
|
|
1265
|
+
.elb-view-source:focus-within > .elb-view-source__toolbar {
|
|
1266
|
+
opacity: 1;
|
|
1267
|
+
pointer-events: auto;
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1105
1270
|
.elb-explorer-box {
|
|
1106
1271
|
display: flex;
|
|
1107
1272
|
flex-direction: column;
|
|
@@ -1165,6 +1330,28 @@
|
|
|
1165
1330
|
color: var(--fg-2);
|
|
1166
1331
|
user-select: none;
|
|
1167
1332
|
}
|
|
1333
|
+
.elb-explorer-box-error {
|
|
1334
|
+
display: flex;
|
|
1335
|
+
align-items: baseline;
|
|
1336
|
+
gap: 6px;
|
|
1337
|
+
padding: 6px 10px;
|
|
1338
|
+
border-bottom: 1px solid var(--danger);
|
|
1339
|
+
background: var(--danger-bg);
|
|
1340
|
+
color: var(--fg);
|
|
1341
|
+
font-family: var(--font-sans);
|
|
1342
|
+
font-size: var(--type-product-small-size);
|
|
1343
|
+
line-height: var(--type-product-small-line-height);
|
|
1344
|
+
flex-shrink: 0;
|
|
1345
|
+
overflow-wrap: anywhere;
|
|
1346
|
+
}
|
|
1347
|
+
.elb-explorer-box-error svg {
|
|
1348
|
+
flex: none;
|
|
1349
|
+
align-self: center;
|
|
1350
|
+
color: var(--danger);
|
|
1351
|
+
}
|
|
1352
|
+
.elb-explorer-box-error strong {
|
|
1353
|
+
font-weight: 600;
|
|
1354
|
+
}
|
|
1168
1355
|
.elb-explorer-footer {
|
|
1169
1356
|
display: flex;
|
|
1170
1357
|
align-items: center;
|
|
@@ -1205,7 +1392,7 @@
|
|
|
1205
1392
|
box-sizing: border-box;
|
|
1206
1393
|
}
|
|
1207
1394
|
.elb-explorer-tab {
|
|
1208
|
-
padding:
|
|
1395
|
+
padding: 8px 16px;
|
|
1209
1396
|
font-size: var(--type-product-small-size);
|
|
1210
1397
|
font-weight: 600;
|
|
1211
1398
|
color: var(--fg-2);
|
|
@@ -1213,7 +1400,7 @@
|
|
|
1213
1400
|
border: none;
|
|
1214
1401
|
border-bottom: 2px solid transparent;
|
|
1215
1402
|
cursor: pointer;
|
|
1216
|
-
transition: color
|
|
1403
|
+
transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease);
|
|
1217
1404
|
user-select: none;
|
|
1218
1405
|
}
|
|
1219
1406
|
.elb-explorer-tab:hover {
|
|
@@ -1225,20 +1412,420 @@
|
|
|
1225
1412
|
}
|
|
1226
1413
|
.elb-explorer-tab-actions {
|
|
1227
1414
|
margin-left: auto;
|
|
1228
|
-
padding-right:
|
|
1415
|
+
padding-right: 8px;
|
|
1229
1416
|
}
|
|
1230
1417
|
.elb-explorer-traffic-lights {
|
|
1231
1418
|
display: flex;
|
|
1232
|
-
gap:
|
|
1233
|
-
padding: 0
|
|
1419
|
+
gap: 8px;
|
|
1420
|
+
padding: 0 16px;
|
|
1234
1421
|
align-items: center;
|
|
1235
1422
|
}
|
|
1236
1423
|
.elb-explorer-traffic-light {
|
|
1237
|
-
width:
|
|
1238
|
-
height:
|
|
1424
|
+
width: 12px;
|
|
1425
|
+
height: 12px;
|
|
1239
1426
|
border-radius: var(--radius-full);
|
|
1240
1427
|
background-color: var(--border-strong);
|
|
1241
1428
|
}
|
|
1429
|
+
@layer components {
|
|
1430
|
+
.elb-pg {
|
|
1431
|
+
--elb-pg-panel: var(--viz-bg);
|
|
1432
|
+
--elb-pg-bar: color-mix(in srgb, var(--viz-bg) 60%, var(--viz-code-bg));
|
|
1433
|
+
--elb-pg-code: var(--viz-code-bg);
|
|
1434
|
+
--elb-pg-line: var(--viz-surface);
|
|
1435
|
+
--elb-pg-line-2: color-mix( in srgb, var(--viz-surface) 70%, var(--viz-code-bg) );
|
|
1436
|
+
--elb-pg-text: var(--viz-fg);
|
|
1437
|
+
--elb-pg-muted: var(--viz-fg-2);
|
|
1438
|
+
--elb-pg-dim: var(--viz-comment);
|
|
1439
|
+
--elb-pg-code-fg: var(--code-fg);
|
|
1440
|
+
--elb-pg-line-height: 1.75;
|
|
1441
|
+
box-sizing: border-box;
|
|
1442
|
+
max-width: 1320px;
|
|
1443
|
+
margin: 0 auto;
|
|
1444
|
+
padding: 56px var(--gutter) var(--section-y);
|
|
1445
|
+
color: var(--fg);
|
|
1446
|
+
font-family: var(--font-sans);
|
|
1447
|
+
}
|
|
1448
|
+
.elb-pg__head {
|
|
1449
|
+
display: flex;
|
|
1450
|
+
flex-wrap: wrap;
|
|
1451
|
+
align-items: flex-end;
|
|
1452
|
+
justify-content: space-between;
|
|
1453
|
+
gap: 16px 48px;
|
|
1454
|
+
padding-bottom: 28px;
|
|
1455
|
+
}
|
|
1456
|
+
.elb-pg__head > .elb-pg__intro > .elb-eyebrow {
|
|
1457
|
+
margin-bottom: 14px;
|
|
1458
|
+
}
|
|
1459
|
+
.elb-pg__title {
|
|
1460
|
+
margin: 0 0 12px;
|
|
1461
|
+
color: var(--fg);
|
|
1462
|
+
font-family: var(--type-heading-xl-family);
|
|
1463
|
+
font-size: clamp(30px, 3.6vw, var(--type-heading-xl-size));
|
|
1464
|
+
line-height: 1.12;
|
|
1465
|
+
font-weight: var(--type-heading-xl-weight);
|
|
1466
|
+
letter-spacing: -0.02em;
|
|
1467
|
+
text-wrap: balance;
|
|
1468
|
+
}
|
|
1469
|
+
.elb-pg__lead {
|
|
1470
|
+
max-width: 62ch;
|
|
1471
|
+
margin: 0;
|
|
1472
|
+
color: var(--fg-2);
|
|
1473
|
+
font-size: var(--type-title-item-size);
|
|
1474
|
+
line-height: var(--type-body-line-height);
|
|
1475
|
+
text-wrap: pretty;
|
|
1476
|
+
}
|
|
1477
|
+
.elb-pg__reset .elb-icon {
|
|
1478
|
+
width: 15px;
|
|
1479
|
+
height: 15px;
|
|
1480
|
+
}
|
|
1481
|
+
.elb-pg__grid {
|
|
1482
|
+
display: grid;
|
|
1483
|
+
gap: 16px;
|
|
1484
|
+
align-items: stretch;
|
|
1485
|
+
grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
|
|
1486
|
+
grid-template-areas: "comp event mapping" "comp result result";
|
|
1487
|
+
}
|
|
1488
|
+
.elb-pg-panel {
|
|
1489
|
+
display: flex;
|
|
1490
|
+
flex-direction: column;
|
|
1491
|
+
min-width: 0;
|
|
1492
|
+
overflow: hidden;
|
|
1493
|
+
color: var(--elb-pg-text);
|
|
1494
|
+
background: var(--elb-pg-panel);
|
|
1495
|
+
border: 1px solid var(--viz-border);
|
|
1496
|
+
border-radius: var(--radius-lg);
|
|
1497
|
+
}
|
|
1498
|
+
.elb-pg-panel--comp {
|
|
1499
|
+
grid-area: comp;
|
|
1500
|
+
}
|
|
1501
|
+
.elb-pg-panel--event {
|
|
1502
|
+
grid-area: event;
|
|
1503
|
+
}
|
|
1504
|
+
.elb-pg-panel--mapping {
|
|
1505
|
+
grid-area: mapping;
|
|
1506
|
+
}
|
|
1507
|
+
.elb-pg-panel--result {
|
|
1508
|
+
grid-area: result;
|
|
1509
|
+
}
|
|
1510
|
+
.elb-pg-bar {
|
|
1511
|
+
display: flex;
|
|
1512
|
+
align-items: center;
|
|
1513
|
+
gap: 10px;
|
|
1514
|
+
min-height: 46px;
|
|
1515
|
+
padding: 0 8px 0 14px;
|
|
1516
|
+
background: var(--elb-pg-bar);
|
|
1517
|
+
border-bottom: 1px solid var(--elb-pg-line);
|
|
1518
|
+
}
|
|
1519
|
+
.elb-pg-step {
|
|
1520
|
+
flex: none;
|
|
1521
|
+
display: inline-flex;
|
|
1522
|
+
align-items: center;
|
|
1523
|
+
justify-content: center;
|
|
1524
|
+
box-sizing: border-box;
|
|
1525
|
+
width: 20px;
|
|
1526
|
+
height: 20px;
|
|
1527
|
+
border: 1px solid var(--primary);
|
|
1528
|
+
border-radius: var(--radius-full);
|
|
1529
|
+
color: var(--link);
|
|
1530
|
+
font: 600 var(--type-viz-legend-size) var(--font-mono);
|
|
1531
|
+
}
|
|
1532
|
+
.elb-pg-name {
|
|
1533
|
+
margin: 0;
|
|
1534
|
+
color: var(--elb-pg-text);
|
|
1535
|
+
font-family: var(--font-sans);
|
|
1536
|
+
font-size: var(--type-small-size);
|
|
1537
|
+
font-weight: 600;
|
|
1538
|
+
line-height: 1.4;
|
|
1539
|
+
}
|
|
1540
|
+
.elb-pg-meta {
|
|
1541
|
+
color: var(--elb-pg-dim);
|
|
1542
|
+
font: var(--type-product-caption-size) var(--font-mono);
|
|
1543
|
+
}
|
|
1544
|
+
.elb-pg-meta--edit {
|
|
1545
|
+
color: var(--event-entity);
|
|
1546
|
+
}
|
|
1547
|
+
.elb-pg-meta--end {
|
|
1548
|
+
margin-left: auto;
|
|
1549
|
+
padding-right: 8px;
|
|
1550
|
+
}
|
|
1551
|
+
.elb-pg-copy {
|
|
1552
|
+
display: inline-flex;
|
|
1553
|
+
margin-left: auto;
|
|
1554
|
+
padding: 8px;
|
|
1555
|
+
color: var(--elb-pg-muted);
|
|
1556
|
+
background: none;
|
|
1557
|
+
border: 0;
|
|
1558
|
+
border-radius: 6px;
|
|
1559
|
+
cursor: pointer;
|
|
1560
|
+
}
|
|
1561
|
+
.elb-pg-copy:hover:not(:disabled) {
|
|
1562
|
+
color: var(--elb-pg-text);
|
|
1563
|
+
background: var(--elb-pg-line-2);
|
|
1564
|
+
}
|
|
1565
|
+
.elb-pg-copy:disabled {
|
|
1566
|
+
cursor: default;
|
|
1567
|
+
opacity: 0.4;
|
|
1568
|
+
}
|
|
1569
|
+
.elb-pg-tabs {
|
|
1570
|
+
display: flex;
|
|
1571
|
+
gap: 2px;
|
|
1572
|
+
margin-left: 8px;
|
|
1573
|
+
}
|
|
1574
|
+
.elb-pg-tab {
|
|
1575
|
+
padding: 6px 10px;
|
|
1576
|
+
color: var(--elb-pg-muted);
|
|
1577
|
+
background: transparent;
|
|
1578
|
+
border: 0;
|
|
1579
|
+
border-radius: 6px;
|
|
1580
|
+
font: 500 var(--type-product-small-size) var(--font-sans);
|
|
1581
|
+
cursor: pointer;
|
|
1582
|
+
}
|
|
1583
|
+
.elb-pg-tab[aria-selected=true] {
|
|
1584
|
+
color: var(--elb-pg-text);
|
|
1585
|
+
background: var(--elb-pg-line-2);
|
|
1586
|
+
}
|
|
1587
|
+
.elb-pg-pane {
|
|
1588
|
+
display: flex;
|
|
1589
|
+
flex: 1;
|
|
1590
|
+
flex-direction: column;
|
|
1591
|
+
}
|
|
1592
|
+
.elb-pg-chips {
|
|
1593
|
+
display: flex;
|
|
1594
|
+
flex-wrap: wrap;
|
|
1595
|
+
align-items: center;
|
|
1596
|
+
gap: 6px;
|
|
1597
|
+
padding: 10px 14px;
|
|
1598
|
+
border-bottom: 1px solid var(--elb-pg-line-2);
|
|
1599
|
+
}
|
|
1600
|
+
.elb-pg-chips > span {
|
|
1601
|
+
margin-right: 4px;
|
|
1602
|
+
color: var(--elb-pg-dim);
|
|
1603
|
+
font: var(--type-product-caption-size) var(--font-mono);
|
|
1604
|
+
}
|
|
1605
|
+
.elb-pg-chip {
|
|
1606
|
+
--elb-pg-chip: var(--event-entity);
|
|
1607
|
+
display: inline-flex;
|
|
1608
|
+
align-items: center;
|
|
1609
|
+
gap: 6px;
|
|
1610
|
+
padding: 3px 10px;
|
|
1611
|
+
color: var(--elb-pg-muted);
|
|
1612
|
+
background: transparent;
|
|
1613
|
+
border: 1px solid var(--viz-border);
|
|
1614
|
+
border-radius: var(--radius-full);
|
|
1615
|
+
font: 500 var(--type-product-caption-size) var(--font-mono);
|
|
1616
|
+
cursor: pointer;
|
|
1617
|
+
}
|
|
1618
|
+
.elb-pg-chip i {
|
|
1619
|
+
width: 7px;
|
|
1620
|
+
height: 7px;
|
|
1621
|
+
background: var(--viz-line-number);
|
|
1622
|
+
border-radius: var(--radius-full);
|
|
1623
|
+
}
|
|
1624
|
+
.elb-pg-chip[aria-pressed=true] {
|
|
1625
|
+
color: var(--elb-pg-text);
|
|
1626
|
+
background: color-mix(in srgb, var(--viz-fg) 4%, transparent);
|
|
1627
|
+
border-color: var(--elb-pg-chip);
|
|
1628
|
+
}
|
|
1629
|
+
.elb-pg-chip[aria-pressed=true] i {
|
|
1630
|
+
background: var(--elb-pg-chip);
|
|
1631
|
+
}
|
|
1632
|
+
.elb-pg-chip--property {
|
|
1633
|
+
--elb-pg-chip: var(--event-property);
|
|
1634
|
+
}
|
|
1635
|
+
.elb-pg-chip--action {
|
|
1636
|
+
--elb-pg-chip: var(--event-action);
|
|
1637
|
+
}
|
|
1638
|
+
.elb-pg-chip--context {
|
|
1639
|
+
--elb-pg-chip: var(--event-context);
|
|
1640
|
+
}
|
|
1641
|
+
.elb-pg-chip--globals {
|
|
1642
|
+
--elb-pg-chip: var(--event-globals);
|
|
1643
|
+
}
|
|
1644
|
+
.elb-pg-preview {
|
|
1645
|
+
flex: 1;
|
|
1646
|
+
min-height: 440px;
|
|
1647
|
+
padding: 24px 18px;
|
|
1648
|
+
color: var(--elb-pg-text);
|
|
1649
|
+
background: var(--elb-pg-code);
|
|
1650
|
+
font-family: var(--font-sans);
|
|
1651
|
+
}
|
|
1652
|
+
.elb-pg-editor {
|
|
1653
|
+
position: relative;
|
|
1654
|
+
flex: 1;
|
|
1655
|
+
background: var(--elb-pg-code);
|
|
1656
|
+
}
|
|
1657
|
+
.elb-pg-editor pre,
|
|
1658
|
+
.elb-pg-editor textarea {
|
|
1659
|
+
position: absolute;
|
|
1660
|
+
inset: 0;
|
|
1661
|
+
box-sizing: border-box;
|
|
1662
|
+
margin: 0;
|
|
1663
|
+
padding: 14px 16px;
|
|
1664
|
+
font: var(--type-code-step-size)/var(--elb-pg-line-height) var(--font-mono);
|
|
1665
|
+
white-space: pre;
|
|
1666
|
+
tab-size: 2;
|
|
1667
|
+
}
|
|
1668
|
+
.elb-pg-editor pre {
|
|
1669
|
+
overflow: hidden;
|
|
1670
|
+
color: var(--elb-pg-code-fg);
|
|
1671
|
+
background: transparent;
|
|
1672
|
+
border-radius: 0;
|
|
1673
|
+
pointer-events: none;
|
|
1674
|
+
}
|
|
1675
|
+
.elb-pg-editor pre > div {
|
|
1676
|
+
min-height: calc(var(--elb-pg-line-height) * 1em);
|
|
1677
|
+
}
|
|
1678
|
+
.elb-pg-editor textarea {
|
|
1679
|
+
width: 100%;
|
|
1680
|
+
height: 100%;
|
|
1681
|
+
overflow: auto;
|
|
1682
|
+
color: transparent;
|
|
1683
|
+
background: transparent;
|
|
1684
|
+
border: 0;
|
|
1685
|
+
outline: none;
|
|
1686
|
+
resize: none;
|
|
1687
|
+
caret-color: var(--elb-pg-text);
|
|
1688
|
+
}
|
|
1689
|
+
.elb-pg-editor textarea::selection {
|
|
1690
|
+
color: transparent;
|
|
1691
|
+
background: color-mix(in srgb, var(--primary) 35%, transparent);
|
|
1692
|
+
}
|
|
1693
|
+
.elb-pg-editor textarea:focus-visible {
|
|
1694
|
+
box-shadow: inset 0 0 0 2px var(--focus);
|
|
1695
|
+
}
|
|
1696
|
+
.elb-pg-editor__on {
|
|
1697
|
+
background: color-mix(in srgb, var(--primary) 8%, transparent);
|
|
1698
|
+
box-shadow: inset 2px 0 0 var(--primary);
|
|
1699
|
+
}
|
|
1700
|
+
.elb-pg-editor--tall {
|
|
1701
|
+
min-height: 480px;
|
|
1702
|
+
}
|
|
1703
|
+
.elb-pg-status {
|
|
1704
|
+
padding: 10px 14px;
|
|
1705
|
+
color: var(--elb-pg-dim);
|
|
1706
|
+
border-bottom: 1px solid var(--elb-pg-line-2);
|
|
1707
|
+
font: var(--type-product-caption-size) var(--font-mono);
|
|
1708
|
+
}
|
|
1709
|
+
.elb-pg-note {
|
|
1710
|
+
padding: 9px 14px;
|
|
1711
|
+
color: var(--event-context);
|
|
1712
|
+
background: color-mix(in srgb, var(--event-context) 8%, transparent);
|
|
1713
|
+
border-bottom: 1px solid var(--elb-pg-line-2);
|
|
1714
|
+
font-size: var(--type-product-small-size);
|
|
1715
|
+
}
|
|
1716
|
+
.elb-pg-error {
|
|
1717
|
+
padding: 8px 14px;
|
|
1718
|
+
color: var(--event-property);
|
|
1719
|
+
background: color-mix(in srgb, var(--event-property) 10%, transparent);
|
|
1720
|
+
border-bottom: 1px solid var(--elb-pg-line-2);
|
|
1721
|
+
font: var(--type-product-caption-size) var(--font-mono);
|
|
1722
|
+
}
|
|
1723
|
+
.elb-pg-scroll {
|
|
1724
|
+
flex: none;
|
|
1725
|
+
box-sizing: border-box;
|
|
1726
|
+
height: 400px;
|
|
1727
|
+
min-height: 0;
|
|
1728
|
+
overflow: auto;
|
|
1729
|
+
padding: 12px 0;
|
|
1730
|
+
color: var(--elb-pg-code-fg);
|
|
1731
|
+
background: var(--elb-pg-code);
|
|
1732
|
+
font: var(--type-code-step-size)/var(--elb-pg-line-height) var(--font-mono);
|
|
1733
|
+
}
|
|
1734
|
+
.elb-pg-scroll:focus-visible {
|
|
1735
|
+
outline: 2px solid var(--focus);
|
|
1736
|
+
outline-offset: -2px;
|
|
1737
|
+
}
|
|
1738
|
+
.elb-pg-panel--event .elb-pg-scroll,
|
|
1739
|
+
.elb-pg-scroll--map {
|
|
1740
|
+
flex-grow: 1;
|
|
1741
|
+
}
|
|
1742
|
+
.elb-pg-scroll--map {
|
|
1743
|
+
position: relative;
|
|
1744
|
+
height: 446px;
|
|
1745
|
+
padding: 0;
|
|
1746
|
+
overflow: hidden;
|
|
1747
|
+
}
|
|
1748
|
+
.elb-pg-out {
|
|
1749
|
+
min-height: 120px;
|
|
1750
|
+
padding: 12px 0;
|
|
1751
|
+
color: var(--elb-pg-code-fg);
|
|
1752
|
+
background: var(--elb-pg-code);
|
|
1753
|
+
font: var(--type-code-step-size)/var(--elb-pg-line-height) var(--font-mono);
|
|
1754
|
+
}
|
|
1755
|
+
.elb-pg-ln {
|
|
1756
|
+
padding-right: 14px;
|
|
1757
|
+
text-indent: -14px;
|
|
1758
|
+
white-space: pre-wrap;
|
|
1759
|
+
word-break: break-word;
|
|
1760
|
+
}
|
|
1761
|
+
.elb-pg-sent {
|
|
1762
|
+
display: inline-flex;
|
|
1763
|
+
align-items: center;
|
|
1764
|
+
gap: 6px;
|
|
1765
|
+
color: var(--event-entity);
|
|
1766
|
+
font: var(--type-product-caption-size) var(--font-mono);
|
|
1767
|
+
}
|
|
1768
|
+
.elb-pg-sent::before {
|
|
1769
|
+
content: "";
|
|
1770
|
+
width: 7px;
|
|
1771
|
+
height: 7px;
|
|
1772
|
+
background: currentColor;
|
|
1773
|
+
border-radius: var(--radius-full);
|
|
1774
|
+
}
|
|
1775
|
+
.elb-pg-c-key,
|
|
1776
|
+
.elb-pg-c-globals {
|
|
1777
|
+
color: var(--event-globals);
|
|
1778
|
+
}
|
|
1779
|
+
.elb-pg-c-str {
|
|
1780
|
+
color: var(--syntax-string);
|
|
1781
|
+
}
|
|
1782
|
+
.elb-pg-c-num {
|
|
1783
|
+
color: var(--syntax-number);
|
|
1784
|
+
}
|
|
1785
|
+
.elb-pg-c-punct {
|
|
1786
|
+
color: var(--viz-fg-2);
|
|
1787
|
+
}
|
|
1788
|
+
.elb-pg-c-tag,
|
|
1789
|
+
.elb-pg-c-property {
|
|
1790
|
+
color: var(--event-property);
|
|
1791
|
+
}
|
|
1792
|
+
.elb-pg-c-kw,
|
|
1793
|
+
.elb-pg-c-action {
|
|
1794
|
+
color: var(--event-action);
|
|
1795
|
+
}
|
|
1796
|
+
.elb-pg-c-fn {
|
|
1797
|
+
color: var(--syntax-function);
|
|
1798
|
+
}
|
|
1799
|
+
.elb-pg-c-dim {
|
|
1800
|
+
color: var(--elb-pg-dim);
|
|
1801
|
+
}
|
|
1802
|
+
.elb-pg-c-entity {
|
|
1803
|
+
color: var(--event-entity);
|
|
1804
|
+
}
|
|
1805
|
+
.elb-pg-c-context {
|
|
1806
|
+
color: var(--event-context);
|
|
1807
|
+
}
|
|
1808
|
+
@media (max-width: 1127px) {
|
|
1809
|
+
.elb-pg__grid {
|
|
1810
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
1811
|
+
grid-template-areas: "comp event" "comp mapping" "result result";
|
|
1812
|
+
}
|
|
1813
|
+
.elb-pg-scroll,
|
|
1814
|
+
.elb-pg-scroll--map {
|
|
1815
|
+
height: 240px;
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
@media (max-width: 747px) {
|
|
1819
|
+
.elb-pg__grid {
|
|
1820
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1821
|
+
grid-template-areas: "comp" "event" "mapping" "result";
|
|
1822
|
+
}
|
|
1823
|
+
.elb-pg-scroll,
|
|
1824
|
+
.elb-pg-scroll--map {
|
|
1825
|
+
height: 360px;
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1242
1829
|
@layer components {
|
|
1243
1830
|
.elb-btn {
|
|
1244
1831
|
box-sizing: border-box;
|
|
@@ -1284,7 +1871,7 @@
|
|
|
1284
1871
|
@layer components {
|
|
1285
1872
|
.elb-code-inline {
|
|
1286
1873
|
font-family: var(--font-mono);
|
|
1287
|
-
font-size:
|
|
1874
|
+
font-size: var(--type-code-inline-size);
|
|
1288
1875
|
background: var(--surface-2);
|
|
1289
1876
|
border: 1px solid var(--border);
|
|
1290
1877
|
padding: 0.1em 0.4em;
|
|
@@ -1298,7 +1885,7 @@
|
|
|
1298
1885
|
flex-wrap: wrap;
|
|
1299
1886
|
gap: 14px;
|
|
1300
1887
|
font-family: var(--font-viz-mono);
|
|
1301
|
-
font-size:
|
|
1888
|
+
font-size: var(--type-viz-legend-size);
|
|
1302
1889
|
color: var(--viz-fg-2);
|
|
1303
1890
|
background: var(--viz-bg);
|
|
1304
1891
|
padding: 12px 16px;
|
|
@@ -1363,7 +1950,7 @@
|
|
|
1363
1950
|
display: flex;
|
|
1364
1951
|
color: var(--primary);
|
|
1365
1952
|
font-family: var(--type-display-family);
|
|
1366
|
-
font-size:
|
|
1953
|
+
font-size: var(--type-footer-statement-size);
|
|
1367
1954
|
line-height: 1;
|
|
1368
1955
|
font-weight: var(--type-display-weight);
|
|
1369
1956
|
letter-spacing: -0.03em;
|
|
@@ -1511,6 +2098,30 @@
|
|
|
1511
2098
|
border: 0;
|
|
1512
2099
|
}
|
|
1513
2100
|
}
|
|
2101
|
+
@layer components {
|
|
2102
|
+
.elb-photo {
|
|
2103
|
+
display: flex;
|
|
2104
|
+
align-items: center;
|
|
2105
|
+
justify-content: center;
|
|
2106
|
+
overflow: hidden;
|
|
2107
|
+
color: var(--fg-3);
|
|
2108
|
+
background:
|
|
2109
|
+
repeating-linear-gradient(
|
|
2110
|
+
45deg,
|
|
2111
|
+
var(--surface-2) 0 6px,
|
|
2112
|
+
var(--border) 6px 12px);
|
|
2113
|
+
font-family: var(--type-viz-code-family);
|
|
2114
|
+
font-size: var(--type-viz-legend-size);
|
|
2115
|
+
}
|
|
2116
|
+
.elb-photo--viz {
|
|
2117
|
+
color: var(--viz-comment);
|
|
2118
|
+
background:
|
|
2119
|
+
repeating-linear-gradient(
|
|
2120
|
+
45deg,
|
|
2121
|
+
var(--viz-surface) 0 6px,
|
|
2122
|
+
var(--viz-border) 6px 12px);
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
1514
2125
|
@layer components {
|
|
1515
2126
|
.elb-checklist {
|
|
1516
2127
|
display: flex;
|
|
@@ -1595,7 +2206,7 @@
|
|
|
1595
2206
|
margin: 14px 0 0;
|
|
1596
2207
|
color: var(--fg-2);
|
|
1597
2208
|
font-family: var(--type-lead-family);
|
|
1598
|
-
font-size:
|
|
2209
|
+
font-size: var(--type-title-item-size);
|
|
1599
2210
|
line-height: var(--type-lead-line-height);
|
|
1600
2211
|
font-weight: var(--type-lead-weight);
|
|
1601
2212
|
}
|
|
@@ -1702,7 +2313,7 @@
|
|
|
1702
2313
|
content: "+";
|
|
1703
2314
|
flex: none;
|
|
1704
2315
|
color: var(--fg-3);
|
|
1705
|
-
font-size:
|
|
2316
|
+
font-size: var(--type-lead-size);
|
|
1706
2317
|
line-height: 1;
|
|
1707
2318
|
}
|
|
1708
2319
|
.elb-faq__question:hover {
|
|
@@ -1809,6 +2420,231 @@
|
|
|
1809
2420
|
color: var(--fg);
|
|
1810
2421
|
}
|
|
1811
2422
|
}
|
|
2423
|
+
@layer components {
|
|
2424
|
+
.elb-browser {
|
|
2425
|
+
display: flex;
|
|
2426
|
+
flex-direction: column;
|
|
2427
|
+
min-width: 0;
|
|
2428
|
+
overflow: hidden;
|
|
2429
|
+
color: var(--fg);
|
|
2430
|
+
background: var(--surface);
|
|
2431
|
+
border: 1px solid var(--border-strong);
|
|
2432
|
+
border-radius: var(--radius-lg);
|
|
2433
|
+
}
|
|
2434
|
+
.elb-browser__bar {
|
|
2435
|
+
container: elb-browser-bar/inline-size;
|
|
2436
|
+
display: flex;
|
|
2437
|
+
align-items: center;
|
|
2438
|
+
gap: var(--space-3);
|
|
2439
|
+
padding: 10px 12px;
|
|
2440
|
+
border-bottom: 1px solid var(--border);
|
|
2441
|
+
}
|
|
2442
|
+
.elb-browser__dots {
|
|
2443
|
+
display: flex;
|
|
2444
|
+
flex: none;
|
|
2445
|
+
gap: 7px;
|
|
2446
|
+
}
|
|
2447
|
+
.elb-browser__dots > span {
|
|
2448
|
+
width: 10px;
|
|
2449
|
+
height: 10px;
|
|
2450
|
+
background: var(--border-strong);
|
|
2451
|
+
border-radius: var(--radius-full);
|
|
2452
|
+
}
|
|
2453
|
+
.elb-browser__address {
|
|
2454
|
+
display: flex;
|
|
2455
|
+
flex: 1 1 auto;
|
|
2456
|
+
align-items: center;
|
|
2457
|
+
gap: var(--space-2);
|
|
2458
|
+
min-width: 0;
|
|
2459
|
+
padding: 5px 12px;
|
|
2460
|
+
color: var(--fg-2);
|
|
2461
|
+
background: var(--bg-2);
|
|
2462
|
+
border: 1px solid var(--border);
|
|
2463
|
+
border-radius: var(--radius-full);
|
|
2464
|
+
font-family: var(--type-small-family);
|
|
2465
|
+
font-size: var(--type-small-size);
|
|
2466
|
+
line-height: var(--type-small-line-height);
|
|
2467
|
+
}
|
|
2468
|
+
.elb-browser__url {
|
|
2469
|
+
min-width: 0;
|
|
2470
|
+
overflow: hidden;
|
|
2471
|
+
text-overflow: ellipsis;
|
|
2472
|
+
white-space: nowrap;
|
|
2473
|
+
}
|
|
2474
|
+
.elb-browser__reload,
|
|
2475
|
+
.elb-browser__actions > :is(a, button),
|
|
2476
|
+
.elb-browser__bookmark {
|
|
2477
|
+
display: inline-flex;
|
|
2478
|
+
flex: none;
|
|
2479
|
+
align-items: center;
|
|
2480
|
+
color: var(--fg-2);
|
|
2481
|
+
background: transparent;
|
|
2482
|
+
border: 1px solid transparent;
|
|
2483
|
+
text-decoration: none;
|
|
2484
|
+
cursor: pointer;
|
|
2485
|
+
transition:
|
|
2486
|
+
color var(--motion) var(--ease),
|
|
2487
|
+
background var(--motion) var(--ease),
|
|
2488
|
+
border-color var(--motion) var(--ease);
|
|
2489
|
+
}
|
|
2490
|
+
.elb-browser__reload:hover:not(:disabled),
|
|
2491
|
+
.elb-browser__actions > :is(a, button):hover:not(:disabled),
|
|
2492
|
+
.elb-browser__bookmark:hover:not(:disabled) {
|
|
2493
|
+
color: var(--fg);
|
|
2494
|
+
background: var(--surface-2);
|
|
2495
|
+
}
|
|
2496
|
+
.elb-browser__reload:disabled,
|
|
2497
|
+
.elb-browser__actions > :is(a, button):disabled,
|
|
2498
|
+
.elb-browser__bookmark:disabled {
|
|
2499
|
+
cursor: default;
|
|
2500
|
+
}
|
|
2501
|
+
.elb-browser__reload,
|
|
2502
|
+
.elb-browser__actions > :is(a, button) {
|
|
2503
|
+
justify-content: center;
|
|
2504
|
+
padding: 6px;
|
|
2505
|
+
border-radius: var(--radius-sm);
|
|
2506
|
+
}
|
|
2507
|
+
.elb-browser__actions {
|
|
2508
|
+
display: flex;
|
|
2509
|
+
flex: none;
|
|
2510
|
+
align-items: center;
|
|
2511
|
+
gap: 4px;
|
|
2512
|
+
}
|
|
2513
|
+
.elb-browser__bookmarks {
|
|
2514
|
+
display: flex;
|
|
2515
|
+
gap: 4px;
|
|
2516
|
+
padding: 6px 12px;
|
|
2517
|
+
overflow-x: auto;
|
|
2518
|
+
border-bottom: 1px solid var(--border);
|
|
2519
|
+
}
|
|
2520
|
+
.elb-browser__bookmark {
|
|
2521
|
+
gap: 6px;
|
|
2522
|
+
padding: 4px 10px;
|
|
2523
|
+
border-radius: var(--radius-full);
|
|
2524
|
+
font-family: var(--type-small-family);
|
|
2525
|
+
font-size: var(--type-small-size);
|
|
2526
|
+
line-height: var(--type-small-line-height);
|
|
2527
|
+
white-space: nowrap;
|
|
2528
|
+
}
|
|
2529
|
+
.elb-browser__bookmark--active {
|
|
2530
|
+
color: var(--fg);
|
|
2531
|
+
background: var(--surface-2);
|
|
2532
|
+
border-color: var(--border-strong);
|
|
2533
|
+
}
|
|
2534
|
+
.elb-browser__viewport {
|
|
2535
|
+
position: relative;
|
|
2536
|
+
flex: 1 1 auto;
|
|
2537
|
+
min-height: 0;
|
|
2538
|
+
overflow: auto;
|
|
2539
|
+
background: var(--bg);
|
|
2540
|
+
}
|
|
2541
|
+
.elb-browser__viewport > iframe {
|
|
2542
|
+
display: block;
|
|
2543
|
+
width: 100%;
|
|
2544
|
+
height: 100%;
|
|
2545
|
+
border: 0;
|
|
2546
|
+
}
|
|
2547
|
+
@container elb-browser-bar (max-width: 479px) {
|
|
2548
|
+
.elb-browser__dots {
|
|
2549
|
+
display: none;
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
@layer components {
|
|
2554
|
+
.elb-quickstart {
|
|
2555
|
+
display: flex;
|
|
2556
|
+
flex-direction: column;
|
|
2557
|
+
align-items: flex-start;
|
|
2558
|
+
gap: 32px;
|
|
2559
|
+
}
|
|
2560
|
+
.elb-quickstart__steps {
|
|
2561
|
+
display: grid;
|
|
2562
|
+
grid-auto-flow: column;
|
|
2563
|
+
grid-auto-columns: minmax(0, 1fr) 84px;
|
|
2564
|
+
gap: 0 16px;
|
|
2565
|
+
align-items: start;
|
|
2566
|
+
align-self: stretch;
|
|
2567
|
+
margin: 0;
|
|
2568
|
+
padding: 0;
|
|
2569
|
+
list-style: none;
|
|
2570
|
+
}
|
|
2571
|
+
.elb-quickstart__step {
|
|
2572
|
+
display: flex;
|
|
2573
|
+
flex-direction: column;
|
|
2574
|
+
gap: var(--space-3-5);
|
|
2575
|
+
min-width: 0;
|
|
2576
|
+
margin: 0;
|
|
2577
|
+
}
|
|
2578
|
+
.elb-quickstart__head {
|
|
2579
|
+
display: flex;
|
|
2580
|
+
align-items: center;
|
|
2581
|
+
gap: var(--space-3);
|
|
2582
|
+
}
|
|
2583
|
+
.elb-quickstart__num {
|
|
2584
|
+
flex: none;
|
|
2585
|
+
display: inline-flex;
|
|
2586
|
+
align-items: center;
|
|
2587
|
+
justify-content: center;
|
|
2588
|
+
box-sizing: border-box;
|
|
2589
|
+
width: 32px;
|
|
2590
|
+
height: 32px;
|
|
2591
|
+
border: 1px solid var(--primary);
|
|
2592
|
+
border-radius: var(--radius-full);
|
|
2593
|
+
color: var(--link);
|
|
2594
|
+
font-family: var(--font-mono);
|
|
2595
|
+
font-size: var(--type-small-size);
|
|
2596
|
+
font-weight: 600;
|
|
2597
|
+
}
|
|
2598
|
+
.elb-quickstart__title {
|
|
2599
|
+
margin: 0;
|
|
2600
|
+
color: var(--fg);
|
|
2601
|
+
font-family: var(--type-title-card-family);
|
|
2602
|
+
font-size: var(--type-title-card-size);
|
|
2603
|
+
font-weight: var(--type-title-card-weight);
|
|
2604
|
+
line-height: 1.3;
|
|
2605
|
+
}
|
|
2606
|
+
.elb-quickstart__copy {
|
|
2607
|
+
margin: 0;
|
|
2608
|
+
color: var(--fg-2);
|
|
2609
|
+
font-family: var(--type-body-family);
|
|
2610
|
+
font-size: var(--type-body-size);
|
|
2611
|
+
line-height: var(--type-body-line-height);
|
|
2612
|
+
text-wrap: pretty;
|
|
2613
|
+
}
|
|
2614
|
+
.elb-quickstart__arrow {
|
|
2615
|
+
display: flex;
|
|
2616
|
+
align-items: center;
|
|
2617
|
+
justify-content: center;
|
|
2618
|
+
height: 32px;
|
|
2619
|
+
margin: 0;
|
|
2620
|
+
color: var(--primary);
|
|
2621
|
+
}
|
|
2622
|
+
.elb-quickstart__arrow > svg {
|
|
2623
|
+
overflow: visible;
|
|
2624
|
+
}
|
|
2625
|
+
.elb-quickstart__arrow--wave > svg {
|
|
2626
|
+
transform: rotate(-4deg);
|
|
2627
|
+
}
|
|
2628
|
+
.elb-quickstart__arrow--loop > svg {
|
|
2629
|
+
transform: rotate(3deg);
|
|
2630
|
+
}
|
|
2631
|
+
@media (max-width: 807px) {
|
|
2632
|
+
.elb-quickstart__steps {
|
|
2633
|
+
grid-auto-flow: row;
|
|
2634
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2635
|
+
gap: 4px;
|
|
2636
|
+
}
|
|
2637
|
+
.elb-quickstart__arrow {
|
|
2638
|
+
height: 64px;
|
|
2639
|
+
}
|
|
2640
|
+
.elb-quickstart__arrow--wave > svg {
|
|
2641
|
+
transform: rotate(90deg);
|
|
2642
|
+
}
|
|
2643
|
+
.elb-quickstart__arrow--loop > svg {
|
|
2644
|
+
transform: rotate(90deg) scaleY(-1);
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
1812
2648
|
@layer components {
|
|
1813
2649
|
.elb-section {
|
|
1814
2650
|
box-sizing: border-box;
|
|
@@ -1895,6 +2731,9 @@
|
|
|
1895
2731
|
.elb-cluster--center {
|
|
1896
2732
|
justify-content: center;
|
|
1897
2733
|
}
|
|
2734
|
+
.elb-cluster--separated {
|
|
2735
|
+
margin-top: var(--heading-gap);
|
|
2736
|
+
}
|
|
1898
2737
|
}
|
|
1899
2738
|
@layer components {
|
|
1900
2739
|
.elb-hero {
|
|
@@ -2100,7 +2939,7 @@
|
|
|
2100
2939
|
border: 1.5px solid var(--elb-viz-pill);
|
|
2101
2940
|
border-radius: var(--radius-xs);
|
|
2102
2941
|
font-family: var(--type-viz-code-family);
|
|
2103
|
-
font-size:
|
|
2942
|
+
font-size: var(--type-viz-legend-size);
|
|
2104
2943
|
line-height: 16px;
|
|
2105
2944
|
font-weight: 500;
|
|
2106
2945
|
white-space: nowrap;
|
|
@@ -2282,14 +3121,14 @@
|
|
|
2282
3121
|
text-align: right;
|
|
2283
3122
|
}
|
|
2284
3123
|
.elb-viz-table__row--header > .elb-viz-table__cell--n {
|
|
2285
|
-
font-size:
|
|
3124
|
+
font-size: var(--type-viz-legend-size);
|
|
2286
3125
|
}
|
|
2287
3126
|
.elb-viz-table__row--skeleton > .elb-viz-table__cell--n {
|
|
2288
3127
|
color: var(--viz-line-number);
|
|
2289
3128
|
}
|
|
2290
3129
|
.elb-viz-table__type {
|
|
2291
3130
|
color: var(--viz-comment);
|
|
2292
|
-
font-size:
|
|
3131
|
+
font-size: var(--type-viz-legend-size);
|
|
2293
3132
|
}
|
|
2294
3133
|
.elb-viz-table__json {
|
|
2295
3134
|
color: var(--viz-punct);
|
|
@@ -2391,7 +3230,7 @@
|
|
|
2391
3230
|
border: 1px solid var(--border);
|
|
2392
3231
|
border-radius: var(--radius-md);
|
|
2393
3232
|
font-family: var(--type-viz-code-family);
|
|
2394
|
-
font-size:
|
|
3233
|
+
font-size: var(--type-viz-code-size);
|
|
2395
3234
|
line-height: 1.6;
|
|
2396
3235
|
white-space: pre;
|
|
2397
3236
|
}
|
|
@@ -2404,7 +3243,7 @@
|
|
|
2404
3243
|
.elb-viz-mapping__comment {
|
|
2405
3244
|
color: var(--viz-comment);
|
|
2406
3245
|
font-family: var(--type-viz-code-family);
|
|
2407
|
-
font-size:
|
|
3246
|
+
font-size: var(--type-viz-code-size);
|
|
2408
3247
|
font-style: italic;
|
|
2409
3248
|
}
|
|
2410
3249
|
.elb-viz-mapping__cards {
|
|
@@ -2441,7 +3280,7 @@
|
|
|
2441
3280
|
flex: none;
|
|
2442
3281
|
width: 58px;
|
|
2443
3282
|
color: var(--viz-comment);
|
|
2444
|
-
font-size:
|
|
3283
|
+
font-size: var(--type-viz-legend-size);
|
|
2445
3284
|
}
|
|
2446
3285
|
.elb-viz-mapping__rule,
|
|
2447
3286
|
.elb-viz-mapping__calls {
|
|
@@ -2535,7 +3374,7 @@
|
|
|
2535
3374
|
min-height: 268px;
|
|
2536
3375
|
padding: 12px 0 14px;
|
|
2537
3376
|
font-family: var(--type-viz-code-family);
|
|
2538
|
-
font-size:
|
|
3377
|
+
font-size: var(--type-viz-chip-size);
|
|
2539
3378
|
line-height: 1.95;
|
|
2540
3379
|
opacity: var(--elb-viz-fade);
|
|
2541
3380
|
}
|
|
@@ -2609,7 +3448,7 @@
|
|
|
2609
3448
|
color: var(--viz-fg-2);
|
|
2610
3449
|
border-radius: var(--radius-xs);
|
|
2611
3450
|
font-family: var(--type-viz-code-family);
|
|
2612
|
-
font-size:
|
|
3451
|
+
font-size: var(--type-viz-legend-size);
|
|
2613
3452
|
letter-spacing: 0.04em;
|
|
2614
3453
|
outline: 1.5px solid transparent;
|
|
2615
3454
|
}
|
|
@@ -2682,7 +3521,7 @@
|
|
|
2682
3521
|
flex-basis: 100%;
|
|
2683
3522
|
}
|
|
2684
3523
|
.elb-viz-hero__code {
|
|
2685
|
-
font-size:
|
|
3524
|
+
font-size: var(--type-viz-code-size);
|
|
2686
3525
|
}
|
|
2687
3526
|
.elb-viz-hero__stage {
|
|
2688
3527
|
padding: 24px 12px;
|
|
@@ -2731,8 +3570,8 @@
|
|
|
2731
3570
|
}
|
|
2732
3571
|
.elb-viz-teaser__step--active {
|
|
2733
3572
|
color: var(--viz-fg);
|
|
2734
|
-
background: color-mix(in srgb, var(--
|
|
2735
|
-
border-color: var(--
|
|
3573
|
+
background: color-mix(in srgb, var(--primary) 10%, transparent);
|
|
3574
|
+
border-color: var(--primary);
|
|
2736
3575
|
}
|
|
2737
3576
|
.elb-viz-teaser__step-number {
|
|
2738
3577
|
width: 20px;
|
|
@@ -2740,7 +3579,7 @@
|
|
|
2740
3579
|
color: var(--viz-bg);
|
|
2741
3580
|
background: var(--viz-border);
|
|
2742
3581
|
border-radius: var(--radius-full);
|
|
2743
|
-
font-size:
|
|
3582
|
+
font-size: var(--type-viz-legend-size);
|
|
2744
3583
|
line-height: 20px;
|
|
2745
3584
|
font-weight: 600;
|
|
2746
3585
|
text-align: center;
|
|
@@ -2749,7 +3588,8 @@
|
|
|
2749
3588
|
background: var(--viz-comment);
|
|
2750
3589
|
}
|
|
2751
3590
|
.elb-viz-teaser__step--active > .elb-viz-teaser__step-number {
|
|
2752
|
-
|
|
3591
|
+
color: var(--on-primary);
|
|
3592
|
+
background: var(--primary);
|
|
2753
3593
|
}
|
|
2754
3594
|
.elb-viz-teaser__legend > .elb-legend {
|
|
2755
3595
|
padding: 0;
|
|
@@ -2950,21 +3790,9 @@
|
|
|
2950
3790
|
opacity: 1;
|
|
2951
3791
|
}
|
|
2952
3792
|
.elb-viz-teaser__photo {
|
|
2953
|
-
display: flex;
|
|
2954
3793
|
flex: none;
|
|
2955
|
-
align-items: center;
|
|
2956
|
-
justify-content: center;
|
|
2957
3794
|
height: 86px;
|
|
2958
|
-
overflow: hidden;
|
|
2959
|
-
color: var(--viz-comment);
|
|
2960
|
-
background:
|
|
2961
|
-
repeating-linear-gradient(
|
|
2962
|
-
45deg,
|
|
2963
|
-
var(--viz-surface) 0 6px,
|
|
2964
|
-
var(--viz-border) 6px 12px);
|
|
2965
3795
|
border-radius: var(--radius-sm);
|
|
2966
|
-
font-family: var(--type-viz-code-family);
|
|
2967
|
-
font-size: 10.5px;
|
|
2968
3796
|
}
|
|
2969
3797
|
.elb-viz-teaser__kicker {
|
|
2970
3798
|
align-self: flex-start;
|
|
@@ -2973,7 +3801,7 @@
|
|
|
2973
3801
|
background: var(--viz-border);
|
|
2974
3802
|
border-radius: var(--radius-xs);
|
|
2975
3803
|
font-family: var(--type-viz-code-family);
|
|
2976
|
-
font-size:
|
|
3804
|
+
font-size: var(--type-viz-legend-size);
|
|
2977
3805
|
letter-spacing: 0.04em;
|
|
2978
3806
|
outline: 1.5px solid transparent;
|
|
2979
3807
|
}
|