@nordcode/ui 1.1.6 → 1.2.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 +6 -0
- package/out/bundle.css +99 -16
- package/out/bundle_configless.css +99 -16
- package/out/complete.css +132 -22
- package/out/complete_configless.css +132 -22
- package/out/src/assets/fonts/DMMono-Regular.woff +0 -0
- package/out/src/assets/fonts/DMMono-Regular.woff2 +0 -0
- package/out/src/assets/fonts/fonts.css +7 -0
- package/out/src/assets/icons/ArrowRightSolid.svelte +1 -0
- package/out/src/assets/icons/arrow-right-solid.svg +1 -0
- package/out/src/assets/icons/favicon.png +0 -0
- package/out/src/assets/icons/favicon.svg +8 -0
- package/out/src/assets/logos/nordcode-logo-icon.svg +3 -0
- package/out/src/assets/logos/nordcode-logo.svg +17 -0
- package/out/src/modules/copyButtons/ts/copyButtons.ts +9 -0
- package/out/src/modules/dialogs/svelte/dialog.svelte +27 -0
- package/out/src/modules/dialogs/ts/LICENCE +171 -0
- package/out/src/modules/dialogs/ts/dialogs.ts +111 -0
- package/out/src/modules/notifications/js/notifications.js +294 -0
- package/out/src/modules/notifications/svelte/NotificationCenter.svelte +18 -0
- package/out/src/modules/notifications/svelte/NotificationTemplate.svelte +16 -0
- package/out/src/modules/sectionObserver/ts/sectionOberserver.ts +34 -0
- package/out/src/styles/bundle.css +7 -0
- package/out/src/styles/bundle_configless.css +5 -0
- package/out/src/styles/complete.css +5 -0
- package/out/src/styles/complete_configless.css +5 -0
- package/out/src/styles/components/alerts.css +20 -0
- package/out/src/styles/components/badges.css +14 -0
- package/out/src/styles/components/breadcrumbs.css +37 -0
- package/out/src/styles/components/bundle.css +13 -0
- package/out/src/styles/components/buttons.css +260 -0
- package/out/src/styles/components/card.css +55 -0
- package/out/src/styles/components/dialogs.css +138 -0
- package/out/src/styles/components/forms.css +41 -0
- package/out/src/styles/components/gallery.css +66 -0
- package/out/src/styles/components/icons.css +60 -0
- package/out/src/styles/components/inputs/base.css +249 -0
- package/out/src/styles/components/inputs/bundle.css +5 -0
- package/out/src/styles/components/inputs/fields.css +76 -0
- package/out/src/styles/components/inputs/segmented.css +114 -0
- package/out/src/styles/components/inputs/switch.css +42 -0
- package/out/src/styles/components/inputs/tag-select.css +41 -0
- package/out/src/styles/components/lists.css +40 -0
- package/out/src/styles/components/notifications.css +135 -0
- package/out/src/styles/components/tables.css +7 -0
- package/out/src/styles/config/bundle.css +2 -0
- package/out/src/styles/config/config.css +700 -0
- package/out/src/styles/config/extras.css +12 -0
- package/out/src/styles/exceptions/bundle.css +3 -0
- package/out/src/styles/exceptions/misc.css +21 -0
- package/out/src/styles/exceptions/spacings.css +15 -0
- package/out/src/styles/exceptions/typography.css +57 -0
- package/out/src/styles/theme/colors.css +165 -0
- package/out/src/styles/theme/colors_processed.css +87 -0
- package/out/src/styles/utils/base.css +415 -0
- package/out/src/styles/utils/bundle.css +6 -0
- package/out/src/styles/utils/easings.css +364 -0
- package/out/src/styles/utils/layouts.css +281 -0
- package/out/src/styles/utils/media.css +55 -0
- package/out/src/styles/utils/reset.css +145 -0
- package/out/src/styles/utils/theme.css +125 -0
- package/package.json +1 -1
- package/src/styles/components/card.css +29 -0
- package/src/styles/exceptions/typography.css +15 -0
- package/src/styles/utils/base.css +103 -9
- package/src/styles/utils/reset.css +4 -6
package/CHANGELOG.md
CHANGED
package/out/bundle.css
CHANGED
|
@@ -355,6 +355,10 @@
|
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
:where(body) {
|
|
358
|
+
-webkit-text-decoration-skip-ink: auto;
|
|
359
|
+
text-decoration-skip-ink: auto;
|
|
360
|
+
font-optical-sizing: auto;
|
|
361
|
+
font-kerning: normal;
|
|
358
362
|
min-block-size: 100vh;
|
|
359
363
|
}
|
|
360
364
|
|
|
@@ -367,8 +371,6 @@
|
|
|
367
371
|
}
|
|
368
372
|
|
|
369
373
|
:where(a:not([class])) {
|
|
370
|
-
-webkit-text-decoration-skip-ink: auto;
|
|
371
|
-
text-decoration-skip-ink: auto;
|
|
372
374
|
color: currentColor;
|
|
373
375
|
}
|
|
374
376
|
|
|
@@ -409,11 +411,6 @@
|
|
|
409
411
|
letter-spacing: inherit;
|
|
410
412
|
}
|
|
411
413
|
|
|
412
|
-
:where(p) {
|
|
413
|
-
text-wrap: pretty;
|
|
414
|
-
max-inline-size: var(--measure-base);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
414
|
:where(html):has(dialog:modal) {
|
|
418
415
|
scrollbar-gutter: stable;
|
|
419
416
|
overflow: hidden;
|
|
@@ -443,7 +440,7 @@
|
|
|
443
440
|
}
|
|
444
441
|
|
|
445
442
|
:where(dl:not([class]), .nc-description-list) {
|
|
446
|
-
|
|
443
|
+
overflow-wrap: anywhere;
|
|
447
444
|
grid-template-columns: .25fr .75fr;
|
|
448
445
|
align-items: flex-start;
|
|
449
446
|
row-gap: .5lh;
|
|
@@ -499,13 +496,13 @@
|
|
|
499
496
|
:where(figcaption) {
|
|
500
497
|
color: var(--color-surface-subtle);
|
|
501
498
|
background-color: var(--color-text-base);
|
|
502
|
-
padding: .
|
|
499
|
+
padding: .25lh 1ch;
|
|
503
500
|
display: block;
|
|
504
501
|
}
|
|
505
502
|
|
|
506
503
|
:where(details) {
|
|
507
504
|
--p-x-details: 2ch;
|
|
508
|
-
--p-y-details: .
|
|
505
|
+
--p-y-details: .75lh;
|
|
509
506
|
--b-r-details: var(--border-radius-medium);
|
|
510
507
|
background-color: var(--color-surface-muted);
|
|
511
508
|
border-radius: var(--b-r-details);
|
|
@@ -661,6 +658,9 @@
|
|
|
661
658
|
:where(abbr) {
|
|
662
659
|
-webkit-text-decoration-color: var(--color-brand-primary-base);
|
|
663
660
|
text-decoration-color: var(--color-brand-primary-base);
|
|
661
|
+
font-variant-numeric: oldstyle-nums;
|
|
662
|
+
font-size: 110%;
|
|
663
|
+
font-variant-caps: all-small-caps;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
:where([aria-disabled="true"], .disabled, :disabled) {
|
|
@@ -687,8 +687,7 @@
|
|
|
687
687
|
tab-size: 4;
|
|
688
688
|
text-align: left;
|
|
689
689
|
word-spacing: normal;
|
|
690
|
-
|
|
691
|
-
word-wrap: normal;
|
|
690
|
+
overflow-wrap: normal;
|
|
692
691
|
max-inline-size: fit-content;
|
|
693
692
|
padding-block: .125lh;
|
|
694
693
|
font-style: normal;
|
|
@@ -800,6 +799,10 @@
|
|
|
800
799
|
background-color: var(--color-surface-muted);
|
|
801
800
|
}
|
|
802
801
|
|
|
802
|
+
:where(td, math, time[datetime*=":"]) {
|
|
803
|
+
font-variant-numeric: tabular-nums lining-nums slashed-zero;
|
|
804
|
+
}
|
|
805
|
+
|
|
803
806
|
:target {
|
|
804
807
|
scroll-margin-block-start: 2ex;
|
|
805
808
|
}
|
|
@@ -832,7 +835,72 @@
|
|
|
832
835
|
}
|
|
833
836
|
|
|
834
837
|
:where(li > :is(ul, ol)) {
|
|
835
|
-
margin-block-start: .
|
|
838
|
+
margin-block-start: .25lh;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
@supports (font-variant-position: sub) {
|
|
842
|
+
:where(sub) {
|
|
843
|
+
vertical-align: baseline;
|
|
844
|
+
font-size: 100%;
|
|
845
|
+
line-height: inherit;
|
|
846
|
+
font-variant-position: sub;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
@supports (font-variant-position: super) {
|
|
851
|
+
:where(sup) {
|
|
852
|
+
vertical-align: baseline;
|
|
853
|
+
font-size: 100%;
|
|
854
|
+
line-height: inherit;
|
|
855
|
+
font-variant-position: super;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
:lang(en) > * {
|
|
860
|
+
quotes: "“" "”" "‘" "’";
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
:lang(de) > * {
|
|
864
|
+
quotes: "„" "“" "‚" "‘";
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
:where() {
|
|
868
|
+
content: open-quote;
|
|
869
|
+
content: close-quote;
|
|
870
|
+
content: "“";
|
|
871
|
+
content: "”";
|
|
872
|
+
margin-inline-start: -.87ch;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
:where(.quoted p) {
|
|
876
|
+
hanging-punctuation: first last;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@supports (hanging-punctuation: first last) {
|
|
880
|
+
:where() {
|
|
881
|
+
margin-inline-start: 0;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
:where(.prose) {
|
|
886
|
+
-webkit-hyphens: auto;
|
|
887
|
+
hyphens: auto;
|
|
888
|
+
hyphenate-limit-chars: 7 4 3;
|
|
889
|
+
hyphenate-limit-lines: 2;
|
|
890
|
+
hyphenate-limit-zone: 8%;
|
|
891
|
+
hyphenate-limit-last: always;
|
|
892
|
+
text-wrap: pretty;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
:where(.prose p) {
|
|
896
|
+
text-wrap: pretty;
|
|
897
|
+
font-variant-numeric: oldstyle-nums proportional-nums;
|
|
898
|
+
max-inline-size: var(--measure-base);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
:where(.prose pre, .prose code, .prose var, .prose samp, .prose kbd, .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6) {
|
|
902
|
+
-webkit-hyphens: manual;
|
|
903
|
+
hyphens: manual;
|
|
836
904
|
}
|
|
837
905
|
}
|
|
838
906
|
|
|
@@ -890,7 +958,7 @@
|
|
|
890
958
|
}
|
|
891
959
|
|
|
892
960
|
:where(.nc-flow) > * + * {
|
|
893
|
-
margin-block-start: var(--flow-gap,
|
|
961
|
+
margin-block-start: var(--flow-gap, 1lh);
|
|
894
962
|
}
|
|
895
963
|
|
|
896
964
|
:where(.nc-flow) > * {
|
|
@@ -899,11 +967,11 @@
|
|
|
899
967
|
|
|
900
968
|
:where(.nc-flow) > :is(h1, h2, h3, h4, h5, h6) {
|
|
901
969
|
max-inline-size: var(--flow-headline-meassure, 32ch);
|
|
902
|
-
--flow-gap: 1.
|
|
970
|
+
--flow-gap: 1.5lh;
|
|
903
971
|
}
|
|
904
972
|
|
|
905
973
|
:where(.nc-flow) > :is(h1, h2, h3, h4, h5, h6) + :not([class]) {
|
|
906
|
-
--flow-gap: .
|
|
974
|
+
--flow-gap: .5lh;
|
|
907
975
|
}
|
|
908
976
|
|
|
909
977
|
:where(.nc-flow) > figure {
|
|
@@ -1301,6 +1369,21 @@
|
|
|
1301
1369
|
text-transform: capitalize;
|
|
1302
1370
|
}
|
|
1303
1371
|
|
|
1372
|
+
.centered {
|
|
1373
|
+
text-align: center;
|
|
1374
|
+
text-wrap: balance;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
.uppercase {
|
|
1378
|
+
text-transform: uppercase;
|
|
1379
|
+
--opentype-case: on;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.smallcaps {
|
|
1383
|
+
font-variant-numeric: oldstyle-nums;
|
|
1384
|
+
font-variant-caps: all-small-caps;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1304
1387
|
.strong {
|
|
1305
1388
|
font-weight: var(--font-weight-strong);
|
|
1306
1389
|
}
|
|
@@ -136,6 +136,10 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
:where(body) {
|
|
139
|
+
-webkit-text-decoration-skip-ink: auto;
|
|
140
|
+
text-decoration-skip-ink: auto;
|
|
141
|
+
font-optical-sizing: auto;
|
|
142
|
+
font-kerning: normal;
|
|
139
143
|
min-block-size: 100vh;
|
|
140
144
|
}
|
|
141
145
|
|
|
@@ -148,8 +152,6 @@
|
|
|
148
152
|
}
|
|
149
153
|
|
|
150
154
|
:where(a:not([class])) {
|
|
151
|
-
-webkit-text-decoration-skip-ink: auto;
|
|
152
|
-
text-decoration-skip-ink: auto;
|
|
153
155
|
color: currentColor;
|
|
154
156
|
}
|
|
155
157
|
|
|
@@ -190,11 +192,6 @@
|
|
|
190
192
|
letter-spacing: inherit;
|
|
191
193
|
}
|
|
192
194
|
|
|
193
|
-
:where(p) {
|
|
194
|
-
text-wrap: pretty;
|
|
195
|
-
max-inline-size: var(--measure-base);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
195
|
:where(html):has(dialog:modal) {
|
|
199
196
|
scrollbar-gutter: stable;
|
|
200
197
|
overflow: hidden;
|
|
@@ -224,7 +221,7 @@
|
|
|
224
221
|
}
|
|
225
222
|
|
|
226
223
|
:where(dl:not([class]), .nc-description-list) {
|
|
227
|
-
|
|
224
|
+
overflow-wrap: anywhere;
|
|
228
225
|
grid-template-columns: .25fr .75fr;
|
|
229
226
|
align-items: flex-start;
|
|
230
227
|
row-gap: .5lh;
|
|
@@ -280,13 +277,13 @@
|
|
|
280
277
|
:where(figcaption) {
|
|
281
278
|
color: var(--color-surface-subtle);
|
|
282
279
|
background-color: var(--color-text-base);
|
|
283
|
-
padding: .
|
|
280
|
+
padding: .25lh 1ch;
|
|
284
281
|
display: block;
|
|
285
282
|
}
|
|
286
283
|
|
|
287
284
|
:where(details) {
|
|
288
285
|
--p-x-details: 2ch;
|
|
289
|
-
--p-y-details: .
|
|
286
|
+
--p-y-details: .75lh;
|
|
290
287
|
--b-r-details: var(--border-radius-medium);
|
|
291
288
|
background-color: var(--color-surface-muted);
|
|
292
289
|
border-radius: var(--b-r-details);
|
|
@@ -442,6 +439,9 @@
|
|
|
442
439
|
:where(abbr) {
|
|
443
440
|
-webkit-text-decoration-color: var(--color-brand-primary-base);
|
|
444
441
|
text-decoration-color: var(--color-brand-primary-base);
|
|
442
|
+
font-variant-numeric: oldstyle-nums;
|
|
443
|
+
font-size: 110%;
|
|
444
|
+
font-variant-caps: all-small-caps;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
:where([aria-disabled="true"], .disabled, :disabled) {
|
|
@@ -468,8 +468,7 @@
|
|
|
468
468
|
tab-size: 4;
|
|
469
469
|
text-align: left;
|
|
470
470
|
word-spacing: normal;
|
|
471
|
-
|
|
472
|
-
word-wrap: normal;
|
|
471
|
+
overflow-wrap: normal;
|
|
473
472
|
max-inline-size: fit-content;
|
|
474
473
|
padding-block: .125lh;
|
|
475
474
|
font-style: normal;
|
|
@@ -581,6 +580,10 @@
|
|
|
581
580
|
background-color: var(--color-surface-muted);
|
|
582
581
|
}
|
|
583
582
|
|
|
583
|
+
:where(td, math, time[datetime*=":"]) {
|
|
584
|
+
font-variant-numeric: tabular-nums lining-nums slashed-zero;
|
|
585
|
+
}
|
|
586
|
+
|
|
584
587
|
:target {
|
|
585
588
|
scroll-margin-block-start: 2ex;
|
|
586
589
|
}
|
|
@@ -613,7 +616,72 @@
|
|
|
613
616
|
}
|
|
614
617
|
|
|
615
618
|
:where(li > :is(ul, ol)) {
|
|
616
|
-
margin-block-start: .
|
|
619
|
+
margin-block-start: .25lh;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
@supports (font-variant-position: sub) {
|
|
623
|
+
:where(sub) {
|
|
624
|
+
vertical-align: baseline;
|
|
625
|
+
font-size: 100%;
|
|
626
|
+
line-height: inherit;
|
|
627
|
+
font-variant-position: sub;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@supports (font-variant-position: super) {
|
|
632
|
+
:where(sup) {
|
|
633
|
+
vertical-align: baseline;
|
|
634
|
+
font-size: 100%;
|
|
635
|
+
line-height: inherit;
|
|
636
|
+
font-variant-position: super;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
:lang(en) > * {
|
|
641
|
+
quotes: "“" "”" "‘" "’";
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
:lang(de) > * {
|
|
645
|
+
quotes: "„" "“" "‚" "‘";
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
:where() {
|
|
649
|
+
content: open-quote;
|
|
650
|
+
content: close-quote;
|
|
651
|
+
content: "“";
|
|
652
|
+
content: "”";
|
|
653
|
+
margin-inline-start: -.87ch;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
:where(.quoted p) {
|
|
657
|
+
hanging-punctuation: first last;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
@supports (hanging-punctuation: first last) {
|
|
661
|
+
:where() {
|
|
662
|
+
margin-inline-start: 0;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
:where(.prose) {
|
|
667
|
+
-webkit-hyphens: auto;
|
|
668
|
+
hyphens: auto;
|
|
669
|
+
hyphenate-limit-chars: 7 4 3;
|
|
670
|
+
hyphenate-limit-lines: 2;
|
|
671
|
+
hyphenate-limit-zone: 8%;
|
|
672
|
+
hyphenate-limit-last: always;
|
|
673
|
+
text-wrap: pretty;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
:where(.prose p) {
|
|
677
|
+
text-wrap: pretty;
|
|
678
|
+
font-variant-numeric: oldstyle-nums proportional-nums;
|
|
679
|
+
max-inline-size: var(--measure-base);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
:where(.prose pre, .prose code, .prose var, .prose samp, .prose kbd, .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6) {
|
|
683
|
+
-webkit-hyphens: manual;
|
|
684
|
+
hyphens: manual;
|
|
617
685
|
}
|
|
618
686
|
}
|
|
619
687
|
|
|
@@ -671,7 +739,7 @@
|
|
|
671
739
|
}
|
|
672
740
|
|
|
673
741
|
:where(.nc-flow) > * + * {
|
|
674
|
-
margin-block-start: var(--flow-gap,
|
|
742
|
+
margin-block-start: var(--flow-gap, 1lh);
|
|
675
743
|
}
|
|
676
744
|
|
|
677
745
|
:where(.nc-flow) > * {
|
|
@@ -680,11 +748,11 @@
|
|
|
680
748
|
|
|
681
749
|
:where(.nc-flow) > :is(h1, h2, h3, h4, h5, h6) {
|
|
682
750
|
max-inline-size: var(--flow-headline-meassure, 32ch);
|
|
683
|
-
--flow-gap: 1.
|
|
751
|
+
--flow-gap: 1.5lh;
|
|
684
752
|
}
|
|
685
753
|
|
|
686
754
|
:where(.nc-flow) > :is(h1, h2, h3, h4, h5, h6) + :not([class]) {
|
|
687
|
-
--flow-gap: .
|
|
755
|
+
--flow-gap: .5lh;
|
|
688
756
|
}
|
|
689
757
|
|
|
690
758
|
:where(.nc-flow) > figure {
|
|
@@ -1082,6 +1150,21 @@
|
|
|
1082
1150
|
text-transform: capitalize;
|
|
1083
1151
|
}
|
|
1084
1152
|
|
|
1153
|
+
.centered {
|
|
1154
|
+
text-align: center;
|
|
1155
|
+
text-wrap: balance;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.uppercase {
|
|
1159
|
+
text-transform: uppercase;
|
|
1160
|
+
--opentype-case: on;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.smallcaps {
|
|
1164
|
+
font-variant-numeric: oldstyle-nums;
|
|
1165
|
+
font-variant-caps: all-small-caps;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1085
1168
|
.strong {
|
|
1086
1169
|
font-weight: var(--font-weight-strong);
|
|
1087
1170
|
}
|
package/out/complete.css
CHANGED
|
@@ -355,6 +355,10 @@
|
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
:where(body) {
|
|
358
|
+
-webkit-text-decoration-skip-ink: auto;
|
|
359
|
+
text-decoration-skip-ink: auto;
|
|
360
|
+
font-optical-sizing: auto;
|
|
361
|
+
font-kerning: normal;
|
|
358
362
|
min-block-size: 100vh;
|
|
359
363
|
}
|
|
360
364
|
|
|
@@ -367,8 +371,6 @@
|
|
|
367
371
|
}
|
|
368
372
|
|
|
369
373
|
:where(a:not([class])) {
|
|
370
|
-
-webkit-text-decoration-skip-ink: auto;
|
|
371
|
-
text-decoration-skip-ink: auto;
|
|
372
374
|
color: currentColor;
|
|
373
375
|
}
|
|
374
376
|
|
|
@@ -409,11 +411,6 @@
|
|
|
409
411
|
letter-spacing: inherit;
|
|
410
412
|
}
|
|
411
413
|
|
|
412
|
-
:where(p) {
|
|
413
|
-
text-wrap: pretty;
|
|
414
|
-
max-inline-size: var(--measure-base);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
414
|
:where(html):has(dialog:modal) {
|
|
418
415
|
scrollbar-gutter: stable;
|
|
419
416
|
overflow: hidden;
|
|
@@ -443,7 +440,7 @@
|
|
|
443
440
|
}
|
|
444
441
|
|
|
445
442
|
:where(dl:not([class]), .nc-description-list) {
|
|
446
|
-
|
|
443
|
+
overflow-wrap: anywhere;
|
|
447
444
|
grid-template-columns: .25fr .75fr;
|
|
448
445
|
align-items: flex-start;
|
|
449
446
|
row-gap: .5lh;
|
|
@@ -499,13 +496,13 @@
|
|
|
499
496
|
:where(figcaption) {
|
|
500
497
|
color: var(--color-surface-subtle);
|
|
501
498
|
background-color: var(--color-text-base);
|
|
502
|
-
padding: .
|
|
499
|
+
padding: .25lh 1ch;
|
|
503
500
|
display: block;
|
|
504
501
|
}
|
|
505
502
|
|
|
506
503
|
:where(details) {
|
|
507
504
|
--p-x-details: 2ch;
|
|
508
|
-
--p-y-details: .
|
|
505
|
+
--p-y-details: .75lh;
|
|
509
506
|
--b-r-details: var(--border-radius-medium);
|
|
510
507
|
background-color: var(--color-surface-muted);
|
|
511
508
|
border-radius: var(--b-r-details);
|
|
@@ -661,6 +658,9 @@
|
|
|
661
658
|
:where(abbr) {
|
|
662
659
|
-webkit-text-decoration-color: var(--color-brand-primary-base);
|
|
663
660
|
text-decoration-color: var(--color-brand-primary-base);
|
|
661
|
+
font-variant-numeric: oldstyle-nums;
|
|
662
|
+
font-size: 110%;
|
|
663
|
+
font-variant-caps: all-small-caps;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
:where([aria-disabled="true"], .disabled, :disabled) {
|
|
@@ -687,8 +687,7 @@
|
|
|
687
687
|
tab-size: 4;
|
|
688
688
|
text-align: left;
|
|
689
689
|
word-spacing: normal;
|
|
690
|
-
|
|
691
|
-
word-wrap: normal;
|
|
690
|
+
overflow-wrap: normal;
|
|
692
691
|
max-inline-size: fit-content;
|
|
693
692
|
padding-block: .125lh;
|
|
694
693
|
font-style: normal;
|
|
@@ -800,6 +799,10 @@
|
|
|
800
799
|
background-color: var(--color-surface-muted);
|
|
801
800
|
}
|
|
802
801
|
|
|
802
|
+
:where(td, math, time[datetime*=":"]) {
|
|
803
|
+
font-variant-numeric: tabular-nums lining-nums slashed-zero;
|
|
804
|
+
}
|
|
805
|
+
|
|
803
806
|
:target {
|
|
804
807
|
scroll-margin-block-start: 2ex;
|
|
805
808
|
}
|
|
@@ -832,7 +835,72 @@
|
|
|
832
835
|
}
|
|
833
836
|
|
|
834
837
|
:where(li > :is(ul, ol)) {
|
|
835
|
-
margin-block-start: .
|
|
838
|
+
margin-block-start: .25lh;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
@supports (font-variant-position: sub) {
|
|
842
|
+
:where(sub) {
|
|
843
|
+
vertical-align: baseline;
|
|
844
|
+
font-size: 100%;
|
|
845
|
+
line-height: inherit;
|
|
846
|
+
font-variant-position: sub;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
@supports (font-variant-position: super) {
|
|
851
|
+
:where(sup) {
|
|
852
|
+
vertical-align: baseline;
|
|
853
|
+
font-size: 100%;
|
|
854
|
+
line-height: inherit;
|
|
855
|
+
font-variant-position: super;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
:lang(en) > * {
|
|
860
|
+
quotes: "“" "”" "‘" "’";
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
:lang(de) > * {
|
|
864
|
+
quotes: "„" "“" "‚" "‘";
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
:where() {
|
|
868
|
+
content: open-quote;
|
|
869
|
+
content: close-quote;
|
|
870
|
+
content: "“";
|
|
871
|
+
content: "”";
|
|
872
|
+
margin-inline-start: -.87ch;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
:where(.quoted p) {
|
|
876
|
+
hanging-punctuation: first last;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@supports (hanging-punctuation: first last) {
|
|
880
|
+
:where() {
|
|
881
|
+
margin-inline-start: 0;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
:where(.prose) {
|
|
886
|
+
-webkit-hyphens: auto;
|
|
887
|
+
hyphens: auto;
|
|
888
|
+
hyphenate-limit-chars: 7 4 3;
|
|
889
|
+
hyphenate-limit-lines: 2;
|
|
890
|
+
hyphenate-limit-zone: 8%;
|
|
891
|
+
hyphenate-limit-last: always;
|
|
892
|
+
text-wrap: pretty;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
:where(.prose p) {
|
|
896
|
+
text-wrap: pretty;
|
|
897
|
+
font-variant-numeric: oldstyle-nums proportional-nums;
|
|
898
|
+
max-inline-size: var(--measure-base);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
:where(.prose pre, .prose code, .prose var, .prose samp, .prose kbd, .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6) {
|
|
902
|
+
-webkit-hyphens: manual;
|
|
903
|
+
hyphens: manual;
|
|
836
904
|
}
|
|
837
905
|
}
|
|
838
906
|
|
|
@@ -890,7 +958,7 @@
|
|
|
890
958
|
}
|
|
891
959
|
|
|
892
960
|
:where(.nc-flow) > * + * {
|
|
893
|
-
margin-block-start: var(--flow-gap,
|
|
961
|
+
margin-block-start: var(--flow-gap, 1lh);
|
|
894
962
|
}
|
|
895
963
|
|
|
896
964
|
:where(.nc-flow) > * {
|
|
@@ -899,11 +967,11 @@
|
|
|
899
967
|
|
|
900
968
|
:where(.nc-flow) > :is(h1, h2, h3, h4, h5, h6) {
|
|
901
969
|
max-inline-size: var(--flow-headline-meassure, 32ch);
|
|
902
|
-
--flow-gap: 1.
|
|
970
|
+
--flow-gap: 1.5lh;
|
|
903
971
|
}
|
|
904
972
|
|
|
905
973
|
:where(.nc-flow) > :is(h1, h2, h3, h4, h5, h6) + :not([class]) {
|
|
906
|
-
--flow-gap: .
|
|
974
|
+
--flow-gap: .5lh;
|
|
907
975
|
}
|
|
908
976
|
|
|
909
977
|
:where(.nc-flow) > figure {
|
|
@@ -1301,6 +1369,21 @@
|
|
|
1301
1369
|
text-transform: capitalize;
|
|
1302
1370
|
}
|
|
1303
1371
|
|
|
1372
|
+
.centered {
|
|
1373
|
+
text-align: center;
|
|
1374
|
+
text-wrap: balance;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
.uppercase {
|
|
1378
|
+
text-transform: uppercase;
|
|
1379
|
+
--opentype-case: on;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.smallcaps {
|
|
1383
|
+
font-variant-numeric: oldstyle-nums;
|
|
1384
|
+
font-variant-caps: all-small-caps;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1304
1387
|
.strong {
|
|
1305
1388
|
font-weight: var(--font-weight-strong);
|
|
1306
1389
|
}
|
|
@@ -1715,6 +1798,33 @@
|
|
|
1715
1798
|
:where(.nc-card):is([href], button):hover {
|
|
1716
1799
|
border-color: var(--color-brand-primary-base);
|
|
1717
1800
|
}
|
|
1801
|
+
|
|
1802
|
+
:where(.nc-clickable-card) {
|
|
1803
|
+
cursor: pointer;
|
|
1804
|
+
position: relative;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
:where(.nc-clickable-card):focus-within, :where(.nc-clickable-card):hover {
|
|
1808
|
+
outline: var(--border-width-medium) solid var(--color-brand-primary-base);
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
:where(.nc-clickable-card) a[data-link="main"] {
|
|
1812
|
+
text-decoration: none;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
:where(.nc-clickable-card) a[data-link="main"]:focus-within:focus-visible, :where(.nc-clickable-card) a[data-link="main"]:hover {
|
|
1816
|
+
outline: none;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
:where(.nc-clickable-card) a[data-link="main"]:before {
|
|
1820
|
+
content: "";
|
|
1821
|
+
position: absolute;
|
|
1822
|
+
inset: 0;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
:where(.nc-clickable-card) a[data-link="extra"] {
|
|
1826
|
+
position: relative;
|
|
1827
|
+
}
|
|
1718
1828
|
}
|
|
1719
1829
|
|
|
1720
1830
|
@layer components.dialogs {
|
|
@@ -1980,7 +2090,7 @@
|
|
|
1980
2090
|
}
|
|
1981
2091
|
|
|
1982
2092
|
:where(.nc-icon)[data-size="inline"] {
|
|
1983
|
-
--icon-size: .
|
|
2093
|
+
--icon-size: .75lh;
|
|
1984
2094
|
}
|
|
1985
2095
|
|
|
1986
2096
|
:where(.nc-icon)[data-size="button"] {
|
|
@@ -2014,7 +2124,7 @@
|
|
|
2014
2124
|
color: var(--color-text-base);
|
|
2015
2125
|
font-size: inherit;
|
|
2016
2126
|
align-items: center;
|
|
2017
|
-
gap:
|
|
2127
|
+
gap: 0;
|
|
2018
2128
|
display: inline-flex;
|
|
2019
2129
|
}
|
|
2020
2130
|
|
|
@@ -2212,7 +2322,7 @@
|
|
|
2212
2322
|
--_tag-select-checked-text-color: var(--tag-select-checked-text-color, var(--color-brand-primary-contrast));
|
|
2213
2323
|
--_tag-select-checked-surface-color: var(--tag-select-checked-surface-color, var(--color-brand-primary-base));
|
|
2214
2324
|
--_tag-select-border-radius: var(--tag-select-border-radius, var(--_input-border-radius));
|
|
2215
|
-
--nc-legend-spacing: .
|
|
2325
|
+
--nc-legend-spacing: .25lh;
|
|
2216
2326
|
}
|
|
2217
2327
|
|
|
2218
2328
|
:where(.nc-tag-select-field):focus-within:has(:focus-visible) {
|
|
@@ -2253,12 +2363,12 @@
|
|
|
2253
2363
|
max-inline-size: var(--input-field-max-inline-size);
|
|
2254
2364
|
grid-template-columns: minmax(0, 1fr);
|
|
2255
2365
|
place-items: start;
|
|
2256
|
-
gap: .
|
|
2366
|
+
gap: .25lh;
|
|
2257
2367
|
display: grid;
|
|
2258
2368
|
}
|
|
2259
2369
|
|
|
2260
2370
|
:where(.nc-input-field) > label, :where(.nc-input-field) > .nc-stack {
|
|
2261
|
-
gap:
|
|
2371
|
+
gap: 0;
|
|
2262
2372
|
}
|
|
2263
2373
|
|
|
2264
2374
|
:where(.nc-input-field) > .nc-cluster {
|
|
@@ -2326,7 +2436,7 @@
|
|
|
2326
2436
|
--_segmented-control-border-radius: var(--segmented-control-border-radius, var(--_input-border-radius));
|
|
2327
2437
|
--_segmented-control-checked-text-color: var(--segmented-control-checked-text-color, var(--color-brand-primary-contrast));
|
|
2328
2438
|
--_segmented-control-checked-surface-color: var(--segmented-control-checked-surface-color, var(--color-brand-primary-base));
|
|
2329
|
-
--nc-legend-spacing: .
|
|
2439
|
+
--nc-legend-spacing: .25lh;
|
|
2330
2440
|
container: segmented-control / inline-size;
|
|
2331
2441
|
}
|
|
2332
2442
|
|