@entur/menu 4.1.28 → 4.1.29-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles.css +84 -84
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3,52 +3,49 @@
|
|
|
3
3
|
--reach-menu-button: 1;
|
|
4
4
|
}/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-
|
|
7
|
-
|
|
6
|
+
.eds-breadcrumb {
|
|
7
|
+
list-style: none;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.eds-breadcrumb__item {
|
|
8
13
|
display: inline-block;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
color: inherit;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
position: relative;
|
|
13
|
-
padding: 1rem;
|
|
14
|
-
min-width: 5rem;
|
|
15
|
-
width: -moz-fit-content;
|
|
16
|
-
width: fit-content;
|
|
17
|
-
text-align: center;
|
|
18
|
-
font-family: inherit;
|
|
19
|
-
font-size: 1rem;
|
|
20
|
-
font-weight: 600;
|
|
21
14
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
bottom: 1rem;
|
|
26
|
-
height: 0.1875rem;
|
|
27
|
-
width: 0;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
opacity: var(--show-active-line);
|
|
30
|
-
background: #ff5959;
|
|
31
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
15
|
+
|
|
16
|
+
.eds-breadcrumb__separator {
|
|
17
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
32
18
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
19
|
+
|
|
20
|
+
.eds-breadcrumb__link {
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
color: inherit;
|
|
23
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
24
|
+
background-repeat: no-repeat;
|
|
25
|
+
background-size: 100% 0.125rem;
|
|
26
|
+
background-position: 0 100%;
|
|
37
27
|
}
|
|
38
|
-
.eds-contrast .eds-
|
|
39
|
-
|
|
28
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
29
|
+
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
40
30
|
}
|
|
41
|
-
.eds-
|
|
42
|
-
|
|
31
|
+
.eds-breadcrumb__link:hover {
|
|
32
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
43
33
|
}
|
|
44
|
-
.eds-
|
|
45
|
-
|
|
34
|
+
.eds-breadcrumb__link:focus {
|
|
35
|
+
outline: none;
|
|
36
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
37
|
+
outline-offset: 0.125rem;
|
|
46
38
|
}
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
@keyframes eds-breadcrumb-underline {
|
|
40
|
+
from {
|
|
41
|
+
background-size: 0% 0.125rem;
|
|
42
|
+
}
|
|
43
|
+
to {
|
|
44
|
+
background-size: 100% 0.125rem;
|
|
45
|
+
}
|
|
49
46
|
}
|
|
50
|
-
.eds-
|
|
51
|
-
|
|
47
|
+
.eds-breadcrumb__link--current {
|
|
48
|
+
font-weight: 600;
|
|
52
49
|
}@charset "UTF-8";
|
|
53
50
|
/* DO NOT CHANGE!*/
|
|
54
51
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -208,7 +205,7 @@
|
|
|
208
205
|
outline-offset: -2px;
|
|
209
206
|
background: #ebebf1;
|
|
210
207
|
}
|
|
211
|
-
.eds-contrast .eds-side-navigation__click-target:not([disabled]):active
|
|
208
|
+
.eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
|
|
212
209
|
background-color: #54568c;
|
|
213
210
|
outline: 2px solid #ffffff;
|
|
214
211
|
}
|
|
@@ -271,51 +268,6 @@
|
|
|
271
268
|
outline: 2px solid #ffffff;
|
|
272
269
|
}/* DO NOT CHANGE!*/
|
|
273
270
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
274
|
-
.eds-breadcrumb {
|
|
275
|
-
list-style: none;
|
|
276
|
-
margin: 0;
|
|
277
|
-
padding: 0;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.eds-breadcrumb__item {
|
|
281
|
-
display: inline-block;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.eds-breadcrumb__separator {
|
|
285
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.eds-breadcrumb__link {
|
|
289
|
-
text-decoration: none;
|
|
290
|
-
color: inherit;
|
|
291
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
292
|
-
background-repeat: no-repeat;
|
|
293
|
-
background-size: 100% 0.125rem;
|
|
294
|
-
background-position: 0 100%;
|
|
295
|
-
}
|
|
296
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
297
|
-
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
298
|
-
}
|
|
299
|
-
.eds-breadcrumb__link:hover {
|
|
300
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
301
|
-
}
|
|
302
|
-
.eds-breadcrumb__link:focus {
|
|
303
|
-
outline: none;
|
|
304
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
305
|
-
outline-offset: 0.125rem;
|
|
306
|
-
}
|
|
307
|
-
@keyframes eds-breadcrumb-underline {
|
|
308
|
-
from {
|
|
309
|
-
background-size: 0% 0.125rem;
|
|
310
|
-
}
|
|
311
|
-
to {
|
|
312
|
-
background-size: 100% 0.125rem;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
.eds-breadcrumb__link--current {
|
|
316
|
-
font-weight: 600;
|
|
317
|
-
}/* DO NOT CHANGE!*/
|
|
318
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
319
271
|
.eds-pagination {
|
|
320
272
|
align-items: center;
|
|
321
273
|
display: flex;
|
|
@@ -475,6 +427,54 @@
|
|
|
475
427
|
margin: 0;
|
|
476
428
|
}/* DO NOT CHANGE!*/
|
|
477
429
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
430
|
+
.eds-top-navigation-item {
|
|
431
|
+
--show-active-line: 0;
|
|
432
|
+
display: inline-block;
|
|
433
|
+
cursor: pointer;
|
|
434
|
+
color: inherit;
|
|
435
|
+
text-decoration: none;
|
|
436
|
+
position: relative;
|
|
437
|
+
padding: 1rem;
|
|
438
|
+
min-width: 5rem;
|
|
439
|
+
width: -moz-fit-content;
|
|
440
|
+
width: fit-content;
|
|
441
|
+
text-align: center;
|
|
442
|
+
font-family: inherit;
|
|
443
|
+
font-size: 1rem;
|
|
444
|
+
font-weight: 600;
|
|
445
|
+
}
|
|
446
|
+
.eds-top-navigation-item::after {
|
|
447
|
+
content: "";
|
|
448
|
+
display: block;
|
|
449
|
+
bottom: 1rem;
|
|
450
|
+
height: 0.1875rem;
|
|
451
|
+
width: 0;
|
|
452
|
+
margin: 0 auto;
|
|
453
|
+
opacity: var(--show-active-line);
|
|
454
|
+
background: #ff5959;
|
|
455
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
456
|
+
}
|
|
457
|
+
.eds-top-navigation-item:focus {
|
|
458
|
+
outline-offset: 0.125rem;
|
|
459
|
+
outline: none;
|
|
460
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
461
|
+
}
|
|
462
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
463
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
464
|
+
}
|
|
465
|
+
.eds-top-navigation-item:hover {
|
|
466
|
+
--show-active-line: 1;
|
|
467
|
+
}
|
|
468
|
+
.eds-top-navigation-item:hover::after {
|
|
469
|
+
width: 2rem;
|
|
470
|
+
}
|
|
471
|
+
.eds-top-navigation-item--active {
|
|
472
|
+
--show-active-line: 1;
|
|
473
|
+
}
|
|
474
|
+
.eds-top-navigation-item--active::after {
|
|
475
|
+
width: 2rem;
|
|
476
|
+
}/* DO NOT CHANGE!*/
|
|
477
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
478
478
|
.eds-overflow-menu__item {
|
|
479
479
|
-webkit-appearance: none;
|
|
480
480
|
-moz-appearance: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.29-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@reach/polymorphic": "0.18.0",
|
|
40
40
|
"classnames": "^2.3.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "79c7df983dede6ac2b3188c22a944a99f472f6b0"
|
|
43
43
|
}
|