@itcenteratunihelsinki/huds-lib 0.5.21 → 0.5.25

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 (70) hide show
  1. package/dist/cjs/huds-lib.cjs.js +1 -1
  2. package/dist/cjs/hy-accordion-container_5.cjs.entry.js +578 -0
  3. package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +4 -3
  4. package/dist/cjs/hy-list-item.cjs.entry.js +1 -1
  5. package/dist/cjs/{hy-menu-language_2.cjs.entry.js → hy-menu-language.cjs.entry.js} +0 -19
  6. package/dist/cjs/hy-menu-mobile-breadcrumb.cjs.entry.js +25 -0
  7. package/dist/cjs/hy-menu.cjs.entry.js +4 -8
  8. package/dist/cjs/hy-paragraph-text.cjs.entry.js +1 -1
  9. package/dist/cjs/hy-person-profile.cjs.entry.js +61 -0
  10. package/dist/cjs/hy-site-header_3.cjs.entry.js +14 -6
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +2 -0
  13. package/dist/collection/components/accordion-item/accordion-item.css +5 -4
  14. package/dist/collection/components/accordion-item/accordion-item.js +20 -20
  15. package/dist/collection/components/hy-list-item/hy-list-item.css +9 -4
  16. package/dist/collection/components/navigation/menu/menu.js +21 -10
  17. package/dist/collection/components/paragraph-text/paragraph-text.css +9 -7
  18. package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +188 -0
  19. package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +124 -0
  20. package/dist/collection/components/person-profile/person-profile.css +506 -0
  21. package/dist/collection/components/person-profile/person-profile.js +199 -0
  22. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +20 -10
  23. package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +3 -2
  24. package/dist/collection/components/site-header/site-header.css +12 -0
  25. package/dist/collection/components/site-header/site-header.js +21 -2
  26. package/dist/collection/components/site-header/site-logo/site-logo.css +22 -0
  27. package/dist/collection/components/site-header/site-search/site-search.css +10 -10
  28. package/dist/collection/components/site-header/site-search/site-search.js +8 -1
  29. package/dist/esm/huds-lib.js +1 -1
  30. package/dist/esm/hy-accordion-container_5.entry.js +570 -0
  31. package/dist/esm/hy-desktop-menu-links.entry.js +4 -3
  32. package/dist/esm/hy-list-item.entry.js +1 -1
  33. package/dist/esm/{hy-menu-language_2.entry.js → hy-menu-language.entry.js} +1 -19
  34. package/dist/esm/hy-menu-mobile-breadcrumb.entry.js +21 -0
  35. package/dist/esm/hy-menu.entry.js +4 -8
  36. package/dist/esm/hy-paragraph-text.entry.js +1 -1
  37. package/dist/esm/hy-person-profile.entry.js +57 -0
  38. package/dist/esm/hy-site-header_3.entry.js +14 -6
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/huds-lib/huds-lib.esm.js +1 -1
  41. package/dist/huds-lib/p-0b2e3057.entry.js +1 -0
  42. package/dist/huds-lib/p-22e9d015.entry.js +1 -0
  43. package/dist/huds-lib/p-3d35d226.entry.js +1 -0
  44. package/dist/huds-lib/{p-b526249a.entry.js → p-4252e76e.entry.js} +1 -1
  45. package/dist/huds-lib/{p-bf84b857.entry.js → p-557d5e62.entry.js} +1 -1
  46. package/dist/huds-lib/{p-401ead3c.entry.js → p-70d43477.entry.js} +1 -1
  47. package/dist/huds-lib/p-8f62c5a4.entry.js +1 -0
  48. package/dist/huds-lib/p-ac362729.entry.js +1 -0
  49. package/dist/huds-lib/p-c3afba74.entry.js +1 -0
  50. package/dist/types/components/navigation/menu/menu.d.ts +2 -1
  51. package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +14 -0
  52. package/dist/types/components/person-profile/person-profile.d.ts +12 -0
  53. package/dist/types/components/site-header/site-header.d.ts +1 -0
  54. package/dist/types/components.d.ts +51 -0
  55. package/package.json +1 -1
  56. package/dist/cjs/hy-accordion-container.cjs.entry.js +0 -29
  57. package/dist/cjs/hy-accordion-item.cjs.entry.js +0 -216
  58. package/dist/cjs/hy-tabs-item.cjs.entry.js +0 -20
  59. package/dist/cjs/hy-tabs.cjs.entry.js +0 -308
  60. package/dist/esm/hy-accordion-container.entry.js +0 -25
  61. package/dist/esm/hy-accordion-item.entry.js +0 -212
  62. package/dist/esm/hy-tabs-item.entry.js +0 -16
  63. package/dist/esm/hy-tabs.entry.js +0 -304
  64. package/dist/huds-lib/p-0a3ee940.entry.js +0 -1
  65. package/dist/huds-lib/p-63334950.entry.js +0 -1
  66. package/dist/huds-lib/p-85cad30d.entry.js +0 -1
  67. package/dist/huds-lib/p-8eb879d5.entry.js +0 -1
  68. package/dist/huds-lib/p-9c2f38a6.entry.js +0 -1
  69. package/dist/huds-lib/p-d4a8d85f.entry.js +0 -1
  70. package/dist/huds-lib/p-df368663.entry.js +0 -1
@@ -0,0 +1,124 @@
1
+ import { Component, Host, h, Prop } from '@stencil/core';
2
+ export class PersonProfile {
3
+ constructor() {
4
+ this.col = 'col-2';
5
+ }
6
+ render() {
7
+ return (h(Host, null,
8
+ h("ul", { class: `hy-person-profile-listing ${this.col} ${this.inline ? 'is-inline' : ''} ${this.withoutIcons ? 'without-icons' : ''} ${this.textSpacingTight ? 'text-tight' : ''}` }, this.items.map(({ label, items }) => {
9
+ if (items.filter(({ label, url }) => label !== '' && url !== '').length > 0) {
10
+ return (h("li", null,
11
+ h("h3", { class: "hy-person-profile-listing__label" }, label),
12
+ h("ul", { class: "hy-person-profile-listing__items" }, items.map(({ label, url }, index) => {
13
+ if (url) {
14
+ return (h("li", { class: "hy-person-profile-listing__item" },
15
+ h("a", { href: url },
16
+ index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
17
+ h("span", null, label))));
18
+ }
19
+ return (h("li", { class: "hy-person-profile-listing__item" },
20
+ index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
21
+ h("span", null, label)));
22
+ }))));
23
+ }
24
+ }))));
25
+ }
26
+ static get is() { return "hy-person-profile-listing"; }
27
+ static get encapsulation() { return "shadow"; }
28
+ static get originalStyleUrls() { return {
29
+ "$": ["person-profile-listing.scss"]
30
+ }; }
31
+ static get styleUrls() { return {
32
+ "$": ["person-profile-listing.css"]
33
+ }; }
34
+ static get properties() { return {
35
+ "items": {
36
+ "type": "unknown",
37
+ "mutable": false,
38
+ "complexType": {
39
+ "original": "personProfileListingItems",
40
+ "resolved": "[{ label: string; items: string[]; }]",
41
+ "references": {
42
+ "personProfileListingItems": {
43
+ "location": "local"
44
+ }
45
+ }
46
+ },
47
+ "required": false,
48
+ "optional": false,
49
+ "docs": {
50
+ "tags": [],
51
+ "text": ""
52
+ }
53
+ },
54
+ "col": {
55
+ "type": "string",
56
+ "mutable": false,
57
+ "complexType": {
58
+ "original": "'col-1' | 'col-2' | 'col-4'",
59
+ "resolved": "\"col-1\" | \"col-2\" | \"col-4\"",
60
+ "references": {}
61
+ },
62
+ "required": false,
63
+ "optional": true,
64
+ "docs": {
65
+ "tags": [],
66
+ "text": ""
67
+ },
68
+ "attribute": "col",
69
+ "reflect": false,
70
+ "defaultValue": "'col-2'"
71
+ },
72
+ "inline": {
73
+ "type": "boolean",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "boolean",
77
+ "resolved": "boolean",
78
+ "references": {}
79
+ },
80
+ "required": false,
81
+ "optional": true,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": ""
85
+ },
86
+ "attribute": "inline",
87
+ "reflect": false
88
+ },
89
+ "withoutIcons": {
90
+ "type": "boolean",
91
+ "mutable": false,
92
+ "complexType": {
93
+ "original": "boolean",
94
+ "resolved": "boolean",
95
+ "references": {}
96
+ },
97
+ "required": false,
98
+ "optional": true,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": ""
102
+ },
103
+ "attribute": "without-icons",
104
+ "reflect": false
105
+ },
106
+ "textSpacingTight": {
107
+ "type": "boolean",
108
+ "mutable": false,
109
+ "complexType": {
110
+ "original": "boolean",
111
+ "resolved": "boolean",
112
+ "references": {}
113
+ },
114
+ "required": false,
115
+ "optional": true,
116
+ "docs": {
117
+ "tags": [],
118
+ "text": ""
119
+ },
120
+ "attribute": "text-spacing-tight",
121
+ "reflect": false
122
+ }
123
+ }; }
124
+ }
@@ -0,0 +1,506 @@
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-profile-page__back-button {
60
+ font-size: 1rem;
61
+ line-height: 20px;
62
+ font-weight: 600;
63
+ font-family: var(--main-font-family);
64
+ letter-spacing: -0.5px;
65
+ color: var(--brand-main-light);
66
+ padding: 12px 10px;
67
+ display: -webkit-inline-box;
68
+ display: -ms-inline-flexbox;
69
+ display: inline-flex;
70
+ text-decoration: none;
71
+ margin-left: -10px;
72
+ -webkit-box-align: center;
73
+ -ms-flex-align: center;
74
+ align-items: center;
75
+ margin-bottom: 16px;
76
+ }
77
+
78
+ @media (min-width: 48rem) {
79
+ .hy-profile-page__back-button {
80
+ margin-bottom: 24px;
81
+ }
82
+ }
83
+
84
+ .hy-profile-page__back-button hy-icon {
85
+ margin-right: 16px;
86
+ }
87
+
88
+ .hy-profile-page__back-button hy-icon svg {
89
+ fill: var(--brand-main-light);
90
+ }
91
+
92
+ .hy-profile-page__section {
93
+ padding: 32px 0;
94
+ }
95
+
96
+ .hy-profile-page__section:first-of-type {
97
+ padding: 0 0 32px;
98
+ }
99
+
100
+ .hy-profile-page__section:not(:first-of-type) {
101
+ border-top: 1px solid var(--grayscale-medium);
102
+ }
103
+
104
+ .hy-profile-page__section > h2 {
105
+ font-size: 1.625rem;
106
+ line-height: 32px;
107
+ font-weight: 700;
108
+ font-family: var(--main-font-family);
109
+ letter-spacing: -0.52px;
110
+ color: var(--grayscale-black);
111
+ margin: 0 0 32px;
112
+ }
113
+
114
+ @media (min-width: 48rem) {
115
+ .hy-profile-page__section > h2 {
116
+ font-size: 2.125rem;
117
+ line-height: 40px;
118
+ letter-spacing: -0.68px;
119
+ }
120
+ }
121
+
122
+ .hy-profile-page__organization-units-section {
123
+ font-family: var(--main-font-family);
124
+ padding: 0;
125
+ margin: 0;
126
+ list-style: none;
127
+ }
128
+
129
+ .hy-profile-page__organization-units-section h3 {
130
+ font-size: 0.9375rem;
131
+ line-height: 18px;
132
+ font-weight: 700;
133
+ letter-spacing: -0.28px;
134
+ color: var(--grayscale-black);
135
+ margin: 0 0 8px;
136
+ }
137
+
138
+ @media (min-width: 48rem) {
139
+ .hy-profile-page__organization-units-section h3 {
140
+ font-size: 1.0625rem;
141
+ line-height: 20px;
142
+ letter-spacing: -0.32px;
143
+ }
144
+ }
145
+
146
+ .hy-profile-page__organization-units-section {
147
+ margin-top: 24px;
148
+ }
149
+
150
+ @media (min-width: 48rem) {
151
+ .hy-profile-page__organization-units-section {
152
+ margin-top: 32px;
153
+ }
154
+ }
155
+
156
+ .hy-profile-page__organizations,
157
+ .hy-profile-page__organizations ul,
158
+ .hy-profile-page__research-organizations,
159
+ .hy-profile-page__research-organizations ul {
160
+ list-style: none;
161
+ margin: 0;
162
+ padding: 0;
163
+ display: grid;
164
+ gap: 8px;
165
+ }
166
+
167
+ .hy-profile-page__organizations li,
168
+ .hy-profile-page__research-organizations li {
169
+ display: -webkit-inline-box;
170
+ display: -ms-inline-flexbox;
171
+ display: inline-flex;
172
+ -ms-flex-wrap: wrap;
173
+ flex-wrap: wrap;
174
+ }
175
+
176
+ .hy-profile-page__organizations li span,
177
+ .hy-profile-page__research-organizations li span {
178
+ font-size: 0.9375rem;
179
+ line-height: 22px;
180
+ font-weight: 400;
181
+ color: var(--grayscale-black);
182
+ }
183
+
184
+ @media (min-width: 48rem) {
185
+ .hy-profile-page__organizations li span,
186
+ .hy-profile-page__research-organizations li span {
187
+ font-size: 1.0625rem;
188
+ line-height: 26px;
189
+ }
190
+ }
191
+
192
+ .hy-profile-page__organizations li > span,
193
+ .hy-profile-page__research-organizations li > span {
194
+ display: -webkit-inline-box;
195
+ display: -ms-inline-flexbox;
196
+ display: inline-flex;
197
+ }
198
+
199
+ .hy-profile-page__organizations li hy-icon,
200
+ .hy-profile-page__research-organizations li hy-icon {
201
+ -webkit-box-pack: center;
202
+ -ms-flex-pack: center;
203
+ justify-content: center;
204
+ -webkit-box-align: center;
205
+ -ms-flex-align: center;
206
+ align-items: center;
207
+ height: 22px;
208
+ width: 28px;
209
+ }
210
+
211
+ @media (min-width: 48rem) {
212
+ .hy-profile-page__organizations li hy-icon,
213
+ .hy-profile-page__research-organizations li hy-icon {
214
+ height: 26px;
215
+ }
216
+ }
217
+
218
+ .hy-profile-page__person-about-text {
219
+ font-size: 0.9375rem;
220
+ line-height: 22px;
221
+ font-weight: 400;
222
+ font-family: var(--main-font-family);
223
+ color: var(--grayscale-black);
224
+ }
225
+
226
+ @media (min-width: 48rem) {
227
+ .hy-profile-page__person-about-text {
228
+ font-size: 1.0625rem;
229
+ line-height: 26px;
230
+ }
231
+ }
232
+
233
+ .hy-profile-page__person-about-text-toggle {
234
+ font-size: 0.9375rem;
235
+ line-height: 22px;
236
+ font-weight: 400;
237
+ font-family: var(--main-font-family);
238
+ color: var(--link-blue);
239
+ background-color: transparent;
240
+ border: 0;
241
+ padding: 0;
242
+ margin: 0;
243
+ }
244
+
245
+ @media (min-width: 48rem) {
246
+ .hy-profile-page__person-about-text-toggle {
247
+ font-size: 1.0625rem;
248
+ line-height: 26px;
249
+ }
250
+ }
251
+
252
+ .hy-profile-page__person-about-text-toggle:hover {
253
+ cursor: pointer;
254
+ }
255
+
256
+ .hy-profile-page__person-information {
257
+ display: -webkit-box;
258
+ display: -ms-flexbox;
259
+ display: flex;
260
+ -webkit-box-orient: vertical;
261
+ -webkit-box-direction: normal;
262
+ -ms-flex-direction: column;
263
+ flex-direction: column;
264
+ gap: 16px;
265
+ margin-bottom: 24px;
266
+ }
267
+
268
+ @media (min-width: 48rem) {
269
+ .hy-profile-page__person-information {
270
+ -webkit-box-orient: horizontal;
271
+ -webkit-box-direction: reverse;
272
+ -ms-flex-direction: row-reverse;
273
+ flex-direction: row-reverse;
274
+ -webkit-box-align: center;
275
+ -ms-flex-align: center;
276
+ align-items: center;
277
+ margin-bottom: 40px;
278
+ -webkit-box-pack: end;
279
+ -ms-flex-pack: end;
280
+ justify-content: flex-end;
281
+ }
282
+ }
283
+
284
+ .hy-profile-page__image {
285
+ aspect-ratio: 328/425;
286
+ width: 100%;
287
+ max-width: 328px;
288
+ -o-object-fit: cover;
289
+ object-fit: cover;
290
+ background-color: var(--grayscale-background-box);
291
+ }
292
+
293
+ @media (min-width: 48rem) {
294
+ .hy-profile-page__image {
295
+ max-width: 194px;
296
+ }
297
+ }
298
+
299
+ .hy-profile-page__contact-information > h2 {
300
+ font-size: 1.625rem;
301
+ line-height: 32px;
302
+ font-weight: 700;
303
+ font-family: var(--main-font-family);
304
+ letter-spacing: -0.52px;
305
+ color: var(--grayscale-black);
306
+ margin: 0 0 32px;
307
+ }
308
+
309
+ @media (min-width: 48rem) {
310
+ .hy-profile-page__contact-information > h2 {
311
+ font-size: 2.125rem;
312
+ line-height: 40px;
313
+ letter-spacing: -0.68px;
314
+ }
315
+ }
316
+
317
+ .hy-profile-page__name {
318
+ font-size: 2rem;
319
+ line-height: 38px;
320
+ font-weight: 700;
321
+ font-family: var(--main-font-family);
322
+ letter-spacing: -0.8px;
323
+ color: var(--grayscale-black);
324
+ margin: 0 0 4px;
325
+ text-transform: uppercase;
326
+ }
327
+
328
+ @media (min-width: 60rem) {
329
+ .hy-profile-page__name {
330
+ font-size: 2.875rem;
331
+ line-height: 54px;
332
+ letter-spacing: -1.15px;
333
+ margin: 0 0 8px;
334
+ }
335
+ }
336
+
337
+ @media (min-width: 120.0625rem) {
338
+ .hy-profile-page__name {
339
+ font-size: 3.25rem;
340
+ line-height: 60px;
341
+ letter-spacing: -1.3px;
342
+ }
343
+ }
344
+
345
+ .hy-profile-page__job-title {
346
+ font-size: 1rem;
347
+ line-height: 20px;
348
+ font-weight: 700;
349
+ font-family: var(--main-font-family);
350
+ letter-spacing: -0.32px;
351
+ color: var(--grayscale-black);
352
+ margin: 0 0 4px;
353
+ }
354
+
355
+ @media (min-width: 60rem) {
356
+ .hy-profile-page__job-title {
357
+ font-size: 1.125rem;
358
+ line-height: 24px;
359
+ letter-spacing: -0.36px;
360
+ }
361
+ }
362
+
363
+ .hy-profile-page__additional-information {
364
+ font-size: 0.9375rem;
365
+ line-height: 22px;
366
+ font-weight: 400;
367
+ font-family: var(--main-font-family);
368
+ color: var(--grayscale-dark-text);
369
+ margin: 0;
370
+ }
371
+
372
+ @media (min-width: 60rem) {
373
+ .hy-profile-page__additional-information {
374
+ font-size: 1.0625rem;
375
+ line-height: 26px;
376
+ }
377
+ }
378
+
379
+ .hy-profile-page__person-content-container {
380
+ display: none;
381
+ margin-top: 32px;
382
+ }
383
+
384
+ @media (min-width: 48rem) {
385
+ .hy-profile-page__person-content-container {
386
+ margin-top: 44px;
387
+ }
388
+ }
389
+
390
+ .hy-profile-page__person-content-listing {
391
+ display: grid;
392
+ gap: 32px;
393
+ list-style: none;
394
+ padding: 0;
395
+ margin: 0;
396
+ }
397
+
398
+ .hy-profile-page__person-content > h2 {
399
+ margin: 0 0 8px;
400
+ }
401
+
402
+ .hy-profile-page__person-content > h2 a {
403
+ font-size: 1.125rem;
404
+ line-height: 24px;
405
+ font-weight: 700;
406
+ font-family: var(--main-font-family);
407
+ letter-spacing: -0.36px;
408
+ color: var(--link-blue);
409
+ text-decoration: none;
410
+ }
411
+
412
+ @media (min-width: 48rem) {
413
+ .hy-profile-page__person-content > h2 a {
414
+ font-size: 1.375rem;
415
+ line-height: 28px;
416
+ letter-spacing: -0.44px;
417
+ }
418
+ }
419
+
420
+ .hy-profile-page__person-content > span,
421
+ .hy-profile-page__person-content > p {
422
+ font-size: 0.9375rem;
423
+ line-height: 22px;
424
+ font-weight: 400;
425
+ font-family: var(--main-font-family);
426
+ color: var(--grayscale-dark-text);
427
+ }
428
+
429
+ @media (min-width: 48rem) {
430
+ .hy-profile-page__person-content > span,
431
+ .hy-profile-page__person-content > p {
432
+ font-size: 1.0625rem;
433
+ line-height: 26px;
434
+ letter-spacing: -0.44px;
435
+ }
436
+ }
437
+
438
+ .hy-profile-page__person-content > p {
439
+ margin: 8px 0 0;
440
+ }
441
+
442
+ .hy-profile-page__loader {
443
+ display: inline-block;
444
+ position: relative;
445
+ width: 80px;
446
+ height: 80px;
447
+ margin-top: 32px;
448
+ }
449
+
450
+ @media (min-width: 48rem) {
451
+ .hy-profile-page__loader {
452
+ margin-top: 44px;
453
+ }
454
+ }
455
+
456
+ .hy-profile-page__loader div {
457
+ -webkit-box-sizing: border-box;
458
+ box-sizing: border-box;
459
+ display: block;
460
+ position: absolute;
461
+ width: 64px;
462
+ height: 64px;
463
+ margin: 8px;
464
+ border: 6px solid #fff;
465
+ border-radius: 50%;
466
+ -webkit-animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
467
+ animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
468
+ border-color: var(--brand-main-light) transparent transparent transparent;
469
+ }
470
+
471
+ .hy-profile-page__loader div:nth-child(1) {
472
+ -webkit-animation-delay: -0.45s;
473
+ animation-delay: -0.45s;
474
+ }
475
+
476
+ .hy-profile-page__loader div:nth-child(2) {
477
+ -webkit-animation-delay: -0.3s;
478
+ animation-delay: -0.3s;
479
+ }
480
+
481
+ .hy-profile-page__loader div:nth-child(3) {
482
+ -webkit-animation-delay: -0.15s;
483
+ animation-delay: -0.15s;
484
+ }
485
+
486
+ @-webkit-keyframes loader-ring {
487
+ 0% {
488
+ -webkit-transform: rotate(0deg);
489
+ transform: rotate(0deg);
490
+ }
491
+ 100% {
492
+ -webkit-transform: rotate(360deg);
493
+ transform: rotate(360deg);
494
+ }
495
+ }
496
+
497
+ @keyframes loader-ring {
498
+ 0% {
499
+ -webkit-transform: rotate(0deg);
500
+ transform: rotate(0deg);
501
+ }
502
+ 100% {
503
+ -webkit-transform: rotate(360deg);
504
+ transform: rotate(360deg);
505
+ }
506
+ }