@asd20/ui 3.2.550 → 3.2.551

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.550",
8
+ "version": "3.2.551",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -357,7 +357,155 @@ $max: 4rem;
357
357
  }
358
358
  }
359
359
 
360
- @media (min-width: 1024px) {
360
+ @media (min-width: 1024px) and (max-height: 700px) {
361
+ .asd20-school-homepage-video-header {
362
+ display: grid;
363
+ grid-template-columns: space(3) repeat(5, 1fr space(3)) 1fr space(3);
364
+ grid-template-rows: repeat(6, space(1)) space(3) 1fr space(3) repeat(
365
+ 3,
366
+ space(1)
367
+ );
368
+ margin-bottom: 0;
369
+ .background-video {
370
+ display: block;
371
+ }
372
+ .background-image {
373
+ display: none;
374
+ }
375
+
376
+ video {
377
+ z-index: -1;
378
+ width: 100%;
379
+ height: 80vh;
380
+ object-fit: cover;
381
+ }
382
+
383
+ & /deep/ .notification-group--status .notifications {
384
+ border-radius: 1em;
385
+ padding: 0.25em;
386
+ }
387
+ &::before {
388
+ content: '';
389
+ display: block;
390
+ position: relative;
391
+ top: auto;
392
+ bottom: auto;
393
+ left: auto;
394
+ right: auto;
395
+ grid-column: 1 / -1;
396
+ grid-row: 7 / -4;
397
+ z-index: 1;
398
+ // transform: translate3d(0, calc(5% * var(--scroll-progress)), 0);
399
+ border-radius: var(--website-shape__radius-l);
400
+ border-top-left-radius: 0;
401
+ border-top-right-radius: 0;
402
+ border-bottom-left-radius: 0;
403
+ border-bottom-right-radius: 0;
404
+ }
405
+
406
+ &::after {
407
+ content: '';
408
+ display: block;
409
+ position: relative;
410
+ top: auto;
411
+ bottom: auto;
412
+ left: auto;
413
+ right: auto;
414
+ margin-left: 0;
415
+ grid-column: 1 / -1;
416
+ grid-row: 7 / -1;
417
+ background: var(--website-quick-links__background-color);
418
+ }
419
+
420
+ &::v-deep .asd20-logo {
421
+ & + .asd20-breadcrumb {
422
+ margin-top: space(2);
423
+ }
424
+ }
425
+
426
+ &__top {
427
+ margin: 0;
428
+ padding: space(1) space(3) space(1) space(3);
429
+ grid-column: 1/-1;
430
+ grid-row: 1/7;
431
+ background: transparent;
432
+ justify-content: space-between;
433
+ &::v-deep .asd20-picker {
434
+ display: flex;
435
+ }
436
+ }
437
+
438
+ &__content {
439
+ top: space(1);
440
+ left: space(1);
441
+ z-index: 100;
442
+ width: 60%;
443
+ min-width: space(15);
444
+ height: min-content;
445
+ background: rgba(0, 0, 0, 0.5);
446
+ padding: space(1);
447
+ border-radius: var(--website-shape__radius-m);
448
+ border-left: space(0.5) solid var(--color__accent);
449
+ border-top: space(0.5) solid var(--color__accent);
450
+ animation: slide_left 1s ease-in-out 0.5s both;
451
+ }
452
+
453
+ h1 {
454
+ margin: 0 0 space(1) 0;
455
+ font-size: 40px !important;
456
+ color: var(--color__on-accent);
457
+ border-bottom: none;
458
+ }
459
+
460
+ &__lead {
461
+ margin: space(-0.5) 0 0 0;
462
+ font-size: 20px !important;
463
+ color: var(--color__on-accent);
464
+ }
465
+
466
+ &__lead + &__call-to-action {
467
+ margin-top: 0;
468
+ }
469
+ &__call-to-action {
470
+ .asd20-button {
471
+ min-width: 60%;
472
+ max-width: 60%;
473
+ }
474
+ }
475
+
476
+ &__image {
477
+ display: block;
478
+ position: relative;
479
+ bottom: auto;
480
+ left: auto;
481
+ right: auto;
482
+ top: auto;
483
+ grid-column: 2 / 13;
484
+ grid-row: 6 / -3;
485
+ z-index: 1;
486
+ height: auto;
487
+ margin: 0;
488
+ padding: 0;
489
+ transform: translate3d(0, calc(-20% * var(--scroll-progress)), 0);
490
+ border-radius: var(--website-shape__radius-l);
491
+ overflow: hidden;
492
+
493
+ img {
494
+ display: block;
495
+ width: 100%;
496
+ height: 80vh;
497
+ object-fit: cover;
498
+ object-position: center;
499
+ border-radius: var(--website-shape__radius-l);
500
+ }
501
+ }
502
+ .scroll-down-indicator {
503
+ display: block;
504
+ }
505
+ }
506
+ }
507
+
508
+ @media (min-width: 1024px) and (min-height: 700px) {
361
509
  .asd20-school-homepage-video-header {
362
510
  display: grid;
363
511
  grid-template-columns: space(3) repeat(5, 1fr space(3)) 1fr space(3);