@entur/typography 1.10.0-beta.9 → 2.0.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.
- package/README.md +37 -17
- package/dist/BaseHeading.d.ts +1 -1
- package/dist/Blockquote.d.ts +3 -4
- package/dist/CodeText.d.ts +1 -1
- package/dist/EmphasizedText.d.ts +1 -1
- package/dist/Heading1.d.ts +1 -1
- package/dist/Heading2.d.ts +1 -1
- package/dist/Heading3.d.ts +1 -1
- package/dist/Heading4.d.ts +1 -1
- package/dist/Heading5.d.ts +1 -1
- package/dist/Heading6.d.ts +1 -1
- package/dist/Label.d.ts +1 -1
- package/dist/LeadParagraph.d.ts +1 -1
- package/dist/Link.d.ts +1 -1
- package/dist/ListItem.d.ts +1 -1
- package/dist/NumberedList.d.ts +1 -1
- package/dist/Paragraph.d.ts +1 -1
- package/dist/PreformattedText.d.ts +1 -1
- package/dist/SmallText.d.ts +1 -1
- package/dist/StrongText.d.ts +1 -1
- package/dist/SubLabel.d.ts +1 -1
- package/dist/SubParagraph.d.ts +1 -1
- package/dist/UnorderedList.d.ts +1 -1
- package/dist/beta/cjs/components/Blockquote.cjs +29 -0
- package/dist/beta/cjs/components/Blockquote.cjs.map +1 -0
- package/dist/beta/cjs/components/Heading.cjs +37 -0
- package/dist/beta/cjs/components/Heading.cjs.map +1 -0
- package/dist/beta/cjs/components/Link.cjs +41 -0
- package/dist/beta/cjs/components/Link.cjs.map +1 -0
- package/dist/beta/cjs/components/ListItem.cjs +33 -0
- package/dist/beta/cjs/components/ListItem.cjs.map +1 -0
- package/dist/beta/cjs/components/NumberedList.cjs +32 -0
- package/dist/beta/cjs/components/NumberedList.cjs.map +1 -0
- package/dist/beta/cjs/components/Text.cjs +36 -0
- package/dist/beta/cjs/components/Text.cjs.map +1 -0
- package/dist/beta/cjs/components/UnorderedList.cjs +29 -0
- package/dist/beta/cjs/components/UnorderedList.cjs.map +1 -0
- package/dist/beta/cjs/index.cjs +18 -0
- package/dist/beta/cjs/index.cjs.map +1 -0
- package/dist/beta/cjs/utils/utils.cjs +77 -0
- package/dist/beta/cjs/utils/utils.cjs.map +1 -0
- package/dist/beta/esm/components/Blockquote.mjs +29 -0
- package/dist/beta/esm/components/Blockquote.mjs.map +1 -0
- package/dist/beta/esm/components/Heading.mjs +37 -0
- package/dist/beta/esm/components/Heading.mjs.map +1 -0
- package/dist/beta/esm/components/Link.mjs +41 -0
- package/dist/beta/esm/components/Link.mjs.map +1 -0
- package/dist/beta/esm/components/ListItem.mjs +33 -0
- package/dist/beta/esm/components/ListItem.mjs.map +1 -0
- package/dist/beta/esm/components/NumberedList.mjs +32 -0
- package/dist/beta/esm/components/NumberedList.mjs.map +1 -0
- package/dist/beta/esm/components/Text.mjs +36 -0
- package/dist/beta/esm/components/Text.mjs.map +1 -0
- package/dist/beta/esm/components/UnorderedList.mjs +29 -0
- package/dist/beta/esm/components/UnorderedList.mjs.map +1 -0
- package/dist/beta/esm/index.mjs +18 -0
- package/dist/beta/esm/index.mjs.map +1 -0
- package/dist/beta/esm/utils/utils.mjs +77 -0
- package/dist/beta/esm/utils/utils.mjs.map +1 -0
- package/dist/beta/styles/components/heading.css +458 -0
- package/dist/beta/styles/components/text.css +959 -0
- package/dist/beta/types/components/Blockquote.d.ts +12 -0
- package/dist/beta/{Heading.d.ts → types/components/Heading.d.ts} +2 -3
- package/dist/beta/types/components/Link.d.ts +22 -0
- package/dist/beta/types/components/ListItem.d.ts +22 -0
- package/dist/beta/types/components/NumberedList.d.ts +22 -0
- package/dist/beta/{Text.d.ts → types/components/Text.d.ts} +2 -3
- package/dist/beta/types/components/UnorderedList.d.ts +20 -0
- package/dist/beta/types/index.d.ts +8 -0
- package/dist/beta/types/utils/utils.d.ts +13 -0
- package/dist/index.d.ts +0 -5
- package/dist/styles.css +162 -820
- package/dist/typography.cjs.js +416 -0
- package/dist/typography.cjs.js.map +1 -0
- package/dist/typography.esm.js +392 -454
- package/dist/typography.esm.js.map +1 -1
- package/fonts/Entur-Nationale-Demibold.eot +0 -0
- package/fonts/Entur-Nationale-Demibold.woff +0 -0
- package/fonts/Entur-Nationale-Demibold.woff2 +0 -0
- package/fonts/Entur-Nationale-DemiboldItalic.eot +0 -0
- package/fonts/Entur-Nationale-DemiboldItalic.woff +0 -0
- package/fonts/Entur-Nationale-DemiboldItalic.woff2 +0 -0
- package/fonts/Entur-Nationale-Italic.eot +0 -0
- package/fonts/Entur-Nationale-Italic.woff +0 -0
- package/fonts/Entur-Nationale-Italic.woff2 +0 -0
- package/fonts/Entur-Nationale-Light.eot +0 -0
- package/fonts/Entur-Nationale-Light.woff +0 -0
- package/fonts/Entur-Nationale-Light.woff2 +0 -0
- package/fonts/Entur-Nationale-LightItalic.eot +0 -0
- package/fonts/Entur-Nationale-LightItalic.woff +0 -0
- package/fonts/Entur-Nationale-LightItalic.woff2 +0 -0
- package/fonts/Entur-Nationale-Medium.eot +0 -0
- package/fonts/Entur-Nationale-Medium.woff +0 -0
- package/fonts/Entur-Nationale-Medium.woff2 +0 -0
- package/fonts/Entur-Nationale-MediumItalic.eot +0 -0
- package/fonts/Entur-Nationale-MediumItalic.woff +0 -0
- package/fonts/Entur-Nationale-MediumItalic.woff2 +0 -0
- package/fonts/Entur-Nationale-Regular.eot +0 -0
- package/fonts/Entur-Nationale-Regular.woff +0 -0
- package/fonts/Entur-Nationale-Regular.woff2 +0 -0
- package/package.json +59 -19
- package/scripts/migrate-typography.js +415 -176
- package/dist/beta/BlockquoteBeta.d.ts +0 -12
- package/dist/beta/LinkBeta.d.ts +0 -16
- package/dist/beta/index.d.ts +0 -6
- package/dist/beta/utils.d.ts +0 -9
- package/dist/index.js +0 -8
- package/dist/typography.cjs.development.js +0 -508
- package/dist/typography.cjs.development.js.map +0 -1
- package/dist/typography.cjs.production.min.js +0 -2
- package/dist/typography.cjs.production.min.js.map +0 -1
- /package/dist/beta/{types.d.ts → types/types.d.ts} +0 -0
package/dist/styles.css
CHANGED
|
@@ -1,817 +1,181 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
:root {
|
|
14
|
-
--basecolors-frame-contrast: #181c56;
|
|
15
|
-
--basecolors-frame-contrastalt: #393d79;
|
|
16
|
-
--basecolors-frame-contrastalt-2: #292b6a;
|
|
17
|
-
--basecolors-frame-default: #ffffff;
|
|
18
|
-
--basecolors-frame-elevated: #ffffff;
|
|
19
|
-
--basecolors-frame-elevatedalt: #f6f6f9;
|
|
20
|
-
--basecolors-frame-subdued: #d9dae8;
|
|
21
|
-
--basecolors-frame-tint: #f6f6f9;
|
|
22
|
-
--basecolors-shape-accent: #181c56;
|
|
23
|
-
--basecolors-shape-bicycle-contrast: #00db9b;
|
|
24
|
-
--basecolors-shape-bicycle-default: #388f76;
|
|
25
|
-
--basecolors-shape-bus-contrast: #ff6392;
|
|
26
|
-
--basecolors-shape-bus-default: #c5044e;
|
|
27
|
-
--basecolors-shape-cableway-contrast: #b482fb;
|
|
28
|
-
--basecolors-shape-cableway-default: #78469a;
|
|
29
|
-
--basecolors-shape-disabled: #6e6f73;
|
|
30
|
-
--basecolors-shape-disabledalt: #b6b8ba;
|
|
31
|
-
--basecolors-shape-ferry-contrast: #6fdfff;
|
|
32
|
-
--basecolors-shape-ferry-default: #0c6693;
|
|
33
|
-
--basecolors-shape-funicular-contrast: #b482fb;
|
|
34
|
-
--basecolors-shape-funicular-default: #78469a;
|
|
35
|
-
--basecolors-shape-helicopter-contrast: #fbafea;
|
|
36
|
-
--basecolors-shape-helicopter-default: #800664;
|
|
37
|
-
--basecolors-shape-highlight: #ff5959;
|
|
38
|
-
--basecolors-shape-light: #ffffff;
|
|
39
|
-
--basecolors-shape-mask: #ffffff;
|
|
40
|
-
--basecolors-shape-maskalt: #ffffff;
|
|
41
|
-
--basecolors-shape-metro-contrast: #f08901;
|
|
42
|
-
--basecolors-shape-metro-default: #bf5826;
|
|
43
|
-
--basecolors-shape-mobility-contrast: #00db9b;
|
|
44
|
-
--basecolors-shape-mobility-default: #388f76;
|
|
45
|
-
--basecolors-shape-plane-contrast: #fbafea;
|
|
46
|
-
--basecolors-shape-plane-default: #800664;
|
|
47
|
-
--basecolors-shape-subdued: #626493;
|
|
48
|
-
--basecolors-shape-subduedalt: #d9dae8;
|
|
49
|
-
--basecolors-shape-taxi-contrast: #ffe082;
|
|
50
|
-
--basecolors-shape-taxi-default: #3d3e40;
|
|
51
|
-
--basecolors-shape-train-contrast: #42a5f5;
|
|
52
|
-
--basecolors-shape-train-default: #00367f;
|
|
53
|
-
--basecolors-shape-tram-contrast: #b482fb;
|
|
54
|
-
--basecolors-shape-tram-default: #78469a;
|
|
55
|
-
--basecolors-shape-walk-contrast: #8284ab;
|
|
56
|
-
--basecolors-shape-walk-default: #8d8e9c;
|
|
57
|
-
--basecolors-shape-airportlinkbus-contrast: #fbafea;
|
|
58
|
-
--basecolors-shape-airportlinkbus-default: #800664;
|
|
59
|
-
--basecolors-shape-airportlinkrail-contrast: #fbafea;
|
|
60
|
-
--basecolors-shape-airportlinkrail-default: #800664;
|
|
61
|
-
--basecolors-stroke-contrast: #aeb7e2;
|
|
62
|
-
--basecolors-stroke-default: #181c56;
|
|
63
|
-
--basecolors-stroke-disabled: #949699;
|
|
64
|
-
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
65
|
-
--basecolors-stroke-focus-standard: #181c56;
|
|
66
|
-
--basecolors-stroke-highlight: #ff5959;
|
|
67
|
-
--basecolors-stroke-light: #ffffff;
|
|
68
|
-
--basecolors-stroke-subdued: #8284ab;
|
|
69
|
-
--basecolors-stroke-subduedalt: #e3e6e8;
|
|
70
|
-
--basecolors-text-accent: #181c56;
|
|
71
|
-
--basecolors-text-disabled: #6e6f73;
|
|
72
|
-
--basecolors-text-disabledalt: #b6b8ba;
|
|
73
|
-
--basecolors-text-highlight: #ff5959;
|
|
74
|
-
--basecolors-text-light: #ffffff;
|
|
75
|
-
--basecolors-text-subdued: #626493;
|
|
76
|
-
--basecolors-text-subduedalt: #d9dae8;
|
|
1
|
+
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
2
|
+
/*
|
|
3
|
+
Document
|
|
4
|
+
========
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
Use a better box model (opinionated).
|
|
8
|
+
*/
|
|
9
|
+
*,
|
|
10
|
+
::before,
|
|
11
|
+
::after {
|
|
12
|
+
box-sizing: border-box;
|
|
77
13
|
}
|
|
78
14
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
--basecolors-frame-elevatedalt: #464755;
|
|
86
|
-
--basecolors-frame-subdued: #2d2e3e;
|
|
87
|
-
--basecolors-frame-tint: #141527;
|
|
88
|
-
--basecolors-shape-accent: #e5e5e9;
|
|
89
|
-
--basecolors-shape-bicycle-contrast: #4db295;
|
|
90
|
-
--basecolors-shape-bicycle-default: #4db295;
|
|
91
|
-
--basecolors-shape-bus-contrast: #ef7398;
|
|
92
|
-
--basecolors-shape-bus-default: #ef7398;
|
|
93
|
-
--basecolors-shape-cableway-contrast: #b898e5;
|
|
94
|
-
--basecolors-shape-cableway-default: #b898e5;
|
|
95
|
-
--basecolors-shape-disabled: #b6b8ba;
|
|
96
|
-
--basecolors-shape-disabledalt: #b3b4bd;
|
|
97
|
-
--basecolors-shape-ferry-contrast: #8ccfe2;
|
|
98
|
-
--basecolors-shape-ferry-default: #8ccfe2;
|
|
99
|
-
--basecolors-shape-funicular-contrast: #b898e5;
|
|
100
|
-
--basecolors-shape-funicular-default: #b898e5;
|
|
101
|
-
--basecolors-shape-helicopter-contrast: #f2b8e5;
|
|
102
|
-
--basecolors-shape-helicopter-default: #f2b8e5;
|
|
103
|
-
--basecolors-shape-highlight: #ff9494;
|
|
104
|
-
--basecolors-shape-light: #e5e5e9;
|
|
105
|
-
--basecolors-shape-mask: #2d2e3e;
|
|
106
|
-
--basecolors-shape-maskalt: #393a49;
|
|
107
|
-
--basecolors-shape-metro-contrast: #dd973c;
|
|
108
|
-
--basecolors-shape-metro-default: #dd973c;
|
|
109
|
-
--basecolors-shape-mobility-contrast: #4db295;
|
|
110
|
-
--basecolors-shape-mobility-default: #4db295;
|
|
111
|
-
--basecolors-shape-plane-contrast: #f2b8e5;
|
|
112
|
-
--basecolors-shape-plane-default: #f2b8e5;
|
|
113
|
-
--basecolors-shape-subdued: #b3b4bd;
|
|
114
|
-
--basecolors-shape-subduedalt: #b3b4bd;
|
|
115
|
-
--basecolors-shape-taxi-contrast: #ffe082;
|
|
116
|
-
--basecolors-shape-taxi-default: #ffe082;
|
|
117
|
-
--basecolors-shape-train-contrast: #60a2d7;
|
|
118
|
-
--basecolors-shape-train-default: #60a2d7;
|
|
119
|
-
--basecolors-shape-tram-contrast: #b898e5;
|
|
120
|
-
--basecolors-shape-tram-default: #b898e5;
|
|
121
|
-
--basecolors-shape-walk-contrast: #8d8e9c;
|
|
122
|
-
--basecolors-shape-walk-default: #8d8e9c;
|
|
123
|
-
--basecolors-shape-airportlinkbus-contrast: #f2b8e5;
|
|
124
|
-
--basecolors-shape-airportlinkbus-default: #f2b8e5;
|
|
125
|
-
--basecolors-shape-airportlinkrail-contrast: #f2b8e5;
|
|
126
|
-
--basecolors-shape-airportlinkrail-default: #f2b8e5;
|
|
127
|
-
--basecolors-stroke-contrast: #aeb7e2;
|
|
128
|
-
--basecolors-stroke-default: #b3b4bd;
|
|
129
|
-
--basecolors-stroke-disabled: #e3e6e8;
|
|
130
|
-
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
131
|
-
--basecolors-stroke-focus-standard: #aeb7e2;
|
|
132
|
-
--basecolors-stroke-highlight: #ff9494;
|
|
133
|
-
--basecolors-stroke-light: #b3b4bd;
|
|
134
|
-
--basecolors-stroke-subdued: #81828f;
|
|
135
|
-
--basecolors-stroke-subduedalt: #949699;
|
|
136
|
-
--basecolors-text-accent: #e5e5e9;
|
|
137
|
-
--basecolors-text-disabled: #b6b8ba;
|
|
138
|
-
--basecolors-text-disabledalt: #b6b8ba;
|
|
139
|
-
--basecolors-text-highlight: #ff9494;
|
|
140
|
-
--basecolors-text-light: #e5e5e9;
|
|
141
|
-
--basecolors-text-subdued: #b3b4bd;
|
|
142
|
-
--basecolors-text-subduedalt: #b3b4bd;
|
|
15
|
+
html {
|
|
16
|
+
/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
|
|
17
|
+
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
18
|
+
line-height: 1.15; /* 1. Correct the line height in all browsers. */
|
|
19
|
+
-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
|
|
20
|
+
tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
|
|
143
21
|
}
|
|
144
22
|
|
|
145
23
|
/*
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
* - Default/Mobile: [display-mode='mobile'] or no attribute (responsive)
|
|
152
|
-
* - Large Display: [display-mode='large'] for big screens, kiosks, etc.
|
|
153
|
-
*
|
|
154
|
-
* Usage:
|
|
155
|
-
* <html display-mode="large"> or <div display-mode="large">
|
|
156
|
-
*
|
|
157
|
-
* The system automatically handles responsive behavior within each mode.
|
|
158
|
-
*/
|
|
159
|
-
/* Primitive size */
|
|
160
|
-
:root {
|
|
161
|
-
/* Mode 1 */
|
|
162
|
-
/* number */
|
|
163
|
-
--size-0: 0rem;
|
|
164
|
-
--size-1: 0.125rem;
|
|
165
|
-
--size-2: 0.25rem;
|
|
166
|
-
--size-3: 0.5rem;
|
|
167
|
-
--size-4: 0.75rem;
|
|
168
|
-
--size-5: 0.875rem;
|
|
169
|
-
--size-6: 1rem;
|
|
170
|
-
--size-7: 1.25rem;
|
|
171
|
-
--size-8: 1.5rem;
|
|
172
|
-
--size-9: 1.75rem;
|
|
173
|
-
--size-10: 2rem;
|
|
174
|
-
--size-11: 2.25rem;
|
|
175
|
-
--size-12: 2.5rem;
|
|
176
|
-
--size-13: 2.75rem;
|
|
177
|
-
--size-14: 3rem;
|
|
178
|
-
--size-15: 3.25rem;
|
|
179
|
-
--size-16: 3.5rem;
|
|
180
|
-
--size-17: 4rem;
|
|
181
|
-
--size-18: 4.5rem;
|
|
182
|
-
--size-19: 5rem;
|
|
183
|
-
--size-20: 5.5rem;
|
|
184
|
-
--size-21: 6rem;
|
|
185
|
-
--size-22: 6.5rem;
|
|
186
|
-
--size-23: 7rem;
|
|
187
|
-
--size-24: 7.5rem;
|
|
188
|
-
--size-25: 8.5rem;
|
|
189
|
-
--size-26: 10rem;
|
|
24
|
+
Sections
|
|
25
|
+
========
|
|
26
|
+
*/
|
|
27
|
+
body {
|
|
28
|
+
margin: 0; /* Remove the margin in all browsers. */
|
|
190
29
|
}
|
|
191
30
|
|
|
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
|
-
@media screen and (min-width: 50rem) {
|
|
234
|
-
:root,
|
|
235
|
-
[display-mode=mobile] {
|
|
236
|
-
/* Desktop override for mobile mode - number */
|
|
237
|
-
--font-line-height-body-lg: var(--size-9);
|
|
238
|
-
--font-line-height-body-m: var(--size-8);
|
|
239
|
-
--font-line-height-body-s: var(--size-7);
|
|
240
|
-
--font-line-height-body-xl: var(--size-10);
|
|
241
|
-
--font-line-height-body-xs: var(--size-6);
|
|
242
|
-
--font-line-height-heading-2xl: var(--size-13);
|
|
243
|
-
--font-line-height-heading-lg: var(--size-9);
|
|
244
|
-
--font-line-height-heading-m: var(--size-8);
|
|
245
|
-
--font-line-height-heading-s: var(--size-7);
|
|
246
|
-
--font-line-height-heading-xl: var(--size-11);
|
|
247
|
-
--font-line-height-heading-xs: var(--size-6);
|
|
248
|
-
--font-paragraph-spacing-body-lg: var(--size-8);
|
|
249
|
-
--font-paragraph-spacing-body-m: var(--size-6);
|
|
250
|
-
--font-paragraph-spacing-body-s: var(--size-4);
|
|
251
|
-
--font-paragraph-spacing-body-xl: var(--size-8);
|
|
252
|
-
--font-paragraph-spacing-body-xs: var(--size-3);
|
|
253
|
-
--font-paragraph-spacing-heading-2xl: var(--size-8);
|
|
254
|
-
--font-paragraph-spacing-heading-lg: var(--size-6);
|
|
255
|
-
--font-paragraph-spacing-heading-m: var(--size-4);
|
|
256
|
-
--font-paragraph-spacing-heading-s: var(--size-4);
|
|
257
|
-
--font-paragraph-spacing-heading-xl: var(--size-7);
|
|
258
|
-
--font-paragraph-spacing-heading-xs: var(--size-3);
|
|
259
|
-
--font-size-body-lg: var(--size-7);
|
|
260
|
-
--font-size-body-m: var(--size-6);
|
|
261
|
-
--font-size-body-s: var(--size-5);
|
|
262
|
-
--font-size-body-xl: var(--size-8);
|
|
263
|
-
--font-size-body-xs: var(--size-4);
|
|
264
|
-
--font-size-heading-2xl: var(--size-12);
|
|
265
|
-
--font-size-heading-lg: var(--size-8);
|
|
266
|
-
--font-size-heading-m: var(--size-7);
|
|
267
|
-
--font-size-heading-s: var(--size-6);
|
|
268
|
-
--font-size-heading-xl: var(--size-10);
|
|
269
|
-
--font-size-heading-xs: var(--size-5);
|
|
270
|
-
/* string */
|
|
271
|
-
--font-family-nationale: Nationale;
|
|
272
|
-
--font-weight-body: 500;
|
|
273
|
-
--font-weight-heading: 600;
|
|
274
|
-
}
|
|
31
|
+
/*
|
|
32
|
+
Text-level semantics
|
|
33
|
+
====================
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
Add the correct font weight in Chrome and Safari.
|
|
37
|
+
*/
|
|
38
|
+
b,
|
|
39
|
+
strong {
|
|
40
|
+
font-weight: bolder;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
|
45
|
+
2. Correct the odd 'em' font sizing in all browsers.
|
|
46
|
+
*/
|
|
47
|
+
code,
|
|
48
|
+
kbd,
|
|
49
|
+
samp,
|
|
50
|
+
pre {
|
|
51
|
+
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
|
|
52
|
+
font-size: 1em; /* 2 */
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
Add the correct font size in all browsers.
|
|
57
|
+
*/
|
|
58
|
+
small {
|
|
59
|
+
font-size: 80%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
|
64
|
+
*/
|
|
65
|
+
sub,
|
|
66
|
+
sup {
|
|
67
|
+
font-size: 75%;
|
|
68
|
+
line-height: 0;
|
|
69
|
+
position: relative;
|
|
70
|
+
vertical-align: baseline;
|
|
275
71
|
}
|
|
276
72
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
--font-line-height-body-lg: var(--size-16);
|
|
280
|
-
--font-line-height-body-m: var(--size-13);
|
|
281
|
-
--font-line-height-body-s: var(--size-10);
|
|
282
|
-
--font-line-height-body-xl: var(--size-17);
|
|
283
|
-
--font-line-height-body-xs: var(--size-9);
|
|
284
|
-
--font-line-height-heading-2xl: var(--size-19);
|
|
285
|
-
--font-line-height-heading-lg: var(--size-16);
|
|
286
|
-
--font-line-height-heading-m: var(--size-13);
|
|
287
|
-
--font-line-height-heading-s: var(--size-11);
|
|
288
|
-
--font-line-height-heading-xl: var(--size-18);
|
|
289
|
-
--font-line-height-heading-xs: var(--size-9);
|
|
290
|
-
--font-paragraph-spacing-body-lg: var(--size-12);
|
|
291
|
-
--font-paragraph-spacing-body-m: var(--size-10);
|
|
292
|
-
--font-paragraph-spacing-body-s: var(--size-8);
|
|
293
|
-
--font-paragraph-spacing-body-xl: var(--size-14);
|
|
294
|
-
--font-paragraph-spacing-body-xs: var(--size-7);
|
|
295
|
-
--font-paragraph-spacing-heading-2xl: var(--size-11);
|
|
296
|
-
--font-paragraph-spacing-heading-lg: var(--size-8);
|
|
297
|
-
--font-paragraph-spacing-heading-m: var(--size-7);
|
|
298
|
-
--font-paragraph-spacing-heading-s: var(--size-6);
|
|
299
|
-
--font-paragraph-spacing-heading-xl: var(--size-10);
|
|
300
|
-
--font-paragraph-spacing-heading-xs: var(--size-4);
|
|
301
|
-
--font-size-body-lg: var(--size-12);
|
|
302
|
-
--font-size-body-m: var(--size-10);
|
|
303
|
-
--font-size-body-s: var(--size-8);
|
|
304
|
-
--font-size-body-xl: var(--size-14);
|
|
305
|
-
--font-size-body-xs: var(--size-7);
|
|
306
|
-
--font-size-heading-2xl: var(--size-18);
|
|
307
|
-
--font-size-heading-lg: var(--size-14);
|
|
308
|
-
--font-size-heading-m: var(--size-12);
|
|
309
|
-
--font-size-heading-s: var(--size-10);
|
|
310
|
-
--font-size-heading-xl: var(--size-17);
|
|
311
|
-
--font-size-heading-xs: var(--size-8);
|
|
312
|
-
/* string */
|
|
313
|
-
--font-family-nationale: Nationale;
|
|
314
|
-
--font-weight-body: 500;
|
|
315
|
-
--font-weight-heading: 600;
|
|
73
|
+
sub {
|
|
74
|
+
bottom: -0.25em;
|
|
316
75
|
}
|
|
317
76
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
:root {
|
|
321
|
-
--eds-typography: 1;
|
|
322
|
-
--primary-background-color: var(--basecolors-frame-default);
|
|
323
|
-
--primary-text-color: var(--components-typography-basetext-standard-text-accent);
|
|
324
|
-
--primary-label-color: var(--components-typography-label-standard-text-accent);
|
|
325
|
-
--eds-font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
|
326
|
-
"Helvetica Neue", sans-serif;
|
|
327
|
-
color: var(--primary-text-color);
|
|
328
|
-
background-color: #ffffff;
|
|
329
|
-
background-color: var(--primary-background-color);
|
|
330
|
-
font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
331
|
-
font-weight: 500;
|
|
332
|
-
font-weight: var(--font-weight-body);
|
|
333
|
-
font-size: 1rem;
|
|
334
|
-
font-size: var(--font-size-body-m);
|
|
335
|
-
line-height: 1.375rem;
|
|
336
|
-
}
|
|
337
|
-
[data-color-mode=light] .eds-contrast,
|
|
338
|
-
[data-color-mode=dark] .eds-contrast,
|
|
339
|
-
:root .eds-contrast {
|
|
340
|
-
--primary-background-color: var(--basecolors-frame-contrast);
|
|
341
|
-
--primary-text-color: var(--components-typography-basetext-contrast-text-accent);
|
|
342
|
-
--primary-label-color: var(--components-typography-label-contrast-text-accent);
|
|
343
|
-
color: var(--primary-text-color);
|
|
344
|
-
background-color: #181c56;
|
|
345
|
-
background-color: var(--primary-background-color);
|
|
346
|
-
}
|
|
347
|
-
@media screen and (min-width: 50rem) {
|
|
348
|
-
[data-color-mode=light],
|
|
349
|
-
[data-color-mode=dark],
|
|
350
|
-
:root {
|
|
351
|
-
font-size: 1rem;
|
|
352
|
-
line-height: 1.5rem;
|
|
353
|
-
}
|
|
77
|
+
sup {
|
|
78
|
+
top: -0.5em;
|
|
354
79
|
}
|
|
355
80
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
81
|
+
/*
|
|
82
|
+
Tabular data
|
|
83
|
+
============
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
87
|
+
*/
|
|
88
|
+
table {
|
|
89
|
+
border-color: currentcolor;
|
|
361
90
|
}
|
|
362
91
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
font-size: 1
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
.
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
.
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
font
|
|
437
|
-
line-height: 1.25rem;
|
|
438
|
-
line-height: var(--font-line-height-heading-m);
|
|
439
|
-
margin-top: 1rem;
|
|
440
|
-
margin-top: var(--font-paragraph-spacing-heading-xl);
|
|
441
|
-
margin-bottom: 0.75rem;
|
|
442
|
-
margin-bottom: var(--font-paragraph-spacing-heading-m);
|
|
443
|
-
}
|
|
444
|
-
.eds-heading--section-1 {
|
|
445
|
-
font-size: 0.875rem;
|
|
446
|
-
font-size: var(--font-size-heading-s);
|
|
447
|
-
line-height: 1rem;
|
|
448
|
-
line-height: var(--font-line-height-heading-s);
|
|
449
|
-
margin-top: 0.75rem;
|
|
450
|
-
margin-top: var(--font-paragraph-spacing-heading-lg);
|
|
451
|
-
margin-bottom: 0.5rem;
|
|
452
|
-
margin-bottom: var(--font-paragraph-spacing-heading-s);
|
|
453
|
-
}
|
|
454
|
-
.eds-heading--section-2 {
|
|
455
|
-
font-size: 0.875rem;
|
|
456
|
-
font-size: var(--font-size-heading-s);
|
|
457
|
-
line-height: 1rem;
|
|
458
|
-
line-height: var(--font-line-height-heading-s);
|
|
459
|
-
margin-top: 0.75rem;
|
|
460
|
-
margin-top: var(--font-paragraph-spacing-heading-lg);
|
|
461
|
-
margin-bottom: 0.5rem;
|
|
462
|
-
margin-bottom: var(--font-paragraph-spacing-heading-xs);
|
|
463
|
-
}
|
|
464
|
-
.eds-heading--spacing-none {
|
|
465
|
-
margin-top: 0;
|
|
466
|
-
margin-bottom: 0;
|
|
467
|
-
}
|
|
468
|
-
.eds-heading--spacing-xs2 {
|
|
469
|
-
margin-top: 0.25rem;
|
|
470
|
-
margin-bottom: 0.25rem;
|
|
471
|
-
}
|
|
472
|
-
.eds-heading--spacing-xs2-top {
|
|
473
|
-
margin-top: 0.25rem;
|
|
474
|
-
margin-bottom: 0;
|
|
475
|
-
}
|
|
476
|
-
.eds-heading--spacing-xs2-bottom {
|
|
477
|
-
margin-top: 0;
|
|
478
|
-
margin-bottom: 0.25rem;
|
|
479
|
-
}
|
|
480
|
-
.eds-heading--spacing-xs {
|
|
481
|
-
margin-top: 0.5rem;
|
|
482
|
-
margin-bottom: 0.5rem;
|
|
483
|
-
}
|
|
484
|
-
.eds-heading--spacing-xs-top {
|
|
485
|
-
margin-top: 0.5rem;
|
|
486
|
-
margin-bottom: 0;
|
|
487
|
-
}
|
|
488
|
-
.eds-heading--spacing-xs-bottom {
|
|
489
|
-
margin-top: 0;
|
|
490
|
-
margin-bottom: 0.5rem;
|
|
491
|
-
}
|
|
492
|
-
.eds-heading--spacing-sm {
|
|
493
|
-
margin-top: 0.75rem;
|
|
494
|
-
margin-bottom: 0.75rem;
|
|
495
|
-
}
|
|
496
|
-
.eds-heading--spacing-sm-top {
|
|
497
|
-
margin-top: 0.75rem;
|
|
498
|
-
margin-bottom: 0;
|
|
499
|
-
}
|
|
500
|
-
.eds-heading--spacing-sm-bottom {
|
|
501
|
-
margin-top: 0;
|
|
502
|
-
margin-bottom: 0.75rem;
|
|
503
|
-
}
|
|
504
|
-
.eds-heading--spacing-md {
|
|
505
|
-
margin-top: 1rem;
|
|
506
|
-
margin-bottom: 1rem;
|
|
507
|
-
}
|
|
508
|
-
.eds-heading--spacing-md-top {
|
|
509
|
-
margin-top: 1rem;
|
|
510
|
-
margin-bottom: 0;
|
|
511
|
-
}
|
|
512
|
-
.eds-heading--spacing-md-bottom {
|
|
513
|
-
margin-top: 0;
|
|
514
|
-
margin-bottom: 1rem;
|
|
515
|
-
}
|
|
516
|
-
.eds-heading--spacing-lg {
|
|
517
|
-
margin-top: 1.5rem;
|
|
518
|
-
margin-bottom: 1.5rem;
|
|
519
|
-
}
|
|
520
|
-
.eds-heading--spacing-lg-top {
|
|
521
|
-
margin-top: 1.5rem;
|
|
522
|
-
margin-bottom: 0;
|
|
523
|
-
}
|
|
524
|
-
.eds-heading--spacing-lg-bottom {
|
|
525
|
-
margin-top: 0;
|
|
526
|
-
margin-bottom: 1.5rem;
|
|
527
|
-
}
|
|
528
|
-
.eds-heading--spacing-xl {
|
|
529
|
-
margin-top: 2rem;
|
|
530
|
-
margin-bottom: 2rem;
|
|
531
|
-
}
|
|
532
|
-
.eds-heading--spacing-xl-top {
|
|
533
|
-
margin-top: 2rem;
|
|
534
|
-
margin-bottom: 0;
|
|
535
|
-
}
|
|
536
|
-
.eds-heading--spacing-xl-bottom {
|
|
537
|
-
margin-top: 0;
|
|
538
|
-
margin-bottom: 2rem;
|
|
92
|
+
/*
|
|
93
|
+
Forms
|
|
94
|
+
=====
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
1. Change the font styles in all browsers.
|
|
98
|
+
2. Remove the margin in Firefox and Safari.
|
|
99
|
+
*/
|
|
100
|
+
button,
|
|
101
|
+
input,
|
|
102
|
+
optgroup,
|
|
103
|
+
select,
|
|
104
|
+
textarea {
|
|
105
|
+
font-family: inherit; /* 1 */
|
|
106
|
+
font-size: 100%; /* 1 */
|
|
107
|
+
line-height: 1.15; /* 1 */
|
|
108
|
+
margin: 0; /* 2 */
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
Correct the inability to style clickable types in iOS and Safari.
|
|
113
|
+
*/
|
|
114
|
+
button,
|
|
115
|
+
[type=button],
|
|
116
|
+
[type=reset],
|
|
117
|
+
[type=submit] {
|
|
118
|
+
-webkit-appearance: button;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
123
|
+
*/
|
|
124
|
+
legend {
|
|
125
|
+
padding: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
130
|
+
*/
|
|
131
|
+
progress {
|
|
132
|
+
vertical-align: baseline;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
137
|
+
*/
|
|
138
|
+
::-webkit-inner-spin-button,
|
|
139
|
+
::-webkit-outer-spin-button {
|
|
140
|
+
height: auto;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
1. Correct the odd appearance in Chrome and Safari.
|
|
145
|
+
2. Correct the outline style in Safari.
|
|
146
|
+
*/
|
|
147
|
+
[type=search] {
|
|
148
|
+
-webkit-appearance: textfield; /* 1 */
|
|
149
|
+
outline-offset: -2px; /* 2 */
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
154
|
+
*/
|
|
155
|
+
::-webkit-search-decoration {
|
|
156
|
+
-webkit-appearance: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
161
|
+
2. Change font properties to 'inherit' in Safari.
|
|
162
|
+
*/
|
|
163
|
+
::-webkit-file-upload-button {
|
|
164
|
+
-webkit-appearance: button; /* 1 */
|
|
165
|
+
font: inherit; /* 2 */
|
|
539
166
|
}
|
|
540
167
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
line-height: 1rem;
|
|
551
|
-
line-height: var(--font-line-height-body-xs);
|
|
552
|
-
}
|
|
553
|
-
.eds-text--s {
|
|
554
|
-
font-size: 0.875rem;
|
|
555
|
-
font-size: var(--font-size-body-s);
|
|
556
|
-
line-height: 1.25rem;
|
|
557
|
-
line-height: var(--font-line-height-body-s);
|
|
558
|
-
}
|
|
559
|
-
.eds-text--m {
|
|
560
|
-
font-size: 1rem;
|
|
561
|
-
font-size: var(--font-size-body-m);
|
|
562
|
-
line-height: 1.5rem;
|
|
563
|
-
line-height: var(--font-line-height-body-m);
|
|
564
|
-
}
|
|
565
|
-
.eds-text--xl {
|
|
566
|
-
font-size: 1.25rem;
|
|
567
|
-
font-size: var(--font-size-body-xl);
|
|
568
|
-
line-height: 1.75rem;
|
|
569
|
-
line-height: var(--font-line-height-body-xl);
|
|
570
|
-
}
|
|
571
|
-
.eds-text--leading {
|
|
572
|
-
font-size: 1.25rem;
|
|
573
|
-
font-size: var(--font-size-body-xl);
|
|
574
|
-
line-height: 1.75rem;
|
|
575
|
-
line-height: var(--font-line-height-body-xl);
|
|
576
|
-
margin: 1.25rem 0;
|
|
577
|
-
margin: var(--font-paragraph-spacing-body-xl) 0;
|
|
578
|
-
}
|
|
579
|
-
.eds-text--quote {
|
|
580
|
-
font-size: 1rem;
|
|
581
|
-
font-size: var(--font-size-body-lg);
|
|
582
|
-
line-height: 1.5rem;
|
|
583
|
-
line-height: var(--font-line-height-body-lg);
|
|
584
|
-
margin: 1.25rem 0;
|
|
585
|
-
margin: var(--font-paragraph-spacing-body-lg) 0;
|
|
586
|
-
}
|
|
587
|
-
.eds-text--paragraph {
|
|
588
|
-
font-size: 1rem;
|
|
589
|
-
font-size: var(--font-size-body-m);
|
|
590
|
-
line-height: 1.5rem;
|
|
591
|
-
line-height: var(--font-line-height-body-m);
|
|
592
|
-
margin: 1rem 0;
|
|
593
|
-
margin: var(--font-paragraph-spacing-body-m) 0;
|
|
594
|
-
}
|
|
595
|
-
.eds-text--sub-paragraph {
|
|
596
|
-
font-size: 0.875rem;
|
|
597
|
-
font-size: var(--font-size-body-s);
|
|
598
|
-
line-height: 1.25rem;
|
|
599
|
-
line-height: var(--font-line-height-body-s);
|
|
600
|
-
margin: 0.75rem 0;
|
|
601
|
-
margin: var(--font-paragraph-spacing-body-s) 0;
|
|
602
|
-
}
|
|
603
|
-
.eds-text--caption {
|
|
604
|
-
font-size: 0.75rem;
|
|
605
|
-
font-size: var(--font-size-body-xs);
|
|
606
|
-
line-height: 1rem;
|
|
607
|
-
line-height: var(--font-line-height-body-xs);
|
|
608
|
-
margin-bottom: 0.5rem;
|
|
609
|
-
margin-bottom: var(--font-paragraph-spacing-body-xs);
|
|
610
|
-
}
|
|
611
|
-
.eds-text--label {
|
|
612
|
-
font-size: 1rem;
|
|
613
|
-
font-size: var(--font-size-body-m);
|
|
614
|
-
line-height: 1.5rem;
|
|
615
|
-
line-height: var(--font-line-height-body-m);
|
|
616
|
-
margin-bottom: 0.5rem;
|
|
617
|
-
margin-bottom: var(--font-paragraph-spacing-body-xs);
|
|
618
|
-
font-weight: 600;
|
|
619
|
-
}
|
|
620
|
-
.eds-text--sublabel {
|
|
621
|
-
font-size: 0.875rem;
|
|
622
|
-
font-size: var(--font-size-body-s);
|
|
623
|
-
line-height: 1.25rem;
|
|
624
|
-
line-height: var(--font-line-height-body-s);
|
|
625
|
-
margin-bottom: 0.5rem;
|
|
626
|
-
margin-bottom: var(--font-paragraph-spacing-body-xs);
|
|
627
|
-
font-weight: 600;
|
|
628
|
-
}
|
|
629
|
-
.eds-text--overline {
|
|
630
|
-
font-size: 0.75rem;
|
|
631
|
-
font-size: var(--font-size-body-xs);
|
|
632
|
-
line-height: 1rem;
|
|
633
|
-
line-height: var(--font-line-height-body-xs);
|
|
634
|
-
margin-top: 0.5rem;
|
|
635
|
-
margin-top: var(--font-paragraph-spacing-body-xs);
|
|
636
|
-
margin-bottom: 1rem;
|
|
637
|
-
margin-bottom: var(--font-paragraph-spacing-body-m);
|
|
638
|
-
font-weight: 500;
|
|
639
|
-
text-transform: uppercase;
|
|
640
|
-
}
|
|
641
|
-
.eds-text--emphasized {
|
|
642
|
-
font-style: italic;
|
|
643
|
-
font-weight: 500;
|
|
644
|
-
}
|
|
645
|
-
.eds-text--code-text, .eds-text--preformatted-text {
|
|
646
|
-
background-color: var(--components-typography-codetext-standard-fill);
|
|
647
|
-
border: 0.0625rem solid var(--components-typography-codetext-standard-border);
|
|
648
|
-
border-radius: 0.25rem;
|
|
649
|
-
color: var(--components-typography-codetext-standard-text);
|
|
650
|
-
font-family: "Monaco", monospace;
|
|
651
|
-
font-size: 0.875rem;
|
|
652
|
-
}
|
|
653
|
-
.eds-text--preformatted-text {
|
|
654
|
-
padding: 1rem;
|
|
655
|
-
white-space: pre-wrap;
|
|
656
|
-
word-break: keep-all;
|
|
657
|
-
}
|
|
658
|
-
.eds-text--weight-400, .eds-text--weight-regular {
|
|
659
|
-
font-weight: 400;
|
|
660
|
-
}
|
|
661
|
-
.eds-text--weight-500, .eds-text--weight-medium {
|
|
662
|
-
font-weight: 500;
|
|
663
|
-
}
|
|
664
|
-
.eds-text--weight-600, .eds-text--weight-semibold {
|
|
665
|
-
font-weight: 600;
|
|
666
|
-
}
|
|
667
|
-
.eds-text--weight-700, .eds-text--weight-bold {
|
|
668
|
-
font-weight: 700;
|
|
669
|
-
}
|
|
670
|
-
.eds-text--spacing-none {
|
|
671
|
-
margin-top: 0;
|
|
672
|
-
margin-bottom: 0;
|
|
673
|
-
}
|
|
674
|
-
.eds-text--spacing-xs2 {
|
|
675
|
-
margin-top: 0.25rem;
|
|
676
|
-
margin-bottom: 0.25rem;
|
|
677
|
-
}
|
|
678
|
-
.eds-text--spacing-xs2-top {
|
|
679
|
-
margin-top: 0.25rem;
|
|
680
|
-
margin-bottom: 0;
|
|
681
|
-
}
|
|
682
|
-
.eds-text--spacing-xs2-bottom {
|
|
683
|
-
margin-top: 0;
|
|
684
|
-
margin-bottom: 0.25rem;
|
|
685
|
-
}
|
|
686
|
-
.eds-text--spacing-xs {
|
|
687
|
-
margin-top: 0.5rem;
|
|
688
|
-
margin-bottom: 0.5rem;
|
|
689
|
-
}
|
|
690
|
-
.eds-text--spacing-xs-top {
|
|
691
|
-
margin-top: 0.5rem;
|
|
692
|
-
margin-bottom: 0;
|
|
693
|
-
}
|
|
694
|
-
.eds-text--spacing-xs-bottom {
|
|
695
|
-
margin-top: 0;
|
|
696
|
-
margin-bottom: 0.5rem;
|
|
697
|
-
}
|
|
698
|
-
.eds-text--spacing-sm {
|
|
699
|
-
margin-top: 0.75rem;
|
|
700
|
-
margin-bottom: 0.75rem;
|
|
701
|
-
}
|
|
702
|
-
.eds-text--spacing-sm-top {
|
|
703
|
-
margin-top: 0.75rem;
|
|
704
|
-
margin-bottom: 0;
|
|
705
|
-
}
|
|
706
|
-
.eds-text--spacing-sm-bottom {
|
|
707
|
-
margin-top: 0;
|
|
708
|
-
margin-bottom: 0.75rem;
|
|
709
|
-
}
|
|
710
|
-
.eds-text--spacing-md {
|
|
711
|
-
margin-top: 1rem;
|
|
712
|
-
margin-bottom: 1rem;
|
|
713
|
-
}
|
|
714
|
-
.eds-text--spacing-md-top {
|
|
715
|
-
margin-top: 1rem;
|
|
716
|
-
margin-bottom: 0;
|
|
717
|
-
}
|
|
718
|
-
.eds-text--spacing-md-bottom {
|
|
719
|
-
margin-top: 0;
|
|
720
|
-
margin-bottom: 1rem;
|
|
721
|
-
}
|
|
722
|
-
.eds-text--spacing-lg {
|
|
723
|
-
margin-top: 1.5rem;
|
|
724
|
-
margin-bottom: 1.5rem;
|
|
725
|
-
}
|
|
726
|
-
.eds-text--spacing-lg-top {
|
|
727
|
-
margin-top: 1.5rem;
|
|
728
|
-
margin-bottom: 0;
|
|
729
|
-
}
|
|
730
|
-
.eds-text--spacing-lg-bottom {
|
|
731
|
-
margin-top: 0;
|
|
732
|
-
margin-bottom: 1.5rem;
|
|
733
|
-
}
|
|
734
|
-
.eds-text--spacing-xl {
|
|
735
|
-
margin-top: 2rem;
|
|
736
|
-
margin-bottom: 2rem;
|
|
737
|
-
}
|
|
738
|
-
.eds-text--spacing-xl-top {
|
|
739
|
-
margin-top: 2rem;
|
|
740
|
-
margin-bottom: 0;
|
|
741
|
-
}
|
|
742
|
-
.eds-text--spacing-xl-bottom {
|
|
743
|
-
margin-top: 0;
|
|
744
|
-
margin-bottom: 2rem;
|
|
745
|
-
}
|
|
746
|
-
.eds-text--link {
|
|
747
|
-
color: var(--primary-text-color);
|
|
748
|
-
}
|
|
749
|
-
.eds-text--link, .eds-text--link:link, .eds-text--link:visited {
|
|
750
|
-
font-size: inherit;
|
|
751
|
-
-webkit-text-decoration: none;
|
|
752
|
-
text-decoration: none;
|
|
753
|
-
position: relative;
|
|
754
|
-
background-image: linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
755
|
-
background-repeat: no-repeat;
|
|
756
|
-
background-size: 100% 0.125rem;
|
|
757
|
-
background-position: 0 100%;
|
|
758
|
-
}
|
|
759
|
-
.eds-text--link:hover {
|
|
760
|
-
animation: eds-link-underline 0.3s ease-in;
|
|
761
|
-
cursor: pointer;
|
|
762
|
-
}
|
|
763
|
-
@keyframes eds-link-underline {
|
|
764
|
-
from {
|
|
765
|
-
background-size: 0% 0.125rem;
|
|
766
|
-
}
|
|
767
|
-
to {
|
|
768
|
-
background-size: 100% 0.125rem;
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
.eds-text--link:focus-visible {
|
|
772
|
-
outline: 2px solid #181c56;
|
|
773
|
-
outline-color: #181c56;
|
|
774
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
775
|
-
outline-offset: 0.125rem;
|
|
776
|
-
}
|
|
777
|
-
.eds-contrast .eds-text--link:focus-visible {
|
|
778
|
-
outline-color: #aeb7e2;
|
|
779
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
780
|
-
}
|
|
781
|
-
@media screen and (min-width: 50rem) {
|
|
782
|
-
.eds-text--link {
|
|
783
|
-
font-size: 1rem;
|
|
784
|
-
line-height: 1.5rem;
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
.eds-text--link--ext-icon {
|
|
788
|
-
margin-left: 0.25rem;
|
|
789
|
-
}
|
|
790
|
-
p .eds-text--link--ext-icon {
|
|
791
|
-
top: 0;
|
|
792
|
-
}
|
|
793
|
-
.eds-text--blockquote {
|
|
794
|
-
border-left: 0.25rem solid var(--components-typography-blockquote-standard-stroke);
|
|
795
|
-
font-family: inherit;
|
|
796
|
-
margin: 0;
|
|
797
|
-
padding: 0.5rem;
|
|
798
|
-
padding-left: 2rem;
|
|
799
|
-
font-size: 1rem;
|
|
800
|
-
font-size: var(--font-size-body-lg);
|
|
801
|
-
line-height: 1.5rem;
|
|
802
|
-
line-height: var(--font-line-height-body-lg);
|
|
803
|
-
margin-bottom: 1.25rem;
|
|
804
|
-
margin-bottom: var(--font-paragraph-spacing-body-lg);
|
|
805
|
-
}
|
|
806
|
-
.eds-text--blockquote__footer {
|
|
807
|
-
font-size: 0.875rem;
|
|
808
|
-
font-size: var(--font-size-body-s);
|
|
809
|
-
line-height: 1.375rem;
|
|
810
|
-
letter-spacing: 1px;
|
|
811
|
-
margin-top: 1.5rem;
|
|
812
|
-
text-transform: uppercase;
|
|
168
|
+
/*
|
|
169
|
+
Interactive
|
|
170
|
+
===========
|
|
171
|
+
*/
|
|
172
|
+
/*
|
|
173
|
+
Add the correct display in Chrome and Safari.
|
|
174
|
+
*/
|
|
175
|
+
summary {
|
|
176
|
+
display: list-item;
|
|
813
177
|
}
|
|
814
|
-
|
|
178
|
+
|
|
815
179
|
/* DO NOT CHANGE!*/
|
|
816
180
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
817
181
|
/* DO NOT CHANGE!*/
|
|
@@ -1082,9 +446,7 @@ p .eds-text--link--ext-icon {
|
|
|
1082
446
|
--eds-font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
|
1083
447
|
"Helvetica Neue", sans-serif;
|
|
1084
448
|
box-sizing: border-box;
|
|
1085
|
-
color: #181c56;
|
|
1086
449
|
color: var(--primary-text-color);
|
|
1087
|
-
background-color: #ffffff;
|
|
1088
450
|
background-color: var(--primary-background-color);
|
|
1089
451
|
font-family: "Nationale", Arial, "Gotham Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
1090
452
|
font-weight: 500;
|
|
@@ -1097,9 +459,7 @@ p .eds-text--link--ext-icon {
|
|
|
1097
459
|
--primary-background-color: var(--basecolors-frame-contrast);
|
|
1098
460
|
--primary-text-color: var(--components-typography-basetext-contrast-text-accent);
|
|
1099
461
|
--primary-label-color: var(--components-typography-label-contrast-text-accent);
|
|
1100
|
-
color: #ffffff;
|
|
1101
462
|
color: var(--primary-text-color);
|
|
1102
|
-
background-color: #181c56;
|
|
1103
463
|
background-color: var(--primary-background-color);
|
|
1104
464
|
}
|
|
1105
465
|
@media screen and (min-width: 50rem) {
|
|
@@ -1124,7 +484,6 @@ p .eds-text--link--ext-icon {
|
|
|
1124
484
|
.eds-h4,
|
|
1125
485
|
.eds-h5,
|
|
1126
486
|
.eds-h6 {
|
|
1127
|
-
color: #181c56;
|
|
1128
487
|
color: var(--primary-text-color);
|
|
1129
488
|
font-weight: 600;
|
|
1130
489
|
-webkit-font-smoothing: antialiased;
|
|
@@ -1203,7 +562,6 @@ p .eds-text--link--ext-icon {
|
|
|
1203
562
|
}
|
|
1204
563
|
|
|
1205
564
|
.eds-paragraph {
|
|
1206
|
-
color: #181c56;
|
|
1207
565
|
color: var(--primary-text-color);
|
|
1208
566
|
font-size: 1rem;
|
|
1209
567
|
line-height: 1.5rem;
|
|
@@ -1217,7 +575,6 @@ p .eds-text--link--ext-icon {
|
|
|
1217
575
|
}
|
|
1218
576
|
|
|
1219
577
|
.eds-lead-paragraph {
|
|
1220
|
-
color: #181c56;
|
|
1221
578
|
color: var(--primary-text-color);
|
|
1222
579
|
font-size: 1.25rem;
|
|
1223
580
|
line-height: 1.875rem;
|
|
@@ -1231,7 +588,6 @@ p .eds-text--link--ext-icon {
|
|
|
1231
588
|
}
|
|
1232
589
|
|
|
1233
590
|
.eds-sub-paragraph {
|
|
1234
|
-
color: #181c56;
|
|
1235
591
|
color: var(--primary-text-color);
|
|
1236
592
|
font-size: 0.875rem;
|
|
1237
593
|
line-height: 1.25rem;
|
|
@@ -1243,7 +599,6 @@ p .eds-text--link--ext-icon {
|
|
|
1243
599
|
}
|
|
1244
600
|
|
|
1245
601
|
.eds-small-text {
|
|
1246
|
-
color: #181c56;
|
|
1247
602
|
color: var(--primary-text-color);
|
|
1248
603
|
font-size: 0.625rem;
|
|
1249
604
|
line-height: 1rem;
|
|
@@ -1256,15 +611,12 @@ p .eds-text--link--ext-icon {
|
|
|
1256
611
|
}
|
|
1257
612
|
|
|
1258
613
|
.eds-link {
|
|
1259
|
-
color: #181c56;
|
|
1260
614
|
color: var(--primary-text-color);
|
|
1261
615
|
}
|
|
1262
616
|
.eds-link, .eds-link:link, .eds-link:visited {
|
|
1263
617
|
font-size: inherit;
|
|
1264
|
-
-webkit-text-decoration: none;
|
|
1265
618
|
text-decoration: none;
|
|
1266
619
|
position: relative;
|
|
1267
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
1268
620
|
background-image: linear-gradient(120deg, var(--primary-text-color) 0%, var(--primary-text-color) 100%);
|
|
1269
621
|
background-repeat: no-repeat;
|
|
1270
622
|
background-size: 100% 0.125rem;
|
|
@@ -1284,12 +636,10 @@ p .eds-text--link--ext-icon {
|
|
|
1284
636
|
}
|
|
1285
637
|
.eds-link:focus-visible {
|
|
1286
638
|
outline: 2px solid #181c56;
|
|
1287
|
-
outline-color: #181c56;
|
|
1288
639
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1289
640
|
outline-offset: 0.125rem;
|
|
1290
641
|
}
|
|
1291
642
|
.eds-contrast .eds-link:focus-visible {
|
|
1292
|
-
outline-color: #aeb7e2;
|
|
1293
643
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1294
644
|
}
|
|
1295
645
|
@media screen and (min-width: 50rem) {
|
|
@@ -1307,7 +657,6 @@ p .eds-link--ext-icon {
|
|
|
1307
657
|
|
|
1308
658
|
.eds-label,
|
|
1309
659
|
.eds-sub-label {
|
|
1310
|
-
color: #626493;
|
|
1311
660
|
color: var(--primary-label-color);
|
|
1312
661
|
}
|
|
1313
662
|
|
|
@@ -1341,12 +690,9 @@ p .eds-link--ext-icon {
|
|
|
1341
690
|
|
|
1342
691
|
.eds-preformatted-text,
|
|
1343
692
|
.eds-code-text {
|
|
1344
|
-
background-color: #f6f6f9;
|
|
1345
693
|
background-color: var(--components-typography-codetext-standard-fill);
|
|
1346
|
-
border: 0.0625rem solid rgba(84, 86, 140, 0.4);
|
|
1347
694
|
border: 0.0625rem solid var(--components-typography-codetext-standard-border);
|
|
1348
695
|
border-radius: 0.25rem;
|
|
1349
|
-
color: #181c56;
|
|
1350
696
|
color: var(--components-typography-codetext-standard-text);
|
|
1351
697
|
font-family: "Monaco", monospace;
|
|
1352
698
|
font-size: 0.875rem;
|
|
@@ -1361,7 +707,7 @@ p .eds-link--ext-icon {
|
|
|
1361
707
|
.eds-code-text {
|
|
1362
708
|
display: inline-block;
|
|
1363
709
|
word-wrap: break-word;
|
|
1364
|
-
|
|
710
|
+
overflow-wrap: anywhere;
|
|
1365
711
|
padding: 0.125rem 0.25rem;
|
|
1366
712
|
}
|
|
1367
713
|
|
|
@@ -1375,7 +721,6 @@ p .eds-link--ext-icon {
|
|
|
1375
721
|
}
|
|
1376
722
|
.eds-unordered-list .eds-list-item::before {
|
|
1377
723
|
content: "";
|
|
1378
|
-
background: #aeb7e2;
|
|
1379
724
|
background: var(--components-typography-list-standard-border);
|
|
1380
725
|
display: block;
|
|
1381
726
|
height: 0.125rem;
|
|
@@ -1415,12 +760,10 @@ p .eds-link--ext-icon {
|
|
|
1415
760
|
position: relative;
|
|
1416
761
|
}
|
|
1417
762
|
.eds-numbered-list > .eds-list-item::before {
|
|
1418
|
-
color: #181c56;
|
|
1419
763
|
color: var(--primary-text-color);
|
|
1420
764
|
position: absolute;
|
|
1421
765
|
font-weight: 600;
|
|
1422
766
|
left: -2.5rem;
|
|
1423
|
-
border: 0.125rem solid #aeb7e2;
|
|
1424
767
|
border: 0.125rem solid var(--components-typography-list-standard-border);
|
|
1425
768
|
border-radius: 50%;
|
|
1426
769
|
height: 2rem;
|
|
@@ -1441,7 +784,6 @@ p .eds-link--ext-icon {
|
|
|
1441
784
|
}
|
|
1442
785
|
|
|
1443
786
|
.eds-blockquote {
|
|
1444
|
-
border-left: 0.25rem solid #8284ab;
|
|
1445
787
|
border-left: 0.25rem solid var(--components-typography-blockquote-standard-stroke);
|
|
1446
788
|
font-family: inherit;
|
|
1447
789
|
font-size: 1.25rem;
|
|
@@ -1518,4 +860,4 @@ p .eds-link--ext-icon {
|
|
|
1518
860
|
100% {
|
|
1519
861
|
width: 100%;
|
|
1520
862
|
}
|
|
1521
|
-
}
|
|
863
|
+
}
|