@entur/menu 4.1.35 → 4.1.36
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 +291 -291
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -4,6 +4,55 @@
|
|
|
4
4
|
}
|
|
5
5
|
/* DO NOT CHANGE!*/
|
|
6
6
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
|
+
.eds-top-navigation-item {
|
|
8
|
+
--show-active-line: 0;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
color: inherit;
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
position: relative;
|
|
14
|
+
padding: 1rem;
|
|
15
|
+
min-width: 5rem;
|
|
16
|
+
width: -moz-fit-content;
|
|
17
|
+
width: fit-content;
|
|
18
|
+
text-align: center;
|
|
19
|
+
font-family: inherit;
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
}
|
|
23
|
+
.eds-top-navigation-item::after {
|
|
24
|
+
content: "";
|
|
25
|
+
display: block;
|
|
26
|
+
bottom: 1rem;
|
|
27
|
+
height: 0.1875rem;
|
|
28
|
+
width: 0;
|
|
29
|
+
margin: 0 auto;
|
|
30
|
+
opacity: var(--show-active-line);
|
|
31
|
+
background: #ff5959;
|
|
32
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
33
|
+
}
|
|
34
|
+
.eds-top-navigation-item:focus {
|
|
35
|
+
outline-offset: 0.125rem;
|
|
36
|
+
outline: none;
|
|
37
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
38
|
+
}
|
|
39
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
40
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
41
|
+
}
|
|
42
|
+
.eds-top-navigation-item:hover {
|
|
43
|
+
--show-active-line: 1;
|
|
44
|
+
}
|
|
45
|
+
.eds-top-navigation-item:hover::after {
|
|
46
|
+
width: 2rem;
|
|
47
|
+
}
|
|
48
|
+
.eds-top-navigation-item--active {
|
|
49
|
+
--show-active-line: 1;
|
|
50
|
+
}
|
|
51
|
+
.eds-top-navigation-item--active::after {
|
|
52
|
+
width: 2rem;
|
|
53
|
+
}
|
|
54
|
+
/* DO NOT CHANGE!*/
|
|
55
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
56
|
.eds-breadcrumb {
|
|
8
57
|
list-style: none;
|
|
9
58
|
margin: 0;
|
|
@@ -50,122 +99,163 @@
|
|
|
50
99
|
}
|
|
51
100
|
/* DO NOT CHANGE!*/
|
|
52
101
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
|
-
.eds-
|
|
102
|
+
.eds-pagination {
|
|
103
|
+
align-items: center;
|
|
54
104
|
display: flex;
|
|
55
|
-
flex-
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
row-gap: 0.75rem;
|
|
107
|
+
justify-content: space-between;
|
|
56
108
|
}
|
|
57
|
-
.eds-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
109
|
+
.eds-pagination__results {
|
|
110
|
+
align-items: center;
|
|
111
|
+
display: flex;
|
|
112
|
+
flex: 1;
|
|
113
|
+
justify-content: flex-start;
|
|
114
|
+
}
|
|
115
|
+
.eds-pagination__results-label {
|
|
116
|
+
margin-right: 0.5rem;
|
|
117
|
+
}
|
|
118
|
+
.eds-pagination__controls {
|
|
119
|
+
align-items: center;
|
|
120
|
+
display: flex;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
}
|
|
123
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
124
|
+
margin: 0 auto;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.eds-pagination-menu__menu-button {
|
|
61
128
|
-webkit-appearance: none;
|
|
62
129
|
-moz-appearance: none;
|
|
63
130
|
appearance: none;
|
|
64
|
-
background:
|
|
65
|
-
border:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
131
|
+
background: transparent;
|
|
132
|
+
border: 0.0625rem solid #d1d3d3;
|
|
133
|
+
border-radius: 0.25rem;
|
|
134
|
+
color: inherit;
|
|
135
|
+
font-family: inherit;
|
|
69
136
|
display: flex;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: space-around;
|
|
139
|
+
height: 2rem;
|
|
73
140
|
margin-left: 0.25rem;
|
|
141
|
+
margin-right: 1rem;
|
|
142
|
+
width: 3.5rem;
|
|
74
143
|
}
|
|
75
|
-
.eds-
|
|
76
|
-
|
|
144
|
+
.eds-pagination-menu__menu-button--open {
|
|
145
|
+
border-color: currentColor;
|
|
77
146
|
}
|
|
78
|
-
.eds-
|
|
79
|
-
outline-offset: 0.125rem;
|
|
147
|
+
.eds-pagination-menu__menu-button:focus {
|
|
80
148
|
outline: none;
|
|
81
149
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
82
150
|
}
|
|
83
|
-
.eds-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
.eds-stepper__item__container:first-child {
|
|
87
|
-
margin-left: 0;
|
|
151
|
+
.eds-pagination-menu__menu-list {
|
|
152
|
+
width: 3.5rem;
|
|
88
153
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
154
|
+
|
|
155
|
+
.eds-pagination__page {
|
|
156
|
+
align-items: center;
|
|
157
|
+
-webkit-appearance: none;
|
|
158
|
+
-moz-appearance: none;
|
|
159
|
+
appearance: none;
|
|
160
|
+
background: transparent;
|
|
161
|
+
border: 0.0625rem solid #d1d3d3;
|
|
162
|
+
border-color: #d1d3d3;
|
|
163
|
+
border-radius: 0.25rem;
|
|
164
|
+
color: inherit;
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
display: flex;
|
|
167
|
+
font-family: inherit;
|
|
94
168
|
font-size: 0.875rem;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
169
|
+
height: 2rem;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
margin: 0 0.125rem;
|
|
172
|
+
padding: 0 0.25rem;
|
|
173
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
174
|
+
-webkit-user-select: none;
|
|
175
|
+
-moz-user-select: none;
|
|
176
|
+
user-select: none;
|
|
177
|
+
min-width: 2rem;
|
|
102
178
|
}
|
|
103
|
-
.eds-contrast .eds-
|
|
104
|
-
color: #
|
|
179
|
+
.eds-contrast .eds-pagination__page {
|
|
180
|
+
border-color: #54568c;
|
|
105
181
|
}
|
|
106
|
-
.eds-
|
|
107
|
-
|
|
182
|
+
.eds-pagination__page--selected {
|
|
183
|
+
background: #d1d4e3;
|
|
184
|
+
border-color: #181c56;
|
|
185
|
+
color: inherit;
|
|
186
|
+
opacity: 1;
|
|
187
|
+
pointer-events: none;
|
|
108
188
|
}
|
|
109
|
-
.eds-contrast .eds-
|
|
110
|
-
color: #ffffff;
|
|
189
|
+
.eds-contrast .eds-pagination__page--selected {
|
|
190
|
+
border-color: #ffffff;
|
|
191
|
+
background: #393d79;
|
|
111
192
|
}
|
|
112
|
-
.eds-
|
|
113
|
-
|
|
193
|
+
.eds-pagination__page--disabled {
|
|
194
|
+
opacity: 0.5;
|
|
195
|
+
pointer-events: none;
|
|
114
196
|
}
|
|
115
|
-
.eds-
|
|
116
|
-
color:
|
|
117
|
-
|
|
118
|
-
position: relative;
|
|
197
|
+
.eds-pagination__page:hover {
|
|
198
|
+
background-color: #d1d4e3;
|
|
199
|
+
border-color: #d1d4e3;
|
|
119
200
|
}
|
|
120
|
-
.eds-
|
|
121
|
-
background: #
|
|
122
|
-
|
|
123
|
-
position: absolute;
|
|
124
|
-
right: calc(50% - 0.2rem);
|
|
125
|
-
border-radius: 0.0625rem;
|
|
126
|
-
bottom: 0.0625rem;
|
|
127
|
-
width: calc(
|
|
128
|
-
0.5rem - 0.125rem - 0.01rem
|
|
129
|
-
);
|
|
130
|
-
height: calc(
|
|
131
|
-
0.5rem - 0.125rem - 0.01rem
|
|
132
|
-
);
|
|
133
|
-
transform: rotate(45deg);
|
|
201
|
+
.eds-contrast .eds-pagination__page:hover {
|
|
202
|
+
background-color: #393d79;
|
|
203
|
+
border-color: #393d79;
|
|
134
204
|
}
|
|
135
|
-
.eds-
|
|
136
|
-
|
|
137
|
-
border-
|
|
205
|
+
.eds-pagination__page:focus {
|
|
206
|
+
outline: none;
|
|
207
|
+
border-color: #181c56;
|
|
138
208
|
}
|
|
139
|
-
.eds-
|
|
140
|
-
|
|
141
|
-
position: absolute;
|
|
142
|
-
left: 0;
|
|
143
|
-
bottom: 0;
|
|
144
|
-
width: 50%;
|
|
145
|
-
height: 0.5rem;
|
|
146
|
-
background: #181c56;
|
|
209
|
+
.eds-contrast .eds-pagination__page:focus {
|
|
210
|
+
border-color: #ffffff;
|
|
147
211
|
}
|
|
148
|
-
|
|
149
|
-
|
|
212
|
+
|
|
213
|
+
.eds-pagination__ellipsis {
|
|
214
|
+
align-items: baseline;
|
|
215
|
+
cursor: default;
|
|
216
|
+
display: flex;
|
|
217
|
+
font-size: 1.5rem;
|
|
218
|
+
height: 2rem;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
-webkit-user-select: none;
|
|
221
|
+
-moz-user-select: none;
|
|
222
|
+
user-select: none;
|
|
223
|
+
width: 2rem;
|
|
224
|
+
margin: 0 2px;
|
|
150
225
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
226
|
+
|
|
227
|
+
.eds-pagination__input-wrapper {
|
|
228
|
+
white-space: nowrap;
|
|
154
229
|
}
|
|
155
|
-
.eds-
|
|
230
|
+
.eds-pagination__input-label {
|
|
231
|
+
border-left: 0.0625rem solid #d1d3d3;
|
|
156
232
|
color: #656782;
|
|
157
|
-
|
|
233
|
+
font-size: 0.875rem;
|
|
234
|
+
margin-left: 0.5rem;
|
|
235
|
+
padding: 0 1rem;
|
|
158
236
|
}
|
|
159
|
-
.eds-contrast .eds-
|
|
237
|
+
.eds-contrast .eds-pagination__input-label {
|
|
238
|
+
border-color: #393d79;
|
|
160
239
|
color: #aeb7e2;
|
|
161
|
-
background: #393d79;
|
|
162
240
|
}
|
|
163
|
-
.eds-
|
|
241
|
+
.eds-pagination__input-field {
|
|
242
|
+
-webkit-appearance: none;
|
|
243
|
+
-moz-appearance: none;
|
|
244
|
+
appearance: none;
|
|
245
|
+
background: transparent;
|
|
246
|
+
border: 0.0625rem solid #d1d3d3;
|
|
247
|
+
border-radius: 0.25rem;
|
|
164
248
|
color: inherit;
|
|
165
|
-
|
|
249
|
+
font-family: inherit;
|
|
250
|
+
font-size: 0.875rem;
|
|
251
|
+
height: 2rem;
|
|
252
|
+
text-align: center;
|
|
253
|
+
width: 2rem;
|
|
166
254
|
}
|
|
167
|
-
.eds-
|
|
168
|
-
|
|
255
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
256
|
+
-webkit-appearance: none;
|
|
257
|
+
appearance: none;
|
|
258
|
+
margin: 0;
|
|
169
259
|
}
|
|
170
260
|
/* DO NOT CHANGE!*/
|
|
171
261
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -349,92 +439,43 @@
|
|
|
349
439
|
-moz-appearance: none;
|
|
350
440
|
appearance: none;
|
|
351
441
|
background: none;
|
|
352
|
-
border: none;
|
|
353
|
-
border-radius: 0;
|
|
354
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
355
|
-
color: #656782;
|
|
356
|
-
cursor: pointer;
|
|
357
|
-
display: flex;
|
|
358
|
-
font-size: 0.875rem;
|
|
359
|
-
font-family: inherit;
|
|
360
|
-
font-weight: 500;
|
|
361
|
-
height: 3rem;
|
|
362
|
-
justify-content: space-between;
|
|
363
|
-
letter-spacing: 1px;
|
|
364
|
-
line-height: 1.25rem;
|
|
365
|
-
padding: 0.75rem 0 0.75rem 2.5rem;
|
|
366
|
-
margin: 0;
|
|
367
|
-
text-transform: uppercase;
|
|
368
|
-
transition: padding 0.2s ease-in-out;
|
|
369
|
-
width: 100%;
|
|
370
|
-
}
|
|
371
|
-
.eds-contrast .eds-side-navigation-group__trigger {
|
|
372
|
-
color: #aeb7e2;
|
|
373
|
-
border-color: #292b6a;
|
|
374
|
-
}
|
|
375
|
-
.eds-side-navigation-group__trigger-icon {
|
|
376
|
-
margin-right: 0.75rem;
|
|
377
|
-
}
|
|
378
|
-
.eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
|
|
379
|
-
margin-right: 2.5rem;
|
|
380
|
-
}
|
|
381
|
-
.eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
|
|
382
|
-
padding-left: 2rem;
|
|
383
|
-
}
|
|
384
|
-
.eds-side-navigation-group__trigger:focus {
|
|
385
|
-
outline: 2px solid #181c56;
|
|
386
|
-
}
|
|
387
|
-
.eds-contrast .eds-side-navigation-group__trigger:focus {
|
|
388
|
-
outline: 2px solid #ffffff;
|
|
389
|
-
}
|
|
390
|
-
/* DO NOT CHANGE!*/
|
|
391
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
392
|
-
.eds-top-navigation-item {
|
|
393
|
-
--show-active-line: 0;
|
|
394
|
-
display: inline-block;
|
|
395
|
-
cursor: pointer;
|
|
396
|
-
color: inherit;
|
|
397
|
-
text-decoration: none;
|
|
398
|
-
position: relative;
|
|
399
|
-
padding: 1rem;
|
|
400
|
-
min-width: 5rem;
|
|
401
|
-
width: -moz-fit-content;
|
|
402
|
-
width: fit-content;
|
|
403
|
-
text-align: center;
|
|
404
|
-
font-family: inherit;
|
|
405
|
-
font-size: 1rem;
|
|
406
|
-
font-weight: 600;
|
|
407
|
-
}
|
|
408
|
-
.eds-top-navigation-item::after {
|
|
409
|
-
content: "";
|
|
410
|
-
display: block;
|
|
411
|
-
bottom: 1rem;
|
|
412
|
-
height: 0.1875rem;
|
|
413
|
-
width: 0;
|
|
414
|
-
margin: 0 auto;
|
|
415
|
-
opacity: var(--show-active-line);
|
|
416
|
-
background: #ff5959;
|
|
417
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
442
|
+
border: none;
|
|
443
|
+
border-radius: 0;
|
|
444
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
445
|
+
color: #656782;
|
|
446
|
+
cursor: pointer;
|
|
447
|
+
display: flex;
|
|
448
|
+
font-size: 0.875rem;
|
|
449
|
+
font-family: inherit;
|
|
450
|
+
font-weight: 500;
|
|
451
|
+
height: 3rem;
|
|
452
|
+
justify-content: space-between;
|
|
453
|
+
letter-spacing: 1px;
|
|
454
|
+
line-height: 1.25rem;
|
|
455
|
+
padding: 0.75rem 0 0.75rem 2.5rem;
|
|
456
|
+
margin: 0;
|
|
457
|
+
text-transform: uppercase;
|
|
458
|
+
transition: padding 0.2s ease-in-out;
|
|
459
|
+
width: 100%;
|
|
418
460
|
}
|
|
419
|
-
.eds-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
461
|
+
.eds-contrast .eds-side-navigation-group__trigger {
|
|
462
|
+
color: #aeb7e2;
|
|
463
|
+
border-color: #292b6a;
|
|
423
464
|
}
|
|
424
|
-
.eds-
|
|
425
|
-
|
|
465
|
+
.eds-side-navigation-group__trigger-icon {
|
|
466
|
+
margin-right: 0.75rem;
|
|
426
467
|
}
|
|
427
|
-
.eds-
|
|
428
|
-
|
|
468
|
+
.eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
|
|
469
|
+
margin-right: 2.5rem;
|
|
429
470
|
}
|
|
430
|
-
.eds-
|
|
431
|
-
|
|
471
|
+
.eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
|
|
472
|
+
padding-left: 2rem;
|
|
432
473
|
}
|
|
433
|
-
.eds-
|
|
434
|
-
|
|
474
|
+
.eds-side-navigation-group__trigger:focus {
|
|
475
|
+
outline: 2px solid #181c56;
|
|
435
476
|
}
|
|
436
|
-
.eds-
|
|
437
|
-
|
|
477
|
+
.eds-contrast .eds-side-navigation-group__trigger:focus {
|
|
478
|
+
outline: 2px solid #ffffff;
|
|
438
479
|
}
|
|
439
480
|
/* DO NOT CHANGE!*/
|
|
440
481
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -524,161 +565,120 @@
|
|
|
524
565
|
}
|
|
525
566
|
/* DO NOT CHANGE!*/
|
|
526
567
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
527
|
-
.eds-
|
|
528
|
-
align-items: center;
|
|
529
|
-
display: flex;
|
|
530
|
-
flex-wrap: wrap;
|
|
531
|
-
row-gap: 0.75rem;
|
|
532
|
-
justify-content: space-between;
|
|
533
|
-
}
|
|
534
|
-
.eds-pagination__results {
|
|
535
|
-
align-items: center;
|
|
536
|
-
display: flex;
|
|
537
|
-
flex: 1;
|
|
538
|
-
justify-content: flex-start;
|
|
539
|
-
}
|
|
540
|
-
.eds-pagination__results-label {
|
|
541
|
-
margin-right: 0.5rem;
|
|
542
|
-
}
|
|
543
|
-
.eds-pagination__controls {
|
|
544
|
-
align-items: center;
|
|
568
|
+
.eds-stepper {
|
|
545
569
|
display: flex;
|
|
546
|
-
|
|
547
|
-
}
|
|
548
|
-
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
549
|
-
margin: 0 auto;
|
|
570
|
+
flex-direction: row;
|
|
550
571
|
}
|
|
551
|
-
|
|
552
|
-
|
|
572
|
+
.eds-stepper__item__container {
|
|
573
|
+
cursor: pointer;
|
|
574
|
+
font-family: inherit;
|
|
575
|
+
text-transform: none;
|
|
553
576
|
-webkit-appearance: none;
|
|
554
577
|
-moz-appearance: none;
|
|
555
578
|
appearance: none;
|
|
556
|
-
background:
|
|
557
|
-
border:
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
579
|
+
background: none;
|
|
580
|
+
border: none;
|
|
581
|
+
margin: 0;
|
|
582
|
+
padding: 0;
|
|
583
|
+
align-items: inherit;
|
|
561
584
|
display: flex;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
585
|
+
flex-grow: 1;
|
|
586
|
+
flex-basis: 0;
|
|
587
|
+
flex-direction: column;
|
|
565
588
|
margin-left: 0.25rem;
|
|
566
|
-
margin-right: 1rem;
|
|
567
|
-
width: 3.5rem;
|
|
568
589
|
}
|
|
569
|
-
.eds-
|
|
570
|
-
|
|
590
|
+
.eds-stepper__item__container--non-interactive {
|
|
591
|
+
cursor: default;
|
|
571
592
|
}
|
|
572
|
-
.eds-
|
|
593
|
+
.eds-stepper__item__container:focus {
|
|
594
|
+
outline-offset: 0.125rem;
|
|
573
595
|
outline: none;
|
|
574
596
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
575
597
|
}
|
|
576
|
-
.eds-
|
|
577
|
-
|
|
598
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
599
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
578
600
|
}
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
border-color: #d1d3d3;
|
|
588
|
-
border-radius: 0.25rem;
|
|
589
|
-
color: inherit;
|
|
590
|
-
cursor: pointer;
|
|
591
|
-
display: flex;
|
|
592
|
-
font-family: inherit;
|
|
601
|
+
.eds-stepper__item__container:first-child {
|
|
602
|
+
margin-left: 0;
|
|
603
|
+
}
|
|
604
|
+
.eds-stepper__item__label {
|
|
605
|
+
cursor: inherit;
|
|
606
|
+
flex-grow: 1;
|
|
607
|
+
flex-direction: column;
|
|
608
|
+
text-align: center;
|
|
593
609
|
font-size: 0.875rem;
|
|
594
|
-
|
|
595
|
-
justify-content: center;
|
|
596
|
-
margin: 0 0.125rem;
|
|
597
|
-
padding: 0 0.25rem;
|
|
598
|
-
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
599
|
-
-webkit-user-select: none;
|
|
600
|
-
-moz-user-select: none;
|
|
601
|
-
user-select: none;
|
|
602
|
-
min-width: 2rem;
|
|
610
|
+
padding: 0.25rem 1rem;
|
|
603
611
|
}
|
|
604
|
-
.eds-
|
|
605
|
-
|
|
612
|
+
.eds-stepper__item__label--active {
|
|
613
|
+
font-weight: 600;
|
|
606
614
|
}
|
|
607
|
-
.eds-
|
|
608
|
-
|
|
609
|
-
border-color: #181c56;
|
|
610
|
-
color: inherit;
|
|
611
|
-
opacity: 1;
|
|
612
|
-
pointer-events: none;
|
|
615
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
616
|
+
color: #181c56;
|
|
613
617
|
}
|
|
614
|
-
.eds-contrast .eds-
|
|
615
|
-
|
|
616
|
-
background: #393d79;
|
|
618
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
619
|
+
color: #ffffff;
|
|
617
620
|
}
|
|
618
|
-
.eds-
|
|
619
|
-
|
|
620
|
-
pointer-events: none;
|
|
621
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
622
|
+
color: #181c56;
|
|
621
623
|
}
|
|
622
|
-
.eds-
|
|
623
|
-
|
|
624
|
-
border-color: #d1d4e3;
|
|
624
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
625
|
+
color: #ffffff;
|
|
625
626
|
}
|
|
626
|
-
.eds-
|
|
627
|
-
|
|
628
|
-
border-color: #393d79;
|
|
627
|
+
.eds-stepper__item__square {
|
|
628
|
+
height: 0.5rem;
|
|
629
629
|
}
|
|
630
|
-
.eds-
|
|
631
|
-
|
|
632
|
-
|
|
630
|
+
.eds-stepper__item__square--active {
|
|
631
|
+
color: inherit;
|
|
632
|
+
background: #e9e9e9;
|
|
633
|
+
position: relative;
|
|
633
634
|
}
|
|
634
|
-
.eds-
|
|
635
|
-
|
|
635
|
+
.eds-stepper__item__square--active:before {
|
|
636
|
+
background: #181c56;
|
|
637
|
+
content: "";
|
|
638
|
+
position: absolute;
|
|
639
|
+
right: calc(50% - 0.2rem);
|
|
640
|
+
border-radius: 0.0625rem;
|
|
641
|
+
bottom: 0.0625rem;
|
|
642
|
+
width: calc(
|
|
643
|
+
0.5rem - 0.125rem - 0.01rem
|
|
644
|
+
);
|
|
645
|
+
height: calc(
|
|
646
|
+
0.5rem - 0.125rem - 0.01rem
|
|
647
|
+
);
|
|
648
|
+
transform: rotate(45deg);
|
|
636
649
|
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
cursor: default;
|
|
641
|
-
display: flex;
|
|
642
|
-
font-size: 1.5rem;
|
|
643
|
-
height: 2rem;
|
|
644
|
-
justify-content: center;
|
|
645
|
-
-webkit-user-select: none;
|
|
646
|
-
-moz-user-select: none;
|
|
647
|
-
user-select: none;
|
|
648
|
-
width: 2rem;
|
|
649
|
-
margin: 0 2px;
|
|
650
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
651
|
+
border-left-color: #aeb7e2;
|
|
652
|
+
border-left-color: #aeb7e2;
|
|
650
653
|
}
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
+
.eds-stepper__item__square--active:after {
|
|
655
|
+
content: "";
|
|
656
|
+
position: absolute;
|
|
657
|
+
left: 0;
|
|
658
|
+
bottom: 0;
|
|
659
|
+
width: 50%;
|
|
660
|
+
height: 0.5rem;
|
|
661
|
+
background: #181c56;
|
|
654
662
|
}
|
|
655
|
-
.eds-
|
|
656
|
-
|
|
663
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
664
|
+
background: #aeb7e2;
|
|
665
|
+
}
|
|
666
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
667
|
+
background: #aeb7e2;
|
|
668
|
+
background: #393d79;
|
|
669
|
+
}
|
|
670
|
+
.eds-stepper__item__square--inactive {
|
|
657
671
|
color: #656782;
|
|
658
|
-
|
|
659
|
-
margin-left: 0.5rem;
|
|
660
|
-
padding: 0 1rem;
|
|
672
|
+
background: #e9e9e9;
|
|
661
673
|
}
|
|
662
|
-
.eds-contrast .eds-
|
|
663
|
-
border-color: #393d79;
|
|
674
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
664
675
|
color: #aeb7e2;
|
|
676
|
+
background: #393d79;
|
|
665
677
|
}
|
|
666
|
-
.eds-
|
|
667
|
-
-webkit-appearance: none;
|
|
668
|
-
-moz-appearance: none;
|
|
669
|
-
appearance: none;
|
|
670
|
-
background: transparent;
|
|
671
|
-
border: 0.0625rem solid #d1d3d3;
|
|
672
|
-
border-radius: 0.25rem;
|
|
678
|
+
.eds-stepper__item__square--has-been {
|
|
673
679
|
color: inherit;
|
|
674
|
-
|
|
675
|
-
font-size: 0.875rem;
|
|
676
|
-
height: 2rem;
|
|
677
|
-
text-align: center;
|
|
678
|
-
width: 2rem;
|
|
680
|
+
background: #181c56;
|
|
679
681
|
}
|
|
680
|
-
.eds-
|
|
681
|
-
|
|
682
|
-
appearance: none;
|
|
683
|
-
margin: 0;
|
|
682
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
683
|
+
background: #aeb7e2;
|
|
684
684
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.36",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.0.
|
|
32
|
-
"@entur/expand": "^3.3.
|
|
30
|
+
"@entur/a11y": "^0.2.62",
|
|
31
|
+
"@entur/button": "^3.0.3",
|
|
32
|
+
"@entur/expand": "^3.3.42",
|
|
33
33
|
"@entur/icons": "^6.2.0",
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
34
|
+
"@entur/layout": "^2.1.28",
|
|
35
35
|
"@entur/tokens": "^3.8.1",
|
|
36
|
-
"@entur/typography": "^1.7.
|
|
37
|
-
"@entur/utils": "^0.
|
|
36
|
+
"@entur/typography": "^1.7.14",
|
|
37
|
+
"@entur/utils": "^0.7.0",
|
|
38
38
|
"@reach/menu-button": "^0.16.1",
|
|
39
39
|
"@reach/polymorphic": "0.18.0",
|
|
40
40
|
"classnames": "^2.3.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "402d010ee77f4ff809e3b709b0a29865c04cc1f4"
|
|
43
43
|
}
|