@asd20/ui-next 2.21.7 → 2.21.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.21.9](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.21.8...ui-next-v2.21.9) (2026-08-27)
4
+
5
+ ## [2.21.8](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.21.7...ui-next-v2.21.8) (2026-08-26)
6
+
3
7
  ## [2.21.7](https://github.com/academydistrict20/asd20-ui-next/compare/ui-next-v2.21.6...ui-next-v2.21.7) (2026-08-26)
4
8
 
5
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asd20/ui-next",
3
- "version": "2.21.7",
3
+ "version": "2.21.9",
4
4
  "private": false,
5
5
  "description": "ASD20 UI component library for Vue 3.",
6
6
  "license": "MIT",
@@ -10,14 +10,19 @@
10
10
  >
11
11
  <header class="asd20-person-modal__header">
12
12
  <div class="asd20-person-modal__photo">
13
- <div class="photo">
13
+ <div
14
+ v-if="person.thumbnailUrl"
15
+ class="photo"
16
+ >
14
17
  <img
15
- v-if="person.thumbnailUrl"
16
18
  :src="person.thumbnailUrl"
17
19
  :alt="person.displayName"
18
20
  />
19
21
  </div>
20
- <div class="initials">
22
+ <div
23
+ v-else
24
+ class="initials"
25
+ >
21
26
  {{ initials }}
22
27
  </div>
23
28
  </div>
@@ -61,12 +66,10 @@
61
66
  icon="email"
62
67
  icon-size="lg"
63
68
  label="Email"
64
- :description="
65
- `<a href='mailto:${person.email.replace(
66
- 'mailto:',
67
- ''
68
- )}'>${person.email.replace('mailto:', '')}</a>`
69
- "
69
+ :description="`<a href='mailto:${person.email.replace(
70
+ 'mailto:',
71
+ ''
72
+ )}'>${person.email.replace('mailto:', '')}</a>`"
70
73
  />
71
74
 
72
75
  <Asd20ListItem
@@ -74,9 +77,7 @@
74
77
  icon="phone-alt"
75
78
  icon-size="lg"
76
79
  label="Phone"
77
- :description="
78
- `<a href='tel:${person.workPhone}'>${person.workPhone}</a>`
79
- "
80
+ :description="`<a href='tel:${person.workPhone}'>${person.workPhone}</a>`"
80
81
  />
81
82
  <div
82
83
  v-show="person.biography"
@@ -125,9 +126,12 @@ export default {
125
126
  initials() {
126
127
  if (!this.person.displayName) return ''
127
128
  return this.person.displayName
128
- .split(' ')
129
+ .trim()
130
+ .split(/\s+/)
131
+ .filter(Boolean)
129
132
  .map(n => n[0])
130
133
  .join('')
134
+ .slice(0, 3)
131
135
  },
132
136
  useEmailForm() {
133
137
  return (
@@ -141,7 +141,7 @@ export default {
141
141
  top: 0;
142
142
  bottom: space(0.5);
143
143
  left: 0;
144
- right: 3rem;
144
+ right: 2rem;
145
145
  z-index: -1;
146
146
  background: var(--website-header__background-style);
147
147
  background-color: var(--website-header__background-color);
@@ -208,7 +208,8 @@ export default {
208
208
 
209
209
  &__content {
210
210
  margin-top: space(3);
211
- background: var(--website-header__background-color);
211
+ width: 90%;
212
+ // background: var(--website-header__background-color);
212
213
  }
213
214
 
214
215
  &__lead {
@@ -310,7 +311,7 @@ $max: 4rem;
310
311
  @media (min-width: 667px) {
311
312
  .asd20-school-homepage-header {
312
313
  &::before {
313
- right: space(3);
314
+ right: 2rem;
314
315
  bottom: space(2);
315
316
  }
316
317
  &__top {
@@ -342,8 +343,20 @@ $max: 4rem;
342
343
  @media (min-width: 1024px) {
343
344
  .asd20-school-homepage-header {
344
345
  display: grid;
345
- grid-template-columns: space(3) repeat(5, 1fr space(3)) 1fr space(3);
346
- grid-template-rows: repeat(6, space(1)) space(3) 1fr space(3) repeat(3, space(1));
346
+ grid-template-columns:
347
+ [full-start] space(3)
348
+ [content-start] minmax(0, 1fr) [content-end]
349
+ space(3)
350
+ [media-start] minmax(0, 1.15fr) [media-end]
351
+ space(3) [full-end];
352
+ grid-template-rows:
353
+ [top-start] space(5)
354
+ [media-start] space(1)
355
+ [top-end hero-start] space(3)
356
+ [content-start] minmax(0, 1fr) [content-end]
357
+ space(3)
358
+ [actions-start] auto [media-end]
359
+ space(2) [full-end];
347
360
  margin-bottom: 0;
348
361
  &::before {
349
362
  content: '';
@@ -353,8 +366,8 @@ $max: 4rem;
353
366
  bottom: auto;
354
367
  left: auto;
355
368
  right: auto;
356
- grid-column: 1 / -1;
357
- grid-row: 7 / -4;
369
+ grid-column: full-start / full-end;
370
+ grid-row: hero-start / actions-start;
358
371
  z-index: 1;
359
372
  border-top-left-radius: 0;
360
373
  border-top-right-radius: 0;
@@ -371,8 +384,8 @@ $max: 4rem;
371
384
  left: auto;
372
385
  right: auto;
373
386
  margin-left: 0;
374
- grid-column: 1 / -1;
375
- grid-row: 7 / -1;
387
+ grid-column: full-start / full-end;
388
+ grid-row: hero-start / full-end;
376
389
  background: var(--website-quick-links__background-color);
377
390
  }
378
391
 
@@ -384,8 +397,8 @@ $max: 4rem;
384
397
  position: relative;
385
398
  margin: 0;
386
399
  padding: space(1) space(1) space(1) space(3);
387
- grid-column: 1/-1;
388
- grid-row: 1/7;
400
+ grid-column: full-start / full-end;
401
+ grid-row: top-start / top-end;
389
402
  background: transparent;
390
403
  justify-content: space-between;
391
404
  width: inherit;
@@ -404,8 +417,9 @@ $max: 4rem;
404
417
  &__content {
405
418
  margin-top: 0;
406
419
  position: relative;
407
- grid-column: 2 / 6;
408
- grid-row: 8 / 9;
420
+ width: auto;
421
+ grid-column: content-start / content-end;
422
+ grid-row: content-start / content-end;
409
423
  }
410
424
 
411
425
  h1 {
@@ -419,8 +433,8 @@ $max: 4rem;
419
433
  }
420
434
 
421
435
  &__call-to-action {
422
- grid-column: 2 / 6;
423
- grid-row-start: 10;
436
+ grid-column: content-start / content-end;
437
+ grid-row: actions-start / media-end;
424
438
  z-index: 2;
425
439
  margin: 0;
426
440
  height: min-content;
@@ -442,8 +456,8 @@ $max: 4rem;
442
456
  left: auto;
443
457
  right: auto;
444
458
  top: auto;
445
- grid-column: 7 / -2;
446
- grid-row: 6 / -3;
459
+ grid-column: media-start / media-end;
460
+ grid-row: media-start / media-end;
447
461
  z-index: 1;
448
462
  height: auto;
449
463
  margin: 0;
@@ -54,43 +54,45 @@
54
54
  <!-- Pause icon (⏸) -->
55
55
  <span v-else>&#10073;&#10073;</span>
56
56
  </button>
57
- <div
58
- id="main"
59
- class="asd20-school-homepage-video-header__content"
60
- >
61
- <h1
62
- v-if="heading"
63
- v-html="heading"
64
- />
57
+ <div class="asd20-school-homepage-video-header__text">
65
58
  <div
66
- v-if="lead"
67
- class="asd20-school-homepage-video-header__lead"
59
+ id="main"
60
+ class="asd20-school-homepage-video-header__content"
68
61
  >
69
- <span v-html="lead"></span>
70
- <a
71
- v-if="detailLink && !isDetailPage"
72
- :href="detailLink"
73
- @click="onDetailLinkClick"
74
- >
75
- {{ detailLinkLabel }}
76
- </a>
62
+ <h1
63
+ v-if="heading"
64
+ v-html="heading"
65
+ />
77
66
  <div
78
- v-if="callsToAction.length > 0"
79
- class="asd20-school-homepage-video-header__call-to-action"
67
+ v-if="lead"
68
+ class="asd20-school-homepage-video-header__lead"
80
69
  >
81
- <asd20-button
82
- v-for="(cta, index) in callsToAction"
83
- :key="index"
84
- :size="['sm', 'md'].indexOf(mq) > -1 ? 'sm' : 'lg'"
85
- :label="cta.label"
86
- :icon="cta.icon"
87
- :link="cta.url"
88
- reversed
89
- horizontal
90
- centered
91
- />
70
+ <span v-html="lead"></span>
71
+ <a
72
+ v-if="detailLink && !isDetailPage"
73
+ :href="detailLink"
74
+ @click="onDetailLinkClick"
75
+ >
76
+ {{ detailLinkLabel }}
77
+ </a>
92
78
  </div>
93
79
  </div>
80
+ <div
81
+ v-if="callsToAction.length > 0"
82
+ class="asd20-school-homepage-video-header__call-to-action"
83
+ >
84
+ <asd20-button
85
+ v-for="(cta, index) in callsToAction"
86
+ :key="index"
87
+ :size="['sm', 'md'].indexOf(mq) > -1 ? 'sm' : 'lg'"
88
+ :label="cta.label"
89
+ :icon="cta.icon"
90
+ :link="cta.url"
91
+ reversed
92
+ horizontal
93
+ centered
94
+ />
95
+ </div>
94
96
  </div>
95
97
  </div>
96
98
 
@@ -220,16 +222,16 @@ export default {
220
222
  display: block;
221
223
  position: absolute;
222
224
  top: 0;
223
- bottom: space(0);
225
+ bottom: space(0.5);
224
226
  left: 0;
225
- right: space(1);
227
+ right: 2rem;
226
228
  z-index: -1;
227
- background: var(--website-header__background-color)
228
- var(--website-header__background-style);
229
- border-radius: var(--website-shape__radius-l);
229
+ background: var(--website-header__background-style);
230
+ background-color: var(--website-header__background-color);
230
231
  border-top-left-radius: 0;
231
- border-top-right-radius: 0;
232
+ border-top-right-radius: 3rem;
232
233
  border-bottom-left-radius: 0;
234
+ border-bottom-right-radius: 3rem;
233
235
  }
234
236
  &::after {
235
237
  content: '';
@@ -249,14 +251,13 @@ export default {
249
251
  --fill-one: rgba(255, 255, 255, 1);
250
252
  --fill-two: rgba(255, 255, 255, 0.625);
251
253
 
252
- position: relative;
254
+ width: 100%;
255
+ position: absolute;
253
256
  z-index: 101;
254
- background: white;
255
257
  display: flex;
256
- justify-content: space-between;
258
+ margin-top: space(0.5);
257
259
  align-items: center;
258
- flex-direction: column;
259
- align-items: flex-start;
260
+ flex-direction: row;
260
261
  & :deep(.asd20-picker) {
261
262
  display: none;
262
263
  }
@@ -265,38 +266,44 @@ export default {
265
266
  margin-left: 1rem;
266
267
  }
267
268
  }
269
+ &__text {
270
+ display: contents;
271
+ }
268
272
  &__content {
269
- position: absolute;
270
- top: 0;
271
- background: rgba(0, 0, 0, 0.4);
272
- height: 100%;
273
- padding-top: space(3);
273
+ order: 1;
274
+ width: 90%;
275
+ // background: var(--website-header__background-color);
274
276
  }
275
277
  &__image {
278
+ display: flex;
279
+ flex-direction: column;
280
+ padding-top: space(3);
281
+
276
282
  img {
283
+ order: 2;
277
284
  display: block;
278
285
  width: 100%;
279
- height: 600px;
280
- min-height: 600px;
281
- object-fit: cover;
282
286
  object-position: center;
283
287
  }
284
288
  }
285
289
 
286
290
  h1 {
287
291
  position: relative;
288
- font-size: 32px !important;
289
- color: #ffffff !important;
290
- margin: space(2) space(1) space(1) space(1);
292
+ color: var(--website-header__title-color);
293
+ @include asd20-font(
294
+ 2,
295
+ var(--website-typography__font-family-headlines),
296
+ 1.2,
297
+ 700
298
+ );
299
+ margin: space(1);
291
300
  z-index: 1;
292
- border-bottom: 5px solid var(--color__accent);
293
- padding-bottom: space(0.5);
294
301
  }
295
302
 
296
303
  &__lead {
297
304
  position: relative;
298
305
  z-index: 1;
299
- color: #f6f6f6 !important;
306
+ color: var(--website-header__foreground-color);
300
307
  @include asd20-font(1, var(--website-typography__font-family-body));
301
308
  margin: space(-0.5) space(2) space(1) space(1);
302
309
  a {
@@ -305,19 +312,15 @@ export default {
305
312
  }
306
313
 
307
314
  &__call-to-action {
315
+ order: 3;
316
+ margin: space(1);
317
+ z-index: 1;
308
318
  display: flex;
309
319
  flex-direction: column;
310
- left: space(1);
311
- z-index: 2;
312
- margin: 0;
313
- height: min-content;
314
- align-self: end;
315
320
  .asd20-button {
316
- min-width: 95%;
317
- border-radius: var(--website-shape__radius-m);
318
- margin: space(0.5) 0 0;
319
321
  flex-grow: 1;
320
- max-width: 100%;
322
+ width: calc(100% - space(3));
323
+ margin-bottom: space(0.5);
321
324
  font-size: 1rem !important;
322
325
  background-color: var(
323
326
  --website-header__button-background-color,
@@ -328,7 +331,7 @@ export default {
328
331
  var(--color__accent-t100)
329
332
  );
330
333
  position: relative;
331
- padding: space(0.5) space(0.75);
334
+ padding: space(0.5) space(1.5);
332
335
  transition: background-color 0.3s ease;
333
336
  z-index: 2;
334
337
  overflow: hidden;
@@ -360,6 +363,10 @@ export default {
360
363
  background-color: var(--color__accent-t60);
361
364
  }
362
365
  }
366
+
367
+ &:not(:last-child) {
368
+ margin-bottom: space(0.5);
369
+ }
363
370
  }
364
371
  }
365
372
  .scroll-down-indicator {
@@ -442,194 +449,57 @@ $max: 4rem;
442
449
  }
443
450
  @media (min-width: 667px) {
444
451
  .asd20-school-homepage-video-header {
452
+ &::before {
453
+ right: 2rem;
454
+ bottom: space(2);
455
+ }
445
456
  &__call-to-action {
457
+ flex-direction: row;
458
+ margin: space(1);
446
459
  .asd20-button {
447
- min-width: 50%;
448
- max-width: 50%;
460
+ flex-grow: 0;
461
+ width: max-content;
462
+ min-width: 4rem;
463
+ margin-bottom: 0 !important;
464
+ &:not(:last-child) {
465
+ margin-right: space(0.5);
466
+ }
449
467
  }
450
468
  }
451
469
  &__top {
452
470
  flex-direction: row;
453
- justify-content: flex-start;
454
- padding: 0 space(1);
455
471
  align-items: center !important;
456
472
  }
457
- &__image {
458
- img {
459
- display: block;
460
- width: 100%;
461
- height: 80vh;
462
- object-fit: cover;
463
- object-position: center;
464
- }
465
- }
466
- h1 {
467
- font-size: 40px !important;
468
- }
469
473
  }
470
474
  }
471
475
 
472
- @media (min-width: 1024px) and (max-height: 700px) {
476
+ @media (min-width: 1024px) {
473
477
  .asd20-school-homepage-video-header {
474
478
  display: grid;
475
- grid-template-columns: space(3) repeat(5, 1fr space(3)) 1fr space(3);
476
- grid-template-rows: repeat(6, space(1)) space(3) 1fr space(3) repeat(
477
- 3,
478
- space(1)
479
- );
479
+ grid-template-columns:
480
+ [full-start] space(3)
481
+ [media-start] minmax(0, 1fr) [media-end]
482
+ space(3) [full-end];
483
+ grid-template-rows:
484
+ [top-start] space(5)
485
+ [media-start] space(1)
486
+ [top-end hero-start] space(3)
487
+ [content-start] minmax(0, 1fr) [content-end]
488
+ space(3)
489
+ [actions-start] space(1) [media-end]
490
+ space(2) [full-end];
480
491
  margin-bottom: 0;
481
- .background-video {
482
- display: block;
483
- pointer-events: none;
484
- }
485
- .background-image {
486
- display: block;
487
- }
488
- .hide-background-image {
489
- display: none;
490
- }
491
-
492
- video {
493
- z-index: -1;
494
- width: 100%;
495
- height: 80vh;
496
- object-fit: cover;
497
- }
498
-
499
- & :deep(.notification-group--status .notifications) {
500
- border-radius: 3rem;
501
- padding: 0.37rem;
502
- }
503
- &::before {
504
- content: '';
505
- display: block;
506
- position: relative;
507
- top: auto;
508
- bottom: auto;
509
- left: auto;
510
- right: auto;
511
- grid-column: 1 / -1;
512
- grid-row: 7 / -4;
513
- z-index: 1;
514
- /* transform: translate3d(0, calc(5% * var(--scroll-progress)), 0);*/
515
- border-radius: var(--website-shape__radius-l);
516
- border-top-left-radius: 0;
517
- border-top-right-radius: 0;
518
- border-bottom-left-radius: 0;
519
- border-bottom-right-radius: 0;
520
- }
521
-
522
- &::after {
523
- content: '';
524
- display: block;
525
- position: relative;
526
- top: auto;
527
- bottom: auto;
528
- left: auto;
529
- right: auto;
530
- margin-left: 0;
531
- grid-column: 1 / -1;
532
- grid-row: 7 / -1;
533
- background: var(--website-quick-links__background-color);
534
- }
535
-
536
- & :deep(.asd20-logo + .asd20-breadcrumb) {
537
- margin-top: space(2);
538
- }
539
-
540
- &__top {
541
- margin: 0;
542
- padding: space(0.5) space(3) space(1) space(3);
543
- grid-column: 1/-1;
544
- grid-row: 1/7;
545
- background: transparent;
546
- justify-content: space-between;
547
- & :deep(.asd20-picker) {
548
- display: flex;
549
- }
550
- }
551
-
552
- &__content {
553
- top: space(1);
554
- left: space(1);
555
- z-index: 100;
556
- width: 60%;
557
- min-width: space(15);
558
- height: min-content;
559
- background: rgba(0, 0, 0, 0.6);
560
- padding: space(1);
561
- border-left: space(1.5) solid var(--color__accent-t20);
562
- animation: slide_left 1s ease-in-out 0.5s both;
563
- border-top-left-radius: 2rem;
564
- border-bottom-left-radius: 2rem;
565
- }
566
-
567
- h1 {
568
- margin: 0 0 space(1) 0;
569
- font-size: 40px !important;
570
- color: var(--color__on-accent);
571
- border-bottom: none;
572
- }
573
-
574
- &__lead {
575
- margin: space(-0.5) 0 0 0;
576
- font-size: 20px !important;
577
- color: var(--color__on-accent);
578
- }
579
-
580
- &__lead + &__call-to-action {
581
- margin-top: 0;
582
- }
583
- &__call-to-action {
584
- .asd20-button {
585
- min-width: 60%;
586
- max-width: 60%;
587
- }
588
- }
589
492
 
590
- &__image {
591
- display: block;
592
- position: relative;
593
- bottom: auto;
594
- left: auto;
595
- right: auto;
596
- top: auto;
597
- grid-column: 2 / 13;
598
- grid-row: 6 / -3;
599
- z-index: 1;
600
- height: auto;
601
- margin: 0;
602
- padding: 0;
603
- transform: translate3d(0, calc(-20% * var(--scroll-progress)), 0);
604
- border-radius: var(--website-shape__radius-l);
605
- overflow: hidden;
606
-
607
- img {
608
- display: block;
609
- width: 100%;
610
- height: 80vh;
611
- object-fit: cover;
612
- object-position: center;
613
- border-radius: var(--website-shape__radius-l);
614
- }
615
- }
616
- .scroll-down-indicator {
493
+ .background-video,
494
+ .background-image {
617
495
  display: block;
618
496
  }
619
- }
620
- }
621
497
 
622
- @media (min-width: 1024px) and (min-height: 700px) {
623
- .asd20-school-homepage-video-header {
624
- display: grid;
625
- grid-template-columns: space(3) repeat(5, 1fr space(3)) 1fr space(3);
626
- grid-template-rows: repeat(6, space(1)) space(3) 1fr space(3) repeat(3, space(1));
627
- margin-bottom: 0;
628
498
  .background-video {
629
- display: block;
630
499
  border-radius: var(--website-shape__radius-l);
631
500
  pointer-events: none;
632
501
  }
502
+
633
503
  .hide-background-image {
634
504
  display: none;
635
505
  }
@@ -641,39 +511,25 @@ $max: 4rem;
641
511
  object-fit: cover;
642
512
  }
643
513
 
644
- & :deep(.notification-group--status .notifications) {
645
- border-radius: 3rem;
646
- padding: 0.375rem;
647
- }
648
514
  &::before {
649
515
  content: '';
650
516
  display: block;
651
517
  position: relative;
652
- top: auto;
653
- bottom: auto;
654
- left: auto;
655
- right: auto;
656
- grid-column: 1 / -1;
657
- grid-row: 7 / -4;
518
+ inset: auto;
519
+ grid-column: full-start / full-end;
520
+ grid-row: hero-start / actions-start;
658
521
  z-index: 1;
659
- border-radius: var(--website-shape__radius-l);
660
- border-top-left-radius: 0;
661
- border-top-right-radius: 0;
662
- border-bottom-left-radius: 0;
663
- border-bottom-right-radius: 0;
522
+ border-radius: 0;
664
523
  }
665
524
 
666
525
  &::after {
667
526
  content: '';
668
527
  display: block;
669
528
  position: relative;
670
- top: auto;
671
- bottom: auto;
672
- left: auto;
673
- right: auto;
529
+ inset: auto;
674
530
  margin-left: 0;
675
- grid-column: 1 / -1;
676
- grid-row: 7 / -1;
531
+ grid-column: full-start / full-end;
532
+ grid-row: hero-start / full-end;
677
533
  background: var(--website-quick-links__background-color);
678
534
  }
679
535
 
@@ -682,68 +538,88 @@ $max: 4rem;
682
538
  }
683
539
 
684
540
  &__top {
541
+ position: relative;
542
+ width: inherit;
685
543
  margin: 0;
686
- padding: space(0.5) space(3) space(1) space(3);
687
- grid-column: 1/-1;
688
- grid-row: 1/7;
544
+ padding: space(0.5) space(3) space(1);
545
+ grid-column: full-start / full-end;
546
+ grid-row: top-start / top-end;
689
547
  background: transparent;
690
548
  justify-content: space-between;
549
+
691
550
  & :deep(.asd20-picker) {
692
551
  display: flex;
693
552
  }
694
553
  }
695
554
 
696
- &__content {
555
+ &__text {
556
+ display: block;
557
+ position: absolute;
697
558
  top: 2.6875rem;
698
559
  left: -1rem;
699
560
  z-index: 100;
700
561
  width: 25rem;
701
- height: min-content;
702
- background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0) 100%);
562
+ height: 80%;
563
+ background: linear-gradient(
564
+ to right,
565
+ rgba(0, 0, 0, 1) 0%,
566
+ rgba(0, 0, 0, 0.7) 60%,
567
+ rgba(0, 0, 0, 0.5) 80%,
568
+ rgba(0, 0, 0, 0) 100%
569
+ );
703
570
  padding: space(1);
704
571
  border-left: space(1.5) solid var(--color__accent-t20);
705
572
  animation: slide_left 1s ease-in-out 0.5s both;
706
- height: 80%;
707
573
  border-top-left-radius: 2rem;
708
574
  border-bottom-left-radius: 2rem;
709
575
  }
710
576
 
577
+ &__content {
578
+ width: auto;
579
+ background: transparent;
580
+ }
581
+
711
582
  h1 {
712
- margin: 0 0 space(1) 0;
583
+ margin: 0 0 space(1);
713
584
  font-size: 40px !important;
714
585
  color: var(--color__on-accent);
715
586
  border-bottom: none;
716
587
  }
717
588
 
718
589
  &__lead {
719
- margin: space(-0.5) 0 0 0;
590
+ margin: space(-0.5) 0 0;
720
591
  font-size: 20px !important;
721
592
  color: var(--color__on-accent);
722
593
  }
723
594
 
724
- &__lead + &__call-to-action {
725
- margin-top: 0;
726
- }
727
595
  &__call-to-action {
596
+ flex-direction: column;
597
+ margin: 0;
598
+ height: min-content;
599
+ align-self: end;
600
+
728
601
  .asd20-button {
602
+ flex-grow: 1;
603
+ width: auto;
604
+ margin: space(0.5) 0 0;
729
605
  min-width: 60%;
730
606
  max-width: 60%;
607
+ border-radius: var(--website-shape__radius-m);
608
+ padding: space(0.5) space(0.75);
731
609
  }
732
610
  }
733
611
 
734
612
  &__image {
735
613
  display: block;
736
614
  position: relative;
737
- bottom: auto;
738
- left: auto;
739
- right: auto;
740
- top: auto;
741
- grid-column: 2 / 13;
742
- grid-row: 6 / -3;
615
+ inset: auto;
616
+ grid-column: media-start / media-end;
617
+ grid-row: media-start / media-end;
743
618
  z-index: 1;
744
619
  height: auto;
745
620
  margin: 0;
746
621
  padding: 0;
622
+ background: transparent;
747
623
  transform: translate3d(0, calc(-20% * var(--scroll-progress)), 0);
748
624
  border-radius: var(--website-shape__radius-l);
749
625
  overflow: visible;
@@ -757,14 +633,16 @@ $max: 4rem;
757
633
  border-radius: var(--website-shape__radius-l);
758
634
  }
759
635
  }
636
+
760
637
  .scroll-down-indicator {
761
638
  display: block;
762
639
  }
763
640
  }
641
+
764
642
  .video-toggle-btn {
765
643
  position: absolute;
766
- bottom: 0.5rem;
767
- right: 0.5rem;
644
+ bottom: space(0.5);
645
+ right: space(0.5);
768
646
  background-color: rgba(0, 0, 0, 0.5);
769
647
  color: lightgray;
770
648
  border: none;
@@ -777,14 +655,35 @@ $max: 4rem;
777
655
  font-size: 18px;
778
656
  cursor: pointer;
779
657
  transition: background-color 0.3s ease-in-out;
780
- }
781
658
 
782
- .video-toggle-btn:hover {
783
- background-color: rgba(0, 0, 0, 0.7);
659
+ &:hover {
660
+ background-color: rgba(0, 0, 0, 0.7);
661
+ }
662
+
663
+ span {
664
+ line-height: 1;
665
+ }
784
666
  }
667
+ }
668
+
669
+ @media (min-width: 1024px) and (max-height: 699px) {
670
+ .asd20-school-homepage-video-header {
671
+ & :deep(.notification-group--status .notifications) {
672
+ padding: 0.37rem;
673
+ }
674
+
675
+ &__text {
676
+ top: space(1);
677
+ left: space(1);
678
+ width: 60%;
679
+ min-width: space(15);
680
+ height: min-content;
681
+ background: rgba(0, 0, 0, 0.6);
682
+ }
785
683
 
786
- .video-toggle-btn span {
787
- line-height: 1;
684
+ &__image {
685
+ overflow: hidden;
686
+ }
788
687
  }
789
688
  }
790
689
  </style>
@@ -325,11 +325,9 @@ export default {
325
325
  flex-direction: row;
326
326
  align-items: center;
327
327
  flex-wrap: wrap;
328
- margin: space(0.25);
329
328
  justify-content: flex-end;
330
- width: calc(100% - 1rem);
331
- position: absolute;
332
- top: space(0.25);
329
+ width: 100%;
330
+ margin: 0 space(0.5);
333
331
  .language-wrapper {
334
332
  display: flex;
335
333
  flex-direction: row;
@@ -338,7 +336,6 @@ export default {
338
336
  flex-wrap: wrap;
339
337
  gap: space(0.25);
340
338
  width: 100%;
341
- margin-bottom: space(0.25);
342
339
 
343
340
  .ai-search {
344
341
  order: 1;
@@ -352,6 +349,11 @@ export default {
352
349
 
353
350
  .asd20-language-translation {
354
351
  order: 3;
352
+ border-radius: 3rem;
353
+ & .asd20-select-input {
354
+ color: currentColor;
355
+ font-family: Arial, Helvetica, sans-serif;
356
+ }
355
357
  }
356
358
  .asd20-notification-group--floating {
357
359
  /* position: absolute;*/
@@ -365,20 +367,10 @@ export default {
365
367
  background: white;
366
368
  border-radius: 3rem;
367
369
  }
368
- .asd20-language-translation {
369
- z-index: 2;
370
- border-radius: 3rem;
371
- margin: 0 0.05rem;
372
- height: 2.75rem;
373
- & .asd20-select-input {
374
- padding: 0.375rem 0.375rem;
375
- color: currentColor;
376
- font-family: Arial, Helvetica, sans-serif;
377
- }
378
- }
379
370
  }
380
371
  .no-block-widget {
381
- top: 0;
372
+ position: relative;
373
+ top: unset;
382
374
  }
383
375
  .asd20-language-loader {
384
376
  order: 1;
@@ -417,25 +409,15 @@ export default {
417
409
  @media (min-width: 667px) {
418
410
  .asd20-school-home-video-template {
419
411
  .notification-translation-container {
420
- margin: 0;
412
+ margin: 0 space(1);
421
413
  justify-content: flex-end;
422
- position: absolute;
423
- right: space(0.5);
424
- top: space(0.5);
425
- width: auto;
426
414
  flex-wrap: nowrap;
427
415
  .language-wrapper {
428
416
  justify-content: flex-end;
429
- margin-bottom: 0;
430
- flex-wrap: nowrap;
431
417
  }
432
- .language-wrapper .ai-search {
433
- width: 100%;
434
- flex: 1 1 100%;
435
- order: 0;
436
- }
437
- .asd20-notification-group--floating {
438
- position: unset;
418
+ .no-block-widget {
419
+ position: relative;
420
+ top: unset;
439
421
  }
440
422
  }
441
423
  .asd20-quicklinks-menu {
@@ -466,8 +448,9 @@ export default {
466
448
  }
467
449
  }
468
450
  .notification-translation-container {
451
+ position: absolute;
469
452
  top: space(5.25);
470
- right: space(3.5);
453
+ right: 3.5rem;
471
454
  width: min(34rem, calc(100vw - 8rem));
472
455
  }
473
456