@itcenteratunihelsinki/huds-lib 0.6.5 → 0.6.7

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.
Files changed (38) hide show
  1. package/dist/cjs/huds-lib.cjs.js +1 -1
  2. package/dist/cjs/{hy-accordion-container_89.cjs.entry.js → hy-accordion-container_83.cjs.entry.js} +610 -1317
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/collection-manifest.json +0 -12
  5. package/dist/collection/components/cta-button/cta-button.js +26 -5
  6. package/dist/collection/components/hy-dropdown/hy-dropdown.js +2 -2
  7. package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +20 -1
  8. package/dist/collection/components/site-header/site-header.css +16 -1
  9. package/dist/collection/components/site-header/site-header.js +15 -37
  10. package/dist/esm/huds-lib.js +1 -1
  11. package/dist/esm/{hy-accordion-container_89.entry.js → hy-accordion-container_83.entry.js} +612 -1313
  12. package/dist/esm/loader.js +1 -1
  13. package/dist/huds-lib/huds-lib.esm.js +1 -1
  14. package/dist/huds-lib/p-f86741ed.entry.js +86 -0
  15. package/dist/types/components/cta-button/cta-button.d.ts +1 -0
  16. package/dist/types/components/navigation/hy-menu-main-group/hy-menu-main-group.d.ts +1 -0
  17. package/dist/types/components/site-header/site-header.d.ts +0 -1
  18. package/dist/types/components.d.ts +5 -212
  19. package/package.json +1 -1
  20. package/dist/collection/components/navigation/menu/menu.css +0 -262
  21. package/dist/collection/components/navigation/menu/menu.js +0 -431
  22. package/dist/collection/components/navigation/menu-item/menu-item.css +0 -348
  23. package/dist/collection/components/navigation/menu-item/menu-item.js +0 -557
  24. package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +0 -129
  25. package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +0 -300
  26. package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +0 -90
  27. package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.js +0 -151
  28. package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.css +0 -140
  29. package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.js +0 -68
  30. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +0 -469
  31. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +0 -482
  32. package/dist/huds-lib/p-fd0fd0ea.entry.js +0 -86
  33. package/dist/types/components/navigation/menu/menu.d.ts +0 -30
  34. package/dist/types/components/navigation/menu-item/menu-item.d.ts +0 -31
  35. package/dist/types/components/navigation/menu-level-container/menu-level-container.d.ts +0 -27
  36. package/dist/types/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.d.ts +0 -12
  37. package/dist/types/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.d.ts +0 -13
  38. package/dist/types/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.d.ts +0 -60
@@ -1,300 +0,0 @@
1
- import { Component, Element, h, Host, Listen, Prop, State } from '@stencil/core';
2
- import { MenuType } from '../../../utils/utils';
3
- export class MenuLevelContainer {
4
- constructor() {
5
- this.menuType = MenuType.mobile;
6
- this.activeTrailTriggered = false;
7
- this.depth = 0;
8
- this.menuIsOpen = false;
9
- }
10
- // Add/Remove is-hidden class from each upper level menu-items
11
- // to make browsing more accessible.
12
- assignMenuItemClass(parentMenu, type) {
13
- if (!parentMenu)
14
- return;
15
- const items = Array.from(parentMenu.children);
16
- items.forEach((item) => {
17
- if (type === 'remove') {
18
- item.classList.remove('is-hidden');
19
- }
20
- else {
21
- item.classList.add('is-hidden');
22
- }
23
- });
24
- }
25
- // Listener for assigning active-trail for parent menu level container.
26
- menuContainerActiveTrail(data) {
27
- const currentMenuContainer = this.el.getAttribute('trigger-item');
28
- if (currentMenuContainer === data.detail.triggerItem) {
29
- this.activeTrailTriggered = true;
30
- this.menuIsOpen = true;
31
- this.assignMenuItemClass(this.el.parentElement.closest('hy-menu-level-container'), 'add');
32
- }
33
- }
34
- // Listener for opening and closing menu level container.
35
- menuContainerToggled(data) {
36
- // Toggle submenu.
37
- if (this.triggerItem == data.detail.triggerItem) {
38
- this.activeTrailTriggered = false;
39
- this.menuIsOpen = data.detail.triggerType != 'remove';
40
- this.assignMenuItemClass(this.el.parentElement.closest('hy-menu-level-container'), data.detail.triggerType);
41
- // Scroll to .hy-menu top.
42
- let hyMenu = this.el.parentElement.closest('hy-menu');
43
- hyMenu.shadowRoot.querySelector('.hy-menu').scrollTop = 0;
44
- }
45
- }
46
- componentWillUpdate() {
47
- // Pass the menu type and menu-button-submenu-expand attributes to
48
- // the child menu item component.
49
- if (this.menuType) {
50
- const items = Array.from(this.el.children);
51
- items.forEach((item) => {
52
- item.setAttribute('menu-type', this.menuType);
53
- item.setAttribute('menu-button-submenu-expand', this.menuButtonSubmenuExpand);
54
- });
55
- }
56
- }
57
- componentWillLoad() {
58
- // Set trigger item for each mobile menu level container and handle only submenus.
59
- // Add a heading element foreach level.
60
- if (this.menuType === MenuType.mobile) {
61
- if (this.menuLevel > 1) {
62
- const parentMenuItem = this.el.closest('hy-menu-item');
63
- this.triggerItem = parentMenuItem.getAttribute('menu-link-id');
64
- this.headingItem = Object.assign(Object.assign({}, this.headingItem), { url: parentMenuItem.getAttribute('url') });
65
- this.headingItem = Object.assign(Object.assign({}, this.headingItem), { label: parentMenuItem.getAttribute('label') });
66
- this.headingItem = Object.assign(Object.assign({}, this.headingItem), { isActive: window.location.pathname === this.headingItem.url });
67
- }
68
- else {
69
- this.triggerItem = 'home';
70
- }
71
- }
72
- }
73
- render() {
74
- let classAttributes = ['hy-menu-level-container', 'hy-menu-level-container--level-' + this.depth];
75
- switch (this.menuType) {
76
- case MenuType.desktop:
77
- classAttributes = [...classAttributes, 'hy-menu-level-container--desktop'];
78
- return (h(Host, { class: classAttributes.join(' ') },
79
- h("slot", null)));
80
- case MenuType.mobile:
81
- classAttributes = [...classAttributes, 'hy-menu-level-container--mobile'];
82
- if (this.depth === 1) {
83
- classAttributes = [...classAttributes, 'is-open'];
84
- return (h(Host, { "aria-expanded": this.menuIsOpen.toString(), class: classAttributes.join(' '), tabindex: '-1' },
85
- h("slot", null)));
86
- }
87
- else {
88
- classAttributes = [...classAttributes, this.menuIsOpen ? 'is-open' : null];
89
- return (h(Host, { "aria-expanded": this.menuIsOpen.toString(), class: classAttributes.join(' '), tabindex: '-1' },
90
- h("hy-menu-item", { label: this.headingItem.label, url: this.headingItem.url, isHeading: true, isActive: this.headingItem.isActive, "menu-type": 'mobile', depth: this.menuLevel }),
91
- h("slot", null),
92
- h("slot", { name: "shortcuts" })));
93
- }
94
- }
95
- }
96
- static get is() { return "hy-menu-level-container"; }
97
- static get originalStyleUrls() { return {
98
- "$": ["menu-level-container.scss"]
99
- }; }
100
- static get styleUrls() { return {
101
- "$": ["menu-level-container.css"]
102
- }; }
103
- static get properties() { return {
104
- "labelFrontPage": {
105
- "type": "string",
106
- "mutable": false,
107
- "complexType": {
108
- "original": "string",
109
- "resolved": "string",
110
- "references": {}
111
- },
112
- "required": false,
113
- "optional": true,
114
- "docs": {
115
- "tags": [],
116
- "text": ""
117
- },
118
- "attribute": "label-front-page",
119
- "reflect": false
120
- },
121
- "menuButtonSubmenuExpand": {
122
- "type": "string",
123
- "mutable": false,
124
- "complexType": {
125
- "original": "string",
126
- "resolved": "string",
127
- "references": {}
128
- },
129
- "required": false,
130
- "optional": true,
131
- "docs": {
132
- "tags": [],
133
- "text": ""
134
- },
135
- "attribute": "menu-button-submenu-expand",
136
- "reflect": false
137
- },
138
- "menuLevel": {
139
- "type": "number",
140
- "mutable": false,
141
- "complexType": {
142
- "original": "number",
143
- "resolved": "number",
144
- "references": {}
145
- },
146
- "required": false,
147
- "optional": false,
148
- "docs": {
149
- "tags": [],
150
- "text": ""
151
- },
152
- "attribute": "menu-level",
153
- "reflect": false
154
- },
155
- "menuType": {
156
- "type": "string",
157
- "mutable": false,
158
- "complexType": {
159
- "original": "MenuType",
160
- "resolved": "MenuType.desktop | MenuType.mobile | MenuType.tablet",
161
- "references": {
162
- "MenuType": {
163
- "location": "import",
164
- "path": "../../../utils/utils"
165
- }
166
- }
167
- },
168
- "required": false,
169
- "optional": false,
170
- "docs": {
171
- "tags": [],
172
- "text": ""
173
- },
174
- "attribute": "menu-type",
175
- "reflect": false,
176
- "defaultValue": "MenuType.mobile"
177
- },
178
- "activeTrailTriggered": {
179
- "type": "boolean",
180
- "mutable": false,
181
- "complexType": {
182
- "original": "boolean",
183
- "resolved": "boolean",
184
- "references": {}
185
- },
186
- "required": false,
187
- "optional": false,
188
- "docs": {
189
- "tags": [],
190
- "text": ""
191
- },
192
- "attribute": "active-trail-triggered",
193
- "reflect": true,
194
- "defaultValue": "false"
195
- },
196
- "depth": {
197
- "type": "number",
198
- "mutable": true,
199
- "complexType": {
200
- "original": "number",
201
- "resolved": "number",
202
- "references": {}
203
- },
204
- "required": false,
205
- "optional": false,
206
- "docs": {
207
- "tags": [],
208
- "text": ""
209
- },
210
- "attribute": "depth",
211
- "reflect": false,
212
- "defaultValue": "0"
213
- },
214
- "headingItem": {
215
- "type": "any",
216
- "mutable": true,
217
- "complexType": {
218
- "original": "any",
219
- "resolved": "any",
220
- "references": {}
221
- },
222
- "required": false,
223
- "optional": false,
224
- "docs": {
225
- "tags": [],
226
- "text": ""
227
- },
228
- "attribute": "heading-item",
229
- "reflect": false
230
- },
231
- "triggerItem": {
232
- "type": "string",
233
- "mutable": true,
234
- "complexType": {
235
- "original": "string",
236
- "resolved": "string",
237
- "references": {}
238
- },
239
- "required": false,
240
- "optional": false,
241
- "docs": {
242
- "tags": [],
243
- "text": ""
244
- },
245
- "attribute": "trigger-item",
246
- "reflect": true
247
- },
248
- "frontUrl": {
249
- "type": "string",
250
- "mutable": false,
251
- "complexType": {
252
- "original": "string",
253
- "resolved": "string",
254
- "references": {}
255
- },
256
- "required": false,
257
- "optional": false,
258
- "docs": {
259
- "tags": [],
260
- "text": "Url to front page for panel first parent"
261
- },
262
- "attribute": "front-url",
263
- "reflect": false
264
- },
265
- "frontLabel": {
266
- "type": "string",
267
- "mutable": false,
268
- "complexType": {
269
- "original": "string",
270
- "resolved": "string",
271
- "references": {}
272
- },
273
- "required": false,
274
- "optional": false,
275
- "docs": {
276
- "tags": [],
277
- "text": "label for front page for panel first parent"
278
- },
279
- "attribute": "front-label",
280
- "reflect": false
281
- }
282
- }; }
283
- static get states() { return {
284
- "menuIsOpen": {}
285
- }; }
286
- static get elementRef() { return "el"; }
287
- static get listeners() { return [{
288
- "name": "menuContainerActiveTrail",
289
- "method": "menuContainerActiveTrail",
290
- "target": "document",
291
- "capture": true,
292
- "passive": false
293
- }, {
294
- "name": "menuContainerToggled",
295
- "method": "menuContainerToggled",
296
- "target": "document",
297
- "capture": true,
298
- "passive": false
299
- }]; }
300
- }
@@ -1,90 +0,0 @@
1
- :root {
2
- --brand-main: #0e688b;
3
- --brand-main-soft: #b1e7ff;
4
- --brand-main-bright: #48c5f8;
5
- --brand-main-light: #107eab;
6
- --brand-main-active: #005379;
7
- --brand-main-dark: #003146;
8
- --brand-main-nearly-black: #000222;
9
- --link-blue: #0479a4;
10
- --link-disabled: #767676;
11
- --grayscale-white: #fff;
12
- --grayscale-slightly-gray: #fefefe;
13
- --grayscale-light: #f8f8f8;
14
- --grayscale-medium: #d2d2d2;
15
- --grayscale-background-box: #f5f5f5;
16
- --grayscale-tabs-border: #e6e6e6;
17
- --grayscale-background-arrow: #dfdfdf;
18
- --grayscale-medium-dark: #979797;
19
- --grayscale-dark: #555555;
20
- --grayscale-dark-text: #222222;
21
- --grayscale-black: #000000;
22
- --additional-red-light: #e5053a;
23
- --additional-red-dark: #a31621;
24
- --additional-purple-light: #420039;
25
- --additional-yellow: #f9a21a;
26
- --additional-skyblue: #48c5f8;
27
- --additional-orange: #d14600;
28
- --additional-green-light: #96ba3c;
29
- --additional-green-dark: #006400;
30
- --hover-gray: #eaeaea;
31
- }
32
-
33
- * {
34
- -webkit-box-sizing: border-box;
35
- box-sizing: border-box;
36
- }
37
-
38
- :root {
39
- --gutter-mobile: 16px;
40
- --gutter-narrow: 24px;
41
- --gutter-medium: 24px;
42
- --gutter-wide: 24px;
43
- --gutter-extrawide: 32px;
44
- }
45
-
46
- /**
47
- * Mixin for fluid type.
48
- * Example usage: @include fluid-type(font-size, 320px, 1600px, 32px, 80px);
49
- */
50
-
51
- :root {
52
- --breakpoint-extrawide: 75.0625rem;
53
- --breakpoint-max-width: 75.0625rem;
54
- --breakpoint-medium: 48rem;
55
- --breakpoint-narrow: 30rem;
56
- --breakpoint-wide: 60rem;
57
- }
58
-
59
- .hy-menu-mobile-breadcrumb {
60
- font-size: 0.9375rem;
61
- line-height: 22px;
62
- font-weight: 400;
63
- color: var(--brand-main-light);
64
- -webkit-box-align: center;
65
- -ms-flex-align: center;
66
- align-items: center;
67
- background-color: transparent;
68
- border: 0 none;
69
- cursor: pointer;
70
- display: -webkit-inline-box;
71
- display: -ms-inline-flexbox;
72
- display: inline-flex;
73
- font-family: var(--main-font-family);
74
- text-decoration: none;
75
- padding: 11px 0;
76
- text-align: left;
77
- }
78
-
79
- .hy-menu-mobile-breadcrumb:focus {
80
- outline: solid 2px var(--additional-yellow);
81
- outline-offset: 2px;
82
- }
83
-
84
- .hy-menu-mobile-breadcrumb hy-icon {
85
- margin-right: 8px;
86
- }
87
-
88
- .hy-menu-mobile-breadcrumb hy-icon svg {
89
- fill: var(--grayscale-black);
90
- }
@@ -1,151 +0,0 @@
1
- import { Component, Prop, Event, h, Listen } from '@stencil/core';
2
- export class MenuMobileBreadcrumb {
3
- constructor() {
4
- this.isFirst = false;
5
- }
6
- // Listener for a click. The current breadcrumb will be remove from the list.
7
- handleClick() {
8
- this.removeBreadcrumb.emit({ bid: this.bid });
9
- }
10
- render() {
11
- return this.isFirst ? (h("a", { "aria-label": `${this.labelBack}: ${this.labelFrontPage}`, class: 'hy-menu-mobile-breadcrumb', href: this.logoUrl },
12
- h("span", { class: 'hy-menu-mobile-breadcrumb__label' }, this.label))) : (h("button", { "aria-label": `${this.labelBack}: ${this.label}`, class: 'hy-menu-mobile-breadcrumb', onClick: () => this.handleClick() },
13
- h("hy-icon", { icon: 'hy-icon-caret-left', size: 10 }),
14
- h("span", { class: 'hy-menu-mobile-breadcrumb__label' }, this.label)));
15
- }
16
- static get is() { return "hy-menu-mobile-breadcrumb"; }
17
- static get originalStyleUrls() { return {
18
- "$": ["menu-mobile-breadcrumb.scss"]
19
- }; }
20
- static get styleUrls() { return {
21
- "$": ["menu-mobile-breadcrumb.css"]
22
- }; }
23
- static get properties() { return {
24
- "bid": {
25
- "type": "string",
26
- "mutable": false,
27
- "complexType": {
28
- "original": "string",
29
- "resolved": "string",
30
- "references": {}
31
- },
32
- "required": false,
33
- "optional": false,
34
- "docs": {
35
- "tags": [],
36
- "text": ""
37
- },
38
- "attribute": "bid",
39
- "reflect": false
40
- },
41
- "isFirst": {
42
- "type": "boolean",
43
- "mutable": false,
44
- "complexType": {
45
- "original": "boolean",
46
- "resolved": "boolean",
47
- "references": {}
48
- },
49
- "required": false,
50
- "optional": false,
51
- "docs": {
52
- "tags": [],
53
- "text": ""
54
- },
55
- "attribute": "is-first",
56
- "reflect": false,
57
- "defaultValue": "false"
58
- },
59
- "label": {
60
- "type": "string",
61
- "mutable": false,
62
- "complexType": {
63
- "original": "string",
64
- "resolved": "string",
65
- "references": {}
66
- },
67
- "required": false,
68
- "optional": false,
69
- "docs": {
70
- "tags": [],
71
- "text": ""
72
- },
73
- "attribute": "label",
74
- "reflect": false
75
- },
76
- "labelBack": {
77
- "type": "string",
78
- "mutable": false,
79
- "complexType": {
80
- "original": "string",
81
- "resolved": "string",
82
- "references": {}
83
- },
84
- "required": false,
85
- "optional": false,
86
- "docs": {
87
- "tags": [],
88
- "text": ""
89
- },
90
- "attribute": "label-back",
91
- "reflect": false
92
- },
93
- "labelFrontPage": {
94
- "type": "string",
95
- "mutable": false,
96
- "complexType": {
97
- "original": "string",
98
- "resolved": "string",
99
- "references": {}
100
- },
101
- "required": false,
102
- "optional": false,
103
- "docs": {
104
- "tags": [],
105
- "text": ""
106
- },
107
- "attribute": "label-front-page",
108
- "reflect": false
109
- },
110
- "logoUrl": {
111
- "type": "string",
112
- "mutable": false,
113
- "complexType": {
114
- "original": "string",
115
- "resolved": "string",
116
- "references": {}
117
- },
118
- "required": false,
119
- "optional": true,
120
- "docs": {
121
- "tags": [],
122
- "text": ""
123
- },
124
- "attribute": "logo-url",
125
- "reflect": false
126
- }
127
- }; }
128
- static get events() { return [{
129
- "method": "removeBreadcrumb",
130
- "name": "removeBreadcrumb",
131
- "bubbles": true,
132
- "cancelable": true,
133
- "composed": true,
134
- "docs": {
135
- "tags": [],
136
- "text": ""
137
- },
138
- "complexType": {
139
- "original": "any",
140
- "resolved": "any",
141
- "references": {}
142
- }
143
- }]; }
144
- static get listeners() { return [{
145
- "name": "handleClick",
146
- "method": "handleClick",
147
- "target": undefined,
148
- "capture": true,
149
- "passive": false
150
- }]; }
151
- }
@@ -1,140 +0,0 @@
1
- :root {
2
- --brand-main: #0e688b;
3
- --brand-main-soft: #b1e7ff;
4
- --brand-main-bright: #48c5f8;
5
- --brand-main-light: #107eab;
6
- --brand-main-active: #005379;
7
- --brand-main-dark: #003146;
8
- --brand-main-nearly-black: #000222;
9
- --link-blue: #0479a4;
10
- --link-disabled: #767676;
11
- --grayscale-white: #fff;
12
- --grayscale-slightly-gray: #fefefe;
13
- --grayscale-light: #f8f8f8;
14
- --grayscale-medium: #d2d2d2;
15
- --grayscale-background-box: #f5f5f5;
16
- --grayscale-tabs-border: #e6e6e6;
17
- --grayscale-background-arrow: #dfdfdf;
18
- --grayscale-medium-dark: #979797;
19
- --grayscale-dark: #555555;
20
- --grayscale-dark-text: #222222;
21
- --grayscale-black: #000000;
22
- --additional-red-light: #e5053a;
23
- --additional-red-dark: #a31621;
24
- --additional-purple-light: #420039;
25
- --additional-yellow: #f9a21a;
26
- --additional-skyblue: #48c5f8;
27
- --additional-orange: #d14600;
28
- --additional-green-light: #96ba3c;
29
- --additional-green-dark: #006400;
30
- --hover-gray: #eaeaea;
31
- }
32
-
33
- * {
34
- -webkit-box-sizing: border-box;
35
- box-sizing: border-box;
36
- }
37
-
38
- :root {
39
- --gutter-mobile: 16px;
40
- --gutter-narrow: 24px;
41
- --gutter-medium: 24px;
42
- --gutter-wide: 24px;
43
- --gutter-extrawide: 32px;
44
- }
45
-
46
- /**
47
- * Mixin for fluid type.
48
- * Example usage: @include fluid-type(font-size, 320px, 1600px, 32px, 80px);
49
- */
50
-
51
- :root {
52
- --breakpoint-extrawide: 75.0625rem;
53
- --breakpoint-max-width: 75.0625rem;
54
- --breakpoint-medium: 48rem;
55
- --breakpoint-narrow: 30rem;
56
- --breakpoint-wide: 60rem;
57
- }
58
-
59
- :host(.hy-mobile-menu-shortcuts) {
60
- margin-top: 24px;
61
- }
62
-
63
- :host(.hy-mobile-menu-shortcuts) > h2 {
64
- font-size: 1rem;
65
- line-height: 20px;
66
- font-weight: 700;
67
- color: var(--grayscale-black);
68
- font-family: var(--main-font-family);
69
- letter-spacing: -0.32px;
70
- margin: 0 15px 8px;
71
- }
72
-
73
- :host(.hy-mobile-menu-shortcuts.is-hidden) {
74
- visibility: hidden !important;
75
- }
76
-
77
- :host(.hy-mobile-menu-shortcuts.is-hidden):focus {
78
- outline: none;
79
- }
80
-
81
- .hy-mobile-menu-shortcuts__links {
82
- list-style: none;
83
- margin: 0;
84
- padding: 0;
85
- display: grid;
86
- gap: 4px;
87
- }
88
-
89
- .hy-mobile-menu-shortcuts__link {
90
- font-size: 1rem;
91
- line-height: 20px;
92
- font-weight: 600;
93
- -webkit-box-align: center;
94
- -ms-flex-align: center;
95
- align-items: center;
96
- color: var(--brand-main);
97
- display: -webkit-box;
98
- display: -ms-flexbox;
99
- display: flex;
100
- font-family: var(--main-font-family);
101
- letter-spacing: -0.5px;
102
- text-decoration: none;
103
- width: 100%;
104
- padding: 12px 16px;
105
- }
106
-
107
- .hy-mobile-menu-shortcuts__link:focus {
108
- outline: solid 2px var(--additional-yellow);
109
- outline-offset: -2px;
110
- }
111
-
112
- .hy-mobile-menu-shortcuts__link:hover {
113
- text-decoration: underline;
114
- }
115
-
116
- .hy-mobile-menu-shortcuts__link > hy-icon {
117
- -ms-flex-item-align: start;
118
- align-self: flex-start;
119
- margin-top: 10px;
120
- -webkit-transform: translateY(-50%);
121
- transform: translateY(-50%);
122
- }
123
-
124
- .hy-mobile-menu-shortcuts__link > hy-icon + span {
125
- margin-left: 10px;
126
- }
127
-
128
- .hy-mobile-menu-shortcuts__link span hy-icon {
129
- display: -webkit-inline-box !important;
130
- display: -ms-inline-flexbox !important;
131
- display: inline-flex !important;
132
- margin-left: 6px;
133
- margin-right: 0;
134
- -webkit-transform: rotate(-45deg);
135
- transform: rotate(-45deg);
136
- }
137
-
138
- .hy-mobile-menu-shortcuts__link span hy-icon svg {
139
- fill: var(--brand-main);
140
- }