@itcenteratunihelsinki/huds-lib 0.11.1 → 0.12.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/components/cta-button.js +1 -1
- package/components/cta-link.js +1 -1
- package/components/hy-accordion-item.js +1 -1
- package/components/hy-anchor-link-list.js +1 -1
- package/components/hy-breadcrumbs.js +1 -1
- package/components/hy-checkbox.js +1 -1
- package/components/hy-content-list-item2.js +1 -1
- package/components/hy-crisis-banner.js +1 -1
- package/components/hy-dropdown.js +1 -1
- package/components/hy-event-item.js +1 -1
- package/components/hy-events.js +1 -1
- package/components/hy-filter-group.js +1 -1
- package/components/hy-filter-list-type.js +1 -1
- package/components/hy-filter-visibility-tool.js +1 -1
- package/components/hy-footer-action.js +1 -1
- package/components/hy-footer-base.js +1 -1
- package/components/hy-footer-link-item2.js +1 -1
- package/components/hy-general-list-item2.js +1 -1
- package/components/hy-hero-carousel.js +358 -337
- package/components/hy-menu-main-group2.js +1 -1
- package/components/hy-opening-hours.js +1 -1
- package/components/hy-pager-item.js +1 -1
- package/components/hy-person-card.js +1 -1
- package/components/hy-search-field2.js +1 -1
- package/components/hy-shortcuts.js +1 -1
- package/components/hy-site-header.js +2 -2
- package/components/hy-tabs2.js +1 -1
- package/components/link-box.js +1 -1
- package/components/menu-language-item.js +1 -1
- package/components/menu-language.js +1 -1
- package/components/site-logo.js +1 -1
- package/components/site-search.js +1 -1
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js +1 -1
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js +11 -11
- package/dist/cjs/hy-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/hy-content-list_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-crisis-banner.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-events.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-group_6.cjs.entry.js +3 -3
- package/dist/cjs/hy-general-list_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +358 -337
- package/dist/cjs/hy-link-box_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +1 -1
- package/dist/cjs/hy-opening-hours_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-person-card.cjs.entry.js +1 -1
- package/dist/cjs/hy-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs_2.cjs.entry.js +1 -1
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.css +6 -0
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.css +13 -1
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +18 -0
- package/dist/collection/components/hy-accordion-item/accordion-item.css +6 -0
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.css +12 -0
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.css +12 -0
- package/dist/collection/components/hy-checkbox/hy-checkbox.css +12 -8
- package/dist/collection/components/hy-content-lists/hy-content-list-item/hy-content-list-item.css +6 -0
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.css +2 -2
- package/dist/collection/components/hy-cta-button/cta-button.css +63 -15
- package/dist/collection/components/hy-cta-link/cta-link.css +8 -2
- package/dist/collection/components/hy-dropdown/hy-dropdown.css +1 -1
- package/dist/collection/components/hy-event-item/hy-event-item.css +4 -4
- package/dist/collection/components/hy-events/hy-events.css +6 -0
- package/dist/collection/components/hy-filter-group/hy-filter-group.css +6 -0
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.css +12 -0
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.css +8 -4
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.css +8 -2
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +3 -22
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +2 -1
- package/dist/collection/components/hy-link-box/link-box.css +4 -1
- package/dist/collection/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.css +29 -2
- package/dist/collection/components/hy-navigation/menu-language/menu-language.css +11 -3
- package/dist/collection/components/hy-navigation/menu-language-item/menu-language-item.css +6 -0
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +9 -2
- package/dist/collection/components/hy-pagination/hy-pager-item/hy-pager-item.css +6 -0
- package/dist/collection/components/hy-person-card/hy-person-card.css +1 -1
- package/dist/collection/components/hy-search-field/hy-search-field.css +12 -6
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +6 -0
- package/dist/collection/components/hy-site-header/site-header.css +24 -4
- package/dist/collection/components/hy-site-header/site-header.js +1 -1
- package/dist/collection/components/hy-site-header/site-logo/site-logo.css +6 -4
- package/dist/collection/components/hy-site-header/site-search/site-search.css +20 -6
- package/dist/collection/components/hy-tabs/hy-tabs.css +12 -4
- package/dist/esm/hy-accordion-container_2.entry.js +1 -1
- package/dist/esm/hy-anchor-link-list.entry.js +1 -1
- package/dist/esm/hy-breadcrumbs_15.entry.js +11 -11
- package/dist/esm/hy-checkbox.entry.js +1 -1
- package/dist/esm/hy-content-list_2.entry.js +1 -1
- package/dist/esm/hy-crisis-banner.entry.js +1 -1
- package/dist/esm/hy-cta-button.entry.js +1 -1
- package/dist/esm/hy-cta-link.entry.js +1 -1
- package/dist/esm/hy-dropdown.entry.js +1 -1
- package/dist/esm/hy-event-item.entry.js +1 -1
- package/dist/esm/hy-events.entry.js +1 -1
- package/dist/esm/hy-filter-group_6.entry.js +3 -3
- package/dist/esm/hy-general-list_2.entry.js +1 -1
- package/dist/esm/hy-hero-carousel.entry.js +358 -337
- package/dist/esm/hy-link-box_2.entry.js +1 -1
- package/dist/esm/hy-menu-main-group.entry.js +1 -1
- package/dist/esm/hy-opening-hours_2.entry.js +1 -1
- package/dist/esm/hy-pager_2.entry.js +1 -1
- package/dist/esm/hy-person-card.entry.js +1 -1
- package/dist/esm/hy-shortcuts.entry.js +1 -1
- package/dist/esm/hy-tabs_2.entry.js +1 -1
- package/dist/huds-lib/hy-accordion-container_2.entry.js +1 -1
- package/dist/huds-lib/hy-anchor-link-list.entry.js +1 -1
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js +1 -1
- package/dist/huds-lib/hy-checkbox.entry.js +1 -1
- package/dist/huds-lib/hy-content-list_2.entry.js +1 -1
- package/dist/huds-lib/hy-crisis-banner.entry.js +1 -1
- package/dist/huds-lib/hy-cta-button.entry.js +1 -1
- package/dist/huds-lib/hy-cta-link.entry.js +1 -1
- package/dist/huds-lib/hy-dropdown.entry.js +1 -1
- package/dist/huds-lib/hy-event-item.entry.js +1 -1
- package/dist/huds-lib/hy-events.entry.js +1 -1
- package/dist/huds-lib/hy-filter-group_6.entry.js +1 -1
- package/dist/huds-lib/hy-general-list_2.entry.js +1 -1
- package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
- package/dist/huds-lib/hy-link-box_2.entry.js +1 -1
- package/dist/huds-lib/hy-menu-main-group.entry.js +1 -1
- package/dist/huds-lib/hy-opening-hours_2.entry.js +1 -1
- package/dist/huds-lib/hy-pager_2.entry.js +1 -1
- package/dist/huds-lib/hy-person-card.entry.js +1 -1
- package/dist/huds-lib/hy-shortcuts.entry.js +1 -1
- package/dist/huds-lib/hy-tabs_2.entry.js +1 -1
- package/package.json +3 -3
|
@@ -25,10 +25,16 @@
|
|
|
25
25
|
overflow: hidden;
|
|
26
26
|
text-decoration: none;
|
|
27
27
|
}
|
|
28
|
-
.hy-cta-link:
|
|
28
|
+
.hy-cta-link:focus-visible {
|
|
29
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
30
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
31
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
32
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
33
|
+
}
|
|
34
|
+
.hy-cta-link:hover, .hy-cta-link:focus-visible {
|
|
29
35
|
text-decoration: underline;
|
|
30
36
|
}
|
|
31
|
-
.hy-cta-link:hover .hy-cta-link__icon, .hy-cta-link:focus .hy-cta-link__icon {
|
|
37
|
+
.hy-cta-link:hover .hy-cta-link__icon, .hy-cta-link:focus-visible .hy-cta-link__icon {
|
|
32
38
|
background-color: var(--brand-main-active);
|
|
33
39
|
}
|
|
34
40
|
.hy-cta-link__icon {
|
|
@@ -275,17 +275,17 @@
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
@media (min-width: 48rem) {
|
|
278
|
-
.hy-events__item--grid.is-long:hover, .hy-events__item--grid.is-long:focus {
|
|
278
|
+
.hy-events__item--grid.is-long:hover, .hy-events__item--grid.is-long:focus-visible {
|
|
279
279
|
border: 0;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
.hy-events__item--grid.is-long:hover::after,
|
|
283
|
-
.hy-events__item--grid.is-long:hover .hy-events__item--toggle, .hy-events__item--grid.is-long:focus::after,
|
|
284
|
-
.hy-events__item--grid.is-long:focus .hy-events__item--toggle {
|
|
283
|
+
.hy-events__item--grid.is-long:hover .hy-events__item--toggle, .hy-events__item--grid.is-long:focus-visible::after,
|
|
284
|
+
.hy-events__item--grid.is-long:focus-visible .hy-events__item--toggle {
|
|
285
285
|
display: none;
|
|
286
286
|
}
|
|
287
287
|
@media (min-width: 48rem) {
|
|
288
|
-
.hy-events__item--grid.is-long:hover .hy-events__item--container, .hy-events__item--grid.is-long:focus .hy-events__item--container {
|
|
288
|
+
.hy-events__item--grid.is-long:hover .hy-events__item--container, .hy-events__item--grid.is-long:focus-visible .hy-events__item--container {
|
|
289
289
|
background-color: var(--grayscale-white);
|
|
290
290
|
border: 1px solid var(--grayscale-light);
|
|
291
291
|
padding: 16px 16px;
|
|
@@ -104,6 +104,12 @@ hy-events.no-events .hy-events__footer {
|
|
|
104
104
|
background: none;
|
|
105
105
|
padding: 0.5rem;
|
|
106
106
|
}
|
|
107
|
+
.hy-events--wrapper .hy-events__scroll-buttons button:focus-visible {
|
|
108
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
109
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
110
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
111
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
112
|
+
}
|
|
107
113
|
.hy-events--wrapper .hy-events__scroll-buttons button:hover {
|
|
108
114
|
cursor: pointer;
|
|
109
115
|
}
|
|
@@ -76,6 +76,12 @@
|
|
|
76
76
|
padding: 6px 8px;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
+
.hy-filter-group__button:focus-visible {
|
|
80
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
81
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
82
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
83
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
84
|
+
}
|
|
79
85
|
.hy-filter-group__button:hover {
|
|
80
86
|
cursor: pointer;
|
|
81
87
|
}
|
|
@@ -45,6 +45,12 @@
|
|
|
45
45
|
margin: 0 8px;
|
|
46
46
|
padding: 10px;
|
|
47
47
|
}
|
|
48
|
+
.hy-filter__list-type__list:focus-visible {
|
|
49
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
50
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
51
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
52
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
53
|
+
}
|
|
48
54
|
.hy-filter__list-type__list svg {
|
|
49
55
|
background-color: var(--grayscale-background-box);
|
|
50
56
|
fill: var(--brand-main-light);
|
|
@@ -65,6 +71,12 @@
|
|
|
65
71
|
border: none;
|
|
66
72
|
padding: 10px;
|
|
67
73
|
}
|
|
74
|
+
.hy-filter__list-type__grid:focus-visible {
|
|
75
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
76
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
77
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
78
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
79
|
+
}
|
|
68
80
|
.hy-filter__list-type__grid svg {
|
|
69
81
|
background-color: var(--grayscale-background-box);
|
|
70
82
|
fill: var(--brand-main-light);
|
|
@@ -38,12 +38,16 @@
|
|
|
38
38
|
.hy-filter-visibility-tool:hover svg {
|
|
39
39
|
fill: var(--brand-main);
|
|
40
40
|
}
|
|
41
|
-
.hy-filter-visibility-tool:focus {
|
|
41
|
+
.hy-filter-visibility-tool:focus-visible {
|
|
42
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
43
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
44
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
45
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
46
|
+
}
|
|
47
|
+
.hy-filter-visibility-tool:focus-visible {
|
|
42
48
|
color: var(--brand-main);
|
|
43
|
-
outline-offset: 1px;
|
|
44
|
-
outline: 2px solid var(--brand-main);
|
|
45
49
|
}
|
|
46
|
-
.hy-filter-visibility-tool:focus svg {
|
|
50
|
+
.hy-filter-visibility-tool:focus-visible svg {
|
|
47
51
|
fill: var(--brand-main);
|
|
48
52
|
}
|
|
49
53
|
.hy-filter-visibility-tool__icon {
|
|
@@ -72,6 +72,12 @@
|
|
|
72
72
|
position: relative;
|
|
73
73
|
text-decoration: none;
|
|
74
74
|
}
|
|
75
|
+
.hy-general-list-item__link:focus-visible {
|
|
76
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
77
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
78
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
79
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
80
|
+
}
|
|
75
81
|
@media (min-width: 30rem) {
|
|
76
82
|
.hy-general-list-item__link {
|
|
77
83
|
-webkit-box-orient: horizontal;
|
|
@@ -83,10 +89,10 @@
|
|
|
83
89
|
.hy-general-list-item__link:hover {
|
|
84
90
|
cursor: pointer;
|
|
85
91
|
}
|
|
86
|
-
.hy-general-list-item__link:hover .hy-general-list-item__type span, .hy-general-list-item__link:focus .hy-general-list-item__type span {
|
|
92
|
+
.hy-general-list-item__link:hover .hy-general-list-item__type span, .hy-general-list-item__link:focus-visible .hy-general-list-item__type span {
|
|
87
93
|
background-color: var(--brand-main);
|
|
88
94
|
}
|
|
89
|
-
.hy-general-list-item__link:hover .hy-general-list-item__title, .hy-general-list-item__link:focus .hy-general-list-item__title {
|
|
95
|
+
.hy-general-list-item__link:hover .hy-general-list-item__title, .hy-general-list-item__link:focus-visible .hy-general-list-item__title {
|
|
90
96
|
color: var(--brand-main);
|
|
91
97
|
text-decoration: underline;
|
|
92
98
|
}
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper
|
|
2
|
+
* Swiper 12.1.3
|
|
3
3
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
6
|
-
* Copyright 2014-
|
|
6
|
+
* Copyright 2014-2025 Vladimir Kharlampidi
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
|
-
*
|
|
10
|
-
* Released on: April 21, 2023
|
|
11
9
|
*/
|
|
12
10
|
|
|
13
|
-
@font-face {
|
|
14
|
-
font-family: swiper-icons;
|
|
15
|
-
src: url("data:application/font-woff;charset=utf-8;base64, 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");
|
|
16
|
-
font-weight: 400;
|
|
17
|
-
font-style: normal;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
11
|
:root {
|
|
21
12
|
--swiper-theme-color: var(--brand-main);
|
|
22
13
|
}
|
|
@@ -361,16 +352,6 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader {
|
|
|
361
352
|
display: none !important;
|
|
362
353
|
}
|
|
363
354
|
|
|
364
|
-
.swiper-button-next:after,
|
|
365
|
-
.swiper-button-prev:after {
|
|
366
|
-
font-family: swiper-icons;
|
|
367
|
-
font-size: var(--swiper-navigation-size);
|
|
368
|
-
text-transform: none !important;
|
|
369
|
-
letter-spacing: 0;
|
|
370
|
-
font-variant: initial;
|
|
371
|
-
line-height: 1;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
355
|
.swiper-button-prev,
|
|
375
356
|
.swiper-rtl .swiper-button-next {
|
|
376
357
|
left: var(--swiper-navigation-sides-offset, 10px);
|
|
@@ -1132,7 +1113,7 @@ swiper-container .swiper-notification {
|
|
|
1132
1113
|
text-align: left;
|
|
1133
1114
|
}
|
|
1134
1115
|
|
|
1135
|
-
.hero-carousel--item__pagination ul li.hero-carousel--item__pagination__button button:is(:hover, :focus) {
|
|
1116
|
+
.hero-carousel--item__pagination ul li.hero-carousel--item__pagination__button button:is(:hover, :focus-visible) {
|
|
1136
1117
|
cursor: pointer;
|
|
1137
1118
|
opacity: 1;
|
|
1138
1119
|
}
|
|
@@ -30,6 +30,7 @@ export class HyHeroCarousel {
|
|
|
30
30
|
navigation: {
|
|
31
31
|
nextEl: ".swiper-button-next",
|
|
32
32
|
prevEl: ".swiper-button-prev",
|
|
33
|
+
addIcons: false,
|
|
33
34
|
},
|
|
34
35
|
pagination: {
|
|
35
36
|
el: ".swiper-pagination",
|
|
@@ -56,7 +57,7 @@ export class HyHeroCarousel {
|
|
|
56
57
|
}
|
|
57
58
|
render() {
|
|
58
59
|
const carouselContentClasses = ["hero-carousel--item__content", this.itemCount > 1 ? "has-pagination" : ""].join(" ");
|
|
59
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '6edb4f0431901d93792c815d98c3d1b0530b028d', class: "hero-carousel-container" }, h("div", { key: '56818055b029489cd68ec5bd242c7fa0f6cbda65', class: "swiper" }, h("div", { key: '10e2871e58c3eac5fe6a5793d435a0ebe126bb25', class: "swiper-wrapper" }, this._data["items"] &&
|
|
60
61
|
this._data["items"].map((i, index) => {
|
|
61
62
|
const currentIndex = index;
|
|
62
63
|
const srcSet = JSON.parse(i.image_sources);
|
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
position: relative;
|
|
27
27
|
}
|
|
28
28
|
.hy-link-box-container:focus-within {
|
|
29
|
-
|
|
29
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
30
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
31
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
32
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
30
33
|
}
|
|
31
34
|
.hy-link-box-container:hover {
|
|
32
35
|
cursor: pointer;
|
|
@@ -50,8 +50,11 @@
|
|
|
50
50
|
padding: 0;
|
|
51
51
|
position: relative;
|
|
52
52
|
}
|
|
53
|
-
.menu--main-group__toggle:focus {
|
|
54
|
-
|
|
53
|
+
.menu--main-group__toggle:focus-visible {
|
|
54
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
55
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
56
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
57
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
55
58
|
}
|
|
56
59
|
.menu--main-group__toggle:hover {
|
|
57
60
|
cursor: pointer;
|
|
@@ -201,6 +204,12 @@
|
|
|
201
204
|
.menu--main-group__dropdown.is-open .menu-main-link:hover svg {
|
|
202
205
|
fill: var(--grayscale-medium);
|
|
203
206
|
}
|
|
207
|
+
.menu--main-group__dropdown.is-open .menu-main-link:focus-visible {
|
|
208
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
209
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
210
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
211
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
212
|
+
}
|
|
204
213
|
.menu--main-group__dropdown.is-open .menu--main-group__label {
|
|
205
214
|
color: var(--grayscale-white);
|
|
206
215
|
margin-left: 12px;
|
|
@@ -226,6 +235,12 @@
|
|
|
226
235
|
.menu--main-group__mobile-toggle:hover {
|
|
227
236
|
cursor: pointer;
|
|
228
237
|
}
|
|
238
|
+
.menu--main-group__mobile-toggle:focus-visible {
|
|
239
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
240
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
241
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
242
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
243
|
+
}
|
|
229
244
|
.menu--main-group__dropdown__top {
|
|
230
245
|
display: -webkit-box;
|
|
231
246
|
display: -ms-flexbox;
|
|
@@ -248,6 +263,12 @@
|
|
|
248
263
|
.menu--main-group__dropdown__close:hover {
|
|
249
264
|
cursor: pointer;
|
|
250
265
|
}
|
|
266
|
+
.menu--main-group__dropdown__close:focus-visible {
|
|
267
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
268
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
269
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
270
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
271
|
+
}
|
|
251
272
|
.menu--main-group__logo-container .hy-site-logo__label.group {
|
|
252
273
|
max-width: 250px;
|
|
253
274
|
}
|
|
@@ -272,6 +293,12 @@
|
|
|
272
293
|
text-decoration: none;
|
|
273
294
|
width: 100%;
|
|
274
295
|
}
|
|
296
|
+
.menu--main-group__dropdown__items .menu-main-link:focus-visible {
|
|
297
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
298
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
299
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
300
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
301
|
+
}
|
|
275
302
|
.menu--main-group__dropdown__items .menu-main-link:hover {
|
|
276
303
|
text-decoration: underline;
|
|
277
304
|
}
|
|
@@ -60,9 +60,11 @@
|
|
|
60
60
|
.menu-language__toggle:hover svg {
|
|
61
61
|
fill: var(--brand-main);
|
|
62
62
|
}
|
|
63
|
-
.menu-language__toggle:focus {
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
.menu-language__toggle:focus-visible {
|
|
64
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
65
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
66
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
67
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
66
68
|
}
|
|
67
69
|
.menu-language__toggle hy-icon:first-of-type {
|
|
68
70
|
display: none !important;
|
|
@@ -93,6 +95,12 @@
|
|
|
93
95
|
.is-group .menu-language__toggle {
|
|
94
96
|
color: var(--grayscale-white);
|
|
95
97
|
}
|
|
98
|
+
.is-group .menu-language__toggle:focus-visible {
|
|
99
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-black);
|
|
100
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-black);
|
|
101
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
102
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
103
|
+
}
|
|
96
104
|
.is-group .menu-language__toggle:hover {
|
|
97
105
|
color: var(--grayscale-medium);
|
|
98
106
|
cursor: pointer;
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
padding: 12px 12px;
|
|
19
19
|
display: block;
|
|
20
20
|
}
|
|
21
|
+
.menu-language__link:focus-visible {
|
|
22
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
23
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
24
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
25
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
26
|
+
}
|
|
21
27
|
.menu-language__link:hover {
|
|
22
28
|
background-color: var(--grayscale-background-box);
|
|
23
29
|
color: var(--brand-main);
|
|
@@ -67,8 +67,15 @@
|
|
|
67
67
|
color: var(--brand-main-active);
|
|
68
68
|
cursor: pointer;
|
|
69
69
|
}
|
|
70
|
-
.open-hours__date-change .open-hours__prev-date:focus,
|
|
71
|
-
.open-hours__date-change .open-hours__next-date:focus {
|
|
70
|
+
.open-hours__date-change .open-hours__prev-date:focus-visible,
|
|
71
|
+
.open-hours__date-change .open-hours__next-date:focus-visible {
|
|
72
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
73
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
74
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
75
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
76
|
+
}
|
|
77
|
+
.open-hours__date-change .open-hours__prev-date:focus-visible,
|
|
78
|
+
.open-hours__date-change .open-hours__next-date:focus-visible {
|
|
72
79
|
background-color: var(--hover-gray);
|
|
73
80
|
color: var(--brand-main-active);
|
|
74
81
|
}
|
|
@@ -66,6 +66,12 @@
|
|
|
66
66
|
min-width: 36px;
|
|
67
67
|
text-decoration: none;
|
|
68
68
|
}
|
|
69
|
+
.hy-pager__item a:focus-visible {
|
|
70
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
71
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
72
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
73
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
74
|
+
}
|
|
69
75
|
@media (min-width: 60rem) {
|
|
70
76
|
.hy-pager__item a {
|
|
71
77
|
font-size: 1rem;
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
margin-bottom: 5px;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
.hy-person-card__info-container__full-name:hover, .hy-person-card__info-container__full-name:focus {
|
|
171
|
+
.hy-person-card__info-container__full-name:hover, .hy-person-card__info-container__full-name:focus-visible {
|
|
172
172
|
color: var(--brand-main);
|
|
173
173
|
}
|
|
174
174
|
.hy-person-card__info-container__position-title {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
.search-field__input:hover {
|
|
152
152
|
border-color: var(--brand-main-light);
|
|
153
153
|
}
|
|
154
|
-
.search-field__input:focus {
|
|
154
|
+
.search-field__input:focus-visible {
|
|
155
155
|
border-color: var(--brand-main-light);
|
|
156
156
|
border-style: solid inset solid solid;
|
|
157
157
|
border-width: 2px;
|
|
@@ -201,8 +201,11 @@
|
|
|
201
201
|
.search-field__reset:hover {
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
}
|
|
204
|
-
.search-field__reset:focus {
|
|
205
|
-
|
|
204
|
+
.search-field__reset:focus-visible {
|
|
205
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
206
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
207
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
208
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
206
209
|
}
|
|
207
210
|
.search-field__submit {
|
|
208
211
|
-webkit-box-align: center;
|
|
@@ -245,9 +248,12 @@
|
|
|
245
248
|
width: 22px;
|
|
246
249
|
}
|
|
247
250
|
}
|
|
251
|
+
.search-field__submit:focus-visible {
|
|
252
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
253
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
254
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
255
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
256
|
+
}
|
|
248
257
|
.search-field__submit:hover {
|
|
249
258
|
cursor: pointer;
|
|
250
|
-
}
|
|
251
|
-
s .search-field__submit:focus {
|
|
252
|
-
outline-color: var(--brand-main-light);
|
|
253
259
|
}
|
|
@@ -99,6 +99,12 @@
|
|
|
99
99
|
text-decoration: none;
|
|
100
100
|
word-break: break-word;
|
|
101
101
|
}
|
|
102
|
+
.hy-shortcuts .shortcut-link-container a.shortcut-link:focus-visible {
|
|
103
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
104
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
105
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
106
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
107
|
+
}
|
|
102
108
|
@media (min-width: 30rem) {
|
|
103
109
|
.hy-shortcuts .shortcut-link-container a.shortcut-link {
|
|
104
110
|
border-bottom: 3px solid var(--brand-main-nearly-black);
|
|
@@ -144,6 +144,12 @@
|
|
|
144
144
|
-ms-flex-align: center;
|
|
145
145
|
align-items: center;
|
|
146
146
|
}
|
|
147
|
+
.hy-site-header__branding > a:focus-visible {
|
|
148
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
149
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
150
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
151
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
152
|
+
}
|
|
147
153
|
@media (min-width: 75.0625rem) {
|
|
148
154
|
.hy-site-header__branding > a {
|
|
149
155
|
font-size: 1.625rem;
|
|
@@ -230,6 +236,12 @@
|
|
|
230
236
|
z-index: 101;
|
|
231
237
|
width: auto;
|
|
232
238
|
}
|
|
239
|
+
.hy-site-header__menu-open-button[aria-expanded=true]:focus-visible {
|
|
240
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
241
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
242
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
243
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
244
|
+
}
|
|
233
245
|
.hy-site-header__menu-open-button[aria-expanded=true]:hover {
|
|
234
246
|
cursor: pointer;
|
|
235
247
|
}
|
|
@@ -255,6 +267,12 @@
|
|
|
255
267
|
padding: 0;
|
|
256
268
|
text-decoration: none;
|
|
257
269
|
}
|
|
270
|
+
.hy-site-header__donate-link:focus-visible {
|
|
271
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
272
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
273
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
274
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
275
|
+
}
|
|
258
276
|
@media (min-width: 1601px) {
|
|
259
277
|
.hy-site-header__donate-link {
|
|
260
278
|
font-size: 0.875rem;
|
|
@@ -268,16 +286,18 @@
|
|
|
268
286
|
.hy-site-header__donate-link:hover svg {
|
|
269
287
|
fill: var(--brand-main);
|
|
270
288
|
}
|
|
271
|
-
.hy-site-header__donate-link:focus {
|
|
272
|
-
outline: solid 2px var(--additional-yellow);
|
|
273
|
-
outline-offset: 2px;
|
|
274
|
-
}
|
|
275
289
|
.hy-site-header__content-top .hy-site-header__donate-link {
|
|
276
290
|
color: var(--grayscale-white);
|
|
277
291
|
}
|
|
278
292
|
.hy-site-header__content-top .hy-site-header__donate-link svg {
|
|
279
293
|
fill: var(--grayscale-white);
|
|
280
294
|
}
|
|
295
|
+
.hy-site-header__content-top .hy-site-header__donate-link:focus-visible {
|
|
296
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
297
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-black);
|
|
298
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
299
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
300
|
+
}
|
|
281
301
|
.hy-site-header__content-top .hy-site-header__donate-link:hover {
|
|
282
302
|
color: var(--grayscale-medium);
|
|
283
303
|
cursor: pointer;
|
|
@@ -238,7 +238,7 @@ export class SiteHeader {
|
|
|
238
238
|
"hy-backdrop": true,
|
|
239
239
|
"is-active": (this.isMenuOpen && !this.isDesktopMenuDropdown) ||
|
|
240
240
|
(this.isTopMenuOpen && !this.isDesktopMenuDropdown),
|
|
241
|
-
} }), this.isGroup && (h("section", { class: `hy-site-header__content-top ${this.isTopMenuOpen ? "is-open" : ""}` }, h("div", { class: "hy-site-header__container" }, h("div", { class: "hy-site-header__branding" }, h("hy-site-logo", { "is-group": true, "is-luomus-group": this.isLuomusGroup, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })), this.dataMainMenuLinks.length > 2 && (h("hy-menu-main-group", {
|
|
241
|
+
} }), this.isGroup && (h("section", { class: `hy-site-header__content-top ${this.isTopMenuOpen ? "is-open" : ""}` }, h("div", { class: "hy-site-header__container" }, h("div", { class: "hy-site-header__branding" }, h("hy-site-logo", { "is-group": true, "is-luomus-group": this.isLuomusGroup, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })), this.dataMainMenuLinks.length > 2 && (h("hy-menu-main-group", { "is-mobile": false, "menu-label": (_a = this.groupPages["university_main_menu"]) !== null && _a !== void 0 ? _a : null, "data-main-menu": this.dataMainMenuLinks, "menu-label-close": this.menuLabelClose })), h("div", { class: "hy-site-header__actions" }, h("hy-menu-language", { "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels, isGroup: true }), !this.noSearch && (h("hy-site-search", { class: "menu--secondary__item group", size: 18, color: logoColorGroup, "is-group": true, "is-luomus-group": this.isLuomusGroup, "is-beta-group": this.isBetaGroup, "search-language": activeLang, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), this.donateLink.map(({ label, url }) => {
|
|
242
242
|
return (h("a", { class: "hy-site-header__donate-link", href: url }, h("hy-icon", { icon: "hy-icon-heart-support", size: 14, fill: ColorVariant.black }), h("span", null, label)));
|
|
243
243
|
}))))), h("section", { class: `hy-site-header__container ${this.isGroup ? "is-group" : ""} ${this.groupType === "research_group_menu" ? "is-research-group" : ""}` }, h("div", { class: "hy-site-header__branding" }, this.isGroup && this.groupType == "research_group_menu" && h("p", null, this.researchGroupLabel), this.isGroup ? (h("a", { href: this.logoUrl }, this.groupType == "generic_site_group_menu" && this.groupLogoUrl ? (h("img", { src: this.groupLogoUrl, alt: `${this.logoLabel} logo` })) : (this.logoLabel))) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), this.groupType != "research_group_menu" && h("slot", { name: "menu" }), !this.isGroup && (h("div", { class: "hy-site-header__actions" }, h("hy-menu-language", { "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), !this.noSearch && (h("hy-site-search", { size: 14, "is-luomus-group": this.isLuomusGroup, "is-beta-group": this.isBetaGroup, "search-language": activeLang, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), this.donateLink.map(({ label, url }) => {
|
|
244
244
|
return (h("a", { class: "hy-site-header__donate-link", href: url }, h("hy-icon", { icon: "hy-icon-heart-support", size: 14, fill: ColorVariant.black }), h("span", null, label)));
|
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
display: flex;
|
|
23
23
|
text-decoration: none;
|
|
24
24
|
}
|
|
25
|
-
.hy-site-logo a:focus,
|
|
26
|
-
.hy-site-logo div.luomus-group:focus {
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
.hy-site-logo a:focus-visible,
|
|
26
|
+
.hy-site-logo div.luomus-group:focus-visible {
|
|
27
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
28
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
29
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
30
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
29
31
|
}
|
|
30
32
|
.hy-site-logo__label {
|
|
31
33
|
font-size: 0.875rem;
|
|
@@ -52,9 +52,11 @@
|
|
|
52
52
|
.button--search:hover:not([disabled]) svg {
|
|
53
53
|
fill: var(--brand-main);
|
|
54
54
|
}
|
|
55
|
-
.button--search:
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
.button--search:not([disabled]):focus-visible {
|
|
56
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
57
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
58
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
59
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
58
60
|
}
|
|
59
61
|
.button--search.is-active, .button--search[aria-expanded=true] {
|
|
60
62
|
position: relative;
|
|
@@ -71,6 +73,12 @@
|
|
|
71
73
|
.is-group .button--search {
|
|
72
74
|
color: var(--grayscale-white);
|
|
73
75
|
}
|
|
76
|
+
.is-group .button--search:focus-visible {
|
|
77
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-black);
|
|
78
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-black);
|
|
79
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-white);
|
|
80
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
81
|
+
}
|
|
74
82
|
.is-group .button--search:hover:not([disabled]) {
|
|
75
83
|
color: var(--grayscale-medium);
|
|
76
84
|
cursor: pointer;
|
|
@@ -270,15 +278,21 @@
|
|
|
270
278
|
letter-spacing: -0.56px;
|
|
271
279
|
}
|
|
272
280
|
}
|
|
273
|
-
.site-search__panel__panel-toggle:focus:not([disabled]), .site-search__panel__panel-toggle:hover:not([disabled]) {
|
|
281
|
+
.site-search__panel__panel-toggle:focus-visible:not([disabled]), .site-search__panel__panel-toggle:hover:not([disabled]) {
|
|
274
282
|
cursor: pointer;
|
|
275
283
|
}
|
|
276
|
-
.site-search__panel__panel-toggle:focus:not([disabled]) span, .site-search__panel__panel-toggle:hover:not([disabled]) span {
|
|
284
|
+
.site-search__panel__panel-toggle:focus-visible:not([disabled]) span, .site-search__panel__panel-toggle:hover:not([disabled]) span {
|
|
277
285
|
color: var(--brand-main);
|
|
278
286
|
}
|
|
279
|
-
.site-search__panel__panel-toggle:focus:not([disabled]) svg, .site-search__panel__panel-toggle:hover:not([disabled]) svg {
|
|
287
|
+
.site-search__panel__panel-toggle:focus-visible:not([disabled]) svg, .site-search__panel__panel-toggle:hover:not([disabled]) svg {
|
|
280
288
|
fill: var(--brand-main);
|
|
281
289
|
}
|
|
290
|
+
.site-search__panel__panel-toggle:not([disabled]):focus-visible {
|
|
291
|
+
-webkit-box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
292
|
+
box-shadow: inset 0 0 0 var(--ds-borderWidth-thick) var(--ds-borderColor-white);
|
|
293
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
294
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * -1 * 1);
|
|
295
|
+
}
|
|
282
296
|
.site-search__panel__tools .title {
|
|
283
297
|
font-size: 1rem;
|
|
284
298
|
line-height: 20px;
|
|
@@ -35,8 +35,13 @@
|
|
|
35
35
|
.hy-tabs__container .hy-tab-scroll.is-disabled:hover {
|
|
36
36
|
cursor: none;
|
|
37
37
|
}
|
|
38
|
-
.hy-tabs__container .hy-tab-scroll:focus
|
|
39
|
-
|
|
38
|
+
.hy-tabs__container .hy-tab-scroll:focus-visible {
|
|
39
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
40
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
41
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
42
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
43
|
+
}
|
|
44
|
+
.hy-tabs__container .hy-tab-scroll:hover {
|
|
40
45
|
cursor: pointer;
|
|
41
46
|
}
|
|
42
47
|
.hy-tabs__container .hy-tab-scroll span {
|
|
@@ -261,6 +266,9 @@
|
|
|
261
266
|
padding: 40px 20px;
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
|
-
.hy-tabs__container [role=tabpanel]:focus {
|
|
265
|
-
|
|
269
|
+
.hy-tabs__container [role=tabpanel]:focus-visible {
|
|
270
|
+
-webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
271
|
+
box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
|
|
272
|
+
outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
|
|
273
|
+
outline-offset: calc(var(--ds-borderWidth-thin) * 1);
|
|
266
274
|
}
|