@entur/menu 4.1.32 → 4.1.34
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 +298 -298
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -50,6 +50,275 @@
|
|
|
50
50
|
}
|
|
51
51
|
/* DO NOT CHANGE!*/
|
|
52
52
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
|
+
/* DO NOT CHANGE!*/
|
|
54
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
|
+
.eds-side-navigation,
|
|
56
|
+
.eds-side-navigation-group {
|
|
57
|
+
--primary-background-color: #f8f8f8;
|
|
58
|
+
--primary-text-color: #181c56;
|
|
59
|
+
}
|
|
60
|
+
.eds-contrast .eds-side-navigation,
|
|
61
|
+
.eds-contrast .eds-side-navigation-group {
|
|
62
|
+
--primary-background-color: #181c56;
|
|
63
|
+
--primary-text-color: colors-brand-white;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.eds-side-navigation__click-target svg {
|
|
67
|
+
margin-right: 1rem;
|
|
68
|
+
color: #656782;
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
align-self: center;
|
|
71
|
+
position: relative;
|
|
72
|
+
top: 0.075em;
|
|
73
|
+
}
|
|
74
|
+
.eds-contrast .eds-side-navigation__click-target svg {
|
|
75
|
+
color: #aeb7e2;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.eds-side-navigation__click-target[disabled] svg {
|
|
79
|
+
color: #656782;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.eds-side-navigation {
|
|
83
|
+
--padding-vertical: 1rem;
|
|
84
|
+
--padding-horizontal: 2.5rem;
|
|
85
|
+
background-color: var(--primary-background-color);
|
|
86
|
+
color: var(--primary-text-color);
|
|
87
|
+
padding: 0;
|
|
88
|
+
margin: 0;
|
|
89
|
+
list-style: none;
|
|
90
|
+
position: relative;
|
|
91
|
+
transition: max-width ease-in-out 0.2s;
|
|
92
|
+
}
|
|
93
|
+
.eds-side-navigation__collapse-button {
|
|
94
|
+
position: absolute;
|
|
95
|
+
right: -0.75rem;
|
|
96
|
+
height: 1.5rem;
|
|
97
|
+
width: 1.5rem;
|
|
98
|
+
border-radius: 50%;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
background: #ffffff;
|
|
101
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
102
|
+
border: 0.0625rem solid #d1d3d3;
|
|
103
|
+
color: inherit;
|
|
104
|
+
padding: 0;
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
border: none;
|
|
109
|
+
z-index: 10;
|
|
110
|
+
}
|
|
111
|
+
.eds-contrast .eds-side-navigation__collapse-button {
|
|
112
|
+
background: #393d79;
|
|
113
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
114
|
+
border-color: transparent;
|
|
115
|
+
}
|
|
116
|
+
.eds-side-navigation__collapse-button svg {
|
|
117
|
+
margin: 0;
|
|
118
|
+
top: 0;
|
|
119
|
+
color: #181c56;
|
|
120
|
+
}
|
|
121
|
+
.eds-contrast .eds-side-navigation__collapse-button svg {
|
|
122
|
+
color: #ffffff;
|
|
123
|
+
}
|
|
124
|
+
.eds-side-navigation__collapse-button:focus {
|
|
125
|
+
outline: 2px solid #181c56;
|
|
126
|
+
}
|
|
127
|
+
.eds-contrast .eds-side-navigation__collapse-button:focus {
|
|
128
|
+
outline: 2px solid #ffffff;
|
|
129
|
+
}
|
|
130
|
+
@media screen and (min-width: 50rem) {
|
|
131
|
+
.eds-side-navigation {
|
|
132
|
+
max-width: 26rem;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
.eds-side-navigation--small {
|
|
136
|
+
--padding-vertical: calc(0.5rem + 0.1875rem);
|
|
137
|
+
}
|
|
138
|
+
.eds-side-navigation .eds-side-navigation {
|
|
139
|
+
background-color: #f3f3f3;
|
|
140
|
+
}
|
|
141
|
+
.eds-contrast .eds-side-navigation .eds-side-navigation {
|
|
142
|
+
background-color: #292b6a;
|
|
143
|
+
}
|
|
144
|
+
.eds-side-navigation--collapsed {
|
|
145
|
+
max-width: 80px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target {
|
|
149
|
+
padding-left: 3.5rem;
|
|
150
|
+
box-shadow: none;
|
|
151
|
+
}
|
|
152
|
+
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
|
|
153
|
+
background-color: #d1d4e3;
|
|
154
|
+
}
|
|
155
|
+
.eds-contrast .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
|
|
156
|
+
background-color: #54568c;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.eds-side-navigation__click-target {
|
|
160
|
+
-webkit-appearance: none;
|
|
161
|
+
-moz-appearance: none;
|
|
162
|
+
appearance: none;
|
|
163
|
+
background: none;
|
|
164
|
+
border: 0;
|
|
165
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
166
|
+
border-radius: 0;
|
|
167
|
+
color: var(--primary-text-color);
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
display: block;
|
|
170
|
+
font-family: inherit;
|
|
171
|
+
font-size: inherit;
|
|
172
|
+
font-weight: 500;
|
|
173
|
+
line-height: inherit;
|
|
174
|
+
padding: var(--padding-vertical) 2.5rem;
|
|
175
|
+
padding-left: 2.5rem;
|
|
176
|
+
transition: padding 0.2s ease-in-out;
|
|
177
|
+
text-align: left;
|
|
178
|
+
text-decoration: none;
|
|
179
|
+
width: 100%;
|
|
180
|
+
}
|
|
181
|
+
.eds-contrast .eds-side-navigation__click-target {
|
|
182
|
+
border-color: #292b6a;
|
|
183
|
+
}
|
|
184
|
+
.eds-side-navigation--collapsed .eds-side-navigation__click-target {
|
|
185
|
+
padding-left: 2rem;
|
|
186
|
+
}
|
|
187
|
+
.eds-side-navigation__click-target--active {
|
|
188
|
+
box-shadow: inset 0.25rem 0 0 #181c56;
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
}
|
|
191
|
+
.eds-contrast .eds-side-navigation__click-target--active {
|
|
192
|
+
box-shadow: inset 0.25rem 0 0 #ff5959;
|
|
193
|
+
}
|
|
194
|
+
.eds-side-navigation__click-target[disabled] {
|
|
195
|
+
cursor: not-allowed;
|
|
196
|
+
color: #656782;
|
|
197
|
+
}
|
|
198
|
+
.eds-side-navigation__click-target:not([disabled]):hover {
|
|
199
|
+
background-color: #d1d4e3;
|
|
200
|
+
}
|
|
201
|
+
.eds-contrast .eds-side-navigation__click-target:not([disabled]):hover {
|
|
202
|
+
background-color: #393d79;
|
|
203
|
+
}
|
|
204
|
+
.eds-side-navigation__click-target:not([disabled]):active, .eds-side-navigation__click-target:not([disabled]):focus {
|
|
205
|
+
outline: 2px solid #181c56;
|
|
206
|
+
outline-offset: -2px;
|
|
207
|
+
background: #ebebf1;
|
|
208
|
+
}
|
|
209
|
+
.eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
|
|
210
|
+
background-color: #54568c;
|
|
211
|
+
outline: 2px solid #ffffff;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.eds-side-navigation-group {
|
|
215
|
+
background-color: var(--primary-background-color);
|
|
216
|
+
color: var(--primary-text-color);
|
|
217
|
+
}
|
|
218
|
+
.eds-side-navigation-group + .eds-side-navigation-group {
|
|
219
|
+
padding-top: 0.5rem;
|
|
220
|
+
}
|
|
221
|
+
@media screen and (min-width: 50rem) {
|
|
222
|
+
.eds-side-navigation-group {
|
|
223
|
+
max-width: 26rem;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.eds-side-navigation-group__trigger {
|
|
228
|
+
align-items: center;
|
|
229
|
+
-webkit-appearance: none;
|
|
230
|
+
-moz-appearance: none;
|
|
231
|
+
appearance: none;
|
|
232
|
+
background: none;
|
|
233
|
+
border: none;
|
|
234
|
+
border-radius: 0;
|
|
235
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
236
|
+
color: #656782;
|
|
237
|
+
cursor: pointer;
|
|
238
|
+
display: flex;
|
|
239
|
+
font-size: 0.875rem;
|
|
240
|
+
font-family: inherit;
|
|
241
|
+
font-weight: 500;
|
|
242
|
+
height: 3rem;
|
|
243
|
+
justify-content: space-between;
|
|
244
|
+
letter-spacing: 1px;
|
|
245
|
+
line-height: 1.25rem;
|
|
246
|
+
padding: 0.75rem 0 0.75rem 2.5rem;
|
|
247
|
+
margin: 0;
|
|
248
|
+
text-transform: uppercase;
|
|
249
|
+
transition: padding 0.2s ease-in-out;
|
|
250
|
+
width: 100%;
|
|
251
|
+
}
|
|
252
|
+
.eds-contrast .eds-side-navigation-group__trigger {
|
|
253
|
+
color: #aeb7e2;
|
|
254
|
+
border-color: #292b6a;
|
|
255
|
+
}
|
|
256
|
+
.eds-side-navigation-group__trigger-icon {
|
|
257
|
+
margin-right: 0.75rem;
|
|
258
|
+
}
|
|
259
|
+
.eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
|
|
260
|
+
margin-right: 2.5rem;
|
|
261
|
+
}
|
|
262
|
+
.eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
|
|
263
|
+
padding-left: 2rem;
|
|
264
|
+
}
|
|
265
|
+
.eds-side-navigation-group__trigger:focus {
|
|
266
|
+
outline: 2px solid #181c56;
|
|
267
|
+
}
|
|
268
|
+
.eds-contrast .eds-side-navigation-group__trigger:focus {
|
|
269
|
+
outline: 2px solid #ffffff;
|
|
270
|
+
}
|
|
271
|
+
/* DO NOT CHANGE!*/
|
|
272
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
273
|
+
.eds-top-navigation-item {
|
|
274
|
+
--show-active-line: 0;
|
|
275
|
+
display: inline-block;
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
color: inherit;
|
|
278
|
+
text-decoration: none;
|
|
279
|
+
position: relative;
|
|
280
|
+
padding: 1rem;
|
|
281
|
+
min-width: 5rem;
|
|
282
|
+
width: -moz-fit-content;
|
|
283
|
+
width: fit-content;
|
|
284
|
+
text-align: center;
|
|
285
|
+
font-family: inherit;
|
|
286
|
+
font-size: 1rem;
|
|
287
|
+
font-weight: 600;
|
|
288
|
+
}
|
|
289
|
+
.eds-top-navigation-item::after {
|
|
290
|
+
content: "";
|
|
291
|
+
display: block;
|
|
292
|
+
bottom: 1rem;
|
|
293
|
+
height: 0.1875rem;
|
|
294
|
+
width: 0;
|
|
295
|
+
margin: 0 auto;
|
|
296
|
+
opacity: var(--show-active-line);
|
|
297
|
+
background: #ff5959;
|
|
298
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
299
|
+
}
|
|
300
|
+
.eds-top-navigation-item:focus {
|
|
301
|
+
outline-offset: 0.125rem;
|
|
302
|
+
outline: none;
|
|
303
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
304
|
+
}
|
|
305
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
306
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
307
|
+
}
|
|
308
|
+
.eds-top-navigation-item:hover {
|
|
309
|
+
--show-active-line: 1;
|
|
310
|
+
}
|
|
311
|
+
.eds-top-navigation-item:hover::after {
|
|
312
|
+
width: 2rem;
|
|
313
|
+
}
|
|
314
|
+
.eds-top-navigation-item--active {
|
|
315
|
+
--show-active-line: 1;
|
|
316
|
+
}
|
|
317
|
+
.eds-top-navigation-item--active::after {
|
|
318
|
+
width: 2rem;
|
|
319
|
+
}
|
|
320
|
+
/* DO NOT CHANGE!*/
|
|
321
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
322
|
.eds-pagination {
|
|
54
323
|
align-items: center;
|
|
55
324
|
display: flex;
|
|
@@ -174,89 +443,40 @@
|
|
|
174
443
|
width: 2rem;
|
|
175
444
|
margin: 0 2px;
|
|
176
445
|
}
|
|
177
|
-
|
|
178
|
-
.eds-pagination__input-wrapper {
|
|
179
|
-
white-space: nowrap;
|
|
180
|
-
}
|
|
181
|
-
.eds-pagination__input-label {
|
|
182
|
-
border-left: 0.0625rem solid #d1d3d3;
|
|
183
|
-
color: #656782;
|
|
184
|
-
font-size: 0.875rem;
|
|
185
|
-
margin-left: 0.5rem;
|
|
186
|
-
padding: 0 1rem;
|
|
187
|
-
}
|
|
188
|
-
.eds-contrast .eds-pagination__input-label {
|
|
189
|
-
border-color: #393d79;
|
|
190
|
-
color: #aeb7e2;
|
|
191
|
-
}
|
|
192
|
-
.eds-pagination__input-field {
|
|
193
|
-
-webkit-appearance: none;
|
|
194
|
-
-moz-appearance: none;
|
|
195
|
-
appearance: none;
|
|
196
|
-
background: transparent;
|
|
197
|
-
border: 0.0625rem solid #d1d3d3;
|
|
198
|
-
border-radius: 0.25rem;
|
|
199
|
-
color: inherit;
|
|
200
|
-
font-family: inherit;
|
|
201
|
-
font-size: 0.875rem;
|
|
202
|
-
height: 2rem;
|
|
203
|
-
text-align: center;
|
|
204
|
-
width: 2rem;
|
|
205
|
-
}
|
|
206
|
-
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
207
|
-
-webkit-appearance: none;
|
|
208
|
-
appearance: none;
|
|
209
|
-
margin: 0;
|
|
210
|
-
}
|
|
211
|
-
/* DO NOT CHANGE!*/
|
|
212
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
213
|
-
.eds-top-navigation-item {
|
|
214
|
-
--show-active-line: 0;
|
|
215
|
-
display: inline-block;
|
|
216
|
-
cursor: pointer;
|
|
217
|
-
color: inherit;
|
|
218
|
-
text-decoration: none;
|
|
219
|
-
position: relative;
|
|
220
|
-
padding: 1rem;
|
|
221
|
-
min-width: 5rem;
|
|
222
|
-
width: -moz-fit-content;
|
|
223
|
-
width: fit-content;
|
|
224
|
-
text-align: center;
|
|
225
|
-
font-family: inherit;
|
|
226
|
-
font-size: 1rem;
|
|
227
|
-
font-weight: 600;
|
|
228
|
-
}
|
|
229
|
-
.eds-top-navigation-item::after {
|
|
230
|
-
content: "";
|
|
231
|
-
display: block;
|
|
232
|
-
bottom: 1rem;
|
|
233
|
-
height: 0.1875rem;
|
|
234
|
-
width: 0;
|
|
235
|
-
margin: 0 auto;
|
|
236
|
-
opacity: var(--show-active-line);
|
|
237
|
-
background: #ff5959;
|
|
238
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
239
|
-
}
|
|
240
|
-
.eds-top-navigation-item:focus {
|
|
241
|
-
outline-offset: 0.125rem;
|
|
242
|
-
outline: none;
|
|
243
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
244
|
-
}
|
|
245
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
246
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
247
|
-
}
|
|
248
|
-
.eds-top-navigation-item:hover {
|
|
249
|
-
--show-active-line: 1;
|
|
446
|
+
|
|
447
|
+
.eds-pagination__input-wrapper {
|
|
448
|
+
white-space: nowrap;
|
|
250
449
|
}
|
|
251
|
-
.eds-
|
|
252
|
-
|
|
450
|
+
.eds-pagination__input-label {
|
|
451
|
+
border-left: 0.0625rem solid #d1d3d3;
|
|
452
|
+
color: #656782;
|
|
453
|
+
font-size: 0.875rem;
|
|
454
|
+
margin-left: 0.5rem;
|
|
455
|
+
padding: 0 1rem;
|
|
253
456
|
}
|
|
254
|
-
.eds-
|
|
255
|
-
|
|
457
|
+
.eds-contrast .eds-pagination__input-label {
|
|
458
|
+
border-color: #393d79;
|
|
459
|
+
color: #aeb7e2;
|
|
256
460
|
}
|
|
257
|
-
.eds-
|
|
461
|
+
.eds-pagination__input-field {
|
|
462
|
+
-webkit-appearance: none;
|
|
463
|
+
-moz-appearance: none;
|
|
464
|
+
appearance: none;
|
|
465
|
+
background: transparent;
|
|
466
|
+
border: 0.0625rem solid #d1d3d3;
|
|
467
|
+
border-radius: 0.25rem;
|
|
468
|
+
color: inherit;
|
|
469
|
+
font-family: inherit;
|
|
470
|
+
font-size: 0.875rem;
|
|
471
|
+
height: 2rem;
|
|
472
|
+
text-align: center;
|
|
258
473
|
width: 2rem;
|
|
259
474
|
}
|
|
475
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
476
|
+
-webkit-appearance: none;
|
|
477
|
+
appearance: none;
|
|
478
|
+
margin: 0;
|
|
479
|
+
}
|
|
260
480
|
/* DO NOT CHANGE!*/
|
|
261
481
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
262
482
|
.eds-overflow-menu__item {
|
|
@@ -345,226 +565,6 @@
|
|
|
345
565
|
}
|
|
346
566
|
/* DO NOT CHANGE!*/
|
|
347
567
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
348
|
-
/* DO NOT CHANGE!*/
|
|
349
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
350
|
-
.eds-side-navigation,
|
|
351
|
-
.eds-side-navigation-group {
|
|
352
|
-
--primary-background-color: #f8f8f8;
|
|
353
|
-
--primary-text-color: #181c56;
|
|
354
|
-
}
|
|
355
|
-
.eds-contrast .eds-side-navigation,
|
|
356
|
-
.eds-contrast .eds-side-navigation-group {
|
|
357
|
-
--primary-background-color: #181c56;
|
|
358
|
-
--primary-text-color: colors-brand-white;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.eds-side-navigation__click-target svg {
|
|
362
|
-
margin-right: 1rem;
|
|
363
|
-
color: #656782;
|
|
364
|
-
display: inline-flex;
|
|
365
|
-
align-self: center;
|
|
366
|
-
position: relative;
|
|
367
|
-
top: 0.075em;
|
|
368
|
-
}
|
|
369
|
-
.eds-contrast .eds-side-navigation__click-target svg {
|
|
370
|
-
color: #aeb7e2;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.eds-side-navigation__click-target[disabled] svg {
|
|
374
|
-
color: #656782;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.eds-side-navigation {
|
|
378
|
-
--padding-vertical: 1rem;
|
|
379
|
-
--padding-horizontal: 2.5rem;
|
|
380
|
-
background-color: var(--primary-background-color);
|
|
381
|
-
color: var(--primary-text-color);
|
|
382
|
-
padding: 0;
|
|
383
|
-
margin: 0;
|
|
384
|
-
list-style: none;
|
|
385
|
-
position: relative;
|
|
386
|
-
transition: max-width ease-in-out 0.2s;
|
|
387
|
-
}
|
|
388
|
-
.eds-side-navigation__collapse-button {
|
|
389
|
-
position: absolute;
|
|
390
|
-
right: -0.75rem;
|
|
391
|
-
height: 1.5rem;
|
|
392
|
-
width: 1.5rem;
|
|
393
|
-
border-radius: 50%;
|
|
394
|
-
cursor: pointer;
|
|
395
|
-
background: #ffffff;
|
|
396
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
397
|
-
border: 0.0625rem solid #d1d3d3;
|
|
398
|
-
color: inherit;
|
|
399
|
-
padding: 0;
|
|
400
|
-
display: flex;
|
|
401
|
-
align-items: center;
|
|
402
|
-
justify-content: center;
|
|
403
|
-
border: none;
|
|
404
|
-
z-index: 10;
|
|
405
|
-
}
|
|
406
|
-
.eds-contrast .eds-side-navigation__collapse-button {
|
|
407
|
-
background: #393d79;
|
|
408
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
409
|
-
border-color: transparent;
|
|
410
|
-
}
|
|
411
|
-
.eds-side-navigation__collapse-button svg {
|
|
412
|
-
margin: 0;
|
|
413
|
-
top: 0;
|
|
414
|
-
color: #181c56;
|
|
415
|
-
}
|
|
416
|
-
.eds-contrast .eds-side-navigation__collapse-button svg {
|
|
417
|
-
color: #ffffff;
|
|
418
|
-
}
|
|
419
|
-
.eds-side-navigation__collapse-button:focus {
|
|
420
|
-
outline: 2px solid #181c56;
|
|
421
|
-
}
|
|
422
|
-
.eds-contrast .eds-side-navigation__collapse-button:focus {
|
|
423
|
-
outline: 2px solid #ffffff;
|
|
424
|
-
}
|
|
425
|
-
@media screen and (min-width: 50rem) {
|
|
426
|
-
.eds-side-navigation {
|
|
427
|
-
max-width: 26rem;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
.eds-side-navigation--small {
|
|
431
|
-
--padding-vertical: calc(0.5rem + 0.1875rem);
|
|
432
|
-
}
|
|
433
|
-
.eds-side-navigation .eds-side-navigation {
|
|
434
|
-
background-color: #f3f3f3;
|
|
435
|
-
}
|
|
436
|
-
.eds-contrast .eds-side-navigation .eds-side-navigation {
|
|
437
|
-
background-color: #292b6a;
|
|
438
|
-
}
|
|
439
|
-
.eds-side-navigation--collapsed {
|
|
440
|
-
max-width: 80px;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target {
|
|
444
|
-
padding-left: 3.5rem;
|
|
445
|
-
box-shadow: none;
|
|
446
|
-
}
|
|
447
|
-
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
|
|
448
|
-
background-color: #d1d4e3;
|
|
449
|
-
}
|
|
450
|
-
.eds-contrast .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
|
|
451
|
-
background-color: #54568c;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.eds-side-navigation__click-target {
|
|
455
|
-
-webkit-appearance: none;
|
|
456
|
-
-moz-appearance: none;
|
|
457
|
-
appearance: none;
|
|
458
|
-
background: none;
|
|
459
|
-
border: 0;
|
|
460
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
461
|
-
border-radius: 0;
|
|
462
|
-
color: var(--primary-text-color);
|
|
463
|
-
cursor: pointer;
|
|
464
|
-
display: block;
|
|
465
|
-
font-family: inherit;
|
|
466
|
-
font-size: inherit;
|
|
467
|
-
font-weight: 500;
|
|
468
|
-
line-height: inherit;
|
|
469
|
-
padding: var(--padding-vertical) 2.5rem;
|
|
470
|
-
padding-left: 2.5rem;
|
|
471
|
-
transition: padding 0.2s ease-in-out;
|
|
472
|
-
text-align: left;
|
|
473
|
-
text-decoration: none;
|
|
474
|
-
width: 100%;
|
|
475
|
-
}
|
|
476
|
-
.eds-contrast .eds-side-navigation__click-target {
|
|
477
|
-
border-color: #292b6a;
|
|
478
|
-
}
|
|
479
|
-
.eds-side-navigation--collapsed .eds-side-navigation__click-target {
|
|
480
|
-
padding-left: 2rem;
|
|
481
|
-
}
|
|
482
|
-
.eds-side-navigation__click-target--active {
|
|
483
|
-
box-shadow: inset 0.25rem 0 0 #181c56;
|
|
484
|
-
font-weight: 600;
|
|
485
|
-
}
|
|
486
|
-
.eds-contrast .eds-side-navigation__click-target--active {
|
|
487
|
-
box-shadow: inset 0.25rem 0 0 #ff5959;
|
|
488
|
-
}
|
|
489
|
-
.eds-side-navigation__click-target[disabled] {
|
|
490
|
-
cursor: not-allowed;
|
|
491
|
-
color: #656782;
|
|
492
|
-
}
|
|
493
|
-
.eds-side-navigation__click-target:not([disabled]):hover {
|
|
494
|
-
background-color: #d1d4e3;
|
|
495
|
-
}
|
|
496
|
-
.eds-contrast .eds-side-navigation__click-target:not([disabled]):hover {
|
|
497
|
-
background-color: #393d79;
|
|
498
|
-
}
|
|
499
|
-
.eds-side-navigation__click-target:not([disabled]):active, .eds-side-navigation__click-target:not([disabled]):focus {
|
|
500
|
-
outline: 2px solid #181c56;
|
|
501
|
-
outline-offset: -2px;
|
|
502
|
-
background: #ebebf1;
|
|
503
|
-
}
|
|
504
|
-
.eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
|
|
505
|
-
background-color: #54568c;
|
|
506
|
-
outline: 2px solid #ffffff;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
.eds-side-navigation-group {
|
|
510
|
-
background-color: var(--primary-background-color);
|
|
511
|
-
color: var(--primary-text-color);
|
|
512
|
-
}
|
|
513
|
-
.eds-side-navigation-group + .eds-side-navigation-group {
|
|
514
|
-
padding-top: 0.5rem;
|
|
515
|
-
}
|
|
516
|
-
@media screen and (min-width: 50rem) {
|
|
517
|
-
.eds-side-navigation-group {
|
|
518
|
-
max-width: 26rem;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
.eds-side-navigation-group__trigger {
|
|
523
|
-
align-items: center;
|
|
524
|
-
-webkit-appearance: none;
|
|
525
|
-
-moz-appearance: none;
|
|
526
|
-
appearance: none;
|
|
527
|
-
background: none;
|
|
528
|
-
border: none;
|
|
529
|
-
border-radius: 0;
|
|
530
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
531
|
-
color: #656782;
|
|
532
|
-
cursor: pointer;
|
|
533
|
-
display: flex;
|
|
534
|
-
font-size: 0.875rem;
|
|
535
|
-
font-family: inherit;
|
|
536
|
-
font-weight: 500;
|
|
537
|
-
height: 3rem;
|
|
538
|
-
justify-content: space-between;
|
|
539
|
-
letter-spacing: 1px;
|
|
540
|
-
line-height: 1.25rem;
|
|
541
|
-
padding: 0.75rem 0 0.75rem 2.5rem;
|
|
542
|
-
margin: 0;
|
|
543
|
-
text-transform: uppercase;
|
|
544
|
-
transition: padding 0.2s ease-in-out;
|
|
545
|
-
width: 100%;
|
|
546
|
-
}
|
|
547
|
-
.eds-contrast .eds-side-navigation-group__trigger {
|
|
548
|
-
color: #aeb7e2;
|
|
549
|
-
border-color: #292b6a;
|
|
550
|
-
}
|
|
551
|
-
.eds-side-navigation-group__trigger-icon {
|
|
552
|
-
margin-right: 0.75rem;
|
|
553
|
-
}
|
|
554
|
-
.eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
|
|
555
|
-
margin-right: 2.5rem;
|
|
556
|
-
}
|
|
557
|
-
.eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
|
|
558
|
-
padding-left: 2rem;
|
|
559
|
-
}
|
|
560
|
-
.eds-side-navigation-group__trigger:focus {
|
|
561
|
-
outline: 2px solid #181c56;
|
|
562
|
-
}
|
|
563
|
-
.eds-contrast .eds-side-navigation-group__trigger:focus {
|
|
564
|
-
outline: 2px solid #ffffff;
|
|
565
|
-
}
|
|
566
|
-
/* DO NOT CHANGE!*/
|
|
567
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
568
568
|
.eds-stepper {
|
|
569
569
|
display: flex;
|
|
570
570
|
flex-direction: row;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.34",
|
|
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.
|
|
33
|
-
"@entur/icons": "^6.0
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
30
|
+
"@entur/a11y": "^0.2.61",
|
|
31
|
+
"@entur/button": "^3.0.2",
|
|
32
|
+
"@entur/expand": "^3.3.40",
|
|
33
|
+
"@entur/icons": "^6.1.0",
|
|
34
|
+
"@entur/layout": "^2.1.26",
|
|
35
35
|
"@entur/tokens": "^3.8.1",
|
|
36
|
-
"@entur/typography": "^1.7.
|
|
37
|
-
"@entur/utils": "^0.
|
|
36
|
+
"@entur/typography": "^1.7.13",
|
|
37
|
+
"@entur/utils": "^0.6.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": "a3edbb9069b9bd125919df8984b23628a1040cf4"
|
|
43
43
|
}
|