@deriv-web-design/ui 0.0.24 → 0.0.26

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/dist/index.css CHANGED
@@ -3277,29 +3277,32 @@
3277
3277
  }
3278
3278
  }
3279
3279
 
3280
- /* templates/Stats/Stats.css */
3280
+ /* templates/Stats/StatsV2.css */
3281
3281
  :root {
3282
- --stats-bg: var(--color-slate-50);
3283
- --stats-card-bg: var(--color-slate-75);
3284
- --stats-text-primary: var(--text-primary);
3285
- --stats-title-size: var(--typography-h2-font-size);
3286
- --stats-title-lh: var(--typography-h2-line-height);
3287
- --stats-desc-size: var(--typography-body-md-font-size);
3288
- --stats-desc-lh: var(--typography-body-md-line-height);
3289
- --stats-value-size: var(--font-size-3xl);
3290
- --stats-value-lh: var(--line-height-3xl);
3291
- --stats-value-featured-size: var(--font-size-5xl);
3292
- --stats-value-featured-lh: var(--line-height-5xl);
3293
- --stats-label-size: var(--font-size-lg);
3294
- --stats-label-lh: var(--line-height-lg);
3295
- }
3296
- .stats {
3297
- width: 100%;
3298
- background-color: var(--stats-bg);
3282
+ --stats-v2-bg: transparent;
3283
+ --stats-v2-card-bg: var(--color-slate-75);
3284
+ --stats-v2-text-primary: var(--text-primary);
3285
+ --stats-v2-title-size: var(--typography-h2-font-size);
3286
+ --stats-v2-title-lh: var(--typography-h2-line-height);
3287
+ --stats-v2-desc-size: var(--typography-body-md-font-size);
3288
+ --stats-v2-desc-lh: var(--typography-body-md-line-height);
3289
+ --stats-v2-value-size: 4rem;
3290
+ --stats-v2-value-lh: 4.5rem;
3291
+ --stats-v2-label-size: var(--typography-body-md-font-size);
3292
+ --stats-v2-label-lh: var(--typography-body-md-line-height);
3293
+ --stats-v2-award-heading-size: var(--font-size-xs);
3294
+ --stats-v2-award-heading-lh: var(--line-height-xs);
3295
+ --stats-v2-award-subheading-size: 0.625rem;
3296
+ --stats-v2-award-subheading-lh: var(--line-height-xs);
3297
+ --stats-v2-slot-offset: 110%;
3298
+ }
3299
+ .stats-v2 {
3300
+ width: 100%;
3301
+ background-color: var(--stats-v2-bg);
3299
3302
  font-family: var(--font-family-base);
3300
3303
  box-sizing: border-box;
3301
3304
  }
3302
- .stats__inner {
3305
+ .stats-v2__inner {
3303
3306
  max-width: var(--content-width-1280);
3304
3307
  margin: 0 auto;
3305
3308
  padding: var(--spacing-56) var(--spacing-16);
@@ -3308,35 +3311,36 @@
3308
3311
  gap: var(--spacing-24);
3309
3312
  box-sizing: border-box;
3310
3313
  }
3311
- .stats__header {
3314
+ .stats-v2__header {
3312
3315
  display: flex;
3313
3316
  flex-direction: column;
3314
3317
  gap: var(--spacing-16);
3318
+ text-align: left;
3315
3319
  }
3316
- .stats__title {
3317
- font-size: var(--stats-title-size);
3320
+ .stats-v2__title {
3321
+ font-size: var(--stats-v2-title-size);
3318
3322
  font-weight: var(--font-weight-extra-bold);
3319
- line-height: var(--stats-title-lh);
3320
- color: var(--stats-text-primary);
3323
+ line-height: var(--stats-v2-title-lh);
3324
+ color: var(--stats-v2-text-primary);
3321
3325
  margin: 0;
3322
3326
  }
3323
- .stats__description {
3324
- font-size: var(--stats-desc-size);
3327
+ .stats-v2__description {
3328
+ font-size: var(--stats-v2-desc-size);
3325
3329
  font-weight: var(--font-weight-regular);
3326
- line-height: var(--stats-desc-lh);
3327
- color: var(--stats-text-primary);
3330
+ line-height: var(--stats-v2-desc-lh);
3331
+ color: var(--stats-v2-text-primary);
3328
3332
  margin: 0;
3329
3333
  }
3330
- .stats__content {
3334
+ .stats-v2__content {
3331
3335
  display: flex;
3332
3336
  flex-direction: column;
3333
3337
  align-items: center;
3334
3338
  gap: var(--spacing-32);
3335
3339
  width: 100%;
3336
3340
  }
3337
- .stats__card {
3338
- background-color: var(--stats-card-bg);
3339
- border-radius: var(--radius-2xl);
3341
+ .stats-v2__card {
3342
+ background-color: var(--stats-v2-card-bg);
3343
+ border-radius: 3rem;
3340
3344
  padding: var(--spacing-24);
3341
3345
  width: 100%;
3342
3346
  max-width: 414px;
@@ -3346,187 +3350,242 @@
3346
3350
  display: flex;
3347
3351
  align-items: center;
3348
3352
  justify-content: center;
3349
- --stats-value-featured-size: 4rem;
3350
- --stats-value-featured-lh: 4.5rem;
3351
- --stats-value-size: 2.5rem;
3352
- --stats-value-lh: 3rem;
3353
3353
  }
3354
- .stats__card-track {
3354
+ .stats-v2__card-track {
3355
3355
  position: relative;
3356
3356
  width: 100%;
3357
3357
  height: 320px;
3358
3358
  overflow: visible;
3359
3359
  }
3360
- .stats__stat {
3360
+ .stats-v2__stat {
3361
3361
  position: absolute;
3362
3362
  top: 50%;
3363
- left: 0;
3364
- right: 0;
3365
- display: flex;
3366
- flex-direction: column;
3367
- align-items: center;
3363
+ left: 50%;
3368
3364
  text-align: center;
3369
3365
  will-change: transform, opacity;
3370
- transform: translateY(-50%) scale(1);
3366
+ transform: translate(-50%, -50%);
3371
3367
  opacity: 1;
3372
3368
  }
3373
- .stats__stat-value {
3369
+ .stats-v2__stat-value {
3374
3370
  display: block;
3375
3371
  font-family: var(--font-family-base);
3376
- font-size: var(--stats-value-size);
3372
+ font-size: var(--stats-v2-value-size);
3377
3373
  font-weight: var(--font-weight-extra-bold);
3378
- line-height: var(--stats-value-lh);
3379
- text-transform: uppercase;
3380
- color: var(--stats-text-primary);
3374
+ line-height: var(--stats-v2-value-lh);
3375
+ color: var(--stats-v2-text-primary);
3376
+ margin-bottom: calc(var(--spacing-8) * -1);
3381
3377
  }
3382
- .stats__stat-label {
3378
+ .stats-v2__stat-label {
3383
3379
  display: block;
3384
3380
  font-family: var(--font-family-base);
3385
- font-size: var(--stats-label-size);
3381
+ font-size: var(--stats-v2-label-size);
3386
3382
  font-weight: var(--font-weight-regular);
3387
- line-height: var(--stats-label-lh);
3388
- color: var(--stats-text-primary);
3389
- }
3390
- .stats__stat--active .stats__stat-value {
3391
- font-size: var(--stats-value-featured-size);
3392
- line-height: var(--stats-value-featured-lh);
3393
- font-weight: var(--font-weight-extra-bold);
3394
- }
3395
- .stats__stat--inactive .stats__stat-value {
3396
- font-size: var(--stats-value-size);
3397
- line-height: var(--stats-value-lh);
3398
- font-weight: var(--font-weight-extra-bold);
3399
- color: var(--color-slate-400);
3400
- }
3401
- .stats__stat--inactive .stats__stat-label {
3402
- color: var(--color-slate-400);
3383
+ line-height: var(--stats-v2-label-lh);
3384
+ color: var(--stats-v2-text-primary);
3403
3385
  }
3404
- .stats__fade {
3386
+ .stats-v2__fade {
3405
3387
  position: absolute;
3406
3388
  left: 0;
3407
3389
  right: 0;
3408
- height: 100px;
3390
+ height: 8rem;
3409
3391
  pointer-events: none;
3410
3392
  z-index: 3;
3411
3393
  }
3412
- .stats__fade--top {
3394
+ .stats-v2__fade--top {
3413
3395
  top: 0;
3414
3396
  background:
3415
3397
  linear-gradient(
3416
3398
  180deg,
3417
- var(--stats-card-bg) 0%,
3418
- rgba(246, 247, 248, 0) 100%);
3399
+ var(--stats-v2-card-bg) 0%,
3400
+ transparent 100%);
3419
3401
  }
3420
- .stats__fade--bottom {
3402
+ .stats-v2__fade--bottom {
3421
3403
  bottom: 0;
3422
3404
  background:
3423
3405
  linear-gradient(
3424
3406
  0deg,
3425
- var(--stats-card-bg) 0%,
3426
- rgba(246, 247, 248, 0) 100%);
3407
+ var(--stats-v2-card-bg) 0%,
3408
+ transparent 100%);
3427
3409
  }
3428
- .stats__award {
3410
+ .stats-v2__award {
3429
3411
  display: flex;
3412
+ flex-direction: row;
3430
3413
  align-items: center;
3431
- justify-content: center;
3414
+ justify-content: space-between;
3415
+ gap: var(--spacing-8);
3416
+ width: 100%;
3417
+ max-width: 196px;
3418
+ color: var(--stats-v2-text-primary);
3419
+ box-sizing: border-box;
3432
3420
  }
3433
- .stats__award-image {
3421
+ .stats-v2__award-text {
3422
+ display: flex;
3423
+ flex-direction: column;
3424
+ align-items: center;
3425
+ text-align: center;
3426
+ gap: var(--spacing-4);
3427
+ flex: 1 1 auto;
3428
+ min-width: 0;
3429
+ }
3430
+ .stats-v2__award-heading {
3431
+ font-size: var(--stats-v2-award-heading-size);
3432
+ line-height: var(--stats-v2-award-heading-lh);
3433
+ font-weight: var(--font-weight-semi-bold);
3434
+ color: var(--stats-v2-text-primary);
3435
+ }
3436
+ .stats-v2__award-subheading {
3437
+ font-size: var(--stats-v2-award-subheading-size);
3438
+ line-height: var(--stats-v2-award-subheading-lh);
3439
+ font-weight: var(--font-weight-regular);
3440
+ color: var(--stats-v2-text-primary);
3441
+ }
3442
+ .stats-v2__laurel {
3443
+ flex-shrink: 0;
3444
+ width: 32px;
3445
+ height: 84px;
3434
3446
  display: block;
3435
- width: 140px;
3436
- height: auto;
3437
- object-fit: contain;
3438
- object-position: center;
3439
3447
  }
3440
- .stats__awards-col {
3448
+ .stats-v2__laurel--flip {
3449
+ transform: scaleX(-1);
3450
+ }
3451
+ .stats-v2__awards-col {
3441
3452
  display: none;
3442
3453
  }
3443
- .stats__awards-mobile {
3454
+ .stats-v2__awards-mobile {
3444
3455
  display: grid;
3445
3456
  grid-template-columns: 1fr 1fr;
3446
3457
  gap: var(--spacing-16);
3447
3458
  width: 100%;
3448
3459
  max-width: 414px;
3460
+ justify-items: center;
3449
3461
  }
3450
- .stats__awards-mobile .stats__award {
3451
- width: 100%;
3452
- }
3453
- .stats__awards-mobile .stats__award-image {
3454
- width: 100%;
3455
- height: auto;
3462
+ @media (max-width: 359px) {
3463
+ .stats-v2__awards-mobile {
3464
+ grid-template-columns: 1fr;
3465
+ }
3456
3466
  }
3457
3467
  @media (min-width: 768px) {
3458
- .stats__header {
3468
+ .stats-v2__header {
3459
3469
  align-items: center;
3460
3470
  text-align: center;
3471
+ max-width: var(--content-width-846);
3472
+ margin-left: auto;
3473
+ margin-right: auto;
3461
3474
  }
3462
- .stats__inner {
3475
+ .stats-v2__inner {
3463
3476
  gap: var(--spacing-48);
3464
3477
  }
3465
- .stats__card {
3466
- padding: var(--spacing-72);
3467
- --stats-value-featured-size: var(--font-size-5xl);
3468
- --stats-value-featured-lh: var(--line-height-5xl);
3469
- --stats-value-size: var(--font-size-3xl);
3470
- --stats-value-lh: var(--line-height-3xl);
3471
- }
3472
- .stats__card-track {
3473
- height: 270px;
3478
+ .stats-v2__card {
3479
+ padding: var(--spacing-40);
3480
+ --stats-v2-value-size: var(--font-size-5xl);
3481
+ --stats-v2-value-lh: var(--line-height-5xl);
3474
3482
  }
3475
- .stats__fade {
3476
- height: 65px;
3483
+ .stats-v2__card-track {
3484
+ height: 320px;
3477
3485
  }
3478
3486
  }
3479
3487
  @media (min-width: 992px) {
3480
- .stats__inner {
3488
+ .stats-v2__inner {
3481
3489
  padding: var(--spacing-112) var(--spacing-24);
3482
- gap: var(--spacing-80);
3483
- }
3484
- .stats__header {
3485
- max-width: var(--content-width-846);
3486
- margin-left: auto;
3487
- margin-right: auto;
3490
+ gap: var(--spacing-48);
3488
3491
  }
3489
- .stats__content {
3492
+ .stats-v2__content {
3490
3493
  flex-direction: row;
3491
3494
  align-items: stretch;
3492
3495
  justify-content: center;
3493
3496
  gap: var(--spacing-24);
3494
3497
  }
3495
- .stats__card {
3498
+ .stats-v2__card {
3496
3499
  width: 414px;
3497
3500
  max-width: none;
3498
3501
  height: 414px;
3499
- padding: var(--spacing-72);
3502
+ padding: var(--spacing-40);
3500
3503
  flex-shrink: 0;
3501
3504
  }
3502
- .stats__card-track {
3503
- height: 270px;
3504
- }
3505
- .stats__fade {
3506
- height: 65px;
3505
+ .stats-v2__card-track {
3506
+ height: 334px;
3507
3507
  }
3508
- .stats__awards-col {
3508
+ .stats-v2__awards-col {
3509
3509
  display: flex;
3510
3510
  flex-direction: column;
3511
3511
  gap: var(--spacing-32);
3512
3512
  width: 196px;
3513
+ height: 414px;
3513
3514
  flex-shrink: 0;
3514
3515
  align-items: center;
3516
+ justify-content: center;
3515
3517
  will-change: transform;
3516
3518
  }
3517
- .stats__awards-col--left,
3518
- .stats__awards-col--right {
3519
- justify-content: center;
3519
+ .stats-v2__awards-col--left {
3520
+ transform: translateY(-26.3%);
3520
3521
  }
3521
- .stats__awards-col .stats__award-image {
3522
- width: 196px;
3523
- height: auto;
3522
+ .stats-v2__awards-col--right {
3523
+ transform: translateY(26.3%);
3524
3524
  }
3525
- .stats__awards-mobile {
3525
+ .stats-v2__awards-mobile {
3526
3526
  display: none;
3527
3527
  }
3528
3528
  }
3529
3529
 
3530
+ /* templates/Stats/StatsSimple.css */
3531
+ :root {
3532
+ --stats-simple-bg: transparent;
3533
+ --stats-simple-text-primary: var(--text-primary);
3534
+ --stats-simple-text-secondary: var(--text-secondary);
3535
+ --stats-simple-value-size: var(--font-size-4xl);
3536
+ --stats-simple-value-lh: var(--line-height-4xl);
3537
+ --stats-simple-label-size: var(--typography-body-md-font-size);
3538
+ --stats-simple-label-lh: var(--typography-body-md-line-height);
3539
+ }
3540
+ .stats-simple {
3541
+ width: 100%;
3542
+ background-color: var(--stats-simple-bg);
3543
+ font-family: var(--font-family-base);
3544
+ box-sizing: border-box;
3545
+ }
3546
+ .stats-simple__inner {
3547
+ max-width: var(--content-width-1280);
3548
+ margin: 0 auto;
3549
+ padding: var(--spacing-56) var(--spacing-16);
3550
+ display: grid;
3551
+ grid-template-columns: repeat(2, 1fr);
3552
+ gap: var(--spacing-40) var(--spacing-24);
3553
+ box-sizing: border-box;
3554
+ }
3555
+ .stats-simple__item {
3556
+ display: flex;
3557
+ flex-direction: column;
3558
+ gap: var(--spacing-8);
3559
+ }
3560
+ .stats-simple__value {
3561
+ font-size: var(--stats-simple-value-size);
3562
+ font-weight: var(--font-weight-extra-bold);
3563
+ line-height: var(--stats-simple-value-lh);
3564
+ color: var(--stats-simple-text-primary);
3565
+ }
3566
+ .stats-simple__label {
3567
+ font-size: var(--stats-simple-label-size);
3568
+ font-weight: var(--font-weight-regular);
3569
+ line-height: var(--stats-simple-label-lh);
3570
+ color: var(--stats-simple-text-secondary);
3571
+ }
3572
+ @media (min-width: 768px) {
3573
+ .stats-simple__inner {
3574
+ grid-template-columns: repeat(4, 1fr);
3575
+ gap: var(--spacing-24);
3576
+ padding: var(--spacing-64) var(--spacing-24);
3577
+ }
3578
+ }
3579
+ @media (min-width: 992px) {
3580
+ .stats-simple__inner {
3581
+ padding: var(--spacing-80) var(--spacing-24);
3582
+ }
3583
+ :root {
3584
+ --stats-simple-value-size: var(--font-size-4xl);
3585
+ --stats-simple-value-lh: var(--line-height-4xl);
3586
+ }
3587
+ }
3588
+
3530
3589
  /* templates/FeatureScroll/FeatureScroll.css */
3531
3590
  :root {
3532
3591
  --fs-bg: var(--color-slate-50);
@@ -5144,8 +5203,8 @@
5144
5203
  --lm-card-py-mobile: var(--spacing-12);
5145
5204
  --lm-card-img-h: var(--spacing-112);
5146
5205
  --lm-card-img-h-mobile: 5.375rem;
5147
- --lm-card-gap: var(--spacing-24);
5148
- --lm-col-gap: var(--spacing-24);
5206
+ --lm-card-gap: var(--spacing-16);
5207
+ --lm-col-gap: var(--spacing-16);
5149
5208
  --lm-carousel-height: 39.375rem;
5150
5209
  --lm-carousel-height-mob: 20.5rem;
5151
5210
  --lm-fade-height: var(--spacing-64);
@@ -5545,10 +5604,10 @@
5545
5604
  /* templates/DownloadBanner/DownloadBanner.css */
5546
5605
  :root {
5547
5606
  --db-section-bg-light: var(--color-slate-100);
5548
- --db-section-bg-light-2: var(--color-slate-50);
5607
+ --db-section-bg-light-2: var(--background-surface);
5549
5608
  --db-section-bg-dark: var(--color-slate-50);
5550
5609
  --db-card-bg-light: var(--color-slate-50);
5551
- --db-card-bg-light-2: var(--color-slate-100);
5610
+ --db-card-bg-light-2: var(--background-surface-secondary);
5552
5611
  --db-card-bg-dark: var(--color-slate-1200);
5553
5612
  --db-title-color-light: var(--text-primary);
5554
5613
  --db-title-color-dark: var(--color-slate-50);
@@ -6278,11 +6337,11 @@
6278
6337
  }
6279
6338
 
6280
6339
  /* templates/Leaders/Leaders.css */
6281
- .leaders {
6340
+ .avatar-grid {
6282
6341
  width: 100%;
6283
6342
  background-color: var(--color-slate-50);
6284
6343
  }
6285
- .leaders__container {
6344
+ .avatar-grid__container {
6286
6345
  display: flex;
6287
6346
  flex-direction: column;
6288
6347
  max-width: var(--content-width-1280);
@@ -6294,20 +6353,27 @@
6294
6353
  gap: var(--spacing-48);
6295
6354
  }
6296
6355
  @media (min-width: 992px) {
6297
- .leaders__container {
6356
+ .avatar-grid__container {
6298
6357
  padding: var(--spacing-112) var(--spacing-24);
6299
6358
  gap: var(--spacing-80);
6300
6359
  }
6301
6360
  }
6302
- .leaders__header {
6361
+ .avatar-grid__header {
6303
6362
  display: flex;
6304
6363
  flex-direction: column;
6305
- align-items: center;
6306
- text-align: center;
6364
+ align-items: flex-start;
6365
+ text-align: left;
6307
6366
  width: 100%;
6308
6367
  max-width: var(--content-width-846);
6368
+ gap: var(--spacing-16);
6369
+ }
6370
+ @media (min-width: 992px) {
6371
+ .avatar-grid__header {
6372
+ align-items: center;
6373
+ text-align: center;
6374
+ }
6309
6375
  }
6310
- .leaders__title {
6376
+ .avatar-grid__title {
6311
6377
  font-family: var(--typography-h2-font-family);
6312
6378
  font-size: var(--typography-h2-font-size);
6313
6379
  font-weight: var(--typography-h2-font-weight);
@@ -6315,67 +6381,75 @@
6315
6381
  color: var(--color-slate-1200);
6316
6382
  margin: 0;
6317
6383
  }
6318
- .leaders__grid-wrapper {
6384
+ .avatar-grid__description {
6385
+ font-family: var(--typography-body-lg-font-family);
6386
+ font-size: var(--typography-body-lg-font-size);
6387
+ font-weight: var(--typography-body-lg-font-weight);
6388
+ line-height: var(--typography-body-lg-line-height);
6389
+ color: var(--color-slate-900);
6390
+ margin: 0;
6391
+ }
6392
+ .avatar-grid__grid-wrapper {
6319
6393
  display: flex;
6320
6394
  flex-direction: column;
6321
6395
  width: 100%;
6322
6396
  }
6323
- .leaders__grid {
6397
+ .avatar-grid__grid {
6324
6398
  display: grid;
6325
6399
  grid-template-columns: 1fr;
6326
- gap: var(--spacing-24);
6400
+ row-gap: var(--spacing-32);
6401
+ column-gap: var(--spacing-16);
6327
6402
  width: 100%;
6328
6403
  }
6329
6404
  @media (min-width: 768px) {
6330
- .leaders__grid {
6405
+ .avatar-grid__grid {
6331
6406
  grid-template-columns: repeat(2, 1fr);
6332
6407
  }
6333
6408
  }
6334
6409
  @media (min-width: 992px) {
6335
- .leaders__grid {
6410
+ .avatar-grid__grid {
6336
6411
  grid-template-columns: repeat(4, 1fr);
6337
- gap: var(--spacing-32);
6338
6412
  }
6339
6413
  }
6340
- .leaders__extra-cards {
6414
+ .avatar-grid__extra-cards {
6341
6415
  display: grid;
6342
6416
  grid-template-rows: 0fr;
6343
6417
  transition: grid-template-rows 0.8s cubic-bezier(0.16, 1, 0.3, 1);
6344
6418
  width: 100%;
6345
6419
  }
6346
- .leaders__extra-cards--open {
6420
+ .avatar-grid__extra-cards--open {
6347
6421
  grid-template-rows: 1fr;
6348
6422
  }
6349
- .leaders__extra-grid {
6423
+ .avatar-grid__extra-grid {
6350
6424
  min-height: 0;
6351
6425
  overflow: hidden;
6352
6426
  display: grid;
6353
6427
  grid-template-columns: 1fr;
6354
- gap: var(--spacing-24);
6428
+ row-gap: var(--spacing-32);
6429
+ column-gap: var(--spacing-16);
6355
6430
  padding-top: var(--spacing-24);
6356
6431
  }
6357
6432
  @media (min-width: 768px) {
6358
- .leaders__extra-grid {
6433
+ .avatar-grid__extra-grid {
6359
6434
  grid-template-columns: repeat(2, 1fr);
6360
6435
  }
6361
6436
  }
6362
6437
  @media (min-width: 992px) {
6363
- .leaders__extra-grid {
6438
+ .avatar-grid__extra-grid {
6364
6439
  grid-template-columns: repeat(4, 1fr);
6365
- gap: var(--spacing-32);
6366
6440
  padding-top: var(--spacing-32);
6367
6441
  }
6368
6442
  }
6369
- .leaders__extra-card {
6443
+ .avatar-grid__extra-card {
6370
6444
  opacity: 0;
6371
6445
  transform: translateY(16px);
6372
6446
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
6373
6447
  }
6374
- .leaders__extra-card--visible {
6448
+ .avatar-grid__extra-card--visible {
6375
6449
  opacity: 1;
6376
6450
  transform: translateY(0);
6377
6451
  }
6378
- .leaders__card {
6452
+ .avatar-grid__card {
6379
6453
  display: flex;
6380
6454
  flex-direction: column;
6381
6455
  align-items: flex-start;
@@ -6384,7 +6458,7 @@
6384
6458
  border-radius: var(--radius-2xl);
6385
6459
  width: 100%;
6386
6460
  }
6387
- .leaders__image-wrapper {
6461
+ .avatar-grid__image-wrapper {
6388
6462
  width: 100%;
6389
6463
  aspect-ratio: 1 / 1;
6390
6464
  border-radius: var(--radius-2xl);
@@ -6392,7 +6466,7 @@
6392
6466
  position: relative;
6393
6467
  background-color: var(--color-slate-100);
6394
6468
  }
6395
- .leaders__image {
6469
+ .avatar-grid__image {
6396
6470
  position: absolute;
6397
6471
  inset: 0;
6398
6472
  width: 100%;
@@ -6401,14 +6475,14 @@
6401
6475
  object-position: center;
6402
6476
  display: block;
6403
6477
  }
6404
- .leaders__content {
6478
+ .avatar-grid__content {
6405
6479
  display: flex;
6406
6480
  flex-direction: column;
6407
6481
  align-items: flex-start;
6408
6482
  gap: var(--spacing-8);
6409
6483
  width: 100%;
6410
6484
  }
6411
- .leaders__name {
6485
+ .avatar-grid__name {
6412
6486
  font-family: var(--typography-h5-font-family);
6413
6487
  font-size: var(--typography-h5-font-size);
6414
6488
  font-weight: var(--typography-h5-font-weight);
@@ -6416,7 +6490,7 @@
6416
6490
  color: var(--color-slate-1200);
6417
6491
  margin: 0;
6418
6492
  }
6419
- .leaders__role {
6493
+ .avatar-grid__role {
6420
6494
  font-family: var(--typography-body-md-font-family);
6421
6495
  font-size: var(--typography-body-md-font-size);
6422
6496
  font-weight: var(--typography-body-md-font-weight);
@@ -6424,19 +6498,406 @@
6424
6498
  color: var(--color-slate-1200);
6425
6499
  margin: 0;
6426
6500
  }
6427
- .leaders__link {
6501
+ .avatar-grid__link {
6428
6502
  margin-top: calc(var(--spacing-8) * -1);
6429
6503
  }
6430
- .leaders__link .icon {
6504
+ .avatar-grid__link .icon {
6431
6505
  color: #0072B1 !important;
6432
6506
  }
6433
- .leaders__link:hover .icon {
6507
+ .avatar-grid__link:hover .icon {
6434
6508
  color: #005582 !important;
6435
6509
  }
6436
- .leaders__actions {
6510
+ .avatar-grid__actions {
6437
6511
  display: flex;
6438
6512
  justify-content: center;
6439
6513
  width: 100%;
6440
6514
  padding-top: var(--spacing-16);
6441
6515
  }
6516
+ @media (min-width: 992px) {
6517
+ .avatar-grid__actions {
6518
+ padding-top: 0;
6519
+ margin-top: calc(var(--spacing-48) - var(--spacing-80));
6520
+ width: auto;
6521
+ }
6522
+ .avatar-grid__actions .button {
6523
+ width: auto;
6524
+ }
6525
+ }
6526
+
6527
+ /* templates/ImageBanner/ImageBanner.css */
6528
+ .image-banner {
6529
+ width: 100%;
6530
+ font-family: var(--font-family-base);
6531
+ box-sizing: border-box;
6532
+ padding: var(--spacing-56) 0;
6533
+ }
6534
+ @media (min-width: 992px) {
6535
+ .image-banner {
6536
+ padding: var(--spacing-112) var(--spacing-24);
6537
+ }
6538
+ }
6539
+ .image-banner__inner {
6540
+ position: relative;
6541
+ display: flex;
6542
+ flex-direction: column;
6543
+ max-width: var(--content-width-1280);
6544
+ margin: 0 auto;
6545
+ border-radius: 0;
6546
+ overflow: hidden;
6547
+ background-color: var(--color-slate-1200);
6548
+ min-height: 480px;
6549
+ }
6550
+ @media (min-width: 992px) {
6551
+ .image-banner__inner {
6552
+ border-radius: var(--radius-2xl);
6553
+ }
6554
+ }
6555
+ @media (min-width: 992px) {
6556
+ .image-banner__inner--split {
6557
+ flex-direction: row;
6558
+ align-items: stretch;
6559
+ }
6560
+ }
6561
+ .image-banner__inner--full-bg {
6562
+ min-height: 740px;
6563
+ }
6564
+ @media (min-width: 992px) {
6565
+ .image-banner__inner--full-bg {
6566
+ min-height: 480px;
6567
+ max-height: 480px;
6568
+ }
6569
+ }
6570
+ .image-banner__content {
6571
+ display: flex;
6572
+ flex-direction: column;
6573
+ justify-content: flex-start;
6574
+ align-items: flex-start;
6575
+ text-align: left;
6576
+ gap: var(--spacing-16);
6577
+ padding: var(--spacing-48) var(--spacing-24);
6578
+ flex: 0 0 auto;
6579
+ width: 100%;
6580
+ box-sizing: border-box;
6581
+ position: relative;
6582
+ z-index: 1;
6583
+ }
6584
+ @media (min-width: 992px) {
6585
+ .image-banner__content {
6586
+ gap: var(--spacing-24);
6587
+ }
6588
+ .image-banner__inner--split .image-banner__content {
6589
+ width: 50%;
6590
+ padding: var(--spacing-64) var(--spacing-56);
6591
+ justify-content: center;
6592
+ }
6593
+ .image-banner__inner--full-bg .image-banner__content {
6594
+ width: 60%;
6595
+ padding: var(--spacing-64) var(--spacing-56);
6596
+ justify-content: center;
6597
+ flex: 1 1 auto;
6598
+ align-self: stretch;
6599
+ }
6600
+ }
6601
+ .image-banner__title {
6602
+ font-family: var(--typography-h2-font-family);
6603
+ font-size: var(--typography-h2-font-size);
6604
+ font-weight: var(--typography-h2-font-weight);
6605
+ line-height: var(--typography-h2-line-height);
6606
+ color: var(--color-slate-50);
6607
+ margin: 0;
6608
+ }
6609
+ .image-banner__description {
6610
+ font-family: var(--typography-body-md-font-family);
6611
+ font-size: var(--typography-body-md-font-size);
6612
+ font-weight: var(--typography-body-md-font-weight);
6613
+ line-height: var(--typography-body-md-line-height);
6614
+ color: var(--color-slate-50);
6615
+ margin: 0;
6616
+ opacity: 0.9;
6617
+ max-width: 42ch;
6618
+ }
6619
+ .image-banner__actions {
6620
+ display: flex;
6621
+ align-items: center;
6622
+ padding-top: var(--spacing-8);
6623
+ }
6624
+ .image-banner__image-wrapper {
6625
+ position: relative;
6626
+ width: 100%;
6627
+ aspect-ratio: 4 / 3;
6628
+ overflow: hidden;
6629
+ flex-shrink: 0;
6630
+ }
6631
+ @media (min-width: 992px) {
6632
+ .image-banner__image-wrapper {
6633
+ position: absolute;
6634
+ right: 0;
6635
+ top: 0;
6636
+ bottom: 0;
6637
+ width: 55%;
6638
+ aspect-ratio: unset;
6639
+ }
6640
+ }
6641
+ .image-banner__image {
6642
+ position: absolute;
6643
+ inset: 0;
6644
+ width: 100%;
6645
+ height: 100%;
6646
+ object-fit: cover;
6647
+ object-position: center top;
6648
+ display: block;
6649
+ }
6650
+ .image-banner__bg-image-wrapper {
6651
+ position: absolute;
6652
+ inset: 0;
6653
+ z-index: 0;
6654
+ }
6655
+ .image-banner__bg-image {
6656
+ width: 100%;
6657
+ height: 100%;
6658
+ object-fit: cover;
6659
+ object-position: center;
6660
+ display: block;
6661
+ }
6662
+ .image-banner__bg-overlay {
6663
+ position: absolute;
6664
+ inset: 0;
6665
+ background:
6666
+ linear-gradient(
6667
+ to right,
6668
+ rgba(0, 0, 0, 0.72) 0%,
6669
+ rgba(0, 0, 0, 0.48) 50%,
6670
+ rgba(0, 0, 0, 0.10) 100%);
6671
+ }
6672
+
6673
+ /* templates/Testimonial/Testimonial.css */
6674
+ :root {
6675
+ --testimonial-bg: var(--color-slate-75);
6676
+ --testimonial-card-bg: var(--color-slate-50);
6677
+ --testimonial-card-radius: 2rem;
6678
+ --testimonial-card-shadow: none;
6679
+ --testimonial-card-min-height: 416px;
6680
+ --testimonial-title-color: var(--color-slate-1200);
6681
+ --testimonial-quote-color: var(--color-slate-900);
6682
+ --testimonial-author-name-color: var(--color-slate-1200);
6683
+ --testimonial-author-location-color: var(--color-slate-700);
6684
+ --testimonial-dot-color: var(--color-slate-300);
6685
+ --testimonial-dot-active-color: var(--color-slate-1200);
6686
+ --testimonial-quotemark-color: var(--color-slate-200);
6687
+ }
6688
+ .testimonial {
6689
+ width: 100%;
6690
+ background-color: var(--testimonial-bg);
6691
+ }
6692
+ .testimonial__container {
6693
+ display: flex;
6694
+ flex-direction: column;
6695
+ align-items: flex-start;
6696
+ max-width: var(--content-width-1280);
6697
+ margin: 0 auto;
6698
+ padding: var(--spacing-56) var(--spacing-16);
6699
+ box-sizing: border-box;
6700
+ width: 100%;
6701
+ gap: var(--spacing-48);
6702
+ }
6703
+ @media (min-width: 768px) {
6704
+ .testimonial__container {
6705
+ padding: var(--spacing-56) var(--spacing-24);
6706
+ }
6707
+ }
6708
+ @media (min-width: 992px) {
6709
+ .testimonial__container {
6710
+ padding: var(--spacing-112) var(--spacing-24);
6711
+ gap: var(--spacing-64);
6712
+ }
6713
+ }
6714
+ .testimonial__title {
6715
+ font-family: var(--typography-h2-font-family);
6716
+ font-size: var(--typography-h2-font-size);
6717
+ font-weight: var(--typography-h2-font-weight);
6718
+ line-height: var(--typography-h2-line-height);
6719
+ color: var(--testimonial-title-color);
6720
+ margin: 0;
6721
+ text-align: left;
6722
+ width: 100%;
6723
+ }
6724
+ .testimonial__carousel {
6725
+ width: 100%;
6726
+ display: flex;
6727
+ flex-direction: column;
6728
+ align-items: center;
6729
+ gap: var(--spacing-32);
6730
+ }
6731
+ .testimonial__card {
6732
+ position: relative;
6733
+ width: 100%;
6734
+ height: 100%;
6735
+ max-width: var(--content-width-1280);
6736
+ min-height: var(--testimonial-card-min-height);
6737
+ background-color: var(--testimonial-card-bg);
6738
+ border-radius: var(--testimonial-card-radius);
6739
+ box-shadow: var(--testimonial-card-shadow);
6740
+ padding: 148px var(--spacing-32) var(--spacing-48);
6741
+ box-sizing: border-box;
6742
+ display: flex;
6743
+ flex-direction: column;
6744
+ align-items: flex-start;
6745
+ justify-content: center;
6746
+ text-align: left;
6747
+ gap: var(--spacing-24);
6748
+ overflow: hidden;
6749
+ }
6750
+ @media (min-width: 992px) {
6751
+ .testimonial__card {
6752
+ padding: var(--spacing-56) var(--spacing-80);
6753
+ align-items: center;
6754
+ text-align: center;
6755
+ }
6756
+ }
6757
+ .testimonial__quotemark {
6758
+ position: absolute;
6759
+ user-select: none;
6760
+ line-height: 0;
6761
+ }
6762
+ .testimonial__quotemark-img {
6763
+ width: 100px;
6764
+ height: auto;
6765
+ display: block;
6766
+ }
6767
+ .testimonial__quotemark--open {
6768
+ top: var(--spacing-24);
6769
+ left: var(--spacing-24);
6770
+ }
6771
+ .testimonial__quotemark--close {
6772
+ bottom: var(--spacing-24);
6773
+ right: var(--spacing-24);
6774
+ display: none;
6775
+ }
6776
+ @media (min-width: 992px) {
6777
+ .testimonial__quotemark-img {
6778
+ width: 130px;
6779
+ }
6780
+ .testimonial__quotemark--open {
6781
+ top: var(--spacing-32);
6782
+ left: var(--spacing-40);
6783
+ }
6784
+ .testimonial__quotemark--close {
6785
+ display: block;
6786
+ bottom: var(--spacing-32);
6787
+ right: var(--spacing-40);
6788
+ }
6789
+ }
6790
+ .testimonial__quote {
6791
+ font-family: var(--typography-body-lg-font-family);
6792
+ font-size: var(--typography-body-lg-font-size);
6793
+ font-weight: var(--typography-body-lg-font-weight);
6794
+ line-height: var(--typography-body-lg-line-height);
6795
+ color: var(--testimonial-quote-color);
6796
+ text-align: left;
6797
+ margin: 0;
6798
+ max-width: 680px;
6799
+ position: relative;
6800
+ z-index: 1;
6801
+ }
6802
+ @media (min-width: 992px) {
6803
+ .testimonial__quote {
6804
+ text-align: center;
6805
+ }
6806
+ }
6807
+ .testimonial__author {
6808
+ display: flex;
6809
+ flex-direction: column;
6810
+ align-items: flex-start;
6811
+ gap: var(--spacing-4);
6812
+ position: relative;
6813
+ z-index: 1;
6814
+ }
6815
+ @media (min-width: 992px) {
6816
+ .testimonial__author {
6817
+ align-items: center;
6818
+ }
6819
+ }
6820
+ .testimonial__author-avatar {
6821
+ width: 48px;
6822
+ height: 48px;
6823
+ border-radius: 50%;
6824
+ object-fit: cover;
6825
+ margin-bottom: var(--spacing-8);
6826
+ }
6827
+ .testimonial__author-name {
6828
+ font-family: var(--typography-body-lg-font-family);
6829
+ font-size: var(--typography-body-lg-font-size);
6830
+ font-weight: var(--font-weight-semi-bold);
6831
+ line-height: var(--typography-body-lg-line-height);
6832
+ color: var(--testimonial-author-name-color);
6833
+ margin: 0;
6834
+ }
6835
+ .testimonial__author-location {
6836
+ font-family: var(--typography-body-md-font-family);
6837
+ font-size: var(--typography-body-md-font-size);
6838
+ font-weight: var(--typography-body-md-font-weight);
6839
+ line-height: var(--typography-body-md-line-height);
6840
+ color: var(--testimonial-author-location-color);
6841
+ margin: 0;
6842
+ }
6843
+ .testimonial__dots {
6844
+ display: flex;
6845
+ align-items: center;
6846
+ gap: var(--spacing-8);
6847
+ }
6848
+ .testimonial__dot {
6849
+ width: 8px;
6850
+ height: 8px;
6851
+ border-radius: 50%;
6852
+ background-color: var(--testimonial-dot-color);
6853
+ border: none;
6854
+ padding: 0;
6855
+ cursor: pointer;
6856
+ transition: background-color 0.2s ease, transform 0.2s ease;
6857
+ flex-shrink: 0;
6858
+ }
6859
+ .testimonial__dot:hover {
6860
+ background-color: var(--testimonial-dot-active-color);
6861
+ }
6862
+ .testimonial__dot--active {
6863
+ background-color: var(--testimonial-dot-active-color);
6864
+ transform: scale(1.25);
6865
+ }
6866
+ .testimonial__slides {
6867
+ position: relative;
6868
+ display: grid;
6869
+ width: 100%;
6870
+ }
6871
+ .testimonial__slide {
6872
+ grid-area: 1 / 1;
6873
+ width: 100%;
6874
+ align-self: stretch;
6875
+ opacity: 0;
6876
+ visibility: hidden;
6877
+ pointer-events: none;
6878
+ transition:
6879
+ opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
6880
+ transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
6881
+ visibility 0s linear 0.35s;
6882
+ transform: translateY(6px);
6883
+ }
6884
+ .testimonial__slide--active {
6885
+ opacity: 1;
6886
+ visibility: visible;
6887
+ pointer-events: auto;
6888
+ transform: translateY(0);
6889
+ transition:
6890
+ opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
6891
+ transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
6892
+ visibility 0s linear 0s;
6893
+ }
6894
+ .testimonial__slide--exiting {
6895
+ opacity: 0;
6896
+ visibility: visible;
6897
+ transform: translateY(-6px);
6898
+ transition:
6899
+ opacity 0.2s cubic-bezier(0.4, 0, 1, 1),
6900
+ transform 0.2s cubic-bezier(0.4, 0, 1, 1),
6901
+ visibility 0s linear 0.2s;
6902
+ }
6442
6903
  /*# sourceMappingURL=index.css.map */