@entur/menu 7.2.0 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/beta/styles/index.css +99 -17
- package/dist/styles.css +353 -97
- package/package.json +10 -10
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
--eds-side-navigation-beta-stroke-submenu-indicator:var(--components-menu-sidenavigationbeta-standard-stroke-submenu-indicator-default);
|
|
80
80
|
--eds-side-navigation-beta-alert:var(--components-menu-sidenavigationbeta-standard-alert);
|
|
81
81
|
--eds-side-navigation-beta-focus:var(--basecolors-stroke-focus-standard);
|
|
82
|
+
max-width:20rem;
|
|
82
83
|
max-width:var(--eds-side-navigation-max-width, 20rem);
|
|
83
84
|
list-style:none;
|
|
84
85
|
margin:0;
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
.eds-side-navigation-beta__submenu{
|
|
116
|
+
padding-inline:1.5rem 1.5rem;
|
|
115
117
|
padding-inline:var(--eds-side-navigation-padding-inline-start, 1.5rem) 1.5rem;
|
|
116
118
|
-webkit-padding-after:0.75rem;
|
|
117
119
|
padding-block-end:0.75rem;
|
|
@@ -120,6 +122,7 @@
|
|
|
120
122
|
.eds-side-navigation-beta__group-title{
|
|
121
123
|
display:block;
|
|
122
124
|
padding-block:1.5rem 0.5rem;
|
|
125
|
+
padding-inline:1.5rem 1.5rem;
|
|
123
126
|
padding-inline:var(--eds-side-navigation-padding-inline-start, 1.5rem) 1.5rem;
|
|
124
127
|
color:var(--eds-side-navigation-beta-text-group);
|
|
125
128
|
font-size:0.75rem;
|
|
@@ -132,17 +135,30 @@
|
|
|
132
135
|
-webkit-appearance:none;
|
|
133
136
|
-moz-appearance:none;
|
|
134
137
|
appearance:none;
|
|
135
|
-
box-sizing:border-box;
|
|
138
|
+
-webkit-box-sizing:border-box;
|
|
139
|
+
-moz-box-sizing:border-box;
|
|
140
|
+
box-sizing:border-box;
|
|
141
|
+
display:-webkit-box;
|
|
142
|
+
display:-webkit-flex;
|
|
143
|
+
display:-moz-box;
|
|
136
144
|
display:flex;
|
|
137
|
-
align
|
|
145
|
+
-webkit-box-align:center;
|
|
146
|
+
-webkit-align-items:center;
|
|
147
|
+
-moz-box-align:center;
|
|
148
|
+
align-items:center;
|
|
138
149
|
gap:1rem;
|
|
139
150
|
width:100%;
|
|
140
151
|
min-height:3rem;
|
|
141
152
|
padding-block:0.75rem;
|
|
153
|
+
padding-inline:1.5rem 1.5rem;
|
|
142
154
|
padding-inline:var(--eds-side-navigation-padding-inline-start, 1.5rem) 1.5rem;
|
|
143
155
|
border:0;
|
|
144
|
-
border-radius:0;
|
|
145
|
-
|
|
156
|
+
-webkit-border-radius:0;
|
|
157
|
+
-moz-border-radius:0;
|
|
158
|
+
border-radius:0;
|
|
159
|
+
-webkit-box-shadow:inset 0.125rem 0 0 transparent;
|
|
160
|
+
-moz-box-shadow:inset 0.125rem 0 0 transparent;
|
|
161
|
+
box-shadow:inset 0.125rem 0 0 transparent;
|
|
146
162
|
background-color:var(--eds-side-navigation-beta-fill-default);
|
|
147
163
|
color:var(--eds-side-navigation-beta-text);
|
|
148
164
|
font-family:inherit;
|
|
@@ -153,7 +169,12 @@
|
|
|
153
169
|
-webkit-text-decoration:none;
|
|
154
170
|
text-decoration:none;
|
|
155
171
|
cursor:pointer;
|
|
172
|
+
-webkit-transition:-webkit-box-shadow 0.2s ease-out;
|
|
173
|
+
transition:-webkit-box-shadow 0.2s ease-out;
|
|
174
|
+
-o-transition:box-shadow 0.2s ease-out;
|
|
175
|
+
-moz-transition:box-shadow 0.2s ease-out, -moz-box-shadow 0.2s ease-out;
|
|
156
176
|
transition:box-shadow 0.2s ease-out;
|
|
177
|
+
transition:box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out, -moz-box-shadow 0.2s ease-out;
|
|
157
178
|
}
|
|
158
179
|
.eds-side-navigation-beta__click-target[disabled]{
|
|
159
180
|
background-color:var(--eds-side-navigation-beta-fill-disabled);
|
|
@@ -173,24 +194,33 @@
|
|
|
173
194
|
}
|
|
174
195
|
@media (prefers-reduced-motion: reduce){
|
|
175
196
|
.eds-side-navigation-beta__click-target{
|
|
197
|
+
-webkit-transition:none;
|
|
198
|
+
-o-transition:none;
|
|
199
|
+
-moz-transition:none;
|
|
176
200
|
transition:none;
|
|
177
201
|
}
|
|
178
202
|
}
|
|
179
203
|
|
|
180
204
|
:where(.eds-side-navigation-beta__submenu) .eds-side-navigation-beta__click-target{
|
|
181
|
-
box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-submenu-indicator);
|
|
205
|
+
-webkit-box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-submenu-indicator);
|
|
206
|
+
-moz-box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-submenu-indicator);
|
|
207
|
+
box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-submenu-indicator);
|
|
182
208
|
padding-inline:1.5rem 1rem;
|
|
183
209
|
}
|
|
184
210
|
|
|
185
211
|
.eds-side-navigation-beta__click-target--active{
|
|
186
|
-
box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-active);
|
|
212
|
+
-webkit-box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-active);
|
|
213
|
+
-moz-box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-active);
|
|
214
|
+
box-shadow:inset 0.125rem 0 0 var(--eds-side-navigation-beta-stroke-active);
|
|
187
215
|
background-color:var(--eds-side-navigation-beta-fill-active);
|
|
188
216
|
font-weight:600;
|
|
189
217
|
line-height:1.25rem;
|
|
190
218
|
}
|
|
191
219
|
|
|
192
220
|
.eds-side-navigation-beta__click-target--active:where(.eds-side-navigation-beta__click-target--open){
|
|
193
|
-
box-shadow:inset 0.125rem 0 0 transparent;
|
|
221
|
+
-webkit-box-shadow:inset 0.125rem 0 0 transparent;
|
|
222
|
+
-moz-box-shadow:inset 0.125rem 0 0 transparent;
|
|
223
|
+
box-shadow:inset 0.125rem 0 0 transparent;
|
|
194
224
|
background-color:var(--eds-side-navigation-beta-fill-default);
|
|
195
225
|
}
|
|
196
226
|
|
|
@@ -200,16 +230,31 @@
|
|
|
200
230
|
}
|
|
201
231
|
|
|
202
232
|
.eds-side-navigation-beta__label{
|
|
233
|
+
display:-webkit-box;
|
|
234
|
+
display:-webkit-flex;
|
|
235
|
+
display:-moz-box;
|
|
203
236
|
display:flex;
|
|
204
|
-
flex:1
|
|
205
|
-
|
|
237
|
+
-webkit-box-flex:1;
|
|
238
|
+
-webkit-flex:1 1 auto;
|
|
239
|
+
-moz-box-flex:1;
|
|
240
|
+
flex:1 1 auto;
|
|
241
|
+
-webkit-box-align:center;
|
|
242
|
+
-webkit-align-items:center;
|
|
243
|
+
-moz-box-align:center;
|
|
244
|
+
align-items:center;
|
|
206
245
|
gap:0.75rem;
|
|
207
246
|
min-width:0;
|
|
208
247
|
}
|
|
209
248
|
|
|
210
249
|
.eds-side-navigation-beta__label-text{
|
|
250
|
+
display:-webkit-box;
|
|
251
|
+
display:-webkit-flex;
|
|
252
|
+
display:-moz-box;
|
|
211
253
|
display:flex;
|
|
212
|
-
align
|
|
254
|
+
-webkit-box-align:center;
|
|
255
|
+
-webkit-align-items:center;
|
|
256
|
+
-moz-box-align:center;
|
|
257
|
+
align-items:center;
|
|
213
258
|
gap:0.5rem;
|
|
214
259
|
min-width:0;
|
|
215
260
|
}
|
|
@@ -221,12 +266,18 @@
|
|
|
221
266
|
-webkit-box-orient:vertical;
|
|
222
267
|
-webkit-line-clamp:2;
|
|
223
268
|
line-clamp:2;
|
|
224
|
-
|
|
269
|
+
word-wrap:break-word;
|
|
225
270
|
}
|
|
226
271
|
|
|
227
272
|
.eds-side-navigation-beta__icon{
|
|
273
|
+
display:-webkit-inline-box;
|
|
274
|
+
display:-webkit-inline-flex;
|
|
275
|
+
display:-moz-inline-box;
|
|
228
276
|
display:inline-flex;
|
|
229
|
-
flex:
|
|
277
|
+
-webkit-box-flex:0;
|
|
278
|
+
-webkit-flex:none;
|
|
279
|
+
-moz-box-flex:0;
|
|
280
|
+
flex:none;
|
|
230
281
|
color:var(--eds-side-navigation-beta-icon);
|
|
231
282
|
}
|
|
232
283
|
.eds-side-navigation-beta__icon :where(svg){
|
|
@@ -235,21 +286,38 @@
|
|
|
235
286
|
}
|
|
236
287
|
|
|
237
288
|
.eds-side-navigation-beta__badge{
|
|
289
|
+
display:-webkit-inline-box;
|
|
290
|
+
display:-webkit-inline-flex;
|
|
291
|
+
display:-moz-inline-box;
|
|
238
292
|
display:inline-flex;
|
|
239
|
-
flex:
|
|
293
|
+
-webkit-box-flex:0;
|
|
294
|
+
-webkit-flex:none;
|
|
295
|
+
-moz-box-flex:0;
|
|
296
|
+
flex:none;
|
|
240
297
|
}
|
|
241
298
|
|
|
242
299
|
.eds-side-navigation-beta__alert{
|
|
243
300
|
display:block;
|
|
244
|
-
flex:
|
|
301
|
+
-webkit-box-flex:0;
|
|
302
|
+
-webkit-flex:none;
|
|
303
|
+
-moz-box-flex:0;
|
|
304
|
+
flex:none;
|
|
245
305
|
width:0.5rem;
|
|
246
306
|
height:0.5rem;
|
|
247
|
-
border-radius:50%;
|
|
307
|
+
-webkit-border-radius:50%;
|
|
308
|
+
-moz-border-radius:50%;
|
|
309
|
+
border-radius:50%;
|
|
248
310
|
background-color:var(--eds-side-navigation-beta-alert);
|
|
311
|
+
-webkit-transition:opacity 0.2s ease-out, visibility 0.2s;
|
|
312
|
+
-o-transition:opacity 0.2s ease-out, visibility 0.2s;
|
|
313
|
+
-moz-transition:opacity 0.2s ease-out, visibility 0.2s;
|
|
249
314
|
transition:opacity 0.2s ease-out, visibility 0.2s;
|
|
250
315
|
}
|
|
251
316
|
@media (prefers-reduced-motion: reduce){
|
|
252
317
|
.eds-side-navigation-beta__alert{
|
|
318
|
+
-webkit-transition:none;
|
|
319
|
+
-o-transition:none;
|
|
320
|
+
-moz-transition:none;
|
|
253
321
|
transition:none;
|
|
254
322
|
}
|
|
255
323
|
}
|
|
@@ -260,18 +328,32 @@
|
|
|
260
328
|
}
|
|
261
329
|
|
|
262
330
|
.eds-side-navigation-beta__chevron{
|
|
263
|
-
flex:
|
|
331
|
+
-webkit-box-flex:0;
|
|
332
|
+
-webkit-flex:none;
|
|
333
|
+
-moz-box-flex:0;
|
|
334
|
+
flex:none;
|
|
264
335
|
width:1rem;
|
|
265
336
|
height:1rem;
|
|
266
337
|
color:var(--eds-side-navigation-beta-icon-subdued);
|
|
338
|
+
-webkit-transition:-webkit-transform 0.2s ease-out;
|
|
339
|
+
transition:-webkit-transform 0.2s ease-out;
|
|
340
|
+
-o-transition:-o-transform 0.2s ease-out;
|
|
341
|
+
-moz-transition:transform 0.2s ease-out, -moz-transform 0.2s ease-out;
|
|
267
342
|
transition:transform 0.2s ease-out;
|
|
343
|
+
transition:transform 0.2s ease-out, -webkit-transform 0.2s ease-out, -moz-transform 0.2s ease-out, -o-transform 0.2s ease-out;
|
|
268
344
|
}
|
|
269
345
|
@media (prefers-reduced-motion: reduce){
|
|
270
346
|
.eds-side-navigation-beta__chevron{
|
|
347
|
+
-webkit-transition:none;
|
|
348
|
+
-o-transition:none;
|
|
349
|
+
-moz-transition:none;
|
|
271
350
|
transition:none;
|
|
272
351
|
}
|
|
273
352
|
}
|
|
274
353
|
|
|
275
354
|
.eds-side-navigation-beta__chevron--open{
|
|
276
|
-
transform:rotate(-180deg);
|
|
355
|
+
-webkit-transform:rotate(-180deg);
|
|
356
|
+
-moz-transform:rotate(-180deg);
|
|
357
|
+
-o-transform:rotate(-180deg);
|
|
358
|
+
transform:rotate(-180deg);
|
|
277
359
|
}
|
package/dist/styles.css
CHANGED
|
@@ -54,32 +54,31 @@
|
|
|
54
54
|
--components-menu-pagination-standard-text-selected:#181c56;
|
|
55
55
|
--components-menu-pagination-standard-text-subdued:#626493;
|
|
56
56
|
--components-menu-pagination-standard-text-unselected:#181c56;
|
|
57
|
-
--components-menu-sidenavigation-contrast-avatar:#393d79;
|
|
58
|
-
--components-menu-sidenavigation-contrast-background:#181c56;
|
|
59
|
-
--components-menu-sidenavigation-contrast-divide:#8284ab;
|
|
60
57
|
--components-menu-sidenavigation-contrast-fill-active:rgba(255, 255, 255, 0);
|
|
58
|
+
--components-menu-sidenavigation-contrast-fill-background:#181c56;
|
|
61
59
|
--components-menu-sidenavigation-contrast-fill-default:rgba(255, 255, 255, 0);
|
|
62
60
|
--components-menu-sidenavigation-contrast-fill-hover:#393d79;
|
|
63
|
-
--components-menu-sidenavigation-contrast-icon:#ffffff;
|
|
61
|
+
--components-menu-sidenavigation-contrast-icon-default:#ffffff;
|
|
64
62
|
--components-menu-sidenavigation-contrast-icon-disabled:#b6b8ba;
|
|
65
63
|
--components-menu-sidenavigation-contrast-icon-label:#aeb7e2;
|
|
66
|
-
--components-menu-sidenavigation-contrast-
|
|
64
|
+
--components-menu-sidenavigation-contrast-stroke-divide:#8284ab;
|
|
67
65
|
--components-menu-sidenavigation-contrast-stroke-selected:#ff5959;
|
|
68
|
-
--components-menu-sidenavigation-contrast-text:#ffffff;
|
|
66
|
+
--components-menu-sidenavigation-contrast-text-default:#ffffff;
|
|
69
67
|
--components-menu-sidenavigation-contrast-text-disabled:#b6b8ba;
|
|
70
|
-
--components-menu-sidenavigation-
|
|
68
|
+
--components-menu-sidenavigation-contrast-text-label:#aeb7e2;
|
|
71
69
|
--components-menu-sidenavigation-standard-background:#f2f5f7;
|
|
72
|
-
--components-menu-sidenavigation-standard-divide:#e3e6e8;
|
|
73
70
|
--components-menu-sidenavigation-standard-fill-active:rgba(255, 255, 255, 0);
|
|
71
|
+
--components-menu-sidenavigation-standard-fill-background:#f2f5f7;
|
|
74
72
|
--components-menu-sidenavigation-standard-fill-default:rgba(255, 255, 255, 0);
|
|
75
73
|
--components-menu-sidenavigation-standard-fill-hover:#d9dae8;
|
|
76
|
-
--components-menu-sidenavigation-standard-icon:#181c56;
|
|
74
|
+
--components-menu-sidenavigation-standard-icon-default:#181c56;
|
|
77
75
|
--components-menu-sidenavigation-standard-icon-disabled:#6e6f73;
|
|
78
76
|
--components-menu-sidenavigation-standard-icon-label:#626493;
|
|
79
|
-
--components-menu-sidenavigation-standard-
|
|
77
|
+
--components-menu-sidenavigation-standard-stroke-divide:#e3e6e8;
|
|
80
78
|
--components-menu-sidenavigation-standard-stroke-selected:#181c56;
|
|
81
|
-
--components-menu-sidenavigation-standard-text:#181c56;
|
|
79
|
+
--components-menu-sidenavigation-standard-text-default:#181c56;
|
|
82
80
|
--components-menu-sidenavigation-standard-text-disabled:#6e6f73;
|
|
81
|
+
--components-menu-sidenavigation-standard-text-label:#626493;
|
|
83
82
|
--components-menu-stepper-contrast-background:#626493;
|
|
84
83
|
--components-menu-stepper-contrast-progressbar:#aeb7e2;
|
|
85
84
|
--components-menu-stepper-contrast-text-completed:#ffffff;
|
|
@@ -100,6 +99,19 @@
|
|
|
100
99
|
--components-menu-tableofcontent-standard-stroke-unselected:#e3e6e8;
|
|
101
100
|
--components-menu-tableofcontent-standard-text-selected:#181c56;
|
|
102
101
|
--components-menu-tableofcontent-standard-text-unselected:#626493;
|
|
102
|
+
--components-menu-topbar-contrast-avatar:#393d79;
|
|
103
|
+
--components-menu-topbar-contrast-background:#181c56;
|
|
104
|
+
--components-menu-topbar-contrast-divide:#8284ab;
|
|
105
|
+
--components-menu-topbar-contrast-fill-active:rgba(255, 255, 255, 0);
|
|
106
|
+
--components-menu-topbar-contrast-fill-default:rgba(255, 255, 255, 0);
|
|
107
|
+
--components-menu-topbar-contrast-fill-hover:#393d79;
|
|
108
|
+
--components-menu-topbar-contrast-icon:#ffffff;
|
|
109
|
+
--components-menu-topbar-contrast-icon-disabled:#b6b8ba;
|
|
110
|
+
--components-menu-topbar-contrast-icon-label:#aeb7e2;
|
|
111
|
+
--components-menu-topbar-contrast-label:#aeb7e2;
|
|
112
|
+
--components-menu-topbar-contrast-stroke-selected:#ff5959;
|
|
113
|
+
--components-menu-topbar-contrast-text:#ffffff;
|
|
114
|
+
--components-menu-topbar-contrast-text-disabled:#b6b8ba;
|
|
103
115
|
}
|
|
104
116
|
|
|
105
117
|
[data-color-mode=dark]{
|
|
@@ -157,32 +169,31 @@
|
|
|
157
169
|
--components-menu-pagination-standard-text-selected:#08091c;
|
|
158
170
|
--components-menu-pagination-standard-text-subdued:#b3b4bd;
|
|
159
171
|
--components-menu-pagination-standard-text-unselected:#e5e5e9;
|
|
160
|
-
--components-menu-sidenavigation-contrast-avatar:rgba(229, 229, 233, 0.1490196078);
|
|
161
|
-
--components-menu-sidenavigation-contrast-background:#212233;
|
|
162
|
-
--components-menu-sidenavigation-contrast-divide:#81828f;
|
|
163
172
|
--components-menu-sidenavigation-contrast-fill-active:rgba(255, 255, 255, 0);
|
|
173
|
+
--components-menu-sidenavigation-contrast-fill-background:#212233;
|
|
164
174
|
--components-menu-sidenavigation-contrast-fill-default:rgba(255, 255, 255, 0);
|
|
165
175
|
--components-menu-sidenavigation-contrast-fill-hover:rgba(229, 229, 233, 0.1490196078);
|
|
166
|
-
--components-menu-sidenavigation-contrast-icon:#e5e5e9;
|
|
176
|
+
--components-menu-sidenavigation-contrast-icon-default:#e5e5e9;
|
|
167
177
|
--components-menu-sidenavigation-contrast-icon-disabled:#949699;
|
|
168
178
|
--components-menu-sidenavigation-contrast-icon-label:#b3b4bd;
|
|
169
|
-
--components-menu-sidenavigation-contrast-
|
|
179
|
+
--components-menu-sidenavigation-contrast-stroke-divide:#81828f;
|
|
170
180
|
--components-menu-sidenavigation-contrast-stroke-selected:#ff5959;
|
|
171
|
-
--components-menu-sidenavigation-contrast-text:#e5e5e9;
|
|
181
|
+
--components-menu-sidenavigation-contrast-text-default:#e5e5e9;
|
|
172
182
|
--components-menu-sidenavigation-contrast-text-disabled:#949699;
|
|
173
|
-
--components-menu-sidenavigation-
|
|
183
|
+
--components-menu-sidenavigation-contrast-text-label:#b3b4bd;
|
|
174
184
|
--components-menu-sidenavigation-standard-background:#212233;
|
|
175
|
-
--components-menu-sidenavigation-standard-divide:#81828f;
|
|
176
185
|
--components-menu-sidenavigation-standard-fill-active:rgba(255, 255, 255, 0);
|
|
186
|
+
--components-menu-sidenavigation-standard-fill-background:#212233;
|
|
177
187
|
--components-menu-sidenavigation-standard-fill-default:rgba(255, 255, 255, 0);
|
|
178
188
|
--components-menu-sidenavigation-standard-fill-hover:rgba(229, 229, 233, 0.1490196078);
|
|
179
|
-
--components-menu-sidenavigation-standard-icon:#e5e5e9;
|
|
189
|
+
--components-menu-sidenavigation-standard-icon-default:#e5e5e9;
|
|
180
190
|
--components-menu-sidenavigation-standard-icon-disabled:#949699;
|
|
181
191
|
--components-menu-sidenavigation-standard-icon-label:#b3b4bd;
|
|
182
|
-
--components-menu-sidenavigation-standard-
|
|
192
|
+
--components-menu-sidenavigation-standard-stroke-divide:#81828f;
|
|
183
193
|
--components-menu-sidenavigation-standard-stroke-selected:#ff5959;
|
|
184
|
-
--components-menu-sidenavigation-standard-text:#e5e5e9;
|
|
194
|
+
--components-menu-sidenavigation-standard-text-default:#e5e5e9;
|
|
185
195
|
--components-menu-sidenavigation-standard-text-disabled:#949699;
|
|
196
|
+
--components-menu-sidenavigation-standard-text-label:#b3b4bd;
|
|
186
197
|
--components-menu-stepper-contrast-background:#626493;
|
|
187
198
|
--components-menu-stepper-contrast-progressbar:#aeb7e2;
|
|
188
199
|
--components-menu-stepper-contrast-text-completed:#e5e5e9;
|
|
@@ -203,6 +214,19 @@
|
|
|
203
214
|
--components-menu-tableofcontent-standard-stroke-unselected:rgba(84, 86, 140, 0.4);
|
|
204
215
|
--components-menu-tableofcontent-standard-text-selected:#e5e5e9;
|
|
205
216
|
--components-menu-tableofcontent-standard-text-unselected:#b3b4bd;
|
|
217
|
+
--components-menu-topbar-contrast-avatar:rgba(229, 229, 233, 0.1490196078);
|
|
218
|
+
--components-menu-topbar-contrast-background:#212233;
|
|
219
|
+
--components-menu-topbar-contrast-divide:#81828f;
|
|
220
|
+
--components-menu-topbar-contrast-fill-active:rgba(255, 255, 255, 0);
|
|
221
|
+
--components-menu-topbar-contrast-fill-default:rgba(255, 255, 255, 0);
|
|
222
|
+
--components-menu-topbar-contrast-fill-hover:rgba(229, 229, 233, 0.1490196078);
|
|
223
|
+
--components-menu-topbar-contrast-icon:#e5e5e9;
|
|
224
|
+
--components-menu-topbar-contrast-icon-disabled:#949699;
|
|
225
|
+
--components-menu-topbar-contrast-icon-label:#b3b4bd;
|
|
226
|
+
--components-menu-topbar-contrast-label:#b3b4bd;
|
|
227
|
+
--components-menu-topbar-contrast-stroke-selected:#ff5959;
|
|
228
|
+
--components-menu-topbar-contrast-text:#e5e5e9;
|
|
229
|
+
--components-menu-topbar-contrast-text-disabled:#949699;
|
|
206
230
|
}
|
|
207
231
|
[data-color-mode=light],
|
|
208
232
|
:root{
|
|
@@ -532,19 +556,30 @@
|
|
|
532
556
|
.eds-breadcrumbs__item__link:not(:where(.eds-breadcrumbs__item__link--current)){
|
|
533
557
|
-webkit-text-decoration:none;
|
|
534
558
|
text-decoration:none;
|
|
559
|
+
background-image:-webkit-linear-gradient(330deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
560
|
+
background-image:-moz-linear-gradient(330deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
561
|
+
background-image:-o-linear-gradient(330deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
535
562
|
background-image:linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
536
563
|
background-repeat:no-repeat;
|
|
537
|
-
background-size:100% 0.125rem;
|
|
564
|
+
-moz-background-size:100% 0.125rem;
|
|
565
|
+
-o-background-size:100% 0.125rem;
|
|
566
|
+
background-size:100% 0.125rem;
|
|
538
567
|
background-position:0 100%;
|
|
539
568
|
}
|
|
540
569
|
:where(.eds-contrast) .eds-breadcrumbs__item__link:not(:where(.eds-breadcrumbs__item__link--current)){
|
|
570
|
+
background-image:-webkit-linear-gradient(330deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
571
|
+
background-image:-moz-linear-gradient(330deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
572
|
+
background-image:-o-linear-gradient(330deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
541
573
|
background-image:linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
542
574
|
}
|
|
543
575
|
.eds-breadcrumbs__item__link:not(:where(.eds-breadcrumbs__item__link--current)):where(:hover){
|
|
544
|
-
animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
576
|
+
-webkit-animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
577
|
+
-moz-animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
578
|
+
-o-animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
579
|
+
animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
545
580
|
cursor:pointer;
|
|
546
581
|
}
|
|
547
|
-
|
|
582
|
+
@-webkit-keyframes eds-breadcrumbs-underline{
|
|
548
583
|
from{
|
|
549
584
|
background-size:0% 0.125rem;
|
|
550
585
|
}
|
|
@@ -552,6 +587,38 @@
|
|
|
552
587
|
background-size:100% 0.125rem;
|
|
553
588
|
}
|
|
554
589
|
}
|
|
590
|
+
@-moz-keyframes eds-breadcrumbs-underline{
|
|
591
|
+
from{
|
|
592
|
+
-moz-background-size:0% 0.125rem;
|
|
593
|
+
background-size:0% 0.125rem;
|
|
594
|
+
}
|
|
595
|
+
to{
|
|
596
|
+
-moz-background-size:100% 0.125rem;
|
|
597
|
+
background-size:100% 0.125rem;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
@-o-keyframes eds-breadcrumbs-underline{
|
|
601
|
+
from{
|
|
602
|
+
-o-background-size:0% 0.125rem;
|
|
603
|
+
background-size:0% 0.125rem;
|
|
604
|
+
}
|
|
605
|
+
to{
|
|
606
|
+
-o-background-size:100% 0.125rem;
|
|
607
|
+
background-size:100% 0.125rem;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
@keyframes eds-breadcrumbs-underline{
|
|
611
|
+
from{
|
|
612
|
+
-moz-background-size:0% 0.125rem;
|
|
613
|
+
-o-background-size:0% 0.125rem;
|
|
614
|
+
background-size:0% 0.125rem;
|
|
615
|
+
}
|
|
616
|
+
to{
|
|
617
|
+
-moz-background-size:100% 0.125rem;
|
|
618
|
+
-o-background-size:100% 0.125rem;
|
|
619
|
+
background-size:100% 0.125rem;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
555
622
|
.eds-breadcrumbs__item__link--current{
|
|
556
623
|
font-weight:600;
|
|
557
624
|
cursor:default;
|
|
@@ -562,8 +629,14 @@
|
|
|
562
629
|
--eds-logo-svg-height:2rem;
|
|
563
630
|
--eds-logo-text-size:2rem;
|
|
564
631
|
--eds-logo-text-padding-top:0.375rem;
|
|
632
|
+
display:-webkit-inline-box;
|
|
633
|
+
display:-webkit-inline-flex;
|
|
634
|
+
display:-moz-inline-box;
|
|
565
635
|
display:inline-flex;
|
|
566
|
-
align
|
|
636
|
+
-webkit-box-align:start;
|
|
637
|
+
-webkit-align-items:flex-start;
|
|
638
|
+
-moz-box-align:start;
|
|
639
|
+
align-items:flex-start;
|
|
567
640
|
-webkit-text-decoration:none;
|
|
568
641
|
text-decoration:none;
|
|
569
642
|
gap:0.75rem;
|
|
@@ -574,7 +647,8 @@
|
|
|
574
647
|
--eds-logo-text-padding-top:0.281rem;
|
|
575
648
|
}
|
|
576
649
|
.eds-logo__svg{
|
|
577
|
-
flex-shrink:0;
|
|
650
|
+
-webkit-flex-shrink:0;
|
|
651
|
+
flex-shrink:0;
|
|
578
652
|
height:var(--eds-logo-svg-height);
|
|
579
653
|
width:auto;
|
|
580
654
|
}
|
|
@@ -603,14 +677,20 @@
|
|
|
603
677
|
.eds-contrast .eds-logo:focus-visible{
|
|
604
678
|
outline-color:var(--basecolors-stroke-focus-contrast);
|
|
605
679
|
}.eds-overflow-menu__menu-list{
|
|
606
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
680
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
681
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
682
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
607
683
|
overflow:hidden;
|
|
608
|
-
border-radius:0.25rem;
|
|
684
|
+
-webkit-border-radius:0.25rem;
|
|
685
|
+
-moz-border-radius:0.25rem;
|
|
686
|
+
border-radius:0.25rem;
|
|
609
687
|
border:0.0625rem solid var(--components-menu-overflowmenu-border);
|
|
610
688
|
z-index:20;
|
|
611
689
|
}
|
|
612
690
|
.eds-overflow-menu__menu-list.eds-contrast{
|
|
613
|
-
box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
691
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
692
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
693
|
+
box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
614
694
|
}
|
|
615
695
|
.eds-overflow-menu__item{
|
|
616
696
|
display:block;
|
|
@@ -644,18 +724,40 @@
|
|
|
644
724
|
.eds-overflow-menu__item svg{
|
|
645
725
|
margin-right:0.75rem;
|
|
646
726
|
}.eds-pagination{
|
|
647
|
-
align
|
|
727
|
+
-webkit-box-align:center;
|
|
728
|
+
-webkit-align-items:center;
|
|
729
|
+
-moz-box-align:center;
|
|
730
|
+
align-items:center;
|
|
731
|
+
display:-webkit-box;
|
|
732
|
+
display:-webkit-flex;
|
|
733
|
+
display:-moz-box;
|
|
648
734
|
display:flex;
|
|
649
|
-
flex-wrap:wrap;
|
|
735
|
+
-webkit-flex-wrap:wrap;
|
|
736
|
+
flex-wrap:wrap;
|
|
650
737
|
row-gap:0.75rem;
|
|
651
|
-
|
|
738
|
+
-webkit-box-pack:justify;
|
|
739
|
+
-webkit-justify-content:space-between;
|
|
740
|
+
-moz-box-pack:justify;
|
|
741
|
+
justify-content:space-between;
|
|
652
742
|
}
|
|
653
743
|
.eds-pagination__results{
|
|
654
744
|
margin-right:0.5rem;
|
|
745
|
+
display:-webkit-box;
|
|
746
|
+
display:-webkit-flex;
|
|
747
|
+
display:-moz-box;
|
|
655
748
|
display:flex;
|
|
656
|
-
flex:1;
|
|
657
|
-
|
|
658
|
-
|
|
749
|
+
-webkit-box-flex:1;
|
|
750
|
+
-webkit-flex:1;
|
|
751
|
+
-moz-box-flex:1;
|
|
752
|
+
flex:1;
|
|
753
|
+
-webkit-box-align:center;
|
|
754
|
+
-webkit-align-items:center;
|
|
755
|
+
-moz-box-align:center;
|
|
756
|
+
align-items:center;
|
|
757
|
+
-webkit-box-pack:start;
|
|
758
|
+
-webkit-justify-content:flex-start;
|
|
759
|
+
-moz-box-pack:start;
|
|
760
|
+
justify-content:flex-start;
|
|
659
761
|
color:var(--components-menu-pagination-standard-text-subdued);
|
|
660
762
|
}
|
|
661
763
|
.eds-contrast .eds-pagination__results{
|
|
@@ -666,41 +768,74 @@
|
|
|
666
768
|
margin:0 0.5rem;
|
|
667
769
|
}
|
|
668
770
|
.eds-pagination__results .eds-pagination__results__change-number-of-results__content{
|
|
771
|
+
display:-webkit-box;
|
|
772
|
+
display:-webkit-flex;
|
|
773
|
+
display:-moz-box;
|
|
669
774
|
display:flex;
|
|
670
|
-
align
|
|
775
|
+
-webkit-box-align:center;
|
|
776
|
+
-webkit-align-items:center;
|
|
777
|
+
-moz-box-align:center;
|
|
778
|
+
align-items:center;
|
|
671
779
|
gap:0.5rem;
|
|
672
780
|
}
|
|
673
781
|
.eds-pagination__results .eds-pagination__results__change-number-of-results[aria-expanded=true] .eds-pagination__results__change-number-of-results__content__arrow{
|
|
674
|
-
transform:rotate(180deg);
|
|
782
|
+
-webkit-transform:rotate(180deg);
|
|
783
|
+
-moz-transform:rotate(180deg);
|
|
784
|
+
-o-transform:rotate(180deg);
|
|
785
|
+
transform:rotate(180deg);
|
|
675
786
|
}
|
|
676
787
|
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type{
|
|
677
788
|
margin:0 auto;
|
|
678
789
|
}
|
|
679
790
|
.eds-pagination__controls{
|
|
680
|
-
align
|
|
791
|
+
-webkit-box-align:center;
|
|
792
|
+
-webkit-align-items:center;
|
|
793
|
+
-moz-box-align:center;
|
|
794
|
+
align-items:center;
|
|
795
|
+
display:-webkit-box;
|
|
796
|
+
display:-webkit-flex;
|
|
797
|
+
display:-moz-box;
|
|
681
798
|
display:flex;
|
|
682
|
-
|
|
799
|
+
-webkit-box-pack:center;
|
|
800
|
+
-webkit-justify-content:center;
|
|
801
|
+
-moz-box-pack:center;
|
|
802
|
+
justify-content:center;
|
|
683
803
|
}
|
|
684
804
|
.eds-pagination__controls__page{
|
|
685
|
-
align
|
|
805
|
+
-webkit-box-align:center;
|
|
806
|
+
-webkit-align-items:center;
|
|
807
|
+
-moz-box-align:center;
|
|
808
|
+
align-items:center;
|
|
686
809
|
-webkit-appearance:none;
|
|
687
810
|
-moz-appearance:none;
|
|
688
811
|
appearance:none;
|
|
689
812
|
background-color:var(--components-menu-pagination-standard-default);
|
|
690
813
|
border:0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
691
|
-
border-radius:0.25rem;
|
|
814
|
+
-webkit-border-radius:0.25rem;
|
|
815
|
+
-moz-border-radius:0.25rem;
|
|
816
|
+
border-radius:0.25rem;
|
|
692
817
|
color:var(--components-menu-pagination-standard-text-unselected);
|
|
693
818
|
cursor:pointer;
|
|
819
|
+
display:-webkit-box;
|
|
820
|
+
display:-webkit-flex;
|
|
821
|
+
display:-moz-box;
|
|
694
822
|
display:flex;
|
|
695
823
|
font-family:inherit;
|
|
696
824
|
font-size:0.875rem;
|
|
697
825
|
height:2rem;
|
|
698
|
-
|
|
826
|
+
-webkit-box-pack:center;
|
|
827
|
+
-webkit-justify-content:center;
|
|
828
|
+
-moz-box-pack:center;
|
|
829
|
+
justify-content:center;
|
|
699
830
|
margin:0 0.125rem;
|
|
700
831
|
padding:0 0.25rem;
|
|
832
|
+
-webkit-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
833
|
+
-o-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
834
|
+
-moz-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
701
835
|
transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
702
836
|
-webkit-user-select:none;
|
|
703
837
|
-moz-user-select:none;
|
|
838
|
+
-ms-user-select:none;
|
|
704
839
|
user-select:none;
|
|
705
840
|
min-width:2rem;
|
|
706
841
|
}
|
|
@@ -743,14 +878,24 @@
|
|
|
743
878
|
}
|
|
744
879
|
.eds-pagination__controls__page__ellipsis{
|
|
745
880
|
color:var(--components-menu-pagination-standard-icon);
|
|
746
|
-
align
|
|
881
|
+
-webkit-box-align:baseline;
|
|
882
|
+
-webkit-align-items:baseline;
|
|
883
|
+
-moz-box-align:baseline;
|
|
884
|
+
align-items:baseline;
|
|
747
885
|
cursor:default;
|
|
886
|
+
display:-webkit-box;
|
|
887
|
+
display:-webkit-flex;
|
|
888
|
+
display:-moz-box;
|
|
748
889
|
display:flex;
|
|
749
890
|
font-size:1.5rem;
|
|
750
891
|
height:2rem;
|
|
751
|
-
|
|
892
|
+
-webkit-box-pack:center;
|
|
893
|
+
-webkit-justify-content:center;
|
|
894
|
+
-moz-box-pack:center;
|
|
895
|
+
justify-content:center;
|
|
752
896
|
-webkit-user-select:none;
|
|
753
897
|
-moz-user-select:none;
|
|
898
|
+
-ms-user-select:none;
|
|
754
899
|
user-select:none;
|
|
755
900
|
width:2rem;
|
|
756
901
|
margin:0 2px;
|
|
@@ -778,13 +923,18 @@
|
|
|
778
923
|
appearance:none;
|
|
779
924
|
background-color:var(--components-menu-pagination-standard-default);
|
|
780
925
|
border:0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
781
|
-
border-radius:0.25rem;
|
|
926
|
+
-webkit-border-radius:0.25rem;
|
|
927
|
+
-moz-border-radius:0.25rem;
|
|
928
|
+
border-radius:0.25rem;
|
|
782
929
|
color:var(--components-menu-pagination-standard-text-unselected);
|
|
783
930
|
font-family:inherit;
|
|
784
931
|
font-size:0.875rem;
|
|
785
932
|
height:2rem;
|
|
786
933
|
text-align:center;
|
|
787
934
|
width:2rem;
|
|
935
|
+
/* stylelint-disable-next-line property-no-vendor-prefix --
|
|
936
|
+
Firefox needs this for the spinner above; autoprefixer can't derive it from appearance: none. */
|
|
937
|
+
-moz-appearance:textfield;
|
|
788
938
|
}
|
|
789
939
|
.eds-contrast .eds-pagination__controls__input__field{
|
|
790
940
|
background-color:var(--components-menu-pagination-contrast-default);
|
|
@@ -805,23 +955,27 @@
|
|
|
805
955
|
outline-color:var(--basecolors-stroke-focus-contrast);
|
|
806
956
|
}.eds-side-navigation,
|
|
807
957
|
.eds-side-navigation-group{
|
|
808
|
-
color:var(--components-menu-sidenavigation-standard-text);
|
|
958
|
+
color:var(--components-menu-sidenavigation-standard-text-default);
|
|
809
959
|
}
|
|
810
960
|
.eds-contrast .eds-side-navigation,
|
|
811
961
|
.eds-contrast .eds-side-navigation-group{
|
|
812
|
-
color:var(--components-menu-sidenavigation-contrast-text);
|
|
962
|
+
color:var(--components-menu-sidenavigation-contrast-text-default);
|
|
813
963
|
}
|
|
814
964
|
|
|
815
965
|
.eds-side-navigation__click-target svg{
|
|
816
966
|
margin-right:1rem;
|
|
817
|
-
color:var(--components-menu-sidenavigation-standard-icon);
|
|
967
|
+
color:var(--components-menu-sidenavigation-standard-icon-default);
|
|
968
|
+
display:-webkit-inline-box;
|
|
969
|
+
display:-webkit-inline-flex;
|
|
970
|
+
display:-moz-inline-box;
|
|
818
971
|
display:inline-flex;
|
|
819
|
-
align-self:center;
|
|
972
|
+
-webkit-align-self:center;
|
|
973
|
+
align-self:center;
|
|
820
974
|
position:relative;
|
|
821
975
|
top:0.075em;
|
|
822
976
|
}
|
|
823
977
|
.eds-contrast .eds-side-navigation__click-target svg{
|
|
824
|
-
color:var(--components-menu-sidenavigation-contrast-icon);
|
|
978
|
+
color:var(--components-menu-sidenavigation-contrast-icon-default);
|
|
825
979
|
}
|
|
826
980
|
|
|
827
981
|
.eds-side-navigation__click-target[disabled] svg{
|
|
@@ -834,47 +988,65 @@
|
|
|
834
988
|
.eds-side-navigation{
|
|
835
989
|
--padding-vertical:1rem;
|
|
836
990
|
--padding-horizontal:2.5rem;
|
|
837
|
-
background-color:var(--components-menu-sidenavigation-standard-background);
|
|
838
|
-
color:var(--components-menu-sidenavigation-standard-text);
|
|
991
|
+
background-color:var(--components-menu-sidenavigation-standard-fill-background);
|
|
992
|
+
color:var(--components-menu-sidenavigation-standard-text-default);
|
|
839
993
|
padding:0;
|
|
840
994
|
margin:0;
|
|
841
995
|
list-style:none;
|
|
842
996
|
position:relative;
|
|
997
|
+
-webkit-transition:max-width ease-in-out 0.2s;
|
|
998
|
+
-o-transition:max-width ease-in-out 0.2s;
|
|
999
|
+
-moz-transition:max-width ease-in-out 0.2s;
|
|
843
1000
|
transition:max-width ease-in-out 0.2s;
|
|
844
1001
|
}
|
|
845
1002
|
.eds-contrast .eds-side-navigation{
|
|
846
|
-
background-color:var(--components-menu-sidenavigation-contrast-background);
|
|
847
|
-
color:var(--components-menu-sidenavigation-contrast-text);
|
|
1003
|
+
background-color:var(--components-menu-sidenavigation-contrast-fill-background);
|
|
1004
|
+
color:var(--components-menu-sidenavigation-contrast-text-default);
|
|
848
1005
|
}
|
|
849
1006
|
.eds-side-navigation__collapse-button{
|
|
850
1007
|
position:absolute;
|
|
851
1008
|
right:-0.75rem;
|
|
852
1009
|
height:1.5rem;
|
|
853
1010
|
width:1.5rem;
|
|
854
|
-
border-radius:50%;
|
|
1011
|
+
-webkit-border-radius:50%;
|
|
1012
|
+
-moz-border-radius:50%;
|
|
1013
|
+
border-radius:50%;
|
|
855
1014
|
border:none;
|
|
856
1015
|
cursor:pointer;
|
|
857
|
-
background-color:var(--components-menu-sidenavigation-standard-background);
|
|
858
|
-
color:var(--components-menu-sidenavigation-standard-text);
|
|
859
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1016
|
+
background-color:var(--components-menu-sidenavigation-standard-fill-background);
|
|
1017
|
+
color:var(--components-menu-sidenavigation-standard-text-default);
|
|
1018
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1019
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1020
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
860
1021
|
padding:0;
|
|
1022
|
+
display:-webkit-box;
|
|
1023
|
+
display:-webkit-flex;
|
|
1024
|
+
display:-moz-box;
|
|
861
1025
|
display:flex;
|
|
862
|
-
align
|
|
863
|
-
|
|
1026
|
+
-webkit-box-align:center;
|
|
1027
|
+
-webkit-align-items:center;
|
|
1028
|
+
-moz-box-align:center;
|
|
1029
|
+
align-items:center;
|
|
1030
|
+
-webkit-box-pack:center;
|
|
1031
|
+
-webkit-justify-content:center;
|
|
1032
|
+
-moz-box-pack:center;
|
|
1033
|
+
justify-content:center;
|
|
864
1034
|
z-index:10;
|
|
865
1035
|
}
|
|
866
1036
|
.eds-contrast .eds-side-navigation__collapse-button{
|
|
867
|
-
background-color:var(--components-menu-sidenavigation-contrast-background);
|
|
868
|
-
color:var(--components-menu-sidenavigation-contrast-text);
|
|
869
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1037
|
+
background-color:var(--components-menu-sidenavigation-contrast-fill-background);
|
|
1038
|
+
color:var(--components-menu-sidenavigation-contrast-text-default);
|
|
1039
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1040
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1041
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
870
1042
|
}
|
|
871
1043
|
.eds-side-navigation__collapse-button svg{
|
|
872
1044
|
margin:0;
|
|
873
1045
|
top:0;
|
|
874
|
-
color:var(--components-menu-sidenavigation-standard-icon);
|
|
1046
|
+
color:var(--components-menu-sidenavigation-standard-icon-default);
|
|
875
1047
|
}
|
|
876
1048
|
.eds-contrast .eds-side-navigation__collapse-button svg{
|
|
877
|
-
color:var(--components-menu-sidenavigation-contrast-icon);
|
|
1049
|
+
color:var(--components-menu-sidenavigation-contrast-icon-default);
|
|
878
1050
|
}
|
|
879
1051
|
.eds-side-navigation__collapse-button:focus-visible{
|
|
880
1052
|
outline:2px solid #181c56;
|
|
@@ -890,13 +1062,15 @@
|
|
|
890
1062
|
}
|
|
891
1063
|
}
|
|
892
1064
|
.eds-side-navigation--small{
|
|
1065
|
+
--padding-vertical:-webkit-calc(0.5rem + 0.1875rem);
|
|
1066
|
+
--padding-vertical:-moz-calc(0.5rem + 0.1875rem);
|
|
893
1067
|
--padding-vertical:calc(0.5rem + 0.1875rem);
|
|
894
1068
|
}
|
|
895
1069
|
.eds-side-navigation .eds-side-navigation{
|
|
896
|
-
background-color:var(--components-menu-sidenavigation-standard-background);
|
|
1070
|
+
background-color:var(--components-menu-sidenavigation-standard-fill-background);
|
|
897
1071
|
}
|
|
898
1072
|
.eds-contrast .eds-side-navigation .eds-side-navigation{
|
|
899
|
-
background-color:var(--components-menu-sidenavigation-contrast-background);
|
|
1073
|
+
background-color:var(--components-menu-sidenavigation-contrast-fill-background);
|
|
900
1074
|
}
|
|
901
1075
|
.eds-side-navigation--collapsed{
|
|
902
1076
|
max-width:80px;
|
|
@@ -904,7 +1078,9 @@
|
|
|
904
1078
|
|
|
905
1079
|
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target{
|
|
906
1080
|
padding-left:3.5rem;
|
|
907
|
-
box-shadow:none;
|
|
1081
|
+
-webkit-box-shadow:none;
|
|
1082
|
+
-moz-box-shadow:none;
|
|
1083
|
+
box-shadow:none;
|
|
908
1084
|
}
|
|
909
1085
|
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active{
|
|
910
1086
|
background-color:var(--components-menu-sidenavigation-standard-fill-active);
|
|
@@ -919,9 +1095,11 @@
|
|
|
919
1095
|
appearance:none;
|
|
920
1096
|
background:none;
|
|
921
1097
|
border:0;
|
|
922
|
-
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
|
|
923
|
-
border-radius:0;
|
|
924
|
-
|
|
1098
|
+
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-stroke-divide);
|
|
1099
|
+
-webkit-border-radius:0;
|
|
1100
|
+
-moz-border-radius:0;
|
|
1101
|
+
border-radius:0;
|
|
1102
|
+
color:var(--components-menu-sidenavigation-standard-text-default);
|
|
925
1103
|
cursor:pointer;
|
|
926
1104
|
display:block;
|
|
927
1105
|
font-size:1rem;
|
|
@@ -930,6 +1108,9 @@
|
|
|
930
1108
|
line-height:inherit;
|
|
931
1109
|
padding:var(--padding-vertical) 2.5rem;
|
|
932
1110
|
padding-left:2.5rem;
|
|
1111
|
+
-webkit-transition:padding 0.2s ease-in-out;
|
|
1112
|
+
-o-transition:padding 0.2s ease-in-out;
|
|
1113
|
+
-moz-transition:padding 0.2s ease-in-out;
|
|
933
1114
|
transition:padding 0.2s ease-in-out;
|
|
934
1115
|
text-align:left;
|
|
935
1116
|
-webkit-text-decoration:none;
|
|
@@ -937,18 +1118,22 @@
|
|
|
937
1118
|
width:100%;
|
|
938
1119
|
}
|
|
939
1120
|
.eds-contrast .eds-side-navigation__click-target{
|
|
940
|
-
color:var(--components-menu-sidenavigation-contrast-text);
|
|
941
|
-
border-color:var(--components-menu-sidenavigation-contrast-divide);
|
|
1121
|
+
color:var(--components-menu-sidenavigation-contrast-text-default);
|
|
1122
|
+
border-color:var(--components-menu-sidenavigation-contrast-stroke-divide);
|
|
942
1123
|
}
|
|
943
1124
|
.eds-side-navigation--collapsed .eds-side-navigation__click-target{
|
|
944
1125
|
padding-left:2rem;
|
|
945
1126
|
}
|
|
946
1127
|
.eds-side-navigation__click-target--active{
|
|
947
|
-
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
1128
|
+
-webkit-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
1129
|
+
-moz-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
1130
|
+
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
948
1131
|
font-weight:600;
|
|
949
1132
|
}
|
|
950
1133
|
.eds-contrast .eds-side-navigation__click-target--active{
|
|
951
|
-
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
1134
|
+
-webkit-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
1135
|
+
-moz-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
1136
|
+
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
952
1137
|
}
|
|
953
1138
|
.eds-side-navigation__click-target[disabled]{
|
|
954
1139
|
cursor:not-allowed;
|
|
@@ -982,33 +1167,45 @@
|
|
|
982
1167
|
}
|
|
983
1168
|
|
|
984
1169
|
.eds-side-navigation-group__trigger{
|
|
985
|
-
align
|
|
1170
|
+
-webkit-box-align:center;
|
|
1171
|
+
-webkit-align-items:center;
|
|
1172
|
+
-moz-box-align:center;
|
|
1173
|
+
align-items:center;
|
|
986
1174
|
-webkit-appearance:none;
|
|
987
1175
|
-moz-appearance:none;
|
|
988
1176
|
appearance:none;
|
|
989
|
-
background-color:var(--components-menu-sidenavigation-standard-background);
|
|
1177
|
+
background-color:var(--components-menu-sidenavigation-standard-fill-background);
|
|
990
1178
|
border:none;
|
|
991
|
-
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
|
|
992
|
-
color:var(--components-menu-sidenavigation-standard-label);
|
|
1179
|
+
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-stroke-divide);
|
|
1180
|
+
color:var(--components-menu-sidenavigation-standard-text-label);
|
|
993
1181
|
cursor:pointer;
|
|
1182
|
+
display:-webkit-box;
|
|
1183
|
+
display:-webkit-flex;
|
|
1184
|
+
display:-moz-box;
|
|
994
1185
|
display:flex;
|
|
995
1186
|
font-size:0.875rem;
|
|
996
1187
|
font-family:inherit;
|
|
997
1188
|
font-weight:500;
|
|
998
1189
|
height:3rem;
|
|
999
|
-
|
|
1190
|
+
-webkit-box-pack:justify;
|
|
1191
|
+
-webkit-justify-content:space-between;
|
|
1192
|
+
-moz-box-pack:justify;
|
|
1193
|
+
justify-content:space-between;
|
|
1000
1194
|
letter-spacing:1px;
|
|
1001
1195
|
line-height:1.25rem;
|
|
1002
1196
|
padding:0.75rem 0 0.75rem 2.5rem;
|
|
1003
1197
|
margin:0;
|
|
1004
1198
|
text-transform:uppercase;
|
|
1199
|
+
-webkit-transition:padding 0.2s ease-in-out;
|
|
1200
|
+
-o-transition:padding 0.2s ease-in-out;
|
|
1201
|
+
-moz-transition:padding 0.2s ease-in-out;
|
|
1005
1202
|
transition:padding 0.2s ease-in-out;
|
|
1006
1203
|
width:100%;
|
|
1007
1204
|
}
|
|
1008
1205
|
.eds-contrast .eds-side-navigation-group__trigger{
|
|
1009
|
-
color:var(--components-menu-sidenavigation-contrast-label);
|
|
1010
|
-
background-color:var(--components-menu-sidenavigation-contrast-background);
|
|
1011
|
-
border-color:var(--components-menu-sidenavigation-contrast-divide);
|
|
1206
|
+
color:var(--components-menu-sidenavigation-contrast-text-label);
|
|
1207
|
+
background-color:var(--components-menu-sidenavigation-contrast-fill-background);
|
|
1208
|
+
border-color:var(--components-menu-sidenavigation-contrast-stroke-divide);
|
|
1012
1209
|
}
|
|
1013
1210
|
.eds-side-navigation-group__trigger-icon{
|
|
1014
1211
|
margin-right:0.75rem;
|
|
@@ -1035,17 +1232,40 @@
|
|
|
1035
1232
|
--line-color:var(--components-menu-stepper-standard-background);
|
|
1036
1233
|
--label-font-weight:500;
|
|
1037
1234
|
--display-active-line:none;
|
|
1235
|
+
display:-webkit-box;
|
|
1236
|
+
display:-webkit-flex;
|
|
1237
|
+
display:-moz-box;
|
|
1038
1238
|
display:flex;
|
|
1039
|
-
|
|
1239
|
+
-webkit-box-orient:horizontal;
|
|
1240
|
+
-webkit-box-direction:normal;
|
|
1241
|
+
-webkit-flex-direction:row;
|
|
1242
|
+
-moz-box-orient:horizontal;
|
|
1243
|
+
-moz-box-direction:normal;
|
|
1244
|
+
flex-direction:row;
|
|
1040
1245
|
width:100%;
|
|
1041
1246
|
list-style-type:none;
|
|
1042
1247
|
}
|
|
1043
1248
|
.eds-stepper__step{
|
|
1249
|
+
display:-webkit-box;
|
|
1250
|
+
display:-webkit-flex;
|
|
1251
|
+
display:-moz-box;
|
|
1044
1252
|
display:flex;
|
|
1045
|
-
flex
|
|
1046
|
-
flex-
|
|
1047
|
-
|
|
1048
|
-
|
|
1253
|
+
-webkit-box-flex:1;
|
|
1254
|
+
-webkit-flex-grow:1;
|
|
1255
|
+
-moz-box-flex:1;
|
|
1256
|
+
flex-grow:1;
|
|
1257
|
+
-webkit-flex-basis:0;
|
|
1258
|
+
flex-basis:0;
|
|
1259
|
+
-webkit-box-orient:vertical;
|
|
1260
|
+
-webkit-box-direction:normal;
|
|
1261
|
+
-webkit-flex-direction:column;
|
|
1262
|
+
-moz-box-orient:vertical;
|
|
1263
|
+
-moz-box-direction:normal;
|
|
1264
|
+
flex-direction:column;
|
|
1265
|
+
-webkit-box-align:inherit;
|
|
1266
|
+
-webkit-align-items:inherit;
|
|
1267
|
+
-moz-box-align:inherit;
|
|
1268
|
+
align-items:inherit;
|
|
1049
1269
|
-webkit-appearance:none;
|
|
1050
1270
|
-moz-appearance:none;
|
|
1051
1271
|
appearance:none;
|
|
@@ -1066,12 +1286,23 @@
|
|
|
1066
1286
|
--line-color:var(--components-menu-stepper-contrast-background);
|
|
1067
1287
|
}
|
|
1068
1288
|
.eds-stepper__step__wrapper{
|
|
1069
|
-
flex
|
|
1289
|
+
-webkit-box-flex:1;
|
|
1290
|
+
-webkit-flex-grow:1;
|
|
1291
|
+
-moz-box-flex:1;
|
|
1292
|
+
flex-grow:1;
|
|
1070
1293
|
}
|
|
1071
1294
|
.eds-stepper__step--interactive{
|
|
1072
1295
|
all:unset;
|
|
1296
|
+
display:-webkit-box;
|
|
1297
|
+
display:-webkit-flex;
|
|
1298
|
+
display:-moz-box;
|
|
1073
1299
|
display:flex;
|
|
1074
|
-
|
|
1300
|
+
-webkit-box-orient:vertical;
|
|
1301
|
+
-webkit-box-direction:normal;
|
|
1302
|
+
-webkit-flex-direction:column;
|
|
1303
|
+
-moz-box-orient:vertical;
|
|
1304
|
+
-moz-box-direction:normal;
|
|
1305
|
+
flex-direction:column;
|
|
1075
1306
|
width:100%;
|
|
1076
1307
|
cursor:pointer;
|
|
1077
1308
|
}
|
|
@@ -1092,9 +1323,18 @@
|
|
|
1092
1323
|
--line-color:var(--components-menu-stepper-contrast-progressbar);
|
|
1093
1324
|
}
|
|
1094
1325
|
.eds-stepper__step__label{
|
|
1095
|
-
flex
|
|
1096
|
-
flex-
|
|
1097
|
-
|
|
1326
|
+
-webkit-box-flex:1;
|
|
1327
|
+
-webkit-flex-grow:1;
|
|
1328
|
+
-moz-box-flex:1;
|
|
1329
|
+
flex-grow:1;
|
|
1330
|
+
-webkit-box-orient:vertical;
|
|
1331
|
+
-webkit-box-direction:normal;
|
|
1332
|
+
-webkit-flex-direction:column;
|
|
1333
|
+
-moz-box-orient:vertical;
|
|
1334
|
+
-moz-box-direction:normal;
|
|
1335
|
+
flex-direction:column;
|
|
1336
|
+
-webkit-align-self:center;
|
|
1337
|
+
align-self:center;
|
|
1098
1338
|
text-align:center;
|
|
1099
1339
|
font-size:0.875rem;
|
|
1100
1340
|
margin:0.5rem 0 0;
|
|
@@ -1102,7 +1342,9 @@
|
|
|
1102
1342
|
width:-webkit-fit-content;
|
|
1103
1343
|
width:-moz-fit-content;
|
|
1104
1344
|
width:fit-content;
|
|
1105
|
-
border-radius:0.0625rem;
|
|
1345
|
+
-webkit-border-radius:0.0625rem;
|
|
1346
|
+
-moz-border-radius:0.0625rem;
|
|
1347
|
+
border-radius:0.0625rem;
|
|
1106
1348
|
color:var(--text-color);
|
|
1107
1349
|
font-weight:var(--label-font-weight);
|
|
1108
1350
|
}
|
|
@@ -1123,13 +1365,24 @@
|
|
|
1123
1365
|
display:var(--display-active-line);
|
|
1124
1366
|
content:"";
|
|
1125
1367
|
position:absolute;
|
|
1368
|
+
right:-webkit-calc(50% - 0.2rem);
|
|
1369
|
+
right:-moz-calc(50% - 0.2rem);
|
|
1126
1370
|
right:calc(50% - 0.2rem);
|
|
1127
1371
|
bottom:0.0625rem;
|
|
1128
|
-
border-radius:0.0625rem;
|
|
1372
|
+
-webkit-border-radius:0.0625rem;
|
|
1373
|
+
-moz-border-radius:0.0625rem;
|
|
1374
|
+
border-radius:0.0625rem;
|
|
1129
1375
|
background:var(--components-menu-stepper-standard-progressbar);
|
|
1376
|
+
width:-webkit-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1377
|
+
width:-moz-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1130
1378
|
width:calc(0.5rem - 0.125rem - 0.01rem);
|
|
1379
|
+
height:-webkit-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1380
|
+
height:-moz-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1131
1381
|
height:calc(0.5rem - 0.125rem - 0.01rem);
|
|
1132
|
-
transform:rotate(45deg);
|
|
1382
|
+
-webkit-transform:rotate(45deg);
|
|
1383
|
+
-moz-transform:rotate(45deg);
|
|
1384
|
+
-o-transform:rotate(45deg);
|
|
1385
|
+
transform:rotate(45deg);
|
|
1133
1386
|
}
|
|
1134
1387
|
.eds-contrast .eds-stepper__step__line::before{
|
|
1135
1388
|
background:var(--components-menu-stepper-contrast-progressbar);
|
|
@@ -1173,6 +1426,9 @@
|
|
|
1173
1426
|
margin:0 auto;
|
|
1174
1427
|
opacity:var(--show-active-line);
|
|
1175
1428
|
background:var(--components-menu-navigationbar-standard-stroke-selected);
|
|
1429
|
+
-webkit-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1430
|
+
-o-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1431
|
+
-moz-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1176
1432
|
transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1177
1433
|
}
|
|
1178
1434
|
.eds-contrast .eds-top-navigation-item{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/menu.cjs",
|
|
6
6
|
"module": "dist/menu.mjs",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"react-dom": ">=18.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@entur/a11y": "^0.3.
|
|
36
|
-
"@entur/button": "^5.0
|
|
37
|
-
"@entur/expand": "^4.0.
|
|
38
|
-
"@entur/icons": "^10.0.
|
|
39
|
-
"@entur/tokens": "^4.
|
|
40
|
-
"@entur/tooltip": "^6.0.
|
|
41
|
-
"@entur/typography": "^3.0.
|
|
42
|
-
"@entur/utils": "^0.15.
|
|
35
|
+
"@entur/a11y": "^0.3.5",
|
|
36
|
+
"@entur/button": "^5.1.0",
|
|
37
|
+
"@entur/expand": "^4.0.6",
|
|
38
|
+
"@entur/icons": "^10.0.5",
|
|
39
|
+
"@entur/tokens": "^4.2.0",
|
|
40
|
+
"@entur/tooltip": "^6.0.6",
|
|
41
|
+
"@entur/typography": "^3.0.6",
|
|
42
|
+
"@entur/utils": "^0.15.2",
|
|
43
43
|
"@floating-ui/react": "^0.26.28",
|
|
44
44
|
"classnames": "^2.5.1"
|
|
45
45
|
},
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"./dist/beta/*": null,
|
|
76
76
|
"./package.json": "./package.json"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "d0826c31ddea916a35916910dcba76a705e3f8ee"
|
|
79
79
|
}
|