@entur/menu 5.0.0-alpha.0 → 5.0.1

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/dist/styles.css CHANGED
@@ -1,125 +1,93 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-breadcrumb {
4
- list-style: none;
5
- margin: 0;
6
- padding: 0;
7
- }
8
-
9
- .eds-breadcrumb__item {
10
- display: inline-block;
11
- }
12
-
13
- .eds-breadcrumb__separator {
14
- margin: 0 0.25rem 0 0.25rem;
15
- }
16
-
17
- .eds-breadcrumb__link {
18
- text-decoration: none;
19
- color: inherit;
20
- background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
21
- background-repeat: no-repeat;
22
- background-size: 100% 0.125rem;
23
- background-position: 0 100%;
24
- }
25
- .eds-contrast .eds-breadcrumb__link {
26
- background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
27
- }
28
- .eds-breadcrumb__link:hover {
29
- animation: eds-breadcrumb-underline 0.3s ease-in;
30
- }
31
- .eds-breadcrumb__link:focus {
32
- outline: none;
33
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
34
- outline-offset: 0.125rem;
35
- }
36
- @keyframes eds-breadcrumb-underline {
37
- from {
38
- background-size: 0% 0.125rem;
39
- }
40
- to {
41
- background-size: 100% 0.125rem;
42
- }
43
- }
44
- .eds-breadcrumb__link--current {
45
- font-weight: 600;
46
- }
47
- /* DO NOT CHANGE!*/
48
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
49
3
  .eds-side-navigation,
50
4
  .eds-side-navigation-group {
51
- --primary-background-color: #f8f8f8;
52
- --primary-text-color: #181c56;
5
+ color: var(--components-menu-sidenavigation-standard-text);
53
6
  }
54
7
  .eds-contrast .eds-side-navigation,
55
8
  .eds-contrast .eds-side-navigation-group {
56
- --primary-background-color: #181c56;
57
- --primary-text-color: colors-brand-white;
9
+ color: var(--components-menu-sidenavigation-contrast-text);
58
10
  }
59
11
 
60
12
  .eds-side-navigation__click-target svg {
61
13
  margin-right: 1rem;
62
- color: #656782;
14
+ color: var(--components-menu-sidenavigation-standard-icon);
63
15
  display: inline-flex;
64
16
  align-self: center;
65
17
  position: relative;
66
18
  top: 0.075em;
67
19
  }
68
20
  .eds-contrast .eds-side-navigation__click-target svg {
69
- color: #aeb7e2;
21
+ color: var(--components-menu-sidenavigation-contrast-icon);
70
22
  }
71
23
 
72
24
  .eds-side-navigation__click-target[disabled] svg {
73
- color: #656782;
25
+ color: var(--components-menu-sidenavigation-standard-icon-disabled);
26
+ }
27
+ .eds-contrast .eds-side-navigation__click-target[disabled] svg {
28
+ color: var(--components-menu-sidenavigation-contrast-icon-disabled);
74
29
  }
75
30
 
76
31
  .eds-side-navigation {
77
32
  --padding-vertical: 1rem;
78
33
  --padding-horizontal: 2.5rem;
79
- background-color: var(--primary-background-color);
80
- color: var(--primary-text-color);
34
+ background-color: var(--components-menu-sidenavigation-standard-background);
35
+ color: var(--components-menu-sidenavigation-standard-text);
81
36
  padding: 0;
82
37
  margin: 0;
83
38
  list-style: none;
84
39
  position: relative;
85
40
  transition: max-width ease-in-out 0.2s;
86
41
  }
42
+ .eds-contrast .eds-side-navigation {
43
+ background-color: var(--components-menu-sidenavigation-contrast-background);
44
+ color: var(--components-menu-sidenavigation-contrast-text);
45
+ }
87
46
  .eds-side-navigation__collapse-button {
88
47
  position: absolute;
89
48
  right: -0.75rem;
90
49
  height: 1.5rem;
91
50
  width: 1.5rem;
92
51
  border-radius: 50%;
52
+ border: none;
93
53
  cursor: pointer;
94
- background: #ffffff;
54
+ background-color: var(--components-menu-sidenavigation-standard-background);
55
+ color: var(--components-menu-sidenavigation-standard-text);
95
56
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
96
- border: 0.0625rem solid #d1d3d3;
97
- color: inherit;
98
57
  padding: 0;
99
58
  display: flex;
100
59
  align-items: center;
101
60
  justify-content: center;
102
- border: none;
103
61
  z-index: 10;
104
62
  }
105
63
  .eds-contrast .eds-side-navigation__collapse-button {
106
- background: #393d79;
64
+ background-color: var(--components-menu-sidenavigation-contrast-background);
65
+ color: var(--components-menu-sidenavigation-contast-text);
107
66
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
108
- border-color: transparent;
109
67
  }
110
68
  .eds-side-navigation__collapse-button svg {
111
69
  margin: 0;
112
70
  top: 0;
113
- color: #181c56;
71
+ color: var(--components-menu-sidenavigation-standard-icon);
114
72
  }
115
73
  .eds-contrast .eds-side-navigation__collapse-button svg {
116
- color: #ffffff;
74
+ color: var(--components-menu-sidenavigation-contrast-icon);
117
75
  }
118
- .eds-side-navigation__collapse-button:focus {
76
+ .eds-side-navigation__collapse-button.focus-visible {
119
77
  outline: 2px solid #181c56;
78
+ outline-color: var(--basecolors-stroke-focus-standard);
79
+ outline-offset: 0.125rem;
120
80
  }
121
- .eds-contrast .eds-side-navigation__collapse-button:focus {
122
- outline: 2px solid #ffffff;
81
+ .eds-side-navigation__collapse-button:focus-visible {
82
+ outline: 2px solid #181c56;
83
+ outline-color: var(--basecolors-stroke-focus-standard);
84
+ outline-offset: 0.125rem;
85
+ }
86
+ .eds-contrast .eds-side-navigation__collapse-button.focus-visible {
87
+ outline-color: var(--basecolors-stroke-focus-contrast);
88
+ }
89
+ .eds-contrast .eds-side-navigation__collapse-button:focus-visible {
90
+ outline-color: var(--basecolors-stroke-focus-contrast);
123
91
  }
124
92
  @media screen and (min-width: 50rem) {
125
93
  .eds-side-navigation {
@@ -130,10 +98,10 @@
130
98
  --padding-vertical: calc(0.5rem + 0.1875rem);
131
99
  }
132
100
  .eds-side-navigation .eds-side-navigation {
133
- background-color: #f3f3f3;
101
+ background-color: var(--components-menu-sidenavigation-standard-background);
134
102
  }
135
103
  .eds-contrast .eds-side-navigation .eds-side-navigation {
136
- background-color: #292b6a;
104
+ background-color: var(--components-menu-sidenavigation-contrast-background);
137
105
  }
138
106
  .eds-side-navigation--collapsed {
139
107
  max-width: 80px;
@@ -144,10 +112,10 @@
144
112
  box-shadow: none;
145
113
  }
146
114
  .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
147
- background-color: #d1d4e3;
115
+ background-color: var(--components-menu-sidenavigation-standard-fill-active);
148
116
  }
149
117
  .eds-contrast .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
150
- background-color: #54568c;
118
+ background-color: var(--components-menu-sidenavigation-contrast-fill-active);
151
119
  }
152
120
 
153
121
  .eds-side-navigation__click-target {
@@ -156,13 +124,13 @@
156
124
  appearance: none;
157
125
  background: none;
158
126
  border: 0;
159
- border-bottom: 0.125rem solid #e9e9e9;
127
+ border-bottom: 0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
160
128
  border-radius: 0;
161
- color: var(--primary-text-color);
129
+ color: var(--components-menu-sidenavigation-standard-text);
162
130
  cursor: pointer;
163
131
  display: block;
132
+ font-size: 1rem;
164
133
  font-family: inherit;
165
- font-size: inherit;
166
134
  font-weight: 500;
167
135
  line-height: inherit;
168
136
  padding: var(--padding-vertical) 2.5rem;
@@ -173,42 +141,49 @@
173
141
  width: 100%;
174
142
  }
175
143
  .eds-contrast .eds-side-navigation__click-target {
176
- border-color: #292b6a;
144
+ color: var(--components-menu-sidenavigation-contrast-text);
145
+ border-color: var(--components-menu-sidenavigation-contrast-divide);
177
146
  }
178
147
  .eds-side-navigation--collapsed .eds-side-navigation__click-target {
179
148
  padding-left: 2rem;
180
149
  }
181
150
  .eds-side-navigation__click-target--active {
182
- box-shadow: inset 0.25rem 0 0 #181c56;
151
+ box-shadow: inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
183
152
  font-weight: 600;
184
153
  }
185
154
  .eds-contrast .eds-side-navigation__click-target--active {
186
- box-shadow: inset 0.25rem 0 0 #ff5959;
155
+ box-shadow: inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
187
156
  }
188
157
  .eds-side-navigation__click-target[disabled] {
189
158
  cursor: not-allowed;
190
- color: #656782;
159
+ color: var(--components-menu-sidenavigation-standard-text-disabled);
160
+ }
161
+ .eds-contrast .eds-side-navigation__click-target[disabled] {
162
+ color: var(--components-menu-sidenavigation-contrast-text-disabled);
191
163
  }
192
164
  .eds-side-navigation__click-target:not([disabled]):hover {
193
- background-color: #d1d4e3;
165
+ background-color: var(--components-menu-sidenavigation-standard-fill-hover);
194
166
  }
195
167
  .eds-contrast .eds-side-navigation__click-target:not([disabled]):hover {
196
- background-color: #393d79;
168
+ background-color: var(--components-menu-sidenavigation-contrast-fill-hover);
197
169
  }
198
- .eds-side-navigation__click-target:not([disabled]):active, .eds-side-navigation__click-target:not([disabled]):focus {
170
+ .eds-side-navigation__click-target:not([disabled]).focus-visible {
199
171
  outline: 2px solid #181c56;
200
- outline-offset: -2px;
201
- background: #ebebf1;
172
+ outline-color: var(--basecolors-stroke-focus-standard);
173
+ outline-offset: 0.125rem;
202
174
  }
203
- .eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
204
- background-color: #54568c;
205
- outline: 2px solid #ffffff;
175
+ .eds-side-navigation__click-target:not([disabled]):focus-visible {
176
+ outline: 2px solid #181c56;
177
+ outline-color: var(--basecolors-stroke-focus-standard);
178
+ outline-offset: 0.125rem;
206
179
  }
207
-
208
- .eds-side-navigation-group {
209
- background-color: var(--primary-background-color);
210
- color: var(--primary-text-color);
180
+ .eds-contrast .eds-side-navigation__click-target:not([disabled]).focus-visible {
181
+ outline-color: var(--basecolors-stroke-focus-contrast);
182
+ }
183
+ .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus-visible {
184
+ outline-color: var(--basecolors-stroke-focus-contrast);
211
185
  }
186
+
212
187
  .eds-side-navigation-group + .eds-side-navigation-group {
213
188
  padding-top: 0.5rem;
214
189
  }
@@ -223,11 +198,10 @@
223
198
  -webkit-appearance: none;
224
199
  -moz-appearance: none;
225
200
  appearance: none;
226
- background: none;
201
+ background-color: var(--components-menu-sidenavigation-standard-background);
227
202
  border: none;
228
- border-radius: 0;
229
- border-bottom: 0.125rem solid #e9e9e9;
230
- color: #656782;
203
+ border-bottom: 0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
204
+ color: var(--components-menu-sidenavigation-standard-label);
231
205
  cursor: pointer;
232
206
  display: flex;
233
207
  font-size: 0.875rem;
@@ -244,72 +218,136 @@
244
218
  width: 100%;
245
219
  }
246
220
  .eds-contrast .eds-side-navigation-group__trigger {
247
- color: #aeb7e2;
248
- border-color: #292b6a;
221
+ color: var(--components-menu-sidenavigation-contrast-label);
222
+ background-color: var(--components-menu-sidenavigation-contrast-background);
223
+ border-color: var(--components-menu-sidenavigation-contrast-divide);
249
224
  }
250
225
  .eds-side-navigation-group__trigger-icon {
251
226
  margin-right: 0.75rem;
252
227
  }
253
228
  .eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
254
229
  margin-right: 2.5rem;
230
+ color: var(--components-menu-sidenavigation-standard-icon-label);
231
+ }
232
+ .eds-contrast .eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
233
+ color: var(--components-menu-sidenavigation-contrast-icon-label);
255
234
  }
256
235
  .eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
257
236
  padding-left: 2rem;
258
237
  }
259
- .eds-side-navigation-group__trigger:focus {
238
+ .eds-side-navigation-group__trigger.focus-visible {
260
239
  outline: 2px solid #181c56;
240
+ outline-color: var(--basecolors-stroke-focus-standard);
241
+ outline-offset: 0.125rem;
261
242
  }
262
- .eds-contrast .eds-side-navigation-group__trigger:focus {
263
- outline: 2px solid #ffffff;
243
+ .eds-side-navigation-group__trigger:focus-visible {
244
+ outline: 2px solid #181c56;
245
+ outline-color: var(--basecolors-stroke-focus-standard);
246
+ outline-offset: 0.125rem;
247
+ }
248
+ .eds-contrast .eds-side-navigation-group__trigger.focus-visible {
249
+ outline-color: var(--basecolors-stroke-focus-contrast);
250
+ }
251
+ .eds-contrast .eds-side-navigation-group__trigger:focus-visible {
252
+ outline-color: var(--basecolors-stroke-focus-contrast);
264
253
  }
265
254
  /* DO NOT CHANGE!*/
266
255
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
267
- .eds-top-navigation-item {
268
- --show-active-line: 0;
269
- display: inline-block;
270
- cursor: pointer;
271
- color: inherit;
272
- text-decoration: none;
273
- position: relative;
274
- padding: 1rem;
275
- min-width: 5rem;
276
- width: -moz-fit-content;
277
- width: fit-content;
278
- text-align: center;
279
- font-family: inherit;
280
- font-size: 1rem;
281
- font-weight: 600;
256
+ .eds-overflow-menu__menu-list {
257
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
258
+ overflow: hidden;
259
+ border-radius: 0.25rem;
260
+ border: 0.0625rem solid var(--components-menu-overflowmenu-border);
261
+ z-index: 20;
282
262
  }
283
- .eds-top-navigation-item::after {
284
- content: "";
285
- display: block;
286
- bottom: 1rem;
287
- height: 0.1875rem;
288
- width: 0;
289
- margin: 0 auto;
290
- opacity: var(--show-active-line);
291
- background: #ff5959;
292
- transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
263
+ .eds-overflow-menu__menu-list.eds-contrast {
264
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
293
265
  }
294
- .eds-top-navigation-item:focus {
295
- outline-offset: 0.125rem;
266
+ .eds-overflow-menu__item {
267
+ display: block;
268
+ width: 100%;
269
+ -webkit-appearance: none;
270
+ -moz-appearance: none;
271
+ appearance: none;
272
+ padding: 0.75rem;
273
+ border: none;
296
274
  outline: none;
297
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
275
+ font-size: 1rem;
276
+ line-height: 1.375rem;
277
+ text-align: left;
278
+ text-decoration: none;
279
+ color: var(--components-menu-overflowmenu-text);
280
+ background: var(--components-menu-overflowmenu-fill-default);
281
+ cursor: pointer;
298
282
  }
299
- .eds-contrast .eds-top-navigation-item:focus {
300
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
283
+ .eds-overflow-menu__item--highlighted {
284
+ background: var(--components-menu-overflowmenu-fill-hover);
301
285
  }
302
- .eds-top-navigation-item:hover {
303
- --show-active-line: 1;
286
+ .eds-overflow-menu__item:active {
287
+ background: var(--components-menu-overflowmenu-fill-active);
288
+ color: var(--components-menu-overflowmenu-text-active);
304
289
  }
305
- .eds-top-navigation-item:hover::after {
306
- width: 2rem;
290
+ .eds-overflow-menu__item--disabled {
291
+ background: var(--components-menu-overflowmenu-fill-default);
292
+ color: var(--components-menu-overflowmenu-text-disabled);
293
+ cursor: not-allowed;
307
294
  }
308
- .eds-top-navigation-item--active {
309
- --show-active-line: 1;
295
+ .eds-overflow-menu__item svg {
296
+ margin-right: 0.75rem;
310
297
  }
311
- .eds-top-navigation-item--active::after {
312
- width: 2rem;
298
+ /* DO NOT CHANGE!*/
299
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
300
+ .eds-breadcrumb {
301
+ list-style: none;
302
+ margin: 0;
303
+ padding: 0;
304
+ }
305
+
306
+ .eds-breadcrumb__item {
307
+ display: inline-block;
308
+ color: var(--components-menu-breadcrumb-standard-text);
309
+ }
310
+ .eds-contrast .eds-breadcrumb__item {
311
+ color: var(--components-menu-breadcrumb-contrast-text);
312
+ }
313
+
314
+ .eds-breadcrumb__separator {
315
+ margin: 0 0.25rem 0 0.25rem;
316
+ }
317
+
318
+ .eds-breadcrumb__link {
319
+ text-decoration: none;
320
+ color: var(--components-menu-breadcrumb-standard-text);
321
+ background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
322
+ background-repeat: no-repeat;
323
+ background-size: 100% 0.125rem;
324
+ background-position: 0 100%;
325
+ }
326
+ .eds-contrast .eds-breadcrumb__link {
327
+ color: var(--components-menu-breadcrumb-contrast-text);
328
+ background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
329
+ }
330
+ .eds-breadcrumb__link:hover {
331
+ animation: eds-breadcrumb-underline 0.3s ease-in;
332
+ }
333
+ .eds-breadcrumb__link:focus {
334
+ outline: 2px solid #181c56;
335
+ outline-color: var(--basecolors-stroke-focus-standard);
336
+ outline-offset: 0.125rem;
337
+ }
338
+ .eds-contrast .eds-breadcrumb__link:focus {
339
+ outline-color: var(--basecolors-stroke-focus-contrast);
340
+ }
341
+ @keyframes eds-breadcrumb-underline {
342
+ from {
343
+ background-size: 0% 0.125rem;
344
+ }
345
+ to {
346
+ background-size: 100% 0.125rem;
347
+ }
348
+ }
349
+ .eds-breadcrumb__link--current {
350
+ font-weight: 600;
313
351
  }
314
352
  /* DO NOT CHANGE!*/
315
353
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -321,61 +359,43 @@
321
359
  justify-content: space-between;
322
360
  }
323
361
  .eds-pagination__results {
324
- align-items: center;
362
+ margin-right: 0.5rem;
325
363
  display: flex;
326
364
  flex: 1;
365
+ align-items: center;
327
366
  justify-content: flex-start;
367
+ color: var(--components-menu-pagination-standard-text-subdued);
328
368
  }
329
- .eds-pagination__results-label {
330
- margin-right: 0.5rem;
369
+ .eds-contrast .eds-pagination__results {
370
+ color: var(--components-menu-pagination-contrast-text-subdued);
331
371
  }
332
- .eds-pagination__controls {
333
- align-items: center;
334
- display: flex;
335
- justify-content: center;
372
+ .eds-pagination__results .eds-pagination__results__change-number-of-results {
373
+ border: solid 0.0625rem var(--components-menu-pagination-contrast-border-unselected);
374
+ margin: 0 0.5rem;
375
+ }
376
+ .eds-pagination__results .eds-pagination__results__change-number-of-results__arrow {
377
+ margin-left: 0.5rem;
378
+ }
379
+ .eds-pagination__results .eds-pagination__results__change-number-of-results[aria-expanded=true] .eds-pagination__results__change-number-of-results__arrow {
380
+ transform: rotate(180deg);
336
381
  }
337
382
  .eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
338
383
  margin: 0 auto;
339
384
  }
340
-
341
- .eds-pagination-menu__menu-button {
342
- -webkit-appearance: none;
343
- -moz-appearance: none;
344
- appearance: none;
345
- background: transparent;
346
- border: 0.0625rem solid #d1d3d3;
347
- border-radius: 0.25rem;
348
- color: inherit;
349
- font-family: inherit;
350
- display: flex;
385
+ .eds-pagination__controls {
351
386
  align-items: center;
352
- justify-content: space-around;
353
- height: 2rem;
354
- margin-left: 0.25rem;
355
- margin-right: 1rem;
356
- width: 3.5rem;
357
- }
358
- .eds-pagination-menu__menu-button--open {
359
- border-color: currentColor;
360
- }
361
- .eds-pagination-menu__menu-button:focus {
362
- outline: none;
363
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
364
- }
365
- .eds-pagination-menu__menu-list {
366
- width: 3.5rem;
387
+ display: flex;
388
+ justify-content: center;
367
389
  }
368
-
369
- .eds-pagination__page {
390
+ .eds-pagination__controls__page {
370
391
  align-items: center;
371
392
  -webkit-appearance: none;
372
393
  -moz-appearance: none;
373
394
  appearance: none;
374
- background: transparent;
375
- border: 0.0625rem solid #d1d3d3;
376
- border-color: #d1d3d3;
395
+ background-color: var(--components-menu-pagination-standard-default);
396
+ border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
377
397
  border-radius: 0.25rem;
378
- color: inherit;
398
+ color: var(--components-menu-pagination-standard-text-unselected);
379
399
  cursor: pointer;
380
400
  display: flex;
381
401
  font-family: inherit;
@@ -390,41 +410,53 @@
390
410
  user-select: none;
391
411
  min-width: 2rem;
392
412
  }
393
- .eds-contrast .eds-pagination__page {
394
- border-color: #54568c;
413
+ .eds-contrast .eds-pagination__controls__page {
414
+ background-color: var(--components-menu-pagination-contrast-default);
415
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
416
+ color: var(--components-menu-pagination-contrast-text-unselected);
395
417
  }
396
- .eds-pagination__page--selected {
397
- background: #d1d4e3;
398
- border-color: #181c56;
399
- color: inherit;
418
+ .eds-pagination__controls__page--selected {
419
+ background: var(--components-menu-pagination-standard-active);
420
+ border-color: var(--components-menu-pagination-standard-border-selected);
421
+ color: var(--components-menu-pagination-standard-text-selected);
400
422
  opacity: 1;
401
423
  pointer-events: none;
402
424
  }
403
- .eds-contrast .eds-pagination__page--selected {
404
- border-color: #ffffff;
405
- background: #393d79;
425
+ .eds-contrast .eds-pagination__controls__page--selected {
426
+ background: var(--components-menu-pagination-contrast-active);
427
+ border-color: var(--components-menu-pagination-contrast-border-selected);
428
+ color: var(--components-menu-pagination-contrast-text-selected);
406
429
  }
407
- .eds-pagination__page--disabled {
430
+ .eds-pagination__controls__page--disabled {
408
431
  opacity: 0.5;
409
432
  pointer-events: none;
410
433
  }
411
- .eds-pagination__page:hover {
412
- background-color: #d1d4e3;
413
- border-color: #d1d4e3;
434
+ .eds-pagination__controls__page:hover {
435
+ background-color: var(--components-menu-pagination-standard-hover);
436
+ border-color: var(--components-menu-pagination-standard-border-unselected);
414
437
  }
415
- .eds-contrast .eds-pagination__page:hover {
416
- background-color: #393d79;
417
- border-color: #393d79;
438
+ .eds-contrast .eds-pagination__controls__page:hover {
439
+ background-color: var(--components-menu-pagination-contrast-hover);
440
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
418
441
  }
419
- .eds-pagination__page:focus {
420
- outline: none;
421
- border-color: #181c56;
442
+ .eds-pagination__controls__page.focus-visible {
443
+ outline: 2px solid #181c56;
444
+ outline-color: var(--basecolors-stroke-focus-standard);
445
+ outline-offset: 0.125rem;
422
446
  }
423
- .eds-contrast .eds-pagination__page:focus {
424
- border-color: #ffffff;
447
+ .eds-pagination__controls__page:focus-visible {
448
+ outline: 2px solid #181c56;
449
+ outline-color: var(--basecolors-stroke-focus-standard);
450
+ outline-offset: 0.125rem;
425
451
  }
426
-
427
- .eds-pagination__ellipsis {
452
+ .eds-contrast .eds-pagination__controls__page.focus-visible {
453
+ outline-color: var(--basecolors-stroke-focus-contrast);
454
+ }
455
+ .eds-contrast .eds-pagination__controls__page:focus-visible {
456
+ outline-color: var(--basecolors-stroke-focus-contrast);
457
+ }
458
+ .eds-pagination__controls__page__ellipsis {
459
+ color: var(--components-menu-pagination-standard-icon);
428
460
  align-items: baseline;
429
461
  cursor: default;
430
462
  display: flex;
@@ -437,135 +469,73 @@
437
469
  width: 2rem;
438
470
  margin: 0 2px;
439
471
  }
440
-
441
- .eds-pagination__input-wrapper {
472
+ .eds-contrast .eds-pagination__controls__page__ellipsis {
473
+ color: var(--components-menu-pagination-contrast-icon);
474
+ }
475
+ .eds-pagination__controls__input__wrapper {
442
476
  white-space: nowrap;
443
477
  }
444
- .eds-pagination__input-label {
445
- border-left: 0.0625rem solid #d1d3d3;
446
- color: #656782;
478
+ .eds-pagination__controls__input__label {
479
+ border-left: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
480
+ color: var(--components-menu-pagination-standard-text-subdued);
447
481
  font-size: 0.875rem;
448
482
  margin-left: 0.5rem;
449
483
  padding: 0 1rem;
450
484
  }
451
- .eds-contrast .eds-pagination__input-label {
452
- border-color: #393d79;
453
- color: #aeb7e2;
485
+ .eds-contrast .eds-pagination__controls__input__label {
486
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
487
+ color: var(--components-menu-pagination-contrast-text-subdued);
454
488
  }
455
- .eds-pagination__input-field {
489
+ .eds-pagination__controls__input__field {
456
490
  -webkit-appearance: none;
457
491
  -moz-appearance: none;
458
492
  appearance: none;
459
- background: transparent;
460
- border: 0.0625rem solid #d1d3d3;
493
+ background-color: var(--components-menu-pagination-standard-default);
494
+ border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
461
495
  border-radius: 0.25rem;
462
- color: inherit;
496
+ color: var(--components-menu-pagination-standard-text-unselected);
463
497
  font-family: inherit;
464
498
  font-size: 0.875rem;
465
499
  height: 2rem;
466
500
  text-align: center;
467
501
  width: 2rem;
468
502
  }
469
- .eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
470
- -webkit-appearance: none;
471
- appearance: none;
472
- margin: 0;
503
+ .eds-contrast .eds-pagination__controls__input__field {
504
+ background-color: var(--components-menu-pagination-contrast-default);
505
+ border-color: var(--components-menu-pagination-contrast-border-unselected);
506
+ color: var(--components-menu-pagination-contrast-text-unselected);
473
507
  }
474
- /* DO NOT CHANGE!*/
475
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
476
- .eds-overflow-menu__item {
508
+ .eds-pagination__controls__input__field::-webkit-inner-spin-button, .eds-pagination__controls__input__field::-webkit-outer-spin-button {
477
509
  -webkit-appearance: none;
478
- -moz-appearance: none;
479
510
  appearance: none;
480
- border: none;
481
- font-size: 0.875rem;
482
- font-family: inherit;
483
- color: var(--primary-text-color);
484
- background: #f8f8f8;
485
- display: block;
486
- height: 3rem;
487
- cursor: pointer;
488
- width: 100%;
489
- line-height: 1.375rem;
490
- text-align: left;
491
- padding: 0.75rem 1rem;
492
- opacity: 1;
493
- }
494
- .eds-contrast .eds-overflow-menu__item {
495
- color: #181c56;
496
- }
497
- .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
498
- background: #e9e9e9;
499
- color: #949494;
500
- }
501
- .eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
502
- background: #e9e9e9;
503
- color: #949494;
504
- }
505
- .eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
506
- cursor: not-allowed;
507
- background: #e9e9e9;
508
- color: #949494;
509
- }
510
- .eds-overflow-menu__item .eds-icon {
511
- margin-right: 0.75rem;
512
- }
513
- .eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
514
- background: #d1d4e3;
515
- }
516
- .eds-overflow-menu__item:focus {
517
- outline: none;
518
- }
519
-
520
- .eds-overflow-menu__item + .eds-overflow-menu__item {
521
- border-top: 0.0625rem solid #e9e9e9;
522
- }
523
-
524
- .eds-overflow-menu__menu-list[data-reach-menu-list] {
525
- border: 0.0625rem solid #e9e9e9;
526
- border-radius: 0.25rem;
527
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
528
- overflow: hidden;
529
- }
530
- .eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
531
- outline: none;
532
- }
533
- .eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
534
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
511
+ margin: 0;
535
512
  }
536
-
537
- .eds-overflow-menu__menu-list[data-reach-menu-list],
538
- .eds-overflow-menu__menu-list[data-reach-menu-items] {
539
- animation: slide-in 0.2s ease-in-out;
513
+ .eds-pagination__controls__input__field.focus-visible {
514
+ outline: 2px solid #181c56;
515
+ outline-color: var(--basecolors-stroke-focus-standard);
516
+ outline-offset: 0.125rem;
540
517
  }
541
-
542
- @keyframes slide-in {
543
- 0% {
544
- opacity: 0;
545
- transform: translateY(0.5rem);
546
- }
547
- 100% {
548
- opacity: 1;
549
- transform: translateY(0);
550
- }
518
+ .eds-pagination__controls__input__field:focus-visible {
519
+ outline: 2px solid #181c56;
520
+ outline-color: var(--basecolors-stroke-focus-standard);
521
+ outline-offset: 0.125rem;
551
522
  }
552
- [data-reach-menu-popover] {
553
- position: absolute;
554
- z-index: 30;
523
+ .eds-contrast .eds-pagination__controls__input__field.focus-visible {
524
+ outline-color: var(--basecolors-stroke-focus-contrast);
555
525
  }
556
- [data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
557
- position: relative;
558
- right: calc(100% - 2rem);
526
+ .eds-contrast .eds-pagination__controls__input__field:focus-visible {
527
+ outline-color: var(--basecolors-stroke-focus-contrast);
559
528
  }
560
529
  /* DO NOT CHANGE!*/
561
530
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
562
531
  .eds-stepper {
563
- --text-color: #656782;
564
- --line-color: #e9e9e9;
532
+ --text-color: var(--components-menu-stepper-standard-text-uncompleted);
533
+ --line-color: var(--components-menu-stepper-standard-background);
565
534
  --label-font-weight: 500;
566
535
  --display-active-line: none;
567
536
  display: flex;
568
537
  flex-direction: row;
538
+ width: 100%;
569
539
  list-style-type: none;
570
540
  }
571
541
  .eds-stepper__step {
@@ -579,64 +549,74 @@
579
549
  appearance: none;
580
550
  background: none;
581
551
  border: none;
582
- margin: 0;
583
- margin-left: 0.25rem;
584
- padding: 0;
585
- height: 2.5rem;
586
552
  font-family: inherit;
587
553
  text-transform: none;
588
554
  }
589
- .eds-stepper__step:focus {
555
+ .eds-stepper__step__wrapper {
556
+ flex-grow: 1;
557
+ }
558
+ .eds-stepper__step.focus-visible .eds-stepper__step__label {
590
559
  outline-offset: 0.125rem;
591
- outline: none;
592
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
560
+ outline: 2px solid #181c56;
593
561
  }
594
- .eds-contrast .eds-stepper__step:focus {
595
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
562
+ .eds-stepper__step:focus-visible .eds-stepper__step__label {
563
+ outline-offset: 0.125rem;
564
+ outline: 2px solid #181c56;
596
565
  }
597
- .eds-stepper__step:first-child {
598
- margin-left: 0;
566
+ .eds-contrast .eds-stepper__step.focus-visible .eds-stepper__step__label {
567
+ outline: 2px solid #ffffff;
568
+ }
569
+ .eds-contrast .eds-stepper__step:focus-visible .eds-stepper__step__label {
570
+ outline: 2px solid #ffffff;
599
571
  }
600
572
  .eds-contrast .eds-stepper__step {
601
- --text-color: #aeb7e2;
602
- --line-color: #393d79;
573
+ --text-color: var(--components-menu-stepper-contrast-text-uncompleted);
574
+ --line-color: var(--components-menu-stepper-contrast-background);
603
575
  }
604
576
  .eds-stepper__step--interactive {
605
577
  all: unset;
606
578
  display: flex;
607
579
  flex-direction: column;
580
+ width: 100%;
608
581
  cursor: pointer;
609
582
  }
610
583
  .eds-stepper__step--active {
611
- --text-color: #181c56;
584
+ --text-color: var(--components-menu-stepper-standard-text-uncompleted);
612
585
  --label-font-weight: 600;
613
586
  --display-active-line: block;
614
587
  }
615
588
  .eds-contrast .eds-stepper__step--active {
616
- --text-color: #ffffff;
589
+ --text-color: var(--components-menu-stepper-contrast-text-uncompleted);
617
590
  }
618
591
  .eds-stepper__step--completed {
619
- --text-color: #181c56;
620
- --line-color: #181c56;
592
+ --text-color: var(--components-menu-stepper-standard-text-completed);
593
+ --line-color: var(--components-menu-stepper-standard-progressbar);
621
594
  }
622
595
  .eds-contrast .eds-stepper__step--completed {
623
- --text-color: #ffffff;
624
- --line-color: #aeb7e2;
596
+ --text-color: var(--components-menu-stepper-contrast-text-completed);
597
+ --line-color: var(--components-menu-stepper-contrast-progressbar);
625
598
  }
626
599
  .eds-stepper__step__label {
627
600
  flex-grow: 1;
628
601
  flex-direction: column;
602
+ align-self: center;
629
603
  text-align: center;
630
604
  font-size: 0.875rem;
631
- padding: 0.125rem 0.25rem;
632
- margin: calc(0.25rem - 0.125rem) calc(1rem - 0.25rem);
605
+ margin: 0.5rem 0 0;
606
+ padding: 0 0.5rem;
607
+ width: -moz-fit-content;
608
+ width: fit-content;
609
+ border-radius: 0.0625rem;
633
610
  color: var(--text-color);
634
611
  font-weight: var(--label-font-weight);
635
612
  }
636
613
  .eds-stepper__step--interactive:hover .eds-stepper__step__label {
637
- background-color: #656782;
638
- color: #ffffff;
639
- border-radius: 0.0625rem;
614
+ background-color: var(--components-menu-stepper-standard-background);
615
+ color: var(--components-menu-stepper-standard-text-completed);
616
+ }
617
+ .eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
618
+ background-color: var(--components-menu-stepper-contrast-background);
619
+ color: var(--components-menu-stepper-contrast-text-completed);
640
620
  }
641
621
  .eds-stepper__step__line {
642
622
  height: 0.5rem;
@@ -650,17 +630,13 @@
650
630
  right: calc(50% - 0.2rem);
651
631
  bottom: 0.0625rem;
652
632
  border-radius: 0.0625rem;
653
- background: #181c56;
654
- width: calc(
655
- 0.5rem - 0.125rem - 0.01rem
656
- );
657
- height: calc(
658
- 0.5rem - 0.125rem - 0.01rem
659
- );
633
+ background: var(--components-menu-stepper-standard-progressbar);
634
+ width: calc(0.5rem - 0.125rem - 0.01rem);
635
+ height: calc(0.5rem - 0.125rem - 0.01rem);
660
636
  transform: rotate(45deg);
661
637
  }
662
638
  .eds-contrast .eds-stepper__step__line:before {
663
- background-color: #aeb7e2;
639
+ background: var(--components-menu-stepper-contrast-progressbar);
664
640
  }
665
641
  .eds-stepper__step__line:after {
666
642
  display: var(--display-active-line);
@@ -670,12 +646,404 @@
670
646
  bottom: 0;
671
647
  width: 50%;
672
648
  height: 0.5rem;
673
- background: #181c56;
649
+ background: var(--components-menu-stepper-standard-progressbar);
674
650
  }
675
651
  .eds-contrast .eds-stepper__step__line:after {
676
- background: #aeb7e2;
652
+ background: var(--components-menu-stepper-contrast-progressbar);
653
+ }
654
+ /* DO NOT CHANGE!*/
655
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
656
+ /* DO NOT CHANGE!*/
657
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
658
+ /* DO NOT CHANGE!*/
659
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
660
+ [data-color-mode=light],
661
+ :root {
662
+ --components-menu-breadcrumb-contrast-icon: #ffffff;
663
+ --components-menu-breadcrumb-contrast-text: #ffffff;
664
+ --components-menu-breadcrumb-standard-icon: #181c56;
665
+ --components-menu-breadcrumb-standard-text: #181c56;
666
+ --components-menu-navigationbar-contrast-background: #393d79;
667
+ --components-menu-navigationbar-contrast-divide: rgba(255, 255, 255, 0);
668
+ --components-menu-navigationbar-contrast-icon-selected: #ffffff;
669
+ --components-menu-navigationbar-contrast-icon-unselected: #d9dae8;
670
+ --components-menu-navigationbar-contrast-stroke-selected: #ff5959;
671
+ --components-menu-navigationbar-contrast-text-selected: #ffffff;
672
+ --components-menu-navigationbar-contrast-text-unselected: #d9dae8;
673
+ --components-menu-navigationbar-standard-background: #ffffff;
674
+ --components-menu-navigationbar-standard-divide: #e3e6e8;
675
+ --components-menu-navigationbar-standard-icon-selected: #181c56;
676
+ --components-menu-navigationbar-standard-icon-unselected: #626493;
677
+ --components-menu-navigationbar-standard-stroke-selected: #ff5959;
678
+ --components-menu-navigationbar-standard-text-selected: #181c56;
679
+ --components-menu-navigationbar-standard-text-unselected: #626493;
680
+ --components-menu-navigationlink-contrast-icon: #ffffff;
681
+ --components-menu-navigationlink-contrast-text: #ffffff;
682
+ --components-menu-navigationlink-standard-icon: #181c56;
683
+ --components-menu-navigationlink-standard-text: #181c56;
684
+ --components-menu-overflowmenu-border: #8284ab;
685
+ --components-menu-overflowmenu-fill-active: #aeb7e2;
686
+ --components-menu-overflowmenu-fill-default: #f2f5f7;
687
+ --components-menu-overflowmenu-fill-hover: #d9ddf2;
688
+ --components-menu-overflowmenu-icon: #181c56;
689
+ --components-menu-overflowmenu-icon-disabled: #6e6f73;
690
+ --components-menu-overflowmenu-text: #181c56;
691
+ --components-menu-overflowmenu-text-disabled: #6e6f73;
692
+ --components-menu-pagination-contrast-active: #8794d4;
693
+ --components-menu-pagination-contrast-border-selected: #ffffff;
694
+ --components-menu-pagination-contrast-border-unselected: rgba(174, 183, 226, 0.6980392157);
695
+ --components-menu-pagination-contrast-default: rgba(255, 255, 255, 0);
696
+ --components-menu-pagination-contrast-hover: #626493;
697
+ --components-menu-pagination-contrast-icon: #ffffff;
698
+ --components-menu-pagination-contrast-text-selected: #181c56;
699
+ --components-menu-pagination-contrast-text-subdued: #d9dae8;
700
+ --components-menu-pagination-contrast-text-unselected: #ffffff;
701
+ --components-menu-pagination-standard-active: #aeb7e2;
702
+ --components-menu-pagination-standard-border-selected: #181c56;
703
+ --components-menu-pagination-standard-border-unselected: rgba(84, 86, 140, 0.4);
704
+ --components-menu-pagination-standard-default: rgba(255, 255, 255, 0);
705
+ --components-menu-pagination-standard-hover: #d9ddf2;
706
+ --components-menu-pagination-standard-icon: #181c56;
707
+ --components-menu-pagination-standard-text-selected: #181c56;
708
+ --components-menu-pagination-standard-text-subdued: #626493;
709
+ --components-menu-pagination-standard-text-unselected: #181c56;
710
+ --components-menu-sidenavigation-contrast-avatar: #393d79;
711
+ --components-menu-sidenavigation-contrast-background: #181c56;
712
+ --components-menu-sidenavigation-contrast-divide: #8284ab;
713
+ --components-menu-sidenavigation-contrast-fill-active: rgba(255, 255, 255, 0);
714
+ --components-menu-sidenavigation-contrast-fill-default: rgba(255, 255, 255, 0);
715
+ --components-menu-sidenavigation-contrast-fill-hover: #393d79;
716
+ --components-menu-sidenavigation-contrast-icon: #ffffff;
717
+ --components-menu-sidenavigation-contrast-icon-disabled: #b6b8ba;
718
+ --components-menu-sidenavigation-contrast-icon-label: #aeb7e2;
719
+ --components-menu-sidenavigation-contrast-label: #aeb7e2;
720
+ --components-menu-sidenavigation-contrast-stroke-selected: #ff5959;
721
+ --components-menu-sidenavigation-contrast-text: #ffffff;
722
+ --components-menu-sidenavigation-contrast-text-disabled: #b6b8ba;
723
+ --components-menu-sidenavigation-standard-avatar: #ffffff;
724
+ --components-menu-sidenavigation-standard-background: #f2f5f7;
725
+ --components-menu-sidenavigation-standard-divide: #e3e6e8;
726
+ --components-menu-sidenavigation-standard-fill-active: rgba(255, 255, 255, 0);
727
+ --components-menu-sidenavigation-standard-fill-default: rgba(255, 255, 255, 0);
728
+ --components-menu-sidenavigation-standard-fill-hover: #d9dae8;
729
+ --components-menu-sidenavigation-standard-icon: #181c56;
730
+ --components-menu-sidenavigation-standard-icon-disabled: #6e6f73;
731
+ --components-menu-sidenavigation-standard-icon-label: #626493;
732
+ --components-menu-sidenavigation-standard-label: #626493;
733
+ --components-menu-sidenavigation-standard-stroke-selected: #181c56;
734
+ --components-menu-sidenavigation-standard-text: #181c56;
735
+ --components-menu-sidenavigation-standard-text-disabled: #6e6f73;
736
+ --components-menu-stepper-contrast-background: #626493;
737
+ --components-menu-stepper-contrast-progressbar: #aeb7e2;
738
+ --components-menu-stepper-contrast-text-completed: #ffffff;
739
+ --components-menu-stepper-contrast-text-uncompleted: #aeb7e2;
740
+ --components-menu-stepper-standard-background: #e3e6e8;
741
+ --components-menu-stepper-standard-progressbar: #181c56;
742
+ --components-menu-stepper-standard-text-completed: #181c56;
743
+ --components-menu-stepper-standard-text-uncompleted: #6e6f73;
744
+ --components-menu-tableofcontent-contrast-icon-selected: #ffffff;
745
+ --components-menu-tableofcontent-contrast-icon-unselected: #d9dae8;
746
+ --components-menu-tableofcontent-contrast-stroke-selected: #ff5959;
747
+ --components-menu-tableofcontent-contrast-stroke-unselected: #54568c;
748
+ --components-menu-tableofcontent-contrast-text-selected: #ffffff;
749
+ --components-menu-tableofcontent-contrast-text-unselected: #d9dae8;
750
+ --components-menu-tableofcontent-standard-icon-selected: #181c56;
751
+ --components-menu-tableofcontent-standard-icon-unselected: #626493;
752
+ --components-menu-tableofcontent-standard-stroke-selected: #ff5959;
753
+ --components-menu-tableofcontent-standard-stroke-unselected: #e3e6e8;
754
+ --components-menu-tableofcontent-standard-text-selected: #181c56;
755
+ --components-menu-tableofcontent-standard-text-unselected: #626493;
756
+ }
757
+
758
+ [data-color-mode=dark] {
759
+ --components-menu-breadcrumb-contrast-icon: #e5e5e9;
760
+ --components-menu-breadcrumb-contrast-text: #e5e5e9;
761
+ --components-menu-breadcrumb-standard-icon: #e5e5e9;
762
+ --components-menu-breadcrumb-standard-text: #e5e5e9;
763
+ --components-menu-navigationbar-contrast-background: #393a49;
764
+ --components-menu-navigationbar-contrast-divide: rgba(255, 255, 255, 0);
765
+ --components-menu-navigationbar-contrast-icon-selected: #e5e5e9;
766
+ --components-menu-navigationbar-contrast-icon-unselected: #b6b8ba;
767
+ --components-menu-navigationbar-contrast-stroke-selected: #ff9494;
768
+ --components-menu-navigationbar-contrast-text-selected: #e5e5e9;
769
+ --components-menu-navigationbar-contrast-text-unselected: #b6b8ba;
770
+ --components-menu-navigationbar-standard-background: #393a49;
771
+ --components-menu-navigationbar-standard-divide: rgba(255, 255, 255, 0);
772
+ --components-menu-navigationbar-standard-icon-selected: #e5e5e9;
773
+ --components-menu-navigationbar-standard-icon-unselected: #b6b8ba;
774
+ --components-menu-navigationbar-standard-stroke-selected: #ff9494;
775
+ --components-menu-navigationbar-standard-text-selected: #e5e5e9;
776
+ --components-menu-navigationbar-standard-text-unselected: #b6b8ba;
777
+ --components-menu-navigationlink-contrast-icon: #e5e5e9;
778
+ --components-menu-navigationlink-contrast-text: #e5e5e9;
779
+ --components-menu-navigationlink-standard-icon: #e5e5e9;
780
+ --components-menu-navigationlink-standard-text: #e5e5e9;
781
+ --components-menu-overflowmenu-border: rgba(255, 255, 255, 0);
782
+ --components-menu-overflowmenu-fill-active: #8794d4;
783
+ --components-menu-overflowmenu-fill-default: #464755;
784
+ --components-menu-overflowmenu-fill-hover: #626493;
785
+ --components-menu-overflowmenu-icon: #e5e5e9;
786
+ --components-menu-overflowmenu-icon-disabled: #949699;
787
+ --components-menu-overflowmenu-text: #e5e5e9;
788
+ --components-menu-overflowmenu-text-disabled: #949699;
789
+ --components-menu-pagination-contrast-active: #8794d4;
790
+ --components-menu-pagination-contrast-border-selected: #e5e5e9;
791
+ --components-menu-pagination-contrast-border-unselected: rgba(174, 183, 226, 0.6980392157);
792
+ --components-menu-pagination-contrast-default: rgba(255, 255, 255, 0);
793
+ --components-menu-pagination-contrast-hover: #626493;
794
+ --components-menu-pagination-contrast-icon: #e5e5e9;
795
+ --components-menu-pagination-contrast-text-selected: #08091c;
796
+ --components-menu-pagination-contrast-text-subdued: #b3b4bd;
797
+ --components-menu-pagination-contrast-text-unselected: #e5e5e9;
798
+ --components-menu-pagination-standard-active: #8794d4;
799
+ --components-menu-pagination-standard-border-selected: #e5e5e9;
800
+ --components-menu-pagination-standard-border-unselected: rgba(174, 183, 226, 0.6980392157);
801
+ --components-menu-pagination-standard-default: rgba(255, 255, 255, 0);
802
+ --components-menu-pagination-standard-hover: #626493;
803
+ --components-menu-pagination-standard-icon: #e5e5e9;
804
+ --components-menu-pagination-standard-text-selected: #08091c;
805
+ --components-menu-pagination-standard-text-subdued: #b3b4bd;
806
+ --components-menu-pagination-standard-text-unselected: #e5e5e9;
807
+ --components-menu-sidenavigation-contrast-avatar: rgba(229, 229, 233, 0.1490196078);
808
+ --components-menu-sidenavigation-contrast-background: #212233;
809
+ --components-menu-sidenavigation-contrast-divide: #81828f;
810
+ --components-menu-sidenavigation-contrast-fill-active: rgba(255, 255, 255, 0);
811
+ --components-menu-sidenavigation-contrast-fill-default: rgba(255, 255, 255, 0);
812
+ --components-menu-sidenavigation-contrast-fill-hover: rgba(229, 229, 233, 0.1490196078);
813
+ --components-menu-sidenavigation-contrast-icon: #e5e5e9;
814
+ --components-menu-sidenavigation-contrast-icon-disabled: #949699;
815
+ --components-menu-sidenavigation-contrast-icon-label: #b3b4bd;
816
+ --components-menu-sidenavigation-contrast-label: #b3b4bd;
817
+ --components-menu-sidenavigation-contrast-stroke-selected: #ff9494;
818
+ --components-menu-sidenavigation-contrast-text: #e5e5e9;
819
+ --components-menu-sidenavigation-contrast-text-disabled: #949699;
820
+ --components-menu-sidenavigation-standard-avatar: rgba(229, 229, 233, 0.1490196078);
821
+ --components-menu-sidenavigation-standard-background: #212233;
822
+ --components-menu-sidenavigation-standard-divide: #81828f;
823
+ --components-menu-sidenavigation-standard-fill-active: rgba(255, 255, 255, 0);
824
+ --components-menu-sidenavigation-standard-fill-default: rgba(255, 255, 255, 0);
825
+ --components-menu-sidenavigation-standard-fill-hover: rgba(229, 229, 233, 0.1490196078);
826
+ --components-menu-sidenavigation-standard-icon: #e5e5e9;
827
+ --components-menu-sidenavigation-standard-icon-disabled: #949699;
828
+ --components-menu-sidenavigation-standard-icon-label: #b3b4bd;
829
+ --components-menu-sidenavigation-standard-label: #b3b4bd;
830
+ --components-menu-sidenavigation-standard-stroke-selected: #ff9494;
831
+ --components-menu-sidenavigation-standard-text: #e5e5e9;
832
+ --components-menu-sidenavigation-standard-text-disabled: #949699;
833
+ --components-menu-stepper-contrast-background: #626493;
834
+ --components-menu-stepper-contrast-progressbar: #aeb7e2;
835
+ --components-menu-stepper-contrast-text-completed: #e5e5e9;
836
+ --components-menu-stepper-contrast-text-uncompleted: #b6b8ba;
837
+ --components-menu-stepper-standard-background: #626493;
838
+ --components-menu-stepper-standard-progressbar: #aeb7e2;
839
+ --components-menu-stepper-standard-text-completed: #e5e5e9;
840
+ --components-menu-stepper-standard-text-uncompleted: #b6b8ba;
841
+ --components-menu-tableofcontent-contrast-icon-selected: #e5e5e9;
842
+ --components-menu-tableofcontent-contrast-icon-unselected: #b3b4bd;
843
+ --components-menu-tableofcontent-contrast-stroke-selected: #ff9494;
844
+ --components-menu-tableofcontent-contrast-stroke-unselected: rgba(84, 86, 140, 0.4);
845
+ --components-menu-tableofcontent-contrast-text-selected: #e5e5e9;
846
+ --components-menu-tableofcontent-contrast-text-unselected: #b3b4bd;
847
+ --components-menu-tableofcontent-standard-icon-selected: #e5e5e9;
848
+ --components-menu-tableofcontent-standard-icon-unselected: #b3b4bd;
849
+ --components-menu-tableofcontent-standard-stroke-selected: #ff9494;
850
+ --components-menu-tableofcontent-standard-stroke-unselected: rgba(84, 86, 140, 0.4);
851
+ --components-menu-tableofcontent-standard-text-selected: #e5e5e9;
852
+ --components-menu-tableofcontent-standard-text-unselected: #b3b4bd;
677
853
  }
854
+
855
+ /* DO NOT CHANGE!*/
856
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
857
+ /* DO NOT CHANGE!*/
858
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
859
+ [data-color-mode=light],
860
+ :root {
861
+ --basecolors-frame-contrast: #181c56;
862
+ --basecolors-frame-contrastalt: #393d79;
863
+ --basecolors-frame-default: #ffffff;
864
+ --basecolors-frame-elevated: #ffffff;
865
+ --basecolors-frame-elevatedalt: #f6f6f9;
866
+ --basecolors-frame-subdued: #d9dae8;
867
+ --basecolors-frame-tint: #f6f6f9;
868
+ --basecolors-shape-accent: #181c56;
869
+ --basecolors-shape-bicycle-contrast: #00db9b;
870
+ --basecolors-shape-bicycle-default: #388f76;
871
+ --basecolors-shape-bus-contrast: #ff6392;
872
+ --basecolors-shape-bus-default: #c5044e;
873
+ --basecolors-shape-cableway-contrast: #b482fb;
874
+ --basecolors-shape-cableway-default: #78469a;
875
+ --basecolors-shape-disabled: #6e6f73;
876
+ --basecolors-shape-disabledalt: #b6b8ba;
877
+ --basecolors-shape-ferry-contrast: #6fdfff;
878
+ --basecolors-shape-ferry-default: #0c6693;
879
+ --basecolors-shape-funicular-contrast: #b482fb;
880
+ --basecolors-shape-funicular-default: #78469a;
881
+ --basecolors-shape-helicopter-contrast: #fbafea;
882
+ --basecolors-shape-helicopter-default: #800664;
883
+ --basecolors-shape-highlight: #ff5959;
884
+ --basecolors-shape-light: #ffffff;
885
+ --basecolors-shape-mask: #ffffff;
886
+ --basecolors-shape-maskalt: #ffffff;
887
+ --basecolors-shape-metro-contrast: #f08901;
888
+ --basecolors-shape-metro-default: #bf5826;
889
+ --basecolors-shape-mobility-contrast: #00db9b;
890
+ --basecolors-shape-mobility-default: #388f76;
891
+ --basecolors-shape-plane-contrast: #fbafea;
892
+ --basecolors-shape-plane-default: #800664;
893
+ --basecolors-shape-subdued: #626493;
894
+ --basecolors-shape-subduedalt: #d9dae8;
895
+ --basecolors-shape-taxi-contrast: #ffe082;
896
+ --basecolors-shape-taxi-default: #3d3e40;
897
+ --basecolors-shape-train-contrast: #42a5f5;
898
+ --basecolors-shape-train-default: #00367f;
899
+ --basecolors-shape-tram-contrast: #b482fb;
900
+ --basecolors-shape-tram-default: #78469a;
901
+ --basecolors-shape-walk-contrast: #8284ab;
902
+ --basecolors-shape-walk-default: #8d8e9c;
903
+ --basecolors-shape-airportlinkbus-contrast: #fbafea;
904
+ --basecolors-shape-airportlinkbus-default: #800664;
905
+ --basecolors-shape-airportlinkrail-contrast: #fbafea;
906
+ --basecolors-shape-airportlinkrail-default: #800664;
907
+ --basecolors-stroke-contrast: #aeb7e2;
908
+ --basecolors-stroke-default: #181c56;
909
+ --basecolors-stroke-disabled: #949699;
910
+ --basecolors-stroke-focus-contrast: #aeb7e2;
911
+ --basecolors-stroke-focus-standard: #181c56;
912
+ --basecolors-stroke-highlight: #ff5959;
913
+ --basecolors-stroke-light: #ffffff;
914
+ --basecolors-stroke-subdued: #8284ab;
915
+ --basecolors-stroke-subduedalt: #e3e6e8;
916
+ --basecolors-text-accent: #181c56;
917
+ --basecolors-text-disabled: #6e6f73;
918
+ --basecolors-text-disabledalt: #b6b8ba;
919
+ --basecolors-text-highlight: #ff5959;
920
+ --basecolors-text-light: #ffffff;
921
+ --basecolors-text-subdued: #626493;
922
+ --basecolors-text-subduedalt: #d9dae8;
923
+ }
924
+
925
+ [data-color-mode=dark] {
926
+ --basecolors-frame-contrast: #212233;
927
+ --basecolors-frame-contrastalt: #141527;
928
+ --basecolors-frame-default: #08091c;
929
+ --basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
930
+ --basecolors-frame-elevatedalt: #464755;
931
+ --basecolors-frame-subdued: #2d2e3e;
932
+ --basecolors-frame-tint: #141527;
933
+ --basecolors-shape-accent: #e5e5e9;
934
+ --basecolors-shape-bicycle-contrast: #4db295;
935
+ --basecolors-shape-bicycle-default: #4db295;
936
+ --basecolors-shape-bus-contrast: #ef7398;
937
+ --basecolors-shape-bus-default: #ef7398;
938
+ --basecolors-shape-cableway-contrast: #b898e5;
939
+ --basecolors-shape-cableway-default: #b898e5;
940
+ --basecolors-shape-disabled: #b6b8ba;
941
+ --basecolors-shape-disabledalt: #b3b4bd;
942
+ --basecolors-shape-ferry-contrast: #8ccfe2;
943
+ --basecolors-shape-ferry-default: #8ccfe2;
944
+ --basecolors-shape-funicular-contrast: #b898e5;
945
+ --basecolors-shape-funicular-default: #b898e5;
946
+ --basecolors-shape-helicopter-contrast: #f2b8e5;
947
+ --basecolors-shape-helicopter-default: #f2b8e5;
948
+ --basecolors-shape-highlight: #ff9494;
949
+ --basecolors-shape-light: #e5e5e9;
950
+ --basecolors-shape-mask: #2d2e3e;
951
+ --basecolors-shape-maskalt: #393a49;
952
+ --basecolors-shape-metro-contrast: #dd973c;
953
+ --basecolors-shape-metro-default: #dd973c;
954
+ --basecolors-shape-mobility-contrast: #4db295;
955
+ --basecolors-shape-mobility-default: #4db295;
956
+ --basecolors-shape-plane-contrast: #f2b8e5;
957
+ --basecolors-shape-plane-default: #f2b8e5;
958
+ --basecolors-shape-subdued: #b3b4bd;
959
+ --basecolors-shape-subduedalt: #b3b4bd;
960
+ --basecolors-shape-taxi-contrast: #ffe082;
961
+ --basecolors-shape-taxi-default: #ffe082;
962
+ --basecolors-shape-train-contrast: #60a2d7;
963
+ --basecolors-shape-train-default: #60a2d7;
964
+ --basecolors-shape-tram-contrast: #b898e5;
965
+ --basecolors-shape-tram-default: #b898e5;
966
+ --basecolors-shape-walk-contrast: #8d8e9c;
967
+ --basecolors-shape-walk-default: #8d8e9c;
968
+ --basecolors-shape-airportlinkbus-contrast: #f2b8e5;
969
+ --basecolors-shape-airportlinkbus-default: #f2b8e5;
970
+ --basecolors-shape-airportlinkrail-contrast: #f2b8e5;
971
+ --basecolors-shape-airportlinkrail-default: #f2b8e5;
972
+ --basecolors-stroke-contrast: #aeb7e2;
973
+ --basecolors-stroke-default: #b3b4bd;
974
+ --basecolors-stroke-disabled: #e3e6e8;
975
+ --basecolors-stroke-focus-contrast: #aeb7e2;
976
+ --basecolors-stroke-focus-standard: #aeb7e2;
977
+ --basecolors-stroke-highlight: #ff9494;
978
+ --basecolors-stroke-light: #b3b4bd;
979
+ --basecolors-stroke-subdued: #81828f;
980
+ --basecolors-stroke-subduedalt: #949699;
981
+ --basecolors-text-accent: #e5e5e9;
982
+ --basecolors-text-disabled: #b6b8ba;
983
+ --basecolors-text-disabledalt: #b6b8ba;
984
+ --basecolors-text-highlight: #ff9494;
985
+ --basecolors-text-light: #e5e5e9;
986
+ --basecolors-text-subdued: #b3b4bd;
987
+ --basecolors-text-subduedalt: #b3b4bd;
988
+ }
989
+
678
990
  :root {
679
991
  --eds-menu: 1;
680
992
  --reach-menu-button: 1;
681
993
  }
994
+ /* DO NOT CHANGE!*/
995
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
996
+ .eds-top-navigation-item {
997
+ --show-active-line: 0;
998
+ display: inline-block;
999
+ cursor: pointer;
1000
+ color: var(--components-menu-navigationbar-standard-text-unselected);
1001
+ text-decoration: none;
1002
+ position: relative;
1003
+ padding: 1rem;
1004
+ min-width: 5rem;
1005
+ width: -moz-fit-content;
1006
+ width: fit-content;
1007
+ text-align: center;
1008
+ font-family: inherit;
1009
+ font-size: 1rem;
1010
+ font-weight: 600;
1011
+ }
1012
+ .eds-top-navigation-item::after {
1013
+ content: "";
1014
+ display: block;
1015
+ bottom: 1rem;
1016
+ height: 0.1875rem;
1017
+ width: 0;
1018
+ margin: 0 auto;
1019
+ opacity: var(--show-active-line);
1020
+ background: var(--components-menu-navigationbar-standard-stroke-selected);
1021
+ transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
1022
+ }
1023
+ .eds-contrast .eds-top-navigation-item {
1024
+ color: var(--components-menu-navigationbar-contrast-text-unselected);
1025
+ }
1026
+ .eds-top-navigation-item:focus {
1027
+ outline: 2px solid #181c56;
1028
+ outline-color: var(--basecolors-stroke-focus-standard);
1029
+ outline-offset: 0.125rem;
1030
+ }
1031
+ .eds-contrast .eds-top-navigation-item:focus {
1032
+ outline-color: var(--basecolors-stroke-focus-contrast);
1033
+ }
1034
+ .eds-top-navigation-item:hover {
1035
+ --show-active-line: 1;
1036
+ }
1037
+ .eds-top-navigation-item:hover::after {
1038
+ width: 2rem;
1039
+ }
1040
+ .eds-top-navigation-item--active {
1041
+ color: var(--components-menu-navigationbar-standard-text-selected);
1042
+ --show-active-line: 1;
1043
+ }
1044
+ .eds-top-navigation-item--active::after {
1045
+ width: 2rem;
1046
+ }
1047
+ .eds-contrast .eds-top-navigation-item--active {
1048
+ color: var(--components-menu-navigationbar-contrast-text-selected);
1049
+ }