@salesforcedevs/arch-components 1.27.21 → 1.27.22
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/lwc.config.json +0 -1
- package/package.json +2 -2
- package/src/modules/arch/content/__fixtures__/index.ts +0 -884
- package/src/modules/arch/content/content.css +0 -643
- package/src/modules/arch/content/content.html +0 -65
- package/src/modules/arch/content/content.stories.js +0 -21
- package/src/modules/arch/content/content.ts +0 -169
|
@@ -1,643 +0,0 @@
|
|
|
1
|
-
@import "arch/reset";
|
|
2
|
-
|
|
3
|
-
* {
|
|
4
|
-
border: 0;
|
|
5
|
-
vertical-align: baseline;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
article,
|
|
9
|
-
aside,
|
|
10
|
-
details,
|
|
11
|
-
figcaption,
|
|
12
|
-
figure,
|
|
13
|
-
footer,
|
|
14
|
-
header,
|
|
15
|
-
hgroup,
|
|
16
|
-
menu,
|
|
17
|
-
nav,
|
|
18
|
-
section {
|
|
19
|
-
display: block;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
ol,
|
|
23
|
-
ul {
|
|
24
|
-
list-style: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
blockquote,
|
|
28
|
-
q {
|
|
29
|
-
quotes: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
blockquote::before,
|
|
33
|
-
blockquote::after,
|
|
34
|
-
q::before,
|
|
35
|
-
q::after {
|
|
36
|
-
content: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
main table {
|
|
40
|
-
border-collapse: collapse;
|
|
41
|
-
border-spacing: 0;
|
|
42
|
-
display: block;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
main tbody {
|
|
46
|
-
overflow-y: auto;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.root {
|
|
50
|
-
display: grid;
|
|
51
|
-
padding-left: 1rem;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@media screen and (min-width: 800px) {
|
|
55
|
-
.root {
|
|
56
|
-
grid-template-columns: 1fr minmax(300px, 0.25fr);
|
|
57
|
-
grid-gap: calc(var(--arch-spacing-32) + var(--arch-spacing-6));
|
|
58
|
-
justify-content: space-between;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@media screen and (max-width: 800px) {
|
|
63
|
-
aside {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.root {
|
|
68
|
-
padding-right: 0.5rem;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
main {
|
|
73
|
-
max-width: 800px;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
aside {
|
|
78
|
-
font-size: var(--arch-font-size-sm);
|
|
79
|
-
align-self: flex-start;
|
|
80
|
-
background-color: var(--arch-color-white);
|
|
81
|
-
border-radius: var(--arch-radius-lg);
|
|
82
|
-
box-shadow: var(--arch-shadow-sm);
|
|
83
|
-
position: sticky;
|
|
84
|
-
padding: var(--arch-spacing-5);
|
|
85
|
-
top: calc(
|
|
86
|
-
var(--dx-g-global-header-height) + 3px
|
|
87
|
-
); /* The 3px is to account for the shadow */
|
|
88
|
-
|
|
89
|
-
line-height: var(--arch-line-height-normal);
|
|
90
|
-
max-height: calc(94vh - var(--dx-g-global-header-height) - 3px);
|
|
91
|
-
overflow: auto;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
aside a {
|
|
95
|
-
display: block;
|
|
96
|
-
text-decoration: none;
|
|
97
|
-
color: var(--arch-color-meteorite);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
aside a:hover {
|
|
101
|
-
display: block;
|
|
102
|
-
color: var(--arch-color-brand);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
main h2 {
|
|
106
|
-
font-size: var(--arch-font-size-2xl);
|
|
107
|
-
margin-bottom: var(--arch-spacing-4);
|
|
108
|
-
margin-top: var(--arch-spacing-12);
|
|
109
|
-
font-weight: bold;
|
|
110
|
-
text-transform: capitalize;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
main h2:first-child {
|
|
114
|
-
margin-top: 0;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
main h2 .default-text-transform {
|
|
118
|
-
text-transform: initial;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
main h3,
|
|
122
|
-
main h4,
|
|
123
|
-
main h5,
|
|
124
|
-
main h6 {
|
|
125
|
-
font-size: var(--arch-font-size-xl);
|
|
126
|
-
font-weight: bold;
|
|
127
|
-
margin-bottom: var(--arch-spacing-4);
|
|
128
|
-
margin-top: var(--arch-spacing-10);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
main p {
|
|
132
|
-
color: var(--arch-color-black);
|
|
133
|
-
margin-top: 0;
|
|
134
|
-
margin-bottom: var(--arch-spacing-4);
|
|
135
|
-
line-height: var(--arch-line-height-normal);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
main p,
|
|
139
|
-
main li,
|
|
140
|
-
main dl {
|
|
141
|
-
font-size: 1.0625rem; /* 17px Special */
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
main i {
|
|
145
|
-
margin-right: var(--arch-spacing-2);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
main a,
|
|
149
|
-
main a:visited {
|
|
150
|
-
color: var(--arch-color-brand);
|
|
151
|
-
text-decoration: none;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
main a:hover {
|
|
155
|
-
text-decoration: underline;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
main strong,
|
|
159
|
-
b {
|
|
160
|
-
font-weight: bold;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
main em,
|
|
164
|
-
i {
|
|
165
|
-
font-style: italic;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
dfn {
|
|
169
|
-
font-weight: bold;
|
|
170
|
-
font-style: italic;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
main pre {
|
|
174
|
-
background-color: var(--arch-color-sand);
|
|
175
|
-
border-radius: var(--arch-radius-lg);
|
|
176
|
-
margin-bottom: var(--arch-spacing-4);
|
|
177
|
-
overflow-x: auto;
|
|
178
|
-
padding: var(--arch-spacing-4);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
main pre code,
|
|
182
|
-
main pre samp,
|
|
183
|
-
main pre kbd,
|
|
184
|
-
main pre var {
|
|
185
|
-
font-size: var(--arch-font-size-md);
|
|
186
|
-
color: var(--arch-color-meteorite);
|
|
187
|
-
background-color: transparent;
|
|
188
|
-
box-shadow: none;
|
|
189
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
main code {
|
|
193
|
-
font-size: var(--arch-font-size-md);
|
|
194
|
-
padding: var(--arch-spacing-1);
|
|
195
|
-
color: #0061b6;
|
|
196
|
-
background-color: #d9ecfe;
|
|
197
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
198
|
-
border-radius: var(--arch-radius-md);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
main samp {
|
|
202
|
-
font-size: var(--arch-font-size-md);
|
|
203
|
-
padding: var(--arch-spacing-1);
|
|
204
|
-
background-color: #fff;
|
|
205
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
206
|
-
border-radius: var(--arch-radius-md);
|
|
207
|
-
box-shadow: var(--arch-shadow-sm);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
main var {
|
|
211
|
-
font-size: var(--arch-font-size-md);
|
|
212
|
-
padding: var(--arch-spacing-1);
|
|
213
|
-
color: #5a0675;
|
|
214
|
-
background-color: #ebe9f9;
|
|
215
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
216
|
-
border-radius: var(--arch-radius-md);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
main kbd {
|
|
220
|
-
font-size: var(--arch-font-size-md);
|
|
221
|
-
padding: var(--arch-spacing-1);
|
|
222
|
-
color: var(--arch-color-black);
|
|
223
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
224
|
-
border-radius: var(--arch-radius-md);
|
|
225
|
-
background-color: var(--arch-color-sand);
|
|
226
|
-
border: 1px solid var(--arch-color-fog);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
main mark {
|
|
230
|
-
background-color: #ff0;
|
|
231
|
-
font-weight: bold;
|
|
232
|
-
padding: var(--arch-spacing-1);
|
|
233
|
-
border-radius: var(--arch-radius-md);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
main ins {
|
|
237
|
-
font-weight: bold;
|
|
238
|
-
padding: var(--arch-spacing-1);
|
|
239
|
-
color: #067568;
|
|
240
|
-
background-color: #e9f9f3;
|
|
241
|
-
border-radius: var(--arch-radius-md);
|
|
242
|
-
text-decoration: none;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
main abbr,
|
|
246
|
-
main acronym {
|
|
247
|
-
text-decoration: none;
|
|
248
|
-
font-variant: none;
|
|
249
|
-
border-bottom: dotted 2px var(--arch-color-ocean);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
main abbr:hover,
|
|
253
|
-
main acronym:hover {
|
|
254
|
-
border-bottom: solid 2px var(--arch-color-ocean);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
main u {
|
|
258
|
-
text-decoration: var(--arch-color-brand) wavy underline;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
main tt {
|
|
262
|
-
background: linear-gradient(
|
|
263
|
-
90deg,
|
|
264
|
-
rgb(255 71 52) 0%,
|
|
265
|
-
rgb(182 53 255) 25%,
|
|
266
|
-
rgb(37 154 255) 50%,
|
|
267
|
-
rgb(0 216 216) 75%,
|
|
268
|
-
rgb(28 249 45) 100%
|
|
269
|
-
);
|
|
270
|
-
font-weight: bold;
|
|
271
|
-
border-radius: var(--arch-radius-md);
|
|
272
|
-
padding: var(--arch-spacing-1);
|
|
273
|
-
color: var(--arch-color-white);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
sup {
|
|
277
|
-
vertical-align: super;
|
|
278
|
-
line-height: var(--arch-line-height-none);
|
|
279
|
-
font-size: var(--arch-font-size-xs);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
sub {
|
|
283
|
-
vertical-align: sub;
|
|
284
|
-
line-height: var(--arch-line-height-none);
|
|
285
|
-
font-size: var(--arch-font-size-xs);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
main small {
|
|
289
|
-
font-size: var(--arch-font-size-xs);
|
|
290
|
-
font-style: italic;
|
|
291
|
-
color: var(--arch-color-meteorite);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
main blockquote,
|
|
295
|
-
main q {
|
|
296
|
-
font-style: italic;
|
|
297
|
-
font-size: var(--arch-font-size-xl);
|
|
298
|
-
margin-top: var(--arch-spacing-6);
|
|
299
|
-
line-height: var(--arch-line-height-normal);
|
|
300
|
-
margin-bottom: var(--arch-spacing-6);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
main blockquote {
|
|
304
|
-
border-left: 4px solid var(--arch-color-architect-light);
|
|
305
|
-
padding-left: var(--arch-spacing-8);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
main q {
|
|
309
|
-
position: relative;
|
|
310
|
-
display: block;
|
|
311
|
-
padding-left: var(--arch-spacing-10);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
main q::before {
|
|
315
|
-
content: "“";
|
|
316
|
-
color: var(--arch-color-architect-light);
|
|
317
|
-
font-size: 5rem;
|
|
318
|
-
display: block;
|
|
319
|
-
position: absolute;
|
|
320
|
-
left: -8px;
|
|
321
|
-
line-height: var(--arch-line-height-none);
|
|
322
|
-
top: 30px;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
cite {
|
|
326
|
-
display: block;
|
|
327
|
-
font-size: var(--arch-font-size-md);
|
|
328
|
-
margin-top: var(--arch-spacing-2);
|
|
329
|
-
color: var(--arch-color-meteorite);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
main ul,
|
|
333
|
-
main ol,
|
|
334
|
-
main dl {
|
|
335
|
-
line-height: var(--arch-line-height-normal);
|
|
336
|
-
margin-top: var(--arch-spacing-0);
|
|
337
|
-
margin-bottom: var(--arch-spacing-4);
|
|
338
|
-
margin-left: var(--arch-spacing-10);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
main ul li {
|
|
342
|
-
list-style-type: disc;
|
|
343
|
-
margin-top: var(--arch-spacing-0);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
main ul ul li {
|
|
347
|
-
list-style-type: circle;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
main ul ul ul li {
|
|
351
|
-
list-style-type: square;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
main ol li {
|
|
355
|
-
list-style-type: decimal;
|
|
356
|
-
margin-top: var(--arch-spacing-1);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
main ol ol li {
|
|
360
|
-
list-style-type: lower-latin;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
main ol ol ol li {
|
|
364
|
-
list-style-type: lower-roman;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
main ol ol ol ol li {
|
|
368
|
-
list-style-type: decimal;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
main ol ol ol ol ol li {
|
|
372
|
-
list-style-type: lower-latin;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
main ol ul li {
|
|
376
|
-
list-style-type: disc;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
main ol ul ol li {
|
|
380
|
-
list-style-type: lower-latin;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
main ol ul ol ul li {
|
|
384
|
-
list-style-type: square;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
main ul ul ul ul li {
|
|
388
|
-
list-style-type: none;
|
|
389
|
-
margin-left: -1rem;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
main ul ul ul ul li::before {
|
|
393
|
-
content: "▫";
|
|
394
|
-
padding-right: var(--arch-spacing-2);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
main ul ul ul ul ul li {
|
|
398
|
-
list-style-type: none;
|
|
399
|
-
margin-left: -1rem;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
main ul ul ul ul ul li::before {
|
|
403
|
-
content: "▶";
|
|
404
|
-
padding-right: var(--arch-spacing-2);
|
|
405
|
-
font-size: 0.5rem;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
main ol ul ol ul ol li {
|
|
409
|
-
list-style-type: none;
|
|
410
|
-
margin-left: -1rem;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
main ol ul ol ul ol li::before {
|
|
414
|
-
content: "▶";
|
|
415
|
-
padding-right: var(--arch-spacing-2);
|
|
416
|
-
font-size: 0.5rem;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
main dl {
|
|
420
|
-
border-left: 4px solid var(--arch-color-sand);
|
|
421
|
-
margin-left: 0;
|
|
422
|
-
padding-left: var(--arch-spacing-8);
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
main dt {
|
|
426
|
-
font-weight: bold;
|
|
427
|
-
margin-top: var(--arch-spacing-4);
|
|
428
|
-
font-style: italic;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
main .table {
|
|
432
|
-
max-width: 100%;
|
|
433
|
-
overflow-x: auto;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
main table:not(:first-of-type) {
|
|
437
|
-
background-color: var(--arch-color-white);
|
|
438
|
-
border: 1px solid var(--arch-color-fog);
|
|
439
|
-
margin-top: var(--arch-spacing-4);
|
|
440
|
-
margin-bottom: var(--arch-spacing-4);
|
|
441
|
-
max-width: 100%;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
main th {
|
|
445
|
-
border: 1px solid var(--arch-color-fog);
|
|
446
|
-
font-weight: bold;
|
|
447
|
-
padding: var(--arch-spacing-3) var(--arch-spacing-4);
|
|
448
|
-
background-color: var(--arch-color-sand);
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
main td {
|
|
452
|
-
border: 1px solid var(--arch-color-fog);
|
|
453
|
-
padding: var(--arch-spacing-3) var(--arch-spacing-4);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
main caption {
|
|
457
|
-
font-size: var(--arch-font-size-xs);
|
|
458
|
-
font-style: italic;
|
|
459
|
-
color: var(--arch-color-meteorite);
|
|
460
|
-
margin-bottom: var(--arch-spacing-4);
|
|
461
|
-
text-align: left;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
main img {
|
|
465
|
-
max-width: 100%;
|
|
466
|
-
height: auto;
|
|
467
|
-
margin-top: var(--arch-spacing-4);
|
|
468
|
-
margin-bottom: var(--arch-spacing-4);
|
|
469
|
-
display: block;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
main figure img {
|
|
473
|
-
margin-bottom: var(--arch-spacing-4);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
main figcaption {
|
|
477
|
-
font-size: var(--arch-font-size-xs);
|
|
478
|
-
font-style: italic;
|
|
479
|
-
color: var(--arch-color-meteorite);
|
|
480
|
-
margin-bottom: var(--arch-spacing-4);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.guide-table-ok {
|
|
484
|
-
background-color: #45c65a;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.guide-table-roadmap {
|
|
488
|
-
background-color: #eef4ff;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.guide-table-no {
|
|
492
|
-
background-color: #fcc003;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.guide-table-delivered {
|
|
496
|
-
background-color: #1b96ff;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
.guide-table-red {
|
|
500
|
-
background-color: #ff9b99;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.guide-table a {
|
|
504
|
-
color: #000;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.read {
|
|
508
|
-
font-size: var(--arch-font-size-sm);
|
|
509
|
-
padding-left: 1rem;
|
|
510
|
-
margin-bottom: 1rem;
|
|
511
|
-
display: flex;
|
|
512
|
-
align-items: center;
|
|
513
|
-
color: #3e3e3c;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.read > svg {
|
|
517
|
-
margin-right: 4px;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.scroll {
|
|
521
|
-
position: fixed;
|
|
522
|
-
display: flex;
|
|
523
|
-
justify-content: center;
|
|
524
|
-
align-content: center;
|
|
525
|
-
align-items: center;
|
|
526
|
-
bottom: 20px;
|
|
527
|
-
right: 20px;
|
|
528
|
-
opacity: 0.8;
|
|
529
|
-
background-color: var(--arch-color-architect-light);
|
|
530
|
-
width: 55px;
|
|
531
|
-
height: 55px;
|
|
532
|
-
border-radius: 50%;
|
|
533
|
-
box-shadow: var(--arch-color-brand);
|
|
534
|
-
z-index: 9;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
@media screen and (min-width: 800px) {
|
|
538
|
-
.scroll {
|
|
539
|
-
display: none;
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
@media screen and (max-width: 800px) {
|
|
544
|
-
.scroll {
|
|
545
|
-
display: flex;
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.scroll svg {
|
|
550
|
-
height: 2rem;
|
|
551
|
-
stroke: var(--arch-color-brand);
|
|
552
|
-
fill: var(--arch-color-brand);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.assessment-input {
|
|
556
|
-
margin: 10px 10px 20px;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.check-col {
|
|
560
|
-
text-align: center;
|
|
561
|
-
vertical-align: middle;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.template-boxes {
|
|
565
|
-
display: flex;
|
|
566
|
-
flex-flow: row wrap; /* Allow buttons to wrap if there isn't enough space */
|
|
567
|
-
justify-content: space-between; /* Ensure even spacing between buttons */
|
|
568
|
-
align-items: center;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/* Responsive layout - makes a one-column layout instead of a row layout */
|
|
572
|
-
@media (max-width: 800px) {
|
|
573
|
-
.template-boxes {
|
|
574
|
-
flex-direction: column;
|
|
575
|
-
gap: 15px; /* Adds more space between items in a column layout */
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.template-button {
|
|
580
|
-
appearance: button;
|
|
581
|
-
backface-visibility: hidden;
|
|
582
|
-
background-color: #fff;
|
|
583
|
-
border-radius: 6px;
|
|
584
|
-
border-width: 0;
|
|
585
|
-
box-shadow: rgb(50 50 93 / 10%) 0 0 0 1px inset,
|
|
586
|
-
rgb(50 50 93 / 10%) 0 2px 5px 0, rgb(0 0 0 / 7%) 0 1px 1px 0;
|
|
587
|
-
box-sizing: border-box;
|
|
588
|
-
color: #024d4c;
|
|
589
|
-
outline: none;
|
|
590
|
-
padding: 0.5em 1em; /* Adjusted padding for consistency */
|
|
591
|
-
position: relative;
|
|
592
|
-
text-align: center;
|
|
593
|
-
text-transform: none;
|
|
594
|
-
transition: all 0.2s, box-shadow 0.08s ease-in;
|
|
595
|
-
user-select: none;
|
|
596
|
-
touch-action: manipulation;
|
|
597
|
-
vertical-align: middle;
|
|
598
|
-
margin: 5px; /* Adds consistent margin around each button */
|
|
599
|
-
display: inline-flex; /* Flexbox layout for consistent alignment */
|
|
600
|
-
align-items: center; /* Aligns image and text vertically */
|
|
601
|
-
justify-content: center; /* Ensures the content is centered */
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.template-button:disabled {
|
|
605
|
-
cursor: default;
|
|
606
|
-
opacity: 0.6; /* Give disabled buttons a visual cue */
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
.template-button:focus {
|
|
610
|
-
box-shadow: rgb(50 50 93 / 10%) 0 0 0 1px inset,
|
|
611
|
-
rgb(50 50 93 / 20%) 0 6px 15px 0, rgb(0 0 0 / 10%) 0 2px 2px 0,
|
|
612
|
-
rgb(50 151 211 / 30%) 0 0 0 4px;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
.template-button img {
|
|
616
|
-
width: 20px; /* Fixed width for the image */
|
|
617
|
-
height: 20px; /* Fixed height for the image */
|
|
618
|
-
display: inline-block; /* Ensures the image stays inline with text */
|
|
619
|
-
margin-right: 5px; /* Space between image and text */
|
|
620
|
-
vertical-align: middle; /* Align image vertically with text */
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.template-button svg {
|
|
624
|
-
width: 20px; /* Fixed width for SVG */
|
|
625
|
-
height: 20px; /* Fixed height for SVG */
|
|
626
|
-
display: inline-block; /* Keeps the SVG inline with text */
|
|
627
|
-
margin-right: 5px; /* Space between SVG and text */
|
|
628
|
-
vertical-align: middle; /* Align SVG vertically with text */
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.center {
|
|
632
|
-
display: block;
|
|
633
|
-
margin-left: auto;
|
|
634
|
-
margin-right: auto;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
main inlinecode {
|
|
638
|
-
font-size: var(--arch-font-size-md);
|
|
639
|
-
padding: var(--arch-spacing-1);
|
|
640
|
-
background-color: rgb(243 243 243);
|
|
641
|
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
642
|
-
border-radius: var(--arch-radius-xs);
|
|
643
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="read">
|
|
3
|
-
<svg
|
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width="18"
|
|
6
|
-
height="18"
|
|
7
|
-
viewBox="0 0 52 52"
|
|
8
|
-
>
|
|
9
|
-
<g fill="#3e3e3c">
|
|
10
|
-
<path
|
|
11
|
-
d="m26 2c-13.2 0-24 10.8-24 24s10.8 24 24 24 24-10.8 24-24-10.8-24-24-24z m0 42c-9.9 0-18-8.1-18-18s8.1-18 18-18 18 8.1 18 18-8.1 18-18 18z m3.4-17.8c-0.3-0.3-0.4-0.7-0.4-1.1v-9.6c0-0.8-0.7-1.5-1.5-1.5h-3c-0.8 0-1.5 0.7-1.5 1.5v12.1c0 0.4 0.2 0.8 0.4 1.1l7.4 7.4c0.6 0.6 1.5 0.6 2.1 0l2.1-2.1c0.6-0.6 0.6-1.5 0-2.1l-5.6-5.7z"
|
|
12
|
-
></path>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
15
|
-
{readingTime} minute read
|
|
16
|
-
</div>
|
|
17
|
-
<div class="read">
|
|
18
|
-
<svg
|
|
19
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
-
width="16"
|
|
21
|
-
height="16"
|
|
22
|
-
fill="currentColor"
|
|
23
|
-
class="bi bi-calendar3"
|
|
24
|
-
viewBox="0 0 16 16"
|
|
25
|
-
>
|
|
26
|
-
<path
|
|
27
|
-
d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"
|
|
28
|
-
></path>
|
|
29
|
-
<path
|
|
30
|
-
d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"
|
|
31
|
-
></path>
|
|
32
|
-
</svg>
|
|
33
|
-
Last updated {lastUpdated}
|
|
34
|
-
</div>
|
|
35
|
-
<div class={rootClassName}>
|
|
36
|
-
<main lwc:dom="manual" onclick={onContentClick}></main>
|
|
37
|
-
<aside if:true={showHeadingsNav}>
|
|
38
|
-
<template iterator:heading={headings}>
|
|
39
|
-
<a
|
|
40
|
-
href={heading.value.href}
|
|
41
|
-
key={heading.value.id}
|
|
42
|
-
onclick={onHeadingClick}
|
|
43
|
-
style={heading.value.style}
|
|
44
|
-
>
|
|
45
|
-
{heading.value.label}
|
|
46
|
-
</a>
|
|
47
|
-
</template>
|
|
48
|
-
</aside>
|
|
49
|
-
<div class="scroll" if:true={showScroll} onclick={onScrollClick}>
|
|
50
|
-
<svg
|
|
51
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
52
|
-
x="0px"
|
|
53
|
-
y="0px"
|
|
54
|
-
viewBox="0 0 1000 1000"
|
|
55
|
-
enable-background="new 0 0 1000 1000"
|
|
56
|
-
>
|
|
57
|
-
<g>
|
|
58
|
-
<path
|
|
59
|
-
d="M990,699.9c0,8.1,0,16.3-8.1,24.4c-16.3,16.3-40.7,16.3-56.9,0L502,350.2L79.1,732.4c-16.3,16.3-40.7,16.3-56.9,0c-16.3-16.3-16.3-40.7,0-56.9l447.3-406.6c24.4-16.3,40.7-16.3,56.9-8.1l447.3,406.6C981.9,675.5,990,691.8,990,699.9z"
|
|
60
|
-
></path>
|
|
61
|
-
</g>
|
|
62
|
-
</svg>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</template>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { html } from "lit-html";
|
|
2
|
-
|
|
3
|
-
import { ContentExamples } from "./__fixtures__";
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: "arch/arch-content",
|
|
7
|
-
component: "sb-arch-content"
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
// prettier-ignore
|
|
11
|
-
const createStyles = () => html `
|
|
12
|
-
<style>
|
|
13
|
-
sb-arch-content {
|
|
14
|
-
display: block;
|
|
15
|
-
}
|
|
16
|
-
</style>`;
|
|
17
|
-
|
|
18
|
-
// prettier-ignore
|
|
19
|
-
export const Base = () => html` ${createStyles()}
|
|
20
|
-
<sb-arch-content> ${ContentExamples()} </sb-arch-content>
|
|
21
|
-
`;
|