@entur/typography 1.9.13 → 1.10.0-beta.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.
Files changed (41) hide show
  1. package/README.md +101 -4
  2. package/dist/BaseHeading.d.ts +18 -0
  3. package/dist/Blockquote.d.ts +12 -0
  4. package/dist/CodeText.d.ts +16 -0
  5. package/dist/EmphasizedText.d.ts +20 -0
  6. package/dist/Heading1.d.ts +20 -0
  7. package/dist/Heading2.d.ts +20 -0
  8. package/dist/Heading3.d.ts +20 -0
  9. package/dist/Heading4.d.ts +20 -0
  10. package/dist/Heading5.d.ts +20 -0
  11. package/dist/Heading6.d.ts +20 -0
  12. package/dist/Label.d.ts +20 -0
  13. package/dist/LeadParagraph.d.ts +20 -0
  14. package/dist/Link.d.ts +22 -0
  15. package/dist/ListItem.d.ts +11 -0
  16. package/dist/NumberedList.d.ts +8 -0
  17. package/dist/Paragraph.d.ts +20 -0
  18. package/dist/PreformattedText.d.ts +16 -0
  19. package/dist/SmallText.d.ts +20 -0
  20. package/dist/StrongText.d.ts +20 -0
  21. package/dist/SubLabel.d.ts +20 -0
  22. package/dist/SubParagraph.d.ts +20 -0
  23. package/dist/UnorderedList.d.ts +8 -0
  24. package/dist/beta/BlockquoteBeta.d.ts +12 -0
  25. package/dist/beta/Heading.d.ts +20 -0
  26. package/dist/beta/LinkBeta.d.ts +16 -0
  27. package/dist/beta/ListItemBeta.d.ts +16 -0
  28. package/dist/beta/NumberedListBeta.d.ts +16 -0
  29. package/dist/beta/Text.d.ts +20 -0
  30. package/dist/beta/UnorderedListBeta.d.ts +14 -0
  31. package/dist/beta/index.d.ts +9 -0
  32. package/dist/beta/types.d.ts +5 -0
  33. package/dist/beta/utils.d.ts +10 -0
  34. package/dist/index.d.ts +28 -426
  35. package/dist/styles.css +1436 -0
  36. package/dist/typography.cjs.js +254 -0
  37. package/dist/typography.cjs.js.map +1 -1
  38. package/dist/typography.esm.js +255 -1
  39. package/dist/typography.esm.js.map +1 -1
  40. package/package.json +11 -8
  41. package/scripts/migrate-typography.js +1325 -0
package/dist/styles.css CHANGED
@@ -1,13 +1,237 @@
1
+ /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
2
+
3
+ /*
4
+ Document
5
+ ========
6
+ */
7
+
8
+ /**
9
+ Use a better box model (opinionated).
10
+ */
11
+
12
+ *,
13
+ ::before,
14
+ ::after {
15
+ box-sizing: border-box;
16
+ }
17
+
18
+ html {
19
+ /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
20
+ font-family:
21
+ system-ui,
22
+ 'Segoe UI',
23
+ Roboto,
24
+ Helvetica,
25
+ Arial,
26
+ sans-serif,
27
+ 'Apple Color Emoji',
28
+ 'Segoe UI Emoji';
29
+ line-height: 1.15; /* 1. Correct the line height in all browsers. */
30
+ -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
31
+ tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
32
+ }
33
+
34
+ /*
35
+ Sections
36
+ ========
37
+ */
38
+
39
+ body {
40
+ margin: 0; /* Remove the margin in all browsers. */
41
+ }
42
+
43
+ /*
44
+ Text-level semantics
45
+ ====================
46
+ */
47
+
48
+ /**
49
+ Add the correct font weight in Chrome and Safari.
50
+ */
51
+
52
+ b,
53
+ strong {
54
+ font-weight: bolder;
55
+ }
56
+
57
+ /**
58
+ 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
59
+ 2. Correct the odd 'em' font sizing in all browsers.
60
+ */
61
+
62
+ code,
63
+ kbd,
64
+ samp,
65
+ pre {
66
+ font-family:
67
+ ui-monospace,
68
+ SFMono-Regular,
69
+ Consolas,
70
+ 'Liberation Mono',
71
+ Menlo,
72
+ monospace; /* 1 */
73
+ font-size: 1em; /* 2 */
74
+ }
75
+
76
+ /**
77
+ Add the correct font size in all browsers.
78
+ */
79
+
80
+ small {
81
+ font-size: 80%;
82
+ }
83
+
84
+ /**
85
+ Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
86
+ */
87
+
88
+ sub,
89
+ sup {
90
+ font-size: 75%;
91
+ line-height: 0;
92
+ position: relative;
93
+ vertical-align: baseline;
94
+ }
95
+
96
+ sub {
97
+ bottom: -0.25em;
98
+ }
99
+
100
+ sup {
101
+ top: -0.5em;
102
+ }
103
+
104
+ /*
105
+ Tabular data
106
+ ============
107
+ */
108
+
109
+ /**
110
+ Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
111
+ */
112
+
113
+ table {
114
+ border-color: currentcolor;
115
+ }
116
+
117
+ /*
118
+ Forms
119
+ =====
120
+ */
121
+
122
+ /**
123
+ 1. Change the font styles in all browsers.
124
+ 2. Remove the margin in Firefox and Safari.
125
+ */
126
+
127
+ button,
128
+ input,
129
+ optgroup,
130
+ select,
131
+ textarea {
132
+ font-family: inherit; /* 1 */
133
+ font-size: 100%; /* 1 */
134
+ line-height: 1.15; /* 1 */
135
+ margin: 0; /* 2 */
136
+ }
137
+
138
+ /**
139
+ Correct the inability to style clickable types in iOS and Safari.
140
+ */
141
+
142
+ button,
143
+ [type='button'],
144
+ [type='reset'],
145
+ [type='submit'] {
146
+ -webkit-appearance: button;
147
+ }
148
+
149
+ /**
150
+ Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
151
+ */
152
+
153
+ legend {
154
+ padding: 0;
155
+ }
156
+
157
+ /**
158
+ Add the correct vertical alignment in Chrome and Firefox.
159
+ */
160
+
161
+ progress {
162
+ vertical-align: baseline;
163
+ }
164
+
165
+ /**
166
+ Correct the cursor style of increment and decrement buttons in Safari.
167
+ */
168
+
169
+ ::-webkit-inner-spin-button,
170
+ ::-webkit-outer-spin-button {
171
+ height: auto;
172
+ }
173
+
174
+ /**
175
+ 1. Correct the odd appearance in Chrome and Safari.
176
+ 2. Correct the outline style in Safari.
177
+ */
178
+
179
+ [type='search'] {
180
+ -webkit-appearance: textfield; /* 1 */
181
+ outline-offset: -2px; /* 2 */
182
+ }
183
+
184
+ /**
185
+ Remove the inner padding in Chrome and Safari on macOS.
186
+ */
187
+
188
+ ::-webkit-search-decoration {
189
+ -webkit-appearance: none;
190
+ }
191
+
192
+ /**
193
+ 1. Correct the inability to style clickable types in iOS and Safari.
194
+ 2. Change font properties to 'inherit' in Safari.
195
+ */
196
+
197
+ ::-webkit-file-upload-button {
198
+ -webkit-appearance: button; /* 1 */
199
+ font: inherit; /* 2 */
200
+ }
201
+
202
+ /*
203
+ Interactive
204
+ ===========
205
+ */
206
+
207
+ /*
208
+ Add the correct display in Chrome and Safari.
209
+ */
210
+
211
+ summary {
212
+ display: list-item;
213
+ }
214
+
1
215
  /* DO NOT CHANGE!*/
216
+
2
217
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
+
3
219
  /* DO NOT CHANGE!*/
220
+
4
221
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
222
+
5
223
  /* DO NOT CHANGE!*/
224
+
6
225
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
226
+
7
227
  /* DO NOT CHANGE!*/
228
+
8
229
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
230
+
9
231
  /* DO NOT CHANGE!*/
232
+
10
233
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
234
+
11
235
  [data-color-mode=light],
12
236
  :root {
13
237
  --basecolors-frame-contrast: #181c56;
@@ -142,7 +366,9 @@
142
366
  }
143
367
 
144
368
  /* DO NOT CHANGE!*/
369
+
145
370
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
371
+
146
372
  [data-color-mode=light],
147
373
  :root {
148
374
  --components-typography-basetext-contrast-text-accent: #ffffff;
@@ -202,6 +428,7 @@
202
428
  font-style: normal;
203
429
  font-display: swap;
204
430
  }
431
+
205
432
  @font-face {
206
433
  font-family: "Nationale";
207
434
  src: url("./fonts/Entur-Nationale-LightItalic.eot");
@@ -210,6 +437,7 @@
210
437
  font-style: italic;
211
438
  font-display: swap;
212
439
  }
440
+
213
441
  @font-face {
214
442
  font-family: "Nationale";
215
443
  src: url("./fonts/Entur-Nationale-Regular.eot");
@@ -218,6 +446,7 @@
218
446
  font-style: normal;
219
447
  font-display: swap;
220
448
  }
449
+
221
450
  @font-face {
222
451
  font-family: "Nationale";
223
452
  src: url("./fonts/Entur-Nationale-Italic.eot");
@@ -226,6 +455,7 @@
226
455
  font-style: italic;
227
456
  font-display: swap;
228
457
  }
458
+
229
459
  @font-face {
230
460
  font-family: "Nationale";
231
461
  src: url("./fonts/Entur-Nationale-Medium.eot");
@@ -234,6 +464,7 @@
234
464
  font-style: normal;
235
465
  font-display: swap;
236
466
  }
467
+
237
468
  @font-face {
238
469
  font-family: "Nationale";
239
470
  src: url("./fonts/Entur-Nationale-MediumItalic.eot");
@@ -242,6 +473,7 @@
242
473
  font-style: italic;
243
474
  font-display: swap;
244
475
  }
476
+
245
477
  @font-face {
246
478
  font-family: "Nationale";
247
479
  src: url("./fonts/Entur-Nationale-Demibold.eot");
@@ -250,6 +482,7 @@
250
482
  font-style: normal;
251
483
  font-display: swap;
252
484
  }
485
+
253
486
  @font-face {
254
487
  font-family: "Nationale";
255
488
  src: url("./fonts/Entur-Nationale-DemiboldItalic.eot");
@@ -258,6 +491,7 @@
258
491
  font-style: italic;
259
492
  font-display: swap;
260
493
  }
494
+
261
495
  [data-color-mode=light],
262
496
  [data-color-mode=dark],
263
497
  :root {
@@ -275,6 +509,7 @@
275
509
  font-size: 1rem;
276
510
  line-height: 1.375rem;
277
511
  }
512
+
278
513
  [data-color-mode=light] .eds-contrast,
279
514
  [data-color-mode=dark] .eds-contrast,
280
515
  :root .eds-contrast {
@@ -284,6 +519,7 @@
284
519
  color: var(--primary-text-color);
285
520
  background-color: var(--primary-background-color);
286
521
  }
522
+
287
523
  @media screen and (min-width: 50rem) {
288
524
  [data-color-mode=light],
289
525
  [data-color-mode=dark],
@@ -316,6 +552,7 @@
316
552
  line-height: 2.625rem;
317
553
  margin: 0 0 1rem;
318
554
  }
555
+
319
556
  @media screen and (min-width: 50rem) {
320
557
  .eds-h1 {
321
558
  font-size: 2.5rem;
@@ -328,6 +565,7 @@
328
565
  line-height: 2.25rem;
329
566
  margin: 2rem 0 0.75rem;
330
567
  }
568
+
331
569
  @media screen and (min-width: 50rem) {
332
570
  .eds-h2 {
333
571
  font-size: 2rem;
@@ -340,6 +578,7 @@
340
578
  line-height: 1.5rem;
341
579
  margin: 1.5rem 0 0.5rem;
342
580
  }
581
+
343
582
  @media screen and (min-width: 50rem) {
344
583
  .eds-h3 {
345
584
  font-size: 1.5rem;
@@ -352,6 +591,7 @@
352
591
  line-height: 1.375rem;
353
592
  margin: 1.5rem 0 0;
354
593
  }
594
+
355
595
  @media screen and (min-width: 50rem) {
356
596
  .eds-h4 {
357
597
  font-size: 1.25rem;
@@ -364,6 +604,7 @@
364
604
  line-height: 1.25rem;
365
605
  margin: 1.5rem 0 0;
366
606
  }
607
+
367
608
  @media screen and (min-width: 50rem) {
368
609
  .eds-h5 {
369
610
  font-size: 1rem;
@@ -376,6 +617,7 @@
376
617
  line-height: 1.25rem;
377
618
  margin: 1.5rem 0 0;
378
619
  }
620
+
379
621
  @media screen and (min-width: 50rem) {
380
622
  .eds-h6 {
381
623
  font-size: 0.875rem;
@@ -389,6 +631,7 @@
389
631
  line-height: 1.5rem;
390
632
  margin: 0 0 2rem;
391
633
  }
634
+
392
635
  @media screen and (min-width: 50rem) {
393
636
  .eds-paragraph {
394
637
  font-size: 1rem;
@@ -402,6 +645,7 @@
402
645
  line-height: 1.875rem;
403
646
  margin: 1.5rem 0;
404
647
  }
648
+
405
649
  @media screen and (min-width: 50rem) {
406
650
  .eds-lead-paragraph {
407
651
  font-size: 1.25rem;
@@ -414,6 +658,7 @@
414
658
  font-size: 0.875rem;
415
659
  line-height: 1.25rem;
416
660
  }
661
+
417
662
  @media screen and (min-width: 50rem) {
418
663
  .eds-sub-paragraph {
419
664
  line-height: 1.375rem;
@@ -425,6 +670,7 @@
425
670
  font-size: 0.625rem;
426
671
  line-height: 1rem;
427
672
  }
673
+
428
674
  @media screen and (min-width: 50rem) {
429
675
  .eds-small-text {
430
676
  font-size: 0.75rem;
@@ -435,6 +681,7 @@
435
681
  .eds-link {
436
682
  color: var(--primary-text-color);
437
683
  }
684
+
438
685
  .eds-link, .eds-link:link, .eds-link:visited {
439
686
  font-size: inherit;
440
687
  text-decoration: none;
@@ -444,10 +691,12 @@
444
691
  background-size: 100% 0.125rem;
445
692
  background-position: 0 100%;
446
693
  }
694
+
447
695
  .eds-link:hover {
448
696
  animation: eds-link-underline 0.3s ease-in;
449
697
  cursor: pointer;
450
698
  }
699
+
451
700
  @keyframes eds-link-underline {
452
701
  from {
453
702
  background-size: 0% 0.125rem;
@@ -456,23 +705,28 @@
456
705
  background-size: 100% 0.125rem;
457
706
  }
458
707
  }
708
+
459
709
  .eds-link:focus-visible {
460
710
  outline: 2px solid #181c56;
461
711
  outline-color: var(--basecolors-stroke-focus-standard);
462
712
  outline-offset: 0.125rem;
463
713
  }
714
+
464
715
  .eds-contrast .eds-link:focus-visible {
465
716
  outline-color: var(--basecolors-stroke-focus-contrast);
466
717
  }
718
+
467
719
  @media screen and (min-width: 50rem) {
468
720
  .eds-link {
469
721
  font-size: 1rem;
470
722
  line-height: 1.5rem;
471
723
  }
472
724
  }
725
+
473
726
  .eds-link--ext-icon {
474
727
  margin-left: 0.25rem;
475
728
  }
729
+
476
730
  p .eds-link--ext-icon {
477
731
  top: 0;
478
732
  }
@@ -486,6 +740,7 @@ p .eds-link--ext-icon {
486
740
  font-size: 0.875rem;
487
741
  line-height: 1.25rem;
488
742
  }
743
+
489
744
  @media screen and (min-width: 50rem) {
490
745
  .eds-label {
491
746
  line-height: 1.375rem;
@@ -496,6 +751,7 @@ p .eds-link--ext-icon {
496
751
  font-size: 0.75rem;
497
752
  line-height: 1rem;
498
753
  }
754
+
499
755
  @media screen and (min-width: 50rem) {
500
756
  .eds-sub-label {
501
757
  line-height: 1.25rem;
@@ -541,6 +797,7 @@ p .eds-link--ext-icon {
541
797
  .eds-unordered-list {
542
798
  list-style: none;
543
799
  }
800
+
544
801
  .eds-unordered-list .eds-list-item::before {
545
802
  content: "";
546
803
  background: var(--components-typography-list-standard-border);
@@ -556,18 +813,23 @@ p .eds-link--ext-icon {
556
813
  counter-reset: eds-numbered-list-counter;
557
814
  list-style: none;
558
815
  }
816
+
559
817
  .eds-numbered-list--type-a > .eds-list-item::before {
560
818
  content: counter(eds-numbered-list-counter, lower-alpha);
561
819
  }
820
+
562
821
  .eds-numbered-list--type-A > .eds-list-item::before {
563
822
  content: counter(eds-numbered-list-counter, upper-alpha);
564
823
  }
824
+
565
825
  .eds-numbered-list--type-1 > .eds-list-item::before {
566
826
  content: counter(eds-numbered-list-counter, decimal);
567
827
  }
828
+
568
829
  .eds-numbered-list--type-i > .eds-list-item::before {
569
830
  content: counter(eds-numbered-list-counter, lower-roman);
570
831
  }
832
+
571
833
  .eds-numbered-list--type-I > .eds-list-item::before {
572
834
  content: counter(eds-numbered-list-counter, upper-roman);
573
835
  }
@@ -581,6 +843,7 @@ p .eds-link--ext-icon {
581
843
  margin-top: 1.5rem;
582
844
  position: relative;
583
845
  }
846
+
584
847
  .eds-numbered-list > .eds-list-item::before {
585
848
  color: var(--primary-text-color);
586
849
  position: absolute;
@@ -601,6 +864,7 @@ p .eds-link--ext-icon {
601
864
  font-weight: 600;
602
865
  margin-bottom: 0.5rem;
603
866
  }
867
+
604
868
  .eds-list-item__title .eds-list-item:first-of-type {
605
869
  margin: none;
606
870
  }
@@ -614,6 +878,7 @@ p .eds-link--ext-icon {
614
878
  padding: 0.5rem;
615
879
  padding-left: 2rem;
616
880
  }
881
+
617
882
  .eds-blockquote__footer {
618
883
  font-size: 0.875rem;
619
884
  line-height: 1.375rem;
@@ -639,6 +904,7 @@ p .eds-link--ext-icon {
639
904
  .eds-link--margin-top {
640
905
  margin-bottom: 0;
641
906
  }
907
+
642
908
  .eds-h1--margin-bottom,
643
909
  .eds-h2--margin-bottom,
644
910
  .eds-h3--margin-bottom,
@@ -656,6 +922,7 @@ p .eds-link--ext-icon {
656
922
  .eds-link--margin-bottom {
657
923
  margin-top: 0;
658
924
  }
925
+
659
926
  .eds-h1--margin-none,
660
927
  .eds-h2--margin-none,
661
928
  .eds-h3--margin-none,
@@ -682,4 +949,1173 @@ p .eds-link--ext-icon {
682
949
  100% {
683
950
  width: 100%;
684
951
  }
952
+ }/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
953
+
954
+ /*
955
+ Document
956
+ ========
957
+ */
958
+
959
+ /**
960
+ Use a better box model (opinionated).
961
+ */
962
+
963
+ *,
964
+ ::before,
965
+ ::after {
966
+ box-sizing: border-box;
967
+ }
968
+
969
+ html {
970
+ /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
971
+ font-family:
972
+ system-ui,
973
+ 'Segoe UI',
974
+ Roboto,
975
+ Helvetica,
976
+ Arial,
977
+ sans-serif,
978
+ 'Apple Color Emoji',
979
+ 'Segoe UI Emoji';
980
+ line-height: 1.15; /* 1. Correct the line height in all browsers. */
981
+ -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
982
+ tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
983
+ }
984
+
985
+ /*
986
+ Sections
987
+ ========
988
+ */
989
+
990
+ body {
991
+ margin: 0; /* Remove the margin in all browsers. */
992
+ }
993
+
994
+ /*
995
+ Text-level semantics
996
+ ====================
997
+ */
998
+
999
+ /**
1000
+ Add the correct font weight in Chrome and Safari.
1001
+ */
1002
+
1003
+ b,
1004
+ strong {
1005
+ font-weight: bolder;
1006
+ }
1007
+
1008
+ /**
1009
+ 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
1010
+ 2. Correct the odd 'em' font sizing in all browsers.
1011
+ */
1012
+
1013
+ code,
1014
+ kbd,
1015
+ samp,
1016
+ pre {
1017
+ font-family:
1018
+ ui-monospace,
1019
+ SFMono-Regular,
1020
+ Consolas,
1021
+ 'Liberation Mono',
1022
+ Menlo,
1023
+ monospace; /* 1 */
1024
+ font-size: 1em; /* 2 */
1025
+ }
1026
+
1027
+ /**
1028
+ Add the correct font size in all browsers.
1029
+ */
1030
+
1031
+ small {
1032
+ font-size: 80%;
1033
+ }
1034
+
1035
+ /**
1036
+ Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
1037
+ */
1038
+
1039
+ sub,
1040
+ sup {
1041
+ font-size: 75%;
1042
+ line-height: 0;
1043
+ position: relative;
1044
+ vertical-align: baseline;
1045
+ }
1046
+
1047
+ sub {
1048
+ bottom: -0.25em;
1049
+ }
1050
+
1051
+ sup {
1052
+ top: -0.5em;
1053
+ }
1054
+
1055
+ /*
1056
+ Tabular data
1057
+ ============
1058
+ */
1059
+
1060
+ /**
1061
+ Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
1062
+ */
1063
+
1064
+ table {
1065
+ border-color: currentcolor;
1066
+ }
1067
+
1068
+ /*
1069
+ Forms
1070
+ =====
1071
+ */
1072
+
1073
+ /**
1074
+ 1. Change the font styles in all browsers.
1075
+ 2. Remove the margin in Firefox and Safari.
1076
+ */
1077
+
1078
+ button,
1079
+ input,
1080
+ optgroup,
1081
+ select,
1082
+ textarea {
1083
+ font-family: inherit; /* 1 */
1084
+ font-size: 100%; /* 1 */
1085
+ line-height: 1.15; /* 1 */
1086
+ margin: 0; /* 2 */
1087
+ }
1088
+
1089
+ /**
1090
+ Correct the inability to style clickable types in iOS and Safari.
1091
+ */
1092
+
1093
+ button,
1094
+ [type='button'],
1095
+ [type='reset'],
1096
+ [type='submit'] {
1097
+ -webkit-appearance: button;
1098
+ }
1099
+
1100
+ /**
1101
+ Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
1102
+ */
1103
+
1104
+ legend {
1105
+ padding: 0;
1106
+ }
1107
+
1108
+ /**
1109
+ Add the correct vertical alignment in Chrome and Firefox.
1110
+ */
1111
+
1112
+ progress {
1113
+ vertical-align: baseline;
1114
+ }
1115
+
1116
+ /**
1117
+ Correct the cursor style of increment and decrement buttons in Safari.
1118
+ */
1119
+
1120
+ ::-webkit-inner-spin-button,
1121
+ ::-webkit-outer-spin-button {
1122
+ height: auto;
1123
+ }
1124
+
1125
+ /**
1126
+ 1. Correct the odd appearance in Chrome and Safari.
1127
+ 2. Correct the outline style in Safari.
1128
+ */
1129
+
1130
+ [type='search'] {
1131
+ -webkit-appearance: textfield; /* 1 */
1132
+ outline-offset: -2px; /* 2 */
1133
+ }
1134
+
1135
+ /**
1136
+ Remove the inner padding in Chrome and Safari on macOS.
1137
+ */
1138
+
1139
+ ::-webkit-search-decoration {
1140
+ -webkit-appearance: none;
1141
+ }
1142
+
1143
+ /**
1144
+ 1. Correct the inability to style clickable types in iOS and Safari.
1145
+ 2. Change font properties to 'inherit' in Safari.
1146
+ */
1147
+
1148
+ ::-webkit-file-upload-button {
1149
+ -webkit-appearance: button; /* 1 */
1150
+ font: inherit; /* 2 */
1151
+ }
1152
+
1153
+ /*
1154
+ Interactive
1155
+ ===========
1156
+ */
1157
+
1158
+ /*
1159
+ Add the correct display in Chrome and Safari.
1160
+ */
1161
+
1162
+ summary {
1163
+ display: list-item;
1164
+ }
1165
+
1166
+ /* DO NOT CHANGE!*/
1167
+
1168
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1169
+
1170
+ /* DO NOT CHANGE!*/
1171
+
1172
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1173
+
1174
+ /* DO NOT CHANGE!*/
1175
+
1176
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1177
+
1178
+ /* DO NOT CHANGE!*/
1179
+
1180
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1181
+
1182
+ /* DO NOT CHANGE!*/
1183
+
1184
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1185
+
1186
+ [data-color-mode=light],
1187
+ :root {
1188
+ --basecolors-frame-contrast: #181c56;
1189
+ --basecolors-frame-contrastalt: #393d79;
1190
+ --basecolors-frame-contrastalt-2: #292b6a;
1191
+ --basecolors-frame-default: #ffffff;
1192
+ --basecolors-frame-elevated: #ffffff;
1193
+ --basecolors-frame-elevatedalt: #f6f6f9;
1194
+ --basecolors-frame-subdued: #d9dae8;
1195
+ --basecolors-frame-tint: #f6f6f9;
1196
+ --basecolors-shape-accent: #181c56;
1197
+ --basecolors-shape-bicycle-contrast: #00db9b;
1198
+ --basecolors-shape-bicycle-default: #388f76;
1199
+ --basecolors-shape-bus-contrast: #ff6392;
1200
+ --basecolors-shape-bus-default: #c5044e;
1201
+ --basecolors-shape-cableway-contrast: #b482fb;
1202
+ --basecolors-shape-cableway-default: #78469a;
1203
+ --basecolors-shape-disabled: #6e6f73;
1204
+ --basecolors-shape-disabledalt: #b6b8ba;
1205
+ --basecolors-shape-ferry-contrast: #6fdfff;
1206
+ --basecolors-shape-ferry-default: #0c6693;
1207
+ --basecolors-shape-funicular-contrast: #b482fb;
1208
+ --basecolors-shape-funicular-default: #78469a;
1209
+ --basecolors-shape-helicopter-contrast: #fbafea;
1210
+ --basecolors-shape-helicopter-default: #800664;
1211
+ --basecolors-shape-highlight: #ff5959;
1212
+ --basecolors-shape-light: #ffffff;
1213
+ --basecolors-shape-mask: #ffffff;
1214
+ --basecolors-shape-maskalt: #ffffff;
1215
+ --basecolors-shape-metro-contrast: #f08901;
1216
+ --basecolors-shape-metro-default: #bf5826;
1217
+ --basecolors-shape-mobility-contrast: #00db9b;
1218
+ --basecolors-shape-mobility-default: #388f76;
1219
+ --basecolors-shape-plane-contrast: #fbafea;
1220
+ --basecolors-shape-plane-default: #800664;
1221
+ --basecolors-shape-subdued: #626493;
1222
+ --basecolors-shape-subduedalt: #d9dae8;
1223
+ --basecolors-shape-taxi-contrast: #ffe082;
1224
+ --basecolors-shape-taxi-default: #3d3e40;
1225
+ --basecolors-shape-train-contrast: #42a5f5;
1226
+ --basecolors-shape-train-default: #00367f;
1227
+ --basecolors-shape-tram-contrast: #b482fb;
1228
+ --basecolors-shape-tram-default: #78469a;
1229
+ --basecolors-shape-walk-contrast: #8284ab;
1230
+ --basecolors-shape-walk-default: #8d8e9c;
1231
+ --basecolors-shape-airportlinkbus-contrast: #fbafea;
1232
+ --basecolors-shape-airportlinkbus-default: #800664;
1233
+ --basecolors-shape-airportlinkrail-contrast: #fbafea;
1234
+ --basecolors-shape-airportlinkrail-default: #800664;
1235
+ --basecolors-stroke-contrast: #aeb7e2;
1236
+ --basecolors-stroke-default: #181c56;
1237
+ --basecolors-stroke-disabled: #949699;
1238
+ --basecolors-stroke-focus-contrast: #aeb7e2;
1239
+ --basecolors-stroke-focus-standard: #181c56;
1240
+ --basecolors-stroke-highlight: #ff5959;
1241
+ --basecolors-stroke-light: #ffffff;
1242
+ --basecolors-stroke-subdued: #8284ab;
1243
+ --basecolors-stroke-subduedalt: #e3e6e8;
1244
+ --basecolors-text-accent: #181c56;
1245
+ --basecolors-text-disabled: #6e6f73;
1246
+ --basecolors-text-disabledalt: #b6b8ba;
1247
+ --basecolors-text-highlight: #ff5959;
1248
+ --basecolors-text-light: #ffffff;
1249
+ --basecolors-text-subdued: #626493;
1250
+ --basecolors-text-subduedalt: #d9dae8;
1251
+ }
1252
+
1253
+ [data-color-mode=dark] {
1254
+ --basecolors-frame-contrast: #212233;
1255
+ --basecolors-frame-contrastalt: #141527;
1256
+ --basecolors-frame-contrastalt-2: #08091c;
1257
+ --basecolors-frame-default: #08091c;
1258
+ --basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
1259
+ --basecolors-frame-elevatedalt: #464755;
1260
+ --basecolors-frame-subdued: #2d2e3e;
1261
+ --basecolors-frame-tint: #141527;
1262
+ --basecolors-shape-accent: #e5e5e9;
1263
+ --basecolors-shape-bicycle-contrast: #4db295;
1264
+ --basecolors-shape-bicycle-default: #4db295;
1265
+ --basecolors-shape-bus-contrast: #ef7398;
1266
+ --basecolors-shape-bus-default: #ef7398;
1267
+ --basecolors-shape-cableway-contrast: #b898e5;
1268
+ --basecolors-shape-cableway-default: #b898e5;
1269
+ --basecolors-shape-disabled: #b6b8ba;
1270
+ --basecolors-shape-disabledalt: #b3b4bd;
1271
+ --basecolors-shape-ferry-contrast: #8ccfe2;
1272
+ --basecolors-shape-ferry-default: #8ccfe2;
1273
+ --basecolors-shape-funicular-contrast: #b898e5;
1274
+ --basecolors-shape-funicular-default: #b898e5;
1275
+ --basecolors-shape-helicopter-contrast: #f2b8e5;
1276
+ --basecolors-shape-helicopter-default: #f2b8e5;
1277
+ --basecolors-shape-highlight: #ff9494;
1278
+ --basecolors-shape-light: #e5e5e9;
1279
+ --basecolors-shape-mask: #2d2e3e;
1280
+ --basecolors-shape-maskalt: #393a49;
1281
+ --basecolors-shape-metro-contrast: #dd973c;
1282
+ --basecolors-shape-metro-default: #dd973c;
1283
+ --basecolors-shape-mobility-contrast: #4db295;
1284
+ --basecolors-shape-mobility-default: #4db295;
1285
+ --basecolors-shape-plane-contrast: #f2b8e5;
1286
+ --basecolors-shape-plane-default: #f2b8e5;
1287
+ --basecolors-shape-subdued: #b3b4bd;
1288
+ --basecolors-shape-subduedalt: #b3b4bd;
1289
+ --basecolors-shape-taxi-contrast: #ffe082;
1290
+ --basecolors-shape-taxi-default: #ffe082;
1291
+ --basecolors-shape-train-contrast: #60a2d7;
1292
+ --basecolors-shape-train-default: #60a2d7;
1293
+ --basecolors-shape-tram-contrast: #b898e5;
1294
+ --basecolors-shape-tram-default: #b898e5;
1295
+ --basecolors-shape-walk-contrast: #8d8e9c;
1296
+ --basecolors-shape-walk-default: #8d8e9c;
1297
+ --basecolors-shape-airportlinkbus-contrast: #f2b8e5;
1298
+ --basecolors-shape-airportlinkbus-default: #f2b8e5;
1299
+ --basecolors-shape-airportlinkrail-contrast: #f2b8e5;
1300
+ --basecolors-shape-airportlinkrail-default: #f2b8e5;
1301
+ --basecolors-stroke-contrast: #aeb7e2;
1302
+ --basecolors-stroke-default: #b3b4bd;
1303
+ --basecolors-stroke-disabled: #e3e6e8;
1304
+ --basecolors-stroke-focus-contrast: #aeb7e2;
1305
+ --basecolors-stroke-focus-standard: #aeb7e2;
1306
+ --basecolors-stroke-highlight: #ff9494;
1307
+ --basecolors-stroke-light: #b3b4bd;
1308
+ --basecolors-stroke-subdued: #81828f;
1309
+ --basecolors-stroke-subduedalt: #949699;
1310
+ --basecolors-text-accent: #e5e5e9;
1311
+ --basecolors-text-disabled: #b6b8ba;
1312
+ --basecolors-text-disabledalt: #b6b8ba;
1313
+ --basecolors-text-highlight: #ff9494;
1314
+ --basecolors-text-light: #e5e5e9;
1315
+ --basecolors-text-subdued: #b3b4bd;
1316
+ --basecolors-text-subduedalt: #b3b4bd;
1317
+ }
1318
+
1319
+ /*
1320
+ * Typography Display Modes
1321
+ *
1322
+ * This system allows you to control typography scaling based on display size.
1323
+ * Use the display-mode attribute to switch between different typography scales:
1324
+ *
1325
+ * - Default/Mobile: [display-mode='mobile'] or no attribute (responsive)
1326
+ * - Large Display: [display-mode='large'] for big screens, kiosks, etc.
1327
+ *
1328
+ * Usage:
1329
+ * <html display-mode="large"> or <div display-mode="large">
1330
+ *
1331
+ * The system automatically handles responsive behavior within each mode.
1332
+ */
1333
+
1334
+ /* Primitive size */
1335
+
1336
+ :root {
1337
+ /* Mode 1 */
1338
+ /* number */
1339
+ --size-0: 0rem;
1340
+ --size-1: 0.0625rem;
1341
+ --size-2: 0.125rem;
1342
+ --size-3: 0.25rem;
1343
+ --size-4: 0.375rem;
1344
+ --size-5: 0.5rem;
1345
+ --size-6: 0.75rem;
1346
+ --size-7: 0.875rem;
1347
+ --size-8: 1rem;
1348
+ --size-9: 1.25rem;
1349
+ --size-10: 1.5rem;
1350
+ --size-11: 1.75rem;
1351
+ --size-12: 2rem;
1352
+ --size-13: 2.25rem;
1353
+ --size-14: 2.5rem;
1354
+ --size-15: 2.75rem;
1355
+ --size-16: 3rem;
1356
+ --size-17: 3.25rem;
1357
+ --size-18: 3.5rem;
1358
+ --size-19: 4rem;
1359
+ --size-20: 4.5rem;
1360
+ --size-21: 5rem;
1361
+ --size-22: 5.5rem;
1362
+ --size-23: 6rem;
1363
+ --size-24: 6.5rem;
1364
+ --size-25: 7rem;
1365
+ --size-26: 7.5rem;
1366
+ --size-27: 8rem;
1367
+ --size-28: 8.5rem;
1368
+ --size-29: 9rem;
1369
+ --size-30: 9.5rem;
1370
+ --size-31: 10rem;
1371
+ }
1372
+
1373
+ :root,
1374
+ [display-mode=mobile] {
1375
+ /* Mobile/Default mode - number */
1376
+ --font-line-height-body-xs: var(--size-7);
1377
+ --font-line-height-body-s: var(--size-8);
1378
+ --font-line-height-body-lg: var(--size-9);
1379
+ --font-line-height-body-m: var(--size-9);
1380
+ --font-line-height-body-xl: var(--size-10);
1381
+ --font-line-height-heading-s: var(--size-7);
1382
+ --font-line-height-heading-xs: var(--size-7);
1383
+ --font-line-height-heading-m: var(--size-8);
1384
+ --font-line-height-heading-lg: var(--size-9);
1385
+ --font-line-height-heading-xl: var(--size-10);
1386
+ --font-line-height-heading-2xl: var(--size-11);
1387
+ --font-paragraph-spacing-body-xs: var(--size-4);
1388
+ --font-paragraph-spacing-body-s: var(--size-5);
1389
+ --font-paragraph-spacing-body-m: var(--size-7);
1390
+ --font-paragraph-spacing-body-lg: var(--size-8);
1391
+ --font-paragraph-spacing-body-xl: var(--size-8);
1392
+ --font-paragraph-spacing-heading-s: var(--size-4);
1393
+ --font-paragraph-spacing-heading-xs: var(--size-4);
1394
+ --font-paragraph-spacing-heading-lg: var(--size-5);
1395
+ --font-paragraph-spacing-heading-m: var(--size-5);
1396
+ --font-paragraph-spacing-heading-2xl: var(--size-7);
1397
+ --font-paragraph-spacing-heading-xl: var(--size-7);
1398
+ --font-size-body-xs: var(--size-5);
1399
+ --font-size-body-s: var(--size-6);
1400
+ --font-size-body-lg: var(--size-7);
1401
+ --font-size-body-m: var(--size-7);
1402
+ --font-size-body-xl: var(--size-8);
1403
+ --font-size-heading-xs: var(--size-5);
1404
+ --font-size-heading-s: var(--size-6);
1405
+ --font-size-heading-m: var(--size-7);
1406
+ --font-size-heading-lg: var(--size-8);
1407
+ --font-size-heading-xl: var(--size-9);
1408
+ --font-size-heading-2xl: var(--size-10);
1409
+ /* string */
1410
+ --font-family-nationale: Nationale;
1411
+ --font-weight-body: 500;
1412
+ --font-weight-heading: 600;
1413
+ }
1414
+
1415
+ @media screen and (min-width: 50rem) {
1416
+ :root,
1417
+ [display-mode=mobile] {
1418
+ /* Desktop override for mobile mode - number */
1419
+ /* number */
1420
+ --font-line-height-body-xs: var(--size-7);
1421
+ --font-line-height-body-s: var(--size-8);
1422
+ --font-line-height-body-m: var(--size-9);
1423
+ --font-line-height-body-lg: var(--size-10);
1424
+ --font-line-height-body-xl: var(--size-11);
1425
+ --font-line-height-heading-xs: var(--size-7);
1426
+ --font-line-height-heading-s: var(--size-8);
1427
+ --font-line-height-heading-m: var(--size-9);
1428
+ --font-line-height-heading-lg: var(--size-10);
1429
+ --font-line-height-heading-xl: var(--size-12);
1430
+ --font-line-height-heading-2xl: var(--size-14);
1431
+ --font-paragraph-spacing-body-xs: var(--size-4);
1432
+ --font-paragraph-spacing-body-s: var(--size-5);
1433
+ --font-paragraph-spacing-body-m: var(--size-7);
1434
+ --font-paragraph-spacing-body-lg: var(--size-9);
1435
+ --font-paragraph-spacing-body-xl: var(--size-9);
1436
+ --font-paragraph-spacing-heading-xs: var(--size-4);
1437
+ --font-paragraph-spacing-heading-m: var(--size-5);
1438
+ --font-paragraph-spacing-heading-s: var(--size-5);
1439
+ --font-paragraph-spacing-heading-lg: var(--size-7);
1440
+ --font-paragraph-spacing-heading-xl: var(--size-8);
1441
+ --font-paragraph-spacing-heading-2xl: var(--size-9);
1442
+ --font-size-body-xs: var(--size-5);
1443
+ --font-size-body-s: var(--size-6);
1444
+ --font-size-body-m: var(--size-7);
1445
+ --font-size-body-lg: var(--size-8);
1446
+ --font-size-body-xl: var(--size-9);
1447
+ --font-size-heading-xs: var(--size-6);
1448
+ --font-size-heading-s: var(--size-7);
1449
+ --font-size-heading-m: var(--size-8);
1450
+ --font-size-heading-lg: var(--size-9);
1451
+ --font-size-heading-xl: var(--size-11);
1452
+ --font-size-heading-2xl: var(--size-13);
1453
+ /* string */
1454
+ --font-family-nationale: Nationale;
1455
+ --font-weight-body: 500;
1456
+ --font-weight-heading: 600;
1457
+ }
1458
+ }
1459
+
1460
+ [display-mode=large] {
1461
+ /* number */
1462
+ --font-line-height-body-xs: var(--size-10);
1463
+ --font-line-height-body-s: var(--size-11);
1464
+ --font-line-height-body-m: var(--size-14);
1465
+ --font-line-height-body-lg: var(--size-17);
1466
+ --font-line-height-body-xl: var(--size-18);
1467
+ --font-line-height-heading-xs: var(--size-10);
1468
+ --font-line-height-heading-s: var(--size-12);
1469
+ --font-line-height-heading-m: var(--size-14);
1470
+ --font-line-height-heading-lg: var(--size-17);
1471
+ --font-line-height-heading-xl: var(--size-19);
1472
+ --font-line-height-heading-2xl: var(--size-20);
1473
+ --font-paragraph-spacing-body-xs: var(--size-8);
1474
+ --font-paragraph-spacing-body-s: var(--size-9);
1475
+ --font-paragraph-spacing-body-m: var(--size-11);
1476
+ --font-paragraph-spacing-body-lg: var(--size-13);
1477
+ --font-paragraph-spacing-body-xl: var(--size-15);
1478
+ --font-paragraph-spacing-heading-xs: var(--size-5);
1479
+ --font-paragraph-spacing-heading-s: var(--size-7);
1480
+ --font-paragraph-spacing-heading-m: var(--size-8);
1481
+ --font-paragraph-spacing-heading-lg: var(--size-9);
1482
+ --font-paragraph-spacing-heading-xl: var(--size-11);
1483
+ --font-paragraph-spacing-heading-2xl: var(--size-12);
1484
+ --font-size-body-xs: var(--size-8);
1485
+ --font-size-body-s: var(--size-9);
1486
+ --font-size-body-m: var(--size-11);
1487
+ --font-size-body-lg: var(--size-13);
1488
+ --font-size-body-xl: var(--size-15);
1489
+ --font-size-heading-xs: var(--size-9);
1490
+ --font-size-heading-s: var(--size-11);
1491
+ --font-size-heading-m: var(--size-13);
1492
+ --font-size-heading-lg: var(--size-15);
1493
+ --font-size-heading-xl: var(--size-18);
1494
+ --font-size-heading-2xl: var(--size-19);
1495
+ /* string */
1496
+ --font-family-nationale: Nationale;
1497
+ --font-weight-body: 500;
1498
+ --font-weight-heading: 600;
1499
+ }
1500
+
1501
+ [data-color-mode=light],
1502
+ [data-color-mode=dark],
1503
+ :root {
1504
+ --eds-typography: 1;
1505
+ --primary-background-color: var(--basecolors-frame-default);
1506
+ --primary-text-color: var(--components-typography-basetext-standard-text-accent);
1507
+ --primary-label-color: var(--components-typography-label-standard-text-accent);
1508
+ --eds-font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
1509
+ "Helvetica Neue", sans-serif;
1510
+ color: var(--primary-text-color);
1511
+ background-color: var(--primary-background-color);
1512
+ font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1513
+ font-weight: var(--font-weight-body);
1514
+ font-size: var(--font-size-body-m);
1515
+ line-height: 1.375rem;
1516
+ }
1517
+
1518
+ [data-color-mode=light] .eds-contrast,
1519
+ [data-color-mode=dark] .eds-contrast,
1520
+ :root .eds-contrast {
1521
+ --primary-background-color: var(--basecolors-frame-contrast);
1522
+ --primary-text-color: var(--components-typography-basetext-contrast-text-accent);
1523
+ --primary-label-color: var(--components-typography-label-contrast-text-accent);
1524
+ color: var(--primary-text-color);
1525
+ background-color: var(--primary-background-color);
1526
+ }
1527
+
1528
+ @media screen and (min-width: 50rem) {
1529
+ [data-color-mode=light],
1530
+ [data-color-mode=dark],
1531
+ :root {
1532
+ font-size: 1rem;
1533
+ line-height: 1.5rem;
1534
+ }
1535
+ }
1536
+
1537
+ *,
1538
+ *::before,
1539
+ *::after {
1540
+ box-sizing: inherit;
1541
+ font-weight: inherit;
1542
+ }
1543
+
1544
+ .eds-heading {
1545
+ color: var(--primary-text-color);
1546
+ font-weight: var(--font-weight-heading);
1547
+ -webkit-font-smoothing: antialiased;
1548
+ margin: 0;
1549
+ }
1550
+
1551
+ .eds-heading--2xl {
1552
+ font-size: var(--font-size-heading-2xl);
1553
+ line-height: var(--font-line-height-heading-2xl);
1554
+ }
1555
+
1556
+ .eds-heading--xl {
1557
+ font-size: var(--font-size-heading-xl);
1558
+ line-height: var(--font-line-height-heading-xl);
1559
+ }
1560
+
1561
+ .eds-heading--lg {
1562
+ font-size: var(--font-size-heading-lg);
1563
+ line-height: var(--font-line-height-heading-lg);
1564
+ }
1565
+
1566
+ .eds-heading--m {
1567
+ font-size: var(--font-size-heading-m);
1568
+ line-height: var(--font-line-height-heading-m);
1569
+ }
1570
+
1571
+ .eds-heading--s {
1572
+ font-size: var(--font-size-heading-s);
1573
+ line-height: var(--font-line-height-heading-s);
1574
+ }
1575
+
1576
+ .eds-heading--xs {
1577
+ font-size: var(--font-size-heading-xs);
1578
+ line-height: var(--font-line-height-heading-xs);
1579
+ }
1580
+
1581
+ .eds-heading--title-1 {
1582
+ font-size: var(--font-size-heading-2xl);
1583
+ line-height: var(--font-line-height-heading-2xl);
1584
+ margin-bottom: var(--font-paragraph-spacing-heading-lg);
1585
+ }
1586
+
1587
+ .eds-heading--title-2 {
1588
+ font-size: var(--font-size-heading-xl);
1589
+ line-height: var(--font-line-height-heading-xl);
1590
+ margin-bottom: var(--font-paragraph-spacing-heading-xl);
1591
+ }
1592
+
1593
+ .eds-heading--subtitle-1 {
1594
+ font-size: var(--font-size-heading-lg);
1595
+ line-height: var(--font-line-height-heading-lg);
1596
+ margin-bottom: var(--font-paragraph-spacing-heading-lg);
1597
+ }
1598
+
1599
+ .eds-heading--subtitle-2 {
1600
+ font-size: var(--font-size-heading-m);
1601
+ line-height: var(--font-line-height-heading-m);
1602
+ margin-bottom: var(--font-paragraph-spacing-heading-m);
1603
+ }
1604
+
1605
+ .eds-heading--section-1 {
1606
+ font-size: var(--font-size-heading-s);
1607
+ line-height: var(--font-line-height-heading-s);
1608
+ margin-bottom: var(--font-paragraph-spacing-heading-s);
1609
+ }
1610
+
1611
+ .eds-heading--section-2 {
1612
+ font-size: var(--font-size-heading-s);
1613
+ line-height: var(--font-line-height-heading-s);
1614
+ margin-bottom: var(--font-paragraph-spacing-heading-xs);
1615
+ }
1616
+
1617
+ .eds-heading--spacing-none {
1618
+ margin-top: 0;
1619
+ margin-bottom: 0;
1620
+ }
1621
+
1622
+ .eds-heading--spacing-xs2 {
1623
+ margin-top: 0.25rem;
1624
+ margin-bottom: 0.25rem;
1625
+ }
1626
+
1627
+ .eds-heading--spacing-xs2-top {
1628
+ margin-top: 0.25rem;
1629
+ margin-bottom: 0;
1630
+ }
1631
+
1632
+ .eds-heading--spacing-xs2-bottom {
1633
+ margin-top: 0;
1634
+ margin-bottom: 0.25rem;
1635
+ }
1636
+
1637
+ .eds-heading--spacing-xs {
1638
+ margin-top: 0.5rem;
1639
+ margin-bottom: 0.5rem;
1640
+ }
1641
+
1642
+ .eds-heading--spacing-xs-top {
1643
+ margin-top: 0.5rem;
1644
+ margin-bottom: 0;
1645
+ }
1646
+
1647
+ .eds-heading--spacing-xs-bottom {
1648
+ margin-top: 0;
1649
+ margin-bottom: 0.5rem;
1650
+ }
1651
+
1652
+ .eds-heading--spacing-sm {
1653
+ margin-top: 0.75rem;
1654
+ margin-bottom: 0.75rem;
1655
+ }
1656
+
1657
+ .eds-heading--spacing-sm-top {
1658
+ margin-top: 0.75rem;
1659
+ margin-bottom: 0;
1660
+ }
1661
+
1662
+ .eds-heading--spacing-sm-bottom {
1663
+ margin-top: 0;
1664
+ margin-bottom: 0.75rem;
1665
+ }
1666
+
1667
+ .eds-heading--spacing-md {
1668
+ margin-top: 1rem;
1669
+ margin-bottom: 1rem;
1670
+ }
1671
+
1672
+ .eds-heading--spacing-md-top {
1673
+ margin-top: 1rem;
1674
+ margin-bottom: 0;
1675
+ }
1676
+
1677
+ .eds-heading--spacing-md-bottom {
1678
+ margin-top: 0;
1679
+ margin-bottom: 1rem;
1680
+ }
1681
+
1682
+ .eds-heading--spacing-lg {
1683
+ margin-top: 1.5rem;
1684
+ margin-bottom: 1.5rem;
1685
+ }
1686
+
1687
+ .eds-heading--spacing-lg-top {
1688
+ margin-top: 1.5rem;
1689
+ margin-bottom: 0;
1690
+ }
1691
+
1692
+ .eds-heading--spacing-lg-bottom {
1693
+ margin-top: 0;
1694
+ margin-bottom: 1.5rem;
1695
+ }
1696
+
1697
+ .eds-heading--spacing-xl {
1698
+ margin-top: 2rem;
1699
+ margin-bottom: 2rem;
1700
+ }
1701
+
1702
+ .eds-heading--spacing-xl-top {
1703
+ margin-top: 2rem;
1704
+ margin-bottom: 0;
1705
+ }
1706
+
1707
+ .eds-heading--spacing-xl-bottom {
1708
+ margin-top: 0;
1709
+ margin-bottom: 2rem;
1710
+ }
1711
+
1712
+ .eds-text {
1713
+ color: var(--primary-text-color);
1714
+ font-weight: var(--font-weight-body);
1715
+ margin: 0;
1716
+ }
1717
+
1718
+ .eds-text--xs {
1719
+ font-size: var(--font-size-body-xs);
1720
+ line-height: var(--font-line-height-body-xs);
1721
+ }
1722
+
1723
+ .eds-text--s {
1724
+ font-size: var(--font-size-body-s);
1725
+ line-height: var(--font-line-height-body-s);
1726
+ }
1727
+
1728
+ .eds-text--m {
1729
+ font-size: var(--font-size-body-m);
1730
+ line-height: var(--font-line-height-body-m);
1731
+ }
1732
+
1733
+ .eds-text--xl {
1734
+ font-size: var(--font-size-body-xl);
1735
+ line-height: var(--font-line-height-body-xl);
1736
+ }
1737
+
1738
+ .eds-text--paragraph:has(+ .eds-heading) {
1739
+ margin-bottom: calc(var(--font-line-height-body-m) + 1rem);
1740
+ }
1741
+
1742
+ .eds-text--sub-paragraph:has(+ .eds-heading) {
1743
+ margin-bottom: calc(var(--font-line-height-body-s) + 1rem);
1744
+ }
1745
+
1746
+ .eds-text--leading:has(+ .eds-heading) {
1747
+ margin-bottom: calc(var(--font-line-height-body-xl) + 1rem);
1748
+ }
1749
+
1750
+ .eds-text--quote:has(+ .eds-heading) {
1751
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1752
+ }
1753
+
1754
+ .eds-text--caption:has(+ .eds-heading) {
1755
+ margin-bottom: calc(var(--font-line-height-body-xs) + 1rem);
1756
+ }
1757
+
1758
+ .eds-text--label:has(+ .eds-heading) {
1759
+ margin-bottom: calc(var(--font-paragraph-spacing-body-xs) + 1rem);
1760
+ }
1761
+
1762
+ .eds-text--sublabel:has(+ .eds-heading) {
1763
+ margin-bottom: calc(var(--font-paragraph-spacing-body-xs) + 1rem);
1764
+ }
1765
+
1766
+ .eds-text--unordered-list:has(+ .eds-heading) {
1767
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1768
+ }
1769
+
1770
+ .eds-text--numbered-list:has(+ .eds-heading) {
1771
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1772
+ }
1773
+
1774
+ .eds-text--blockquote:has(+ .eds-heading) {
1775
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1776
+ }
1777
+
1778
+ .eds-text--preformatted-text:has(+ .eds-heading) {
1779
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1780
+ }
1781
+
1782
+ .eds-text--code-text:has(+ .eds-heading) {
1783
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1784
+ }
1785
+
1786
+ .eds-text--leading {
1787
+ font-size: var(--font-size-body-xl);
1788
+ line-height: var(--font-line-height-body-xl);
1789
+ margin-bottom: var(--font-line-height-body-xl);
1790
+ }
1791
+
1792
+ .eds-text--quote {
1793
+ font-size: var(--font-size-body-lg);
1794
+ line-height: var(--font-line-height-body-lg);
1795
+ margin-bottom: var(--font-line-height-body-lg);
1796
+ }
1797
+
1798
+ .eds-text--paragraph {
1799
+ font-size: var(--font-size-body-m);
1800
+ line-height: var(--font-line-height-body-m);
1801
+ margin-bottom: var(--font-line-height-body-m);
1802
+ }
1803
+
1804
+ .eds-text--sub-paragraph {
1805
+ font-size: var(--font-size-body-s);
1806
+ line-height: var(--font-line-height-body-s);
1807
+ margin-bottom: var(--font-line-height-body-s);
1808
+ }
1809
+
1810
+ .eds-text--caption {
1811
+ font-size: var(--font-size-body-xs);
1812
+ line-height: var(--font-line-height-body-xs);
1813
+ margin-bottom: var(--font-line-height-body-xs);
1814
+ }
1815
+
1816
+ .eds-text--label {
1817
+ font-size: var(--font-size-body-m);
1818
+ line-height: var(--font-line-height-body-m);
1819
+ margin-bottom: var(--font-paragraph-spacing-body-xs);
1820
+ font-weight: 600;
1821
+ }
1822
+
1823
+ .eds-text--sublabel {
1824
+ font-size: var(--font-size-body-s);
1825
+ line-height: var(--font-line-height-body-s);
1826
+ margin-bottom: var(--font-paragraph-spacing-body-xs);
1827
+ font-weight: 600;
1828
+ }
1829
+
1830
+ .eds-text--overline {
1831
+ font-size: var(--font-size-body-xs);
1832
+ line-height: var(--font-line-height-body-xs);
1833
+ margin-top: var(--font-paragraph-spacing-body-xs);
1834
+ margin-bottom: var(--font-paragraph-spacing-body-m);
1835
+ font-weight: 500;
1836
+ text-transform: uppercase;
1837
+ }
1838
+
1839
+ .eds-text--emphasized {
1840
+ font-style: italic;
1841
+ font-weight: 500;
1842
+ }
1843
+
1844
+ .eds-text--code-text, .eds-text--preformatted-text {
1845
+ background-color: var(--components-typography-codetext-standard-fill);
1846
+ border: 0.0625rem solid var(--components-typography-codetext-standard-border);
1847
+ border-radius: 0.25rem;
1848
+ color: var(--components-typography-codetext-standard-text);
1849
+ font-family: "Monaco", monospace;
1850
+ font-size: 0.875rem;
1851
+ }
1852
+
1853
+ .eds-text--preformatted-text {
1854
+ padding: 1rem;
1855
+ white-space: pre-wrap;
1856
+ word-break: keep-all;
1857
+ margin-bottom: calc(var(--font-line-height-body-lg) + 1rem);
1858
+ }
1859
+
1860
+ .eds-text--code-text {
1861
+ display: inline-block;
1862
+ word-wrap: break-word;
1863
+ overflow-wrap: anywhere;
1864
+ padding: 0 0.25rem;
1865
+ }
1866
+
1867
+ .eds-text--weight-400, .eds-text--weight-regular {
1868
+ font-weight: 400;
1869
+ }
1870
+
1871
+ .eds-text--weight-500, .eds-text--weight-medium {
1872
+ font-weight: 500;
1873
+ }
1874
+
1875
+ .eds-text--weight-600, .eds-text--weight-semibold {
1876
+ font-weight: 600;
1877
+ }
1878
+
1879
+ .eds-text--weight-700, .eds-text--weight-bold {
1880
+ font-weight: 700;
1881
+ }
1882
+
1883
+ .eds-text--spacing-none {
1884
+ margin-top: 0;
1885
+ margin-bottom: 0;
1886
+ }
1887
+
1888
+ .eds-text--spacing-xs2 {
1889
+ margin-top: 0.25rem;
1890
+ margin-bottom: 0.25rem;
1891
+ }
1892
+
1893
+ .eds-text--spacing-xs2-top {
1894
+ margin-top: 0.25rem;
1895
+ margin-bottom: 0;
1896
+ }
1897
+
1898
+ .eds-text--spacing-xs2-bottom {
1899
+ margin-top: 0;
1900
+ margin-bottom: 0.25rem;
1901
+ }
1902
+
1903
+ .eds-text--spacing-xs {
1904
+ margin-top: 0.5rem;
1905
+ margin-bottom: 0.5rem;
1906
+ }
1907
+
1908
+ .eds-text--spacing-xs-top {
1909
+ margin-top: 0.5rem;
1910
+ margin-bottom: 0;
1911
+ }
1912
+
1913
+ .eds-text--spacing-xs-bottom {
1914
+ margin-top: 0;
1915
+ margin-bottom: 0.5rem;
1916
+ }
1917
+
1918
+ .eds-text--spacing-sm {
1919
+ margin-top: 0.75rem;
1920
+ margin-bottom: 0.75rem;
1921
+ }
1922
+
1923
+ .eds-text--spacing-sm-top {
1924
+ margin-top: 0.75rem;
1925
+ margin-bottom: 0;
1926
+ }
1927
+
1928
+ .eds-text--spacing-sm-bottom {
1929
+ margin-top: 0;
1930
+ margin-bottom: 0.75rem;
1931
+ }
1932
+
1933
+ .eds-text--spacing-md {
1934
+ margin-top: 1rem;
1935
+ margin-bottom: 1rem;
1936
+ }
1937
+
1938
+ .eds-text--spacing-md-top {
1939
+ margin-top: 1rem;
1940
+ margin-bottom: 0;
1941
+ }
1942
+
1943
+ .eds-text--spacing-md-bottom {
1944
+ margin-top: 0;
1945
+ margin-bottom: 1rem;
1946
+ }
1947
+
1948
+ .eds-text--spacing-lg {
1949
+ margin-top: 1.5rem;
1950
+ margin-bottom: 1.5rem;
1951
+ }
1952
+
1953
+ .eds-text--spacing-lg-top {
1954
+ margin-top: 1.5rem;
1955
+ margin-bottom: 0;
1956
+ }
1957
+
1958
+ .eds-text--spacing-lg-bottom {
1959
+ margin-top: 0;
1960
+ margin-bottom: 1.5rem;
1961
+ }
1962
+
1963
+ .eds-text--spacing-xl {
1964
+ margin-top: 2rem;
1965
+ margin-bottom: 2rem;
1966
+ }
1967
+
1968
+ .eds-text--spacing-xl-top {
1969
+ margin-top: 2rem;
1970
+ margin-bottom: 0;
1971
+ }
1972
+
1973
+ .eds-text--spacing-xl-bottom {
1974
+ margin-top: 0;
1975
+ margin-bottom: 2rem;
1976
+ }
1977
+
1978
+ .eds-text--link {
1979
+ color: var(--primary-text-color);
1980
+ }
1981
+
1982
+ .eds-text--link, .eds-text--link:link, .eds-text--link:visited {
1983
+ font-size: inherit;
1984
+ text-decoration: none;
1985
+ position: relative;
1986
+ background-image: linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
1987
+ background-repeat: no-repeat;
1988
+ background-size: 100% 0.125rem;
1989
+ background-position: 0 100%;
1990
+ }
1991
+
1992
+ .eds-text--link:hover {
1993
+ animation: eds-link-underline 0.3s ease-in;
1994
+ cursor: pointer;
1995
+ }
1996
+
1997
+ @keyframes eds-link-underline {
1998
+ from {
1999
+ background-size: 0% 0.125rem;
2000
+ }
2001
+ to {
2002
+ background-size: 100% 0.125rem;
2003
+ }
2004
+ }
2005
+
2006
+ .eds-text--link:focus-visible {
2007
+ outline: 2px solid #181c56;
2008
+ outline-color: var(--basecolors-stroke-focus-standard);
2009
+ outline-offset: 0.125rem;
2010
+ }
2011
+
2012
+ .eds-contrast .eds-text--link:focus-visible {
2013
+ outline-color: var(--basecolors-stroke-focus-contrast);
2014
+ }
2015
+
2016
+ @media screen and (min-width: 50rem) {
2017
+ .eds-text--link {
2018
+ font-size: 1rem;
2019
+ line-height: 1.5rem;
2020
+ }
2021
+ }
2022
+
2023
+ .eds-text--link--ext-icon {
2024
+ margin-left: 0.25rem;
2025
+ }
2026
+
2027
+ p .eds-text--link--ext-icon {
2028
+ top: 0;
2029
+ }
2030
+
2031
+ .eds-text--blockquote {
2032
+ border-left: 0.25rem solid var(--components-typography-blockquote-standard-stroke);
2033
+ font-family: inherit;
2034
+ margin: 0;
2035
+ padding: 0.5rem;
2036
+ padding-left: 2rem;
2037
+ font-size: var(--font-size-body-lg);
2038
+ line-height: var(--font-line-height-body-lg);
2039
+ margin-bottom: var(--font-line-height-body-lg);
2040
+ }
2041
+
2042
+ .eds-text--blockquote__footer {
2043
+ font-size: var(--font-size-body-s);
2044
+ line-height: 1.375rem;
2045
+ letter-spacing: 1px;
2046
+ margin-top: 1.5rem;
2047
+ text-transform: uppercase;
2048
+ }
2049
+
2050
+ .eds-text--unordered-list {
2051
+ list-style: none;
2052
+ margin-bottom: var(--font-line-height-body-lg);
2053
+ }
2054
+
2055
+ .eds-text--unordered-list .eds-text--list-item::before {
2056
+ content: "";
2057
+ background: var(--components-typography-list-standard-border);
2058
+ display: block;
2059
+ height: 0.125rem;
2060
+ left: -1.75rem;
2061
+ top: 0.75rem;
2062
+ position: relative;
2063
+ width: 0.75rem;
2064
+ }
2065
+
2066
+ .eds-text--numbered-list {
2067
+ counter-reset: eds-numbered-list-counter;
2068
+ list-style: none;
2069
+ margin-bottom: var(--font-line-height-body-lg);
2070
+ }
2071
+
2072
+ .eds-text--numbered-list--type-a > .eds-text--list-item::before {
2073
+ content: counter(eds-numbered-list-counter, lower-alpha);
2074
+ }
2075
+
2076
+ .eds-text--numbered-list--type-A > .eds-text--list-item::before {
2077
+ content: counter(eds-numbered-list-counter, upper-alpha);
2078
+ }
2079
+
2080
+ .eds-text--numbered-list--type-1 > .eds-text--list-item::before {
2081
+ content: counter(eds-numbered-list-counter, decimal);
2082
+ }
2083
+
2084
+ .eds-text--numbered-list--type-i > .eds-text--list-item::before {
2085
+ content: counter(eds-numbered-list-counter, lower-roman);
2086
+ }
2087
+
2088
+ .eds-text--numbered-list--type-I > .eds-text--list-item::before {
2089
+ content: counter(eds-numbered-list-counter, upper-roman);
2090
+ }
2091
+
2092
+ .eds-text--list-item {
2093
+ padding-left: 0.5rem;
2094
+ }
2095
+
2096
+ .eds-text--numbered-list > .eds-text--list-item {
2097
+ counter-increment: eds-numbered-list-counter;
2098
+ margin-bottom: var(--font-paragraph-spacing-body-m);
2099
+ position: relative;
2100
+ }
2101
+
2102
+ .eds-text--numbered-list > .eds-text--list-item::before {
2103
+ color: var(--primary-text-color);
2104
+ position: absolute;
2105
+ font-weight: var(--font-weight-heading);
2106
+ left: -2.5rem;
2107
+ border: 0.125rem solid var(--components-typography-list-standard-border);
2108
+ border-radius: 50%;
2109
+ height: 2rem;
2110
+ width: 2rem;
2111
+ display: flex;
2112
+ align-items: center;
2113
+ justify-content: center;
2114
+ top: -0.25rem;
2115
+ }
2116
+
2117
+ .eds-text--list-item__title {
2118
+ display: block;
2119
+ font-weight: var(--font-weight-heading);
2120
+ margin-bottom: 0.5rem;
685
2121
  }