igniteui-astro-components 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -74
- package/package.json +15 -2
- package/src/components/CopyCode/CopyCode.astro +21 -7
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.astro +33 -21
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.scss +44 -43
- package/src/components/DocsBreadcrumb/README.md +10 -14
- package/src/components/DocsSidebar/DocsSidebar.astro +47 -45
- package/src/components/DocsSidebar/DocsSidebar.scss +120 -122
- package/src/components/DocsSidebar/README.md +25 -21
- package/src/components/DocsSidebar/SidebarFilterInput.astro +24 -29
- package/src/components/DocsSidebar/SidebarFilterInput.scss +90 -89
- package/src/components/DocsSidebar/SidebarLabel.astro +35 -26
- package/src/components/DocsSidebar/sidebar-filter.ts +93 -56
- package/src/components/DocsSubHeader/DocsSubHeader.astro +256 -195
- package/src/components/DocsSubHeader/DocsSubHeader.scss +181 -178
- package/src/components/DocsSubHeader/README.md +18 -16
- package/src/components/DocsToc/DocsToc.astro +301 -280
- package/src/components/DocsToc/DocsToc.scss +20 -21
- package/src/components/DocsToc/README.md +11 -9
- package/src/components/DocsToc/toTreeNodes.ts +3 -8
- package/src/components/DocsTree/DocsTree.astro +32 -20
- package/src/components/DocsTree/DocsTreeItem.astro +35 -30
- package/src/components/DocsTree/README.md +16 -15
- package/src/components/DocsTree/docs-tree.scss +267 -268
- package/src/components/GlobalFooter/GlobalFooter.astro +10 -10
- package/src/components/GlobalFooter/README.md +3 -2
- package/src/components/GlobalNavBar/GlobalNavBar.astro +4 -2
- package/src/components/GlobalNavBar/GlobalNavBar.module.scss +222 -222
- package/src/components/GlobalNavBar/README.md +3 -2
- package/src/components/LicenseIndicator/LicenseIndicator.astro +7 -5
- package/src/components/LicenseIndicator/LicenseIndicator.scss +3 -3
- package/src/components/MobileSidebarToggle/MobileSidebarToggle.astro +16 -17
- package/src/components/MobileSidebarToggle/README.md +3 -2
- package/src/components/MobileTocToggle/MobileTocToggle.astro +75 -61
- package/src/components/MobileTocToggle/MobileTocToggle.scss +65 -59
- package/src/components/Search/README.md +1 -0
- package/src/components/Search/Search.astro +137 -109
- package/src/components/Search/Search.scss +20 -20
- package/src/components/SearchAdvanced/README.md +21 -15
- package/src/components/SearchAdvanced/SearchAdvanced.astro +205 -133
- package/src/components/SearchAdvanced/SearchAdvanced.scss +152 -153
- package/src/components/mdx/ApiLink/ApiLink.astro +133 -113
- package/src/components/mdx/ApiLink/ApiLink.scss +9 -9
- package/src/components/mdx/ApiLink/README.md +26 -22
- package/src/components/mdx/ApiLink/api-link-index.ts +196 -173
- package/src/components/mdx/ApiRef/ApiRef.astro +54 -51
- package/src/components/mdx/ApiRef/README.md +20 -15
- package/src/components/mdx/Badge/Badge.astro +14 -14
- package/src/components/mdx/Badge/Badge.scss +61 -56
- package/src/components/mdx/Badge/README.md +24 -19
- package/src/components/mdx/DocsAside/DocsAside.astro +30 -37
- package/src/components/mdx/DocsAside/DocsAside.scss +82 -82
- package/src/components/mdx/DocsAside/README.md +22 -22
- package/src/components/mdx/Faq/Faq.astro +86 -0
- package/src/components/mdx/Faq/Faq.scss +105 -0
- package/src/components/mdx/Faq/FaqItem.astro +117 -0
- package/src/components/mdx/Faq/README.md +223 -0
- package/src/components/mdx/Faq/types.ts +34 -0
- package/src/components/mdx/PlatformBlock/PlatformBlock.astro +3 -2
- package/src/components/mdx/PlatformBlock/README.md +6 -8
- package/src/components/mdx/Sample/README.md +21 -16
- package/src/components/mdx/Sample/Sample.astro +97 -74
- package/src/components/mdx/Sample/Sample.scss +132 -132
- package/src/content-helper.ts +71 -72
- package/src/content.config.ts +1 -6
- package/src/integration.ts +566 -512
- package/src/layouts/DocsLayout/DocsLayout.astro +228 -182
- package/src/layouts/DocsLayout/DocsLayout.scss +261 -261
- package/src/layouts/DocsLayout/README.md +24 -35
- package/src/lib/nav-helpers.ts +88 -82
- package/src/lib/types.ts +76 -76
- package/src/llms.ts +205 -166
- package/src/platform.ts +312 -162
- package/src/plugins/rehype-heading-anchors.ts +45 -45
- package/src/plugins/rehype-pagefind-ignore.ts +19 -19
- package/src/plugins/rehype-table-wrapper.ts +30 -30
- package/src/plugins/remark-docfx.ts +12 -0
- package/src/plugins/remark-env-vars.ts +12 -4
- package/src/plugins/remark-md-links.ts +10 -4
- package/src/scripts/icon-manifest.ts +13 -5
- package/src/scripts/sample-widget.ts +557 -501
- package/src/sidebar.ts +103 -97
- package/src/styles/global/_code-blocks.scss +43 -44
- package/src/styles/global/_component-themes.scss +151 -153
- package/src/styles/global/_icon-gallery.scss +81 -81
- package/src/styles/global/_index.scss +0 -1
- package/src/styles/global/_markdown.scss +816 -787
- package/src/styles/global/_palette.scss +456 -110
- package/src/styles/global/_search-shared.scss +402 -398
- package/src/styles/global/_type-scale.scss +127 -127
- package/src/styles/global/_variables.scss +138 -111
- package/src/styles/theme.scss +41 -41
- package/src/virtual-modules.d.ts +11 -2
|
@@ -1,791 +1,820 @@
|
|
|
1
1
|
@use 'igniteui-theming/sass/typography' as *;
|
|
2
2
|
|
|
3
3
|
@layer components {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
a:has(> img) {
|
|
370
|
-
text-decoration: none;
|
|
371
|
-
display: inline-block;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
// Figure / figcaption
|
|
375
|
-
figure {
|
|
376
|
-
margin-inline: 0;
|
|
377
|
-
margin-block-end: rem(26px);
|
|
378
|
-
|
|
379
|
-
// Nested img should not double-margin
|
|
380
|
-
img,
|
|
381
|
-
video,
|
|
382
|
-
p, h1, h2, h3, h4, h5, h6 {
|
|
383
|
-
margin-block-end: 0;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
figcaption {
|
|
388
|
-
@include type-style('caption') { margin: 0; }
|
|
389
|
-
|
|
390
|
-
> p {
|
|
391
|
-
@include type-style('caption') { margin: 0; }
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
padding-block-start: rem(8px);
|
|
395
|
-
margin-block-end: rem(26px);
|
|
396
|
-
color: var(--ig-gray-600);
|
|
397
|
-
text-align: center;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
blockquote {
|
|
401
|
-
padding: rem(16px);
|
|
402
|
-
border-inline-start-width: rem(1px);
|
|
403
|
-
border-inline-start-color: var(--ig-gray-600);
|
|
404
|
-
margin-block-end: rem(26px);
|
|
405
|
-
|
|
406
|
-
p:only-child {
|
|
407
|
-
@include type-style('detail-1', false) {
|
|
408
|
-
margin: 0;
|
|
409
|
-
font-style: italic;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
margin: 0;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
q {
|
|
417
|
-
@include type-style('detail-1', false) {
|
|
418
|
-
margin: 0;
|
|
419
|
-
font-style: italic;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
blockquote .small,
|
|
424
|
-
blockquote footer,
|
|
425
|
-
blockquote small {
|
|
426
|
-
@include type-style('detail-1', false) { margin: 0; }
|
|
427
|
-
|
|
428
|
-
color: var(--ig-gray-600);
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
// Responsive video / iframe embeds
|
|
432
|
-
// Wrap a YouTube (or any 16:9) <iframe> in:
|
|
433
|
-
// <div class="igd-video"> … </div>
|
|
434
|
-
// or <figure class="igd-video"> for a caption.
|
|
435
|
-
.igd-video {
|
|
436
|
-
position: relative;
|
|
437
|
-
width: 100%;
|
|
438
|
-
aspect-ratio: 16 / 9;
|
|
439
|
-
margin-block-end: rem(26px);
|
|
440
|
-
border-radius: var(--igd-border-radius);
|
|
441
|
-
overflow: hidden;
|
|
442
|
-
outline: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
443
|
-
|
|
444
|
-
iframe,
|
|
445
|
-
video {
|
|
446
|
-
position: absolute;
|
|
447
|
-
inset: 0;
|
|
448
|
-
width: 100%;
|
|
449
|
-
height: 100%;
|
|
450
|
-
border: 0;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
// Native <video> standalone
|
|
455
|
-
video {
|
|
456
|
-
display: block;
|
|
457
|
-
max-width: 100%;
|
|
458
|
-
width: 100%;
|
|
459
|
-
aspect-ratio: 16 / 9;
|
|
460
|
-
height: auto;
|
|
461
|
-
border-radius: var(--igd-border-radius);
|
|
462
|
-
margin-block-end: rem(26px);
|
|
463
|
-
font-family: inherit;
|
|
464
|
-
outline: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
// Native <audio> standalone
|
|
468
|
-
audio {
|
|
469
|
-
display: block;
|
|
470
|
-
width: 100%;
|
|
471
|
-
margin-block-end: rem(26px);
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
> hr {
|
|
476
|
-
border: none;
|
|
477
|
-
border-block-start: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
478
|
-
margin-block: rem(26px);
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
// Theme property map tab switcher (used in component theming sections)
|
|
483
|
-
.theme-switcher-wrapper {
|
|
484
|
-
input[type='radio'][name='theme'] {
|
|
485
|
-
display: none;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.switch-label {
|
|
489
|
-
display: inline-block;
|
|
490
|
-
cursor: pointer;
|
|
491
|
-
padding: rem(6px) rem(16px);
|
|
492
|
-
border-bottom: rem(2px) solid transparent;
|
|
493
|
-
margin-inline-end: rem(4px);
|
|
494
|
-
color: var(--ig-gray-600);
|
|
495
|
-
|
|
496
|
-
&:hover {
|
|
497
|
-
color: var(--ig-gray-900);
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.tables .theme-table {
|
|
502
|
-
display: none;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
#material:checked ~ .tables .theme-table.material,
|
|
506
|
-
#fluent:checked ~ .tables .theme-table.fluent,
|
|
507
|
-
#bootstrap:checked ~ .tables .theme-table.bootstrap,
|
|
508
|
-
#indigo:checked ~ .tables .theme-table.indigo {
|
|
509
|
-
display: block;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
#material:checked ~ label[for='material'],
|
|
513
|
-
#fluent:checked ~ label[for='fluent'],
|
|
514
|
-
#bootstrap:checked ~ label[for='bootstrap'],
|
|
515
|
-
#indigo:checked ~ label[for='indigo'] {
|
|
516
|
-
color: var(--igd-accent);
|
|
517
|
-
border-bottom-color: var(--igd-accent);
|
|
518
|
-
font-weight: 600;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
// Scroll container — wraps every <table> (injected by rehypeTableWrapper).
|
|
523
|
-
// Technique from https://piccalil.li/blog/styling-tables-the-modern-css-way/
|
|
524
|
-
.igd-table-wrapper {
|
|
525
|
-
overflow: auto;
|
|
526
|
-
max-height: var(--igd-table-max-height);
|
|
527
|
-
border: rem(1px) solid var(--igd-table-border-color);
|
|
528
|
-
margin-block-end: rem(26px);
|
|
529
|
-
width: 100%;
|
|
530
|
-
position: relative;
|
|
531
|
-
z-index: 0;
|
|
532
|
-
|
|
533
|
-
table {
|
|
534
|
-
font-family: inherit;
|
|
535
|
-
border-collapse: collapse;
|
|
536
|
-
|
|
537
|
-
// Ensure the table is at least as wide as its container but can grow
|
|
538
|
-
// wider for many columns — enabling horizontal scroll in the wrapper.
|
|
539
|
-
min-width: 100%;
|
|
540
|
-
color: var(--igd-table-fg);
|
|
541
|
-
|
|
542
|
-
th {
|
|
543
|
-
@include type-style('subtitle-2') {
|
|
544
|
-
margin: 0;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
white-space: nowrap;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
td {
|
|
551
|
-
@include type-style('detail-1', false) {
|
|
552
|
-
margin: 0;
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
td, th {
|
|
557
|
-
// Only row borders — no column dividers.
|
|
558
|
-
border-block: rem(1px) solid var(--igd-table-border-color);
|
|
559
|
-
border-inline: none;
|
|
560
|
-
padding-block: rem(16px);
|
|
561
|
-
padding-inline: rem(24px);
|
|
562
|
-
vertical-align: baseline;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
// First row: no top border — the wrapper provides it.
|
|
566
|
-
thead tr:first-child th,
|
|
567
|
-
tbody tr:first-child td,
|
|
568
|
-
tbody tr:first-child th {
|
|
569
|
-
border-block-start: none;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
// Last row: no bottom border — the wrapper provides it.
|
|
573
|
-
tbody tr:last-child td,
|
|
574
|
-
tbody tr:last-child th,
|
|
575
|
-
tfoot tr:last-child td,
|
|
576
|
-
tfoot tr:last-child th {
|
|
577
|
-
border-block-end: none;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
thead th {
|
|
581
|
-
vertical-align: bottom;
|
|
582
|
-
|
|
583
|
-
// Remove the cell's own bottom border — the ::after pseudo-element
|
|
584
|
-
// on the sticky rule below provides the single 2px line.
|
|
585
|
-
border-block-end: none;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
// Zebra effect — disabled by default.
|
|
589
|
-
tr {
|
|
590
|
-
background-color: var(--igd-table-bg);
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
tr:nth-child(even) {
|
|
594
|
-
background-color: var(--igd-tabe-row-even-bg);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
tr:hover {
|
|
598
|
-
background-color: var(--igd-tabe-row-hover-bg);
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
th {
|
|
602
|
-
text-align: left;
|
|
603
|
-
background-color: var(--igd-table-header-bg);
|
|
604
|
-
color: var(--igd-table-header-fg);
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
// Sticky header row
|
|
608
|
-
thead th {
|
|
609
|
-
position: sticky;
|
|
610
|
-
top: 0;
|
|
611
|
-
z-index: 2;
|
|
612
|
-
|
|
613
|
-
// ::before for the bottom border so it doesn't conflict with the
|
|
614
|
-
// ::after column separator on th:first-child (both are the same element).
|
|
615
|
-
&::before {
|
|
616
|
-
content: '';
|
|
617
|
-
position: absolute;
|
|
618
|
-
inset-block-end: 0;
|
|
619
|
-
inset-inline-start: 0;
|
|
620
|
-
width: 100%;
|
|
621
|
-
height: var(--igd-table-pinned-border-size);
|
|
622
|
-
background: var(--igd-table-border-color);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
// Double bottom border on the sticky header row when scrolled vertically.
|
|
627
|
-
.igd-table-wrapper[data-scrolled-y] & thead th::before {
|
|
628
|
-
height: rem(3px);
|
|
629
|
-
background: linear-gradient(
|
|
630
|
-
to bottom,
|
|
631
|
-
var(--igd-table-border-color) 0,
|
|
632
|
-
var(--igd-table-border-color) rem(1px),
|
|
633
|
-
transparent rem(1px),
|
|
634
|
-
transparent rem(2px),
|
|
635
|
-
var(--igd-table-border-color) rem(2px),
|
|
636
|
-
var(--igd-table-border-color) rem(3px)
|
|
637
|
-
);
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
// Sticky first column — each cell needs its own background so content doesn't bleed through.
|
|
641
|
-
th:first-child {
|
|
642
|
-
background-color: var(--igd-table-header-bg);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
td:first-child {
|
|
646
|
-
background-color: var(--igd-table-bg);
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
th:first-child,
|
|
650
|
-
td:first-child {
|
|
651
|
-
position: sticky;
|
|
652
|
-
inset-inline-start: 0;
|
|
653
|
-
|
|
654
|
-
&::after {
|
|
655
|
-
content: '';
|
|
656
|
-
position: absolute;
|
|
657
|
-
inset-block-start: 0;
|
|
658
|
-
inset-inline-end: 0;
|
|
659
|
-
width: var(--igd-table-pinned-border-size);
|
|
660
|
-
height: 100%;
|
|
661
|
-
background: var(--igd-table-border-color);
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
// Double right border on the sticky first column when scrolled horizontally.
|
|
666
|
-
.igd-table-wrapper[data-scrolled-x] & th:first-child::after,
|
|
667
|
-
.igd-table-wrapper[data-scrolled-x] & td:first-child::after {
|
|
668
|
-
width: rem(3px);
|
|
669
|
-
background: linear-gradient(
|
|
670
|
-
to right,
|
|
671
|
-
var(--igd-table-border-color) 0,
|
|
672
|
-
var(--igd-table-border-color) rem(1px),
|
|
673
|
-
transparent rem(1px),
|
|
674
|
-
transparent rem(2px),
|
|
675
|
-
var(--igd-table-border-color) rem(2px),
|
|
676
|
-
var(--igd-table-border-color) rem(3px)
|
|
677
|
-
);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
// Sticky first header cell sits above both axes — needs header background.
|
|
681
|
-
thead th:first-child,
|
|
682
|
-
tfoot th:first-child {
|
|
683
|
-
background-color: var(--igd-table-header-bg);
|
|
684
|
-
z-index: 3;
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
// Expandable-row variant — add class="igd-table-expandable" to the <table>.
|
|
689
|
-
// Each expandable record is a pair of rows: a summary <tr.igd-row-summary>
|
|
690
|
-
// whose first cell holds the toggle, immediately followed by a hidden
|
|
691
|
-
// <tr.igd-row-detail>. The toggle is a label wrapping a visually-hidden but
|
|
692
|
-
// still keyboard-operable checkbox; a :has() selector reveals the detail
|
|
693
|
-
// row when it is checked — no JavaScript required.
|
|
694
|
-
table.igd-table-expandable {
|
|
695
|
-
// Narrow gutter column that only holds the chevron toggle.
|
|
696
|
-
thead th:first-child,
|
|
697
|
-
.igd-row-summary td:first-child {
|
|
698
|
-
width: rem(48px);
|
|
699
|
-
text-align: center;
|
|
700
|
-
padding-inline: rem(12px);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
.igd-row-summary td:first-child {
|
|
704
|
-
vertical-align: middle;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
.igd-row-toggle {
|
|
708
|
-
display: inline-flex;
|
|
709
|
-
align-items: center;
|
|
710
|
-
justify-content: center;
|
|
711
|
-
cursor: pointer;
|
|
712
|
-
color: var(--igd-table-header-fg);
|
|
713
|
-
|
|
714
|
-
// Hide the checkbox visually but keep it focusable and operable —
|
|
715
|
-
// not display/visibility:none, which would remove it from the tab
|
|
716
|
-
// order and the accessibility tree.
|
|
717
|
-
input {
|
|
718
|
-
position: absolute;
|
|
719
|
-
width: rem(1px);
|
|
720
|
-
height: rem(1px);
|
|
721
|
-
margin: rem(-1px);
|
|
722
|
-
padding: 0;
|
|
723
|
-
border: 0;
|
|
724
|
-
overflow: hidden;
|
|
725
|
-
clip: rect(0 0 0 0);
|
|
726
|
-
clip-path: inset(50%);
|
|
727
|
-
white-space: nowrap;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
input:focus-visible + .igd-row-chevron {
|
|
731
|
-
outline: rem(2px) solid var(--igd-accent);
|
|
732
|
-
outline-offset: rem(2px);
|
|
733
|
-
border-radius: rem(2px);
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
.igd-row-chevron {
|
|
738
|
-
--size: #{rem(18px)};
|
|
739
|
-
|
|
740
|
-
flex-shrink: 0;
|
|
741
|
-
transform: rotate(-90deg);
|
|
742
|
-
transition: transform 0.2s ease;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
// Detail rows stay collapsed until their summary's checkbox is checked.
|
|
746
|
-
.igd-row-detail {
|
|
747
|
-
display: none;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
.igd-row-summary:has(.igd-row-toggle input:checked) {
|
|
751
|
-
.igd-row-chevron {
|
|
752
|
-
transform: rotate(0deg);
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
// Drop the divider between an open summary row and its detail panel
|
|
756
|
-
// so the two read as one unit.
|
|
757
|
-
td {
|
|
758
|
-
border-block-end: none;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
+ .igd-row-detail {
|
|
762
|
-
display: table-row;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
// The detail cell spans every column — undo the sticky first-column
|
|
767
|
-
// treatment so it reads as a full-width panel rather than a data cell.
|
|
768
|
-
.igd-row-detail > td {
|
|
769
|
-
position: static;
|
|
770
|
-
vertical-align: top;
|
|
771
|
-
border-block-start: none;
|
|
772
|
-
padding-block-start: 0;
|
|
773
|
-
|
|
774
|
-
&::after {
|
|
775
|
-
display: none;
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.igd-row-detail-inner {
|
|
780
|
-
@include type-style('detail-1', false) {
|
|
781
|
-
margin: 0;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
color: var(--igd-table-fg);
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
4
|
+
// 'code' and 'small' are custom type-scale entries — their CSS vars are
|
|
5
|
+
// generated by typography() but type-style() only accepts standard names.
|
|
6
|
+
// Read the generated --ig-* vars directly to avoid the warning.
|
|
7
|
+
.igd-main-content__markdown {
|
|
8
|
+
.igniteui-page-logo {
|
|
9
|
+
display: none;
|
|
10
|
+
height: rem(40px);
|
|
11
|
+
margin-block-end: rem(24px);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
igc-divider:not([variant='vertical']) {
|
|
15
|
+
margin-block: rem(24px);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.license-indicator-badge {
|
|
19
|
+
margin-block-end: rem(26px);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
p,
|
|
23
|
+
.igd-p {
|
|
24
|
+
@include type-style('body-1');
|
|
25
|
+
|
|
26
|
+
//text-wrap: balance;
|
|
27
|
+
|
|
28
|
+
code {
|
|
29
|
+
white-space: nowrap;
|
|
30
|
+
/* Optional: allows the user to scroll horizontally if the code is too long */
|
|
31
|
+
max-width: 100%;
|
|
32
|
+
overflow-x: auto;
|
|
33
|
+
display: inline-block;
|
|
34
|
+
vertical-align: middle;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h1,
|
|
39
|
+
.igd-h1 {
|
|
40
|
+
@include type-style('h1');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
h2,
|
|
44
|
+
.igd-h2 {
|
|
45
|
+
@include type-style('h2');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
h3,
|
|
49
|
+
.igd-h3 {
|
|
50
|
+
@include type-style('h3');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
h4,
|
|
54
|
+
.igd-h4 {
|
|
55
|
+
@include type-style('h4');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
h5,
|
|
59
|
+
.igd-h5 {
|
|
60
|
+
@include type-style('h5');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
h6,
|
|
64
|
+
.igd-h6 {
|
|
65
|
+
@include type-style('h6');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
p,
|
|
69
|
+
h1,
|
|
70
|
+
h2,
|
|
71
|
+
h3,
|
|
72
|
+
h4,
|
|
73
|
+
h5,
|
|
74
|
+
h6,
|
|
75
|
+
table {
|
|
76
|
+
code {
|
|
77
|
+
margin-block-end: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
p + p {
|
|
82
|
+
// Make use of margin collapse the bigger value wins, since normal P have 16px on the bottom when
|
|
83
|
+
// we have p after p we have 24 in between them
|
|
84
|
+
margin-block-start: rem(24px);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
color: light-dark(var(--ig-gray-800), var(--ig-gray-500));
|
|
88
|
+
|
|
89
|
+
padding: var(--igd-page-padding);
|
|
90
|
+
min-width: 0;
|
|
91
|
+
|
|
92
|
+
pre:not(.astro-code) {
|
|
93
|
+
@include type-style('code', false) {
|
|
94
|
+
margin-block: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
margin-block-end: rem(26px);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
pre,
|
|
101
|
+
code {
|
|
102
|
+
font-family: var(--font-mono) !important;
|
|
103
|
+
margin-block-end: rem(26px);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
pre.astro-code {
|
|
107
|
+
padding: rem(24px);
|
|
108
|
+
border-radius: rem(8px);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
kbd {
|
|
112
|
+
@include type-style('code', false) {
|
|
113
|
+
margin: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
background-color: var(--ig-gray-100);
|
|
117
|
+
color: var(--ig-gray-100-contrast);
|
|
118
|
+
box-shadow: none;
|
|
119
|
+
border: rem(1px) solid var(--ig-gray-300);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// <code> that is not inside a <pre> tag
|
|
123
|
+
code:not(pre code) {
|
|
124
|
+
@include type-style('code', false) {
|
|
125
|
+
margin: 0;
|
|
126
|
+
line-height: normal;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
border-radius: rem(4px);
|
|
130
|
+
color: light-dark(var(--ig-gray-900), var(--ig-gray-800));
|
|
131
|
+
background: light-dark(var(--ig-gray-100), #112031);
|
|
132
|
+
border: rem(1px) solid light-dark(var(--ig-gray-200), #1a314a);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
ul,
|
|
136
|
+
ol,
|
|
137
|
+
dl {
|
|
138
|
+
@include type-style('body-1') {
|
|
139
|
+
margin: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
padding-inline-start: rem(18px);
|
|
143
|
+
padding-block: 0;
|
|
144
|
+
color: inherit;
|
|
145
|
+
|
|
146
|
+
::marker {
|
|
147
|
+
color: var(--ig-primary-500);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
li {
|
|
151
|
+
> strong {
|
|
152
|
+
@include type-style('subtitle-2') {
|
|
153
|
+
margin: 0;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
position: relative;
|
|
158
|
+
color: inherit;
|
|
159
|
+
padding-inline: 0 rem(8px);
|
|
160
|
+
padding-block: rem(4px);
|
|
161
|
+
|
|
162
|
+
::marker {
|
|
163
|
+
color: var(--ig-primary-500);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
> .shiki {
|
|
167
|
+
margin-top: rem(8px);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&:has(> ul) {
|
|
171
|
+
padding-block-end: 0;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
code {
|
|
176
|
+
margin-block-end: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
p,
|
|
180
|
+
h1,
|
|
181
|
+
h2,
|
|
182
|
+
h3,
|
|
183
|
+
h4,
|
|
184
|
+
h5,
|
|
185
|
+
h6:only-child {
|
|
186
|
+
margin: 0;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
iframe:not(.igd-code-view iframe) {
|
|
191
|
+
border: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
192
|
+
margin-block-end: rem(26px);
|
|
193
|
+
border-radius: rem(8px);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// <ul> that is not inside <li>
|
|
197
|
+
// <ol> that is not inside <li>
|
|
198
|
+
ul:not(li ul),
|
|
199
|
+
ol:not(li ol),
|
|
200
|
+
dl:not(dd dl) {
|
|
201
|
+
margin-bottom: rem(26px);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
dl {
|
|
205
|
+
display: flex;
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
gap: 8px;
|
|
208
|
+
|
|
209
|
+
padding-inline-start: 0;
|
|
210
|
+
|
|
211
|
+
dt {
|
|
212
|
+
color: var(--ig-gray-900);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
dd {
|
|
216
|
+
margin-block-end: rem(16px);
|
|
217
|
+
color: inherit;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
address {
|
|
222
|
+
line-height: rem(32px);
|
|
223
|
+
|
|
224
|
+
p {
|
|
225
|
+
@include type-style('body-2') {
|
|
226
|
+
line-height: rem(32px);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
a {
|
|
231
|
+
text-decoration: underline;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
margin-block-end: rem(26px);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
a {
|
|
238
|
+
font-size: inherit;
|
|
239
|
+
color: light-dark(var(--ig-primary-500), var(--ig-primary-200));
|
|
240
|
+
text-decoration: underline;
|
|
241
|
+
|
|
242
|
+
&:hover,
|
|
243
|
+
&:focus {
|
|
244
|
+
color: light-dark(var(--ig-primary-600), var(--ig-primary-100));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&:focus,
|
|
248
|
+
&:focus-visible {
|
|
249
|
+
outline: none;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
code {
|
|
253
|
+
color: inherit;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
a:has(code) {
|
|
258
|
+
&:hover,
|
|
259
|
+
&:focus {
|
|
260
|
+
code {
|
|
261
|
+
color: var(--igd-accent);
|
|
262
|
+
border-color: var(--ig-primary-100);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
label {
|
|
268
|
+
@include type-style('body-2') {
|
|
269
|
+
margin-block: 0;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
a[target='_blank']::after {
|
|
274
|
+
content: '';
|
|
275
|
+
display: inline-block;
|
|
276
|
+
width: 1em;
|
|
277
|
+
height: 1em;
|
|
278
|
+
margin-inline-start: 0.2em;
|
|
279
|
+
vertical-align: middle;
|
|
280
|
+
background-color: currentColor;
|
|
281
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.21162 15C3.86637 15 3.57812 14.8844 3.34688 14.6531C3.11563 14.4219 3 14.1336 3 13.7884V4.21162C3 3.86637 3.11563 3.57812 3.34688 3.34688C3.57812 3.11563 3.86637 3 4.21162 3H8.42306V3.75H4.21162C4.09613 3.75 3.99031 3.79806 3.89419 3.89419C3.79806 3.99031 3.75 4.09613 3.75 4.21162V13.7884C3.75 13.9039 3.79806 14.0097 3.89419 14.1058C3.99031 14.2019 4.09613 14.25 4.21162 14.25H13.7884C13.9039 14.25 14.0097 14.2019 14.1058 14.1058C14.2019 14.0097 14.25 13.9039 14.25 13.7884V9.57694H15V13.7884C15 14.1336 14.8844 14.4219 14.6531 14.6531C14.4219 14.8844 14.1336 15 13.7884 15H4.21162ZM7.30388 11.2269L6.77306 10.6961L13.7192 3.75H10.5V3H15V7.5H14.25V4.28081L7.30388 11.2269Z'/%3E%3C/svg%3E");
|
|
282
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.21162 15C3.86637 15 3.57812 14.8844 3.34688 14.6531C3.11563 14.4219 3 14.1336 3 13.7884V4.21162C3 3.86637 3.11563 3.57812 3.34688 3.34688C3.57812 3.11563 3.86637 3 4.21162 3H8.42306V3.75H4.21162C4.09613 3.75 3.99031 3.79806 3.89419 3.89419C3.79806 3.99031 3.75 4.09613 3.75 4.21162V13.7884C3.75 13.9039 3.79806 14.0097 3.89419 14.1058C3.99031 14.2019 4.09613 14.25 4.21162 14.25H13.7884C13.9039 14.25 14.0097 14.2019 14.1058 14.1058C14.2019 14.0097 14.25 13.9039 14.25 13.7884V9.57694H15V13.7884C15 14.1336 14.8844 14.4219 14.6531 14.6531C14.4219 14.8844 14.1336 15 13.7884 15H4.21162ZM7.30388 11.2269L6.77306 10.6961L13.7192 3.75H10.5V3H15V7.5H14.25V4.28081L7.30388 11.2269Z'/%3E%3C/svg%3E");
|
|
283
|
+
mask-size: contain;
|
|
284
|
+
mask-repeat: no-repeat;
|
|
285
|
+
mask-position: center;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.igd-defined-in {
|
|
289
|
+
> span {
|
|
290
|
+
white-space: nowrap;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
border: 1px solid light-dark(var(--ig-primary-500), var(--ig-primary-800));
|
|
294
|
+
padding: rem(8px) rem(16px);
|
|
295
|
+
border-radius: var(--igd-border-radius);
|
|
296
|
+
|
|
297
|
+
@include type-style('body-1');
|
|
298
|
+
|
|
299
|
+
display: grid;
|
|
300
|
+
align-items: start;
|
|
301
|
+
grid-template-columns: auto 1fr;
|
|
302
|
+
gap: rem(8px);
|
|
303
|
+
color: var(--ig-secondary-500);
|
|
304
|
+
margin-block-end: rem(26px);
|
|
305
|
+
|
|
306
|
+
a {
|
|
307
|
+
min-width: 0;
|
|
308
|
+
text-overflow: ellipsis;
|
|
309
|
+
white-space: nowrap;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// Headings injected with anchor link button by rehype-heading-anchors
|
|
315
|
+
h2,
|
|
316
|
+
h3,
|
|
317
|
+
h4,
|
|
318
|
+
h5,
|
|
319
|
+
h6 {
|
|
320
|
+
display: flex;
|
|
321
|
+
align-items: center;
|
|
322
|
+
gap: rem(8px);
|
|
323
|
+
|
|
324
|
+
&:hover .igd-anchor-link {
|
|
325
|
+
opacity: 1;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
h1,
|
|
330
|
+
h2,
|
|
331
|
+
h3,
|
|
332
|
+
h4,
|
|
333
|
+
h5,
|
|
334
|
+
h6 {
|
|
335
|
+
color: light-dark(var(--ig-gray-800), var(--ig-gray-700));
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.igd-anchor-link {
|
|
339
|
+
opacity: 0;
|
|
340
|
+
flex-shrink: 0;
|
|
341
|
+
transition: opacity 0.15s ease;
|
|
342
|
+
|
|
343
|
+
// igc-icon-button internal sizing
|
|
344
|
+
--ig-size: 1;
|
|
345
|
+
--foreground: var(--ig-primary-600);
|
|
346
|
+
--background: var(--ig-primary-50);
|
|
347
|
+
--border-color: var(--ig-primary-100);
|
|
348
|
+
|
|
349
|
+
--hover-foreground: var(--ig-primary-600);
|
|
350
|
+
--hover-background: var(--ig-primary-50);
|
|
351
|
+
|
|
352
|
+
--focus-foreground: var(--ig-primary-600);
|
|
353
|
+
--focus-background: var(--ig-primary-50);
|
|
354
|
+
|
|
355
|
+
--active-foreground: var(--ig-primary-600);
|
|
356
|
+
--active-background: var(--ig-primary-50);
|
|
357
|
+
|
|
358
|
+
&::part(focused) {
|
|
359
|
+
&:after {
|
|
360
|
+
display: none;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
&:focus-within,
|
|
365
|
+
&:focus-visible {
|
|
366
|
+
opacity: 1;
|
|
367
|
+
outline: none;
|
|
368
|
+
}
|
|
791
369
|
|
|
370
|
+
igc-icon {
|
|
371
|
+
--ig-icon-size: rem(32px);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.lead {
|
|
376
|
+
margin-bottom: rem(26px);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
img {
|
|
380
|
+
display: block;
|
|
381
|
+
max-width: 100%;
|
|
382
|
+
height: auto;
|
|
383
|
+
margin-block-end: rem(26px);
|
|
384
|
+
border-radius: var(--igd-border-radius);
|
|
385
|
+
content-visibility: auto;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// Image wrapped in a link — no underline, contain the block margin
|
|
389
|
+
a:has(> img) {
|
|
390
|
+
text-decoration: none;
|
|
391
|
+
display: inline-block;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// Figure / figcaption
|
|
395
|
+
figure {
|
|
396
|
+
margin-inline: 0;
|
|
397
|
+
margin-block-end: rem(26px);
|
|
398
|
+
|
|
399
|
+
// Nested img should not double-margin
|
|
400
|
+
img,
|
|
401
|
+
video,
|
|
402
|
+
p,
|
|
403
|
+
h1,
|
|
404
|
+
h2,
|
|
405
|
+
h3,
|
|
406
|
+
h4,
|
|
407
|
+
h5,
|
|
408
|
+
h6 {
|
|
409
|
+
margin-block-end: 0;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
figcaption {
|
|
414
|
+
@include type-style('caption') {
|
|
415
|
+
margin: 0;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
> p {
|
|
419
|
+
@include type-style('caption') {
|
|
420
|
+
margin: 0;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
padding-block-start: rem(8px);
|
|
425
|
+
margin-block-end: rem(26px);
|
|
426
|
+
color: var(--ig-gray-600);
|
|
427
|
+
text-align: center;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
blockquote {
|
|
431
|
+
padding: rem(16px);
|
|
432
|
+
border-inline-start-width: rem(1px);
|
|
433
|
+
border-inline-start-color: var(--ig-gray-600);
|
|
434
|
+
margin-block-end: rem(26px);
|
|
435
|
+
|
|
436
|
+
p:only-child {
|
|
437
|
+
@include type-style('detail-1', false) {
|
|
438
|
+
margin: 0;
|
|
439
|
+
font-style: italic;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
margin: 0;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
q {
|
|
447
|
+
@include type-style('detail-1', false) {
|
|
448
|
+
margin: 0;
|
|
449
|
+
font-style: italic;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
blockquote .small,
|
|
454
|
+
blockquote footer,
|
|
455
|
+
blockquote small {
|
|
456
|
+
@include type-style('detail-1', false) {
|
|
457
|
+
margin: 0;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
color: var(--ig-gray-600);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// Responsive video / iframe embeds
|
|
464
|
+
// Wrap a YouTube (or any 16:9) <iframe> in:
|
|
465
|
+
// <div class="igd-video"> … </div>
|
|
466
|
+
// or <figure class="igd-video"> for a caption.
|
|
467
|
+
.igd-video {
|
|
468
|
+
position: relative;
|
|
469
|
+
width: 100%;
|
|
470
|
+
aspect-ratio: 16 / 9;
|
|
471
|
+
margin-block-end: rem(26px);
|
|
472
|
+
border-radius: var(--igd-border-radius);
|
|
473
|
+
overflow: hidden;
|
|
474
|
+
outline: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
475
|
+
|
|
476
|
+
iframe,
|
|
477
|
+
video {
|
|
478
|
+
position: absolute;
|
|
479
|
+
inset: 0;
|
|
480
|
+
width: 100%;
|
|
481
|
+
height: 100%;
|
|
482
|
+
border: 0;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// Native <video> standalone
|
|
487
|
+
video {
|
|
488
|
+
display: block;
|
|
489
|
+
max-width: 100%;
|
|
490
|
+
width: 100%;
|
|
491
|
+
aspect-ratio: 16 / 9;
|
|
492
|
+
height: auto;
|
|
493
|
+
border-radius: var(--igd-border-radius);
|
|
494
|
+
margin-block-end: rem(26px);
|
|
495
|
+
font-family: inherit;
|
|
496
|
+
outline: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
// Native <audio> standalone
|
|
500
|
+
audio {
|
|
501
|
+
display: block;
|
|
502
|
+
width: 100%;
|
|
503
|
+
margin-block-end: rem(26px);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
> hr {
|
|
507
|
+
border: none;
|
|
508
|
+
border-block-start: rem(1px) solid light-dark(var(--ig-gray-200), var(--ig-gray-100));
|
|
509
|
+
margin-block: rem(26px);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
// Theme property map tab switcher (used in component theming sections)
|
|
514
|
+
.theme-switcher-wrapper {
|
|
515
|
+
input[type='radio'][name='theme'] {
|
|
516
|
+
display: none;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.switch-label {
|
|
520
|
+
display: inline-block;
|
|
521
|
+
cursor: pointer;
|
|
522
|
+
padding: rem(6px) rem(16px);
|
|
523
|
+
border-bottom: rem(2px) solid transparent;
|
|
524
|
+
margin-inline-end: rem(4px);
|
|
525
|
+
color: var(--ig-gray-600);
|
|
526
|
+
|
|
527
|
+
&:hover {
|
|
528
|
+
color: var(--ig-gray-900);
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.tables .theme-table {
|
|
533
|
+
display: none;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
#material:checked ~ .tables .theme-table.material,
|
|
537
|
+
#fluent:checked ~ .tables .theme-table.fluent,
|
|
538
|
+
#bootstrap:checked ~ .tables .theme-table.bootstrap,
|
|
539
|
+
#indigo:checked ~ .tables .theme-table.indigo {
|
|
540
|
+
display: block;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
#material:checked ~ label[for='material'],
|
|
544
|
+
#fluent:checked ~ label[for='fluent'],
|
|
545
|
+
#bootstrap:checked ~ label[for='bootstrap'],
|
|
546
|
+
#indigo:checked ~ label[for='indigo'] {
|
|
547
|
+
color: var(--igd-accent);
|
|
548
|
+
border-bottom-color: var(--igd-accent);
|
|
549
|
+
font-weight: 600;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
// Scroll container — wraps every <table> (injected by rehypeTableWrapper).
|
|
554
|
+
// Technique from https://piccalil.li/blog/styling-tables-the-modern-css-way/
|
|
555
|
+
.igd-table-wrapper {
|
|
556
|
+
overflow: auto;
|
|
557
|
+
max-height: var(--igd-table-max-height);
|
|
558
|
+
border: rem(1px) solid var(--igd-table-border-color);
|
|
559
|
+
margin-block-end: rem(26px);
|
|
560
|
+
width: 100%;
|
|
561
|
+
position: relative;
|
|
562
|
+
z-index: 0;
|
|
563
|
+
|
|
564
|
+
table {
|
|
565
|
+
font-family: inherit;
|
|
566
|
+
border-collapse: collapse;
|
|
567
|
+
|
|
568
|
+
// Ensure the table is at least as wide as its container but can grow
|
|
569
|
+
// wider for many columns — enabling horizontal scroll in the wrapper.
|
|
570
|
+
min-width: 100%;
|
|
571
|
+
color: var(--igd-table-fg);
|
|
572
|
+
|
|
573
|
+
th {
|
|
574
|
+
@include type-style('subtitle-2') {
|
|
575
|
+
margin: 0;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
white-space: nowrap;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
td {
|
|
582
|
+
@include type-style('detail-1', false) {
|
|
583
|
+
margin: 0;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
td,
|
|
588
|
+
th {
|
|
589
|
+
// Only row borders — no column dividers.
|
|
590
|
+
border-block: rem(1px) solid var(--igd-table-border-color);
|
|
591
|
+
border-inline: none;
|
|
592
|
+
padding-block: rem(16px);
|
|
593
|
+
padding-inline: rem(24px);
|
|
594
|
+
vertical-align: baseline;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// First row: no top border — the wrapper provides it.
|
|
598
|
+
thead tr:first-child th,
|
|
599
|
+
tbody tr:first-child td,
|
|
600
|
+
tbody tr:first-child th {
|
|
601
|
+
border-block-start: none;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
// Last row: no bottom border — the wrapper provides it.
|
|
605
|
+
tbody tr:last-child td,
|
|
606
|
+
tbody tr:last-child th,
|
|
607
|
+
tfoot tr:last-child td,
|
|
608
|
+
tfoot tr:last-child th {
|
|
609
|
+
border-block-end: none;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
thead th {
|
|
613
|
+
vertical-align: bottom;
|
|
614
|
+
|
|
615
|
+
// Remove the cell's own bottom border — the ::after pseudo-element
|
|
616
|
+
// on the sticky rule below provides the single 2px line.
|
|
617
|
+
border-block-end: none;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
// Zebra effect — disabled by default.
|
|
621
|
+
tr {
|
|
622
|
+
background-color: var(--igd-table-bg);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
tr:nth-child(even) {
|
|
626
|
+
background-color: var(--igd-tabe-row-even-bg);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
tr:hover {
|
|
630
|
+
background-color: var(--igd-tabe-row-hover-bg);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
th {
|
|
634
|
+
text-align: left;
|
|
635
|
+
background-color: var(--igd-table-header-bg);
|
|
636
|
+
color: var(--igd-table-header-fg);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// Sticky header row
|
|
640
|
+
thead th {
|
|
641
|
+
position: sticky;
|
|
642
|
+
top: 0;
|
|
643
|
+
z-index: 2;
|
|
644
|
+
|
|
645
|
+
// ::before for the bottom border so it doesn't conflict with the
|
|
646
|
+
// ::after column separator on th:first-child (both are the same element).
|
|
647
|
+
&::before {
|
|
648
|
+
content: '';
|
|
649
|
+
position: absolute;
|
|
650
|
+
inset-block-end: 0;
|
|
651
|
+
inset-inline-start: 0;
|
|
652
|
+
width: 100%;
|
|
653
|
+
height: var(--igd-table-pinned-border-size);
|
|
654
|
+
background: var(--igd-table-border-color);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
// Double bottom border on the sticky header row when scrolled vertically.
|
|
659
|
+
.igd-table-wrapper[data-scrolled-y] & thead th::before {
|
|
660
|
+
height: rem(3px);
|
|
661
|
+
background: linear-gradient(
|
|
662
|
+
to bottom,
|
|
663
|
+
var(--igd-table-border-color) 0,
|
|
664
|
+
var(--igd-table-border-color) rem(1px),
|
|
665
|
+
transparent rem(1px),
|
|
666
|
+
transparent rem(2px),
|
|
667
|
+
var(--igd-table-border-color) rem(2px),
|
|
668
|
+
var(--igd-table-border-color) rem(3px)
|
|
669
|
+
);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
// Sticky first column — each cell needs its own background so content doesn't bleed through.
|
|
673
|
+
th:first-child {
|
|
674
|
+
background-color: var(--igd-table-header-bg);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
td:first-child {
|
|
678
|
+
background-color: var(--igd-table-bg);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
th:first-child,
|
|
682
|
+
td:first-child {
|
|
683
|
+
position: sticky;
|
|
684
|
+
inset-inline-start: 0;
|
|
685
|
+
|
|
686
|
+
&::after {
|
|
687
|
+
content: '';
|
|
688
|
+
position: absolute;
|
|
689
|
+
inset-block-start: 0;
|
|
690
|
+
inset-inline-end: 0;
|
|
691
|
+
width: var(--igd-table-pinned-border-size);
|
|
692
|
+
height: 100%;
|
|
693
|
+
background: var(--igd-table-border-color);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// Double right border on the sticky first column when scrolled horizontally.
|
|
698
|
+
.igd-table-wrapper[data-scrolled-x] & th:first-child::after,
|
|
699
|
+
.igd-table-wrapper[data-scrolled-x] & td:first-child::after {
|
|
700
|
+
width: rem(3px);
|
|
701
|
+
background: linear-gradient(
|
|
702
|
+
to right,
|
|
703
|
+
var(--igd-table-border-color) 0,
|
|
704
|
+
var(--igd-table-border-color) rem(1px),
|
|
705
|
+
transparent rem(1px),
|
|
706
|
+
transparent rem(2px),
|
|
707
|
+
var(--igd-table-border-color) rem(2px),
|
|
708
|
+
var(--igd-table-border-color) rem(3px)
|
|
709
|
+
);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
// Sticky first header cell sits above both axes — needs header background.
|
|
713
|
+
thead th:first-child,
|
|
714
|
+
tfoot th:first-child {
|
|
715
|
+
background-color: var(--igd-table-header-bg);
|
|
716
|
+
z-index: 3;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
// Expandable-row variant — add class="igd-table-expandable" to the <table>.
|
|
721
|
+
// Each expandable record is a pair of rows: a summary <tr.igd-row-summary>
|
|
722
|
+
// whose first cell holds the toggle, immediately followed by a hidden
|
|
723
|
+
// <tr.igd-row-detail>. The toggle is a label wrapping a visually-hidden but
|
|
724
|
+
// still keyboard-operable checkbox; a :has() selector reveals the detail
|
|
725
|
+
// row when it is checked — no JavaScript required.
|
|
726
|
+
table.igd-table-expandable {
|
|
727
|
+
// Narrow gutter column that only holds the chevron toggle.
|
|
728
|
+
thead th:first-child,
|
|
729
|
+
.igd-row-summary td:first-child {
|
|
730
|
+
width: rem(48px);
|
|
731
|
+
text-align: center;
|
|
732
|
+
padding-inline: rem(12px);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.igd-row-summary td:first-child {
|
|
736
|
+
vertical-align: middle;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.igd-row-toggle {
|
|
740
|
+
display: inline-flex;
|
|
741
|
+
align-items: center;
|
|
742
|
+
justify-content: center;
|
|
743
|
+
cursor: pointer;
|
|
744
|
+
color: var(--igd-table-header-fg);
|
|
745
|
+
|
|
746
|
+
// Hide the checkbox visually but keep it focusable and operable —
|
|
747
|
+
// not display/visibility:none, which would remove it from the tab
|
|
748
|
+
// order and the accessibility tree.
|
|
749
|
+
input {
|
|
750
|
+
position: absolute;
|
|
751
|
+
width: rem(1px);
|
|
752
|
+
height: rem(1px);
|
|
753
|
+
margin: rem(-1px);
|
|
754
|
+
padding: 0;
|
|
755
|
+
border: 0;
|
|
756
|
+
overflow: hidden;
|
|
757
|
+
clip: rect(0 0 0 0);
|
|
758
|
+
clip-path: inset(50%);
|
|
759
|
+
white-space: nowrap;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
input:focus-visible + .igd-row-chevron {
|
|
763
|
+
outline: rem(2px) solid var(--igd-accent);
|
|
764
|
+
outline-offset: rem(2px);
|
|
765
|
+
border-radius: rem(2px);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.igd-row-chevron {
|
|
770
|
+
--size: #{rem(18px)};
|
|
771
|
+
|
|
772
|
+
flex-shrink: 0;
|
|
773
|
+
transform: rotate(-90deg);
|
|
774
|
+
transition: transform 0.2s ease;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
// Detail rows stay collapsed until their summary's checkbox is checked.
|
|
778
|
+
.igd-row-detail {
|
|
779
|
+
display: none;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.igd-row-summary:has(.igd-row-toggle input:checked) {
|
|
783
|
+
.igd-row-chevron {
|
|
784
|
+
transform: rotate(0deg);
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
// Drop the divider between an open summary row and its detail panel
|
|
788
|
+
// so the two read as one unit.
|
|
789
|
+
td {
|
|
790
|
+
border-block-end: none;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
+ .igd-row-detail {
|
|
794
|
+
display: table-row;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
// The detail cell spans every column — undo the sticky first-column
|
|
799
|
+
// treatment so it reads as a full-width panel rather than a data cell.
|
|
800
|
+
.igd-row-detail > td {
|
|
801
|
+
position: static;
|
|
802
|
+
vertical-align: top;
|
|
803
|
+
border-block-start: none;
|
|
804
|
+
padding-block-start: 0;
|
|
805
|
+
|
|
806
|
+
&::after {
|
|
807
|
+
display: none;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.igd-row-detail-inner {
|
|
812
|
+
@include type-style('detail-1', false) {
|
|
813
|
+
margin: 0;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
color: var(--igd-table-fg);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|