@deriv-web-design/ui 0.0.14 → 0.0.15

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
@@ -1240,6 +1240,7 @@
1240
1240
  flex-shrink: 0;
1241
1241
  position: relative;
1242
1242
  overflow: hidden;
1243
+ background-color: transparent;
1243
1244
  }
1244
1245
  .card-primary .cp-image {
1245
1246
  position: absolute;
@@ -1247,6 +1248,7 @@
1247
1248
  width: 100%;
1248
1249
  height: 100%;
1249
1250
  object-fit: cover;
1251
+ object-position: center;
1250
1252
  display: block;
1251
1253
  }
1252
1254
  .card-primary .cp-imageOverlay {
@@ -1261,6 +1263,7 @@
1261
1263
  width: 100%;
1262
1264
  height: 100%;
1263
1265
  object-fit: cover;
1266
+ object-position: center;
1264
1267
  display: block;
1265
1268
  }
1266
1269
  .card-primary .cp-gradient {
@@ -1328,6 +1331,7 @@
1328
1331
  overflow: hidden;
1329
1332
  flex-shrink: 0;
1330
1333
  outline: 1px solid var(--border-subtle);
1334
+ background-color: transparent;
1331
1335
  }
1332
1336
  .card-thumbnail .ct-thumbnailImage {
1333
1337
  position: absolute;
@@ -1335,6 +1339,7 @@
1335
1339
  width: 100%;
1336
1340
  height: 100%;
1337
1341
  object-fit: cover;
1342
+ object-position: center;
1338
1343
  border-radius: inherit;
1339
1344
  pointer-events: none;
1340
1345
  display: block;
@@ -1521,7 +1526,7 @@
1521
1526
  display: flex;
1522
1527
  flex-direction: column;
1523
1528
  gap: var(--spacing-48);
1524
- max-width: 1280px;
1529
+ max-width: var(--content-width-1280);
1525
1530
  margin: 0 auto;
1526
1531
  padding: var(--spacing-56) var(--spacing-16);
1527
1532
  box-sizing: border-box;
@@ -1588,7 +1593,7 @@
1588
1593
  display: flex;
1589
1594
  flex-direction: column;
1590
1595
  gap: var(--spacing-48);
1591
- max-width: 1280px;
1596
+ max-width: var(--content-width-1280);
1592
1597
  margin: 0 auto;
1593
1598
  padding: var(--spacing-56) var(--spacing-16);
1594
1599
  box-sizing: border-box;
@@ -2172,7 +2177,7 @@
2172
2177
  position: relative;
2173
2178
  z-index: 3;
2174
2179
  width: 100%;
2175
- max-width: 1280px;
2180
+ max-width: var(--content-width-1280);
2176
2181
  margin: 0 auto;
2177
2182
  box-sizing: border-box;
2178
2183
  padding: var(--spacing-24) var(--spacing-16);
@@ -2215,7 +2220,7 @@
2215
2220
  .hero--split {
2216
2221
  background-color: var(--hero-dark-bg);
2217
2222
  background-size: cover;
2218
- background-position: center top;
2223
+ background-position: center;
2219
2224
  background-repeat: no-repeat;
2220
2225
  height: 100vh;
2221
2226
  display: flex;
@@ -2266,20 +2271,23 @@
2266
2271
  }
2267
2272
  .hero--split .hero__image-slot {
2268
2273
  position: absolute;
2269
- bottom: 0;
2274
+ top: 10vh;
2275
+ bottom: auto;
2270
2276
  left: 0;
2271
2277
  right: 0;
2272
- top: auto;
2273
2278
  height: 80vh;
2274
2279
  z-index: 1;
2275
2280
  overflow: visible;
2276
2281
  pointer-events: none;
2282
+ display: flex;
2283
+ align-items: center;
2284
+ justify-content: center;
2277
2285
  }
2278
2286
  .hero--split .hero__image-slot img {
2279
2287
  width: 100%;
2280
- bottom: var(--spacing-40);
2288
+ max-height: 100%;
2281
2289
  object-fit: contain;
2282
- object-position: center bottom;
2290
+ object-position: center;
2283
2291
  display: block;
2284
2292
  }
2285
2293
  .hero--split .hero__image-slot > *:not(img) {
@@ -2310,7 +2318,7 @@
2310
2318
  .hero--centered {
2311
2319
  background-color: var(--hero-dark-bg);
2312
2320
  background-size: cover;
2313
- background-position: center top;
2321
+ background-position: center;
2314
2322
  background-repeat: no-repeat;
2315
2323
  height: 100vh;
2316
2324
  display: flex;
@@ -2454,7 +2462,7 @@
2454
2462
  .hero--visuals .hero__text,
2455
2463
  .hero--minimal .hero__text {
2456
2464
  align-items: flex-start;
2457
- max-width: 846px;
2465
+ max-width: var(--content-width-846);
2458
2466
  }
2459
2467
  .hero--visuals .hero__subtitle,
2460
2468
  .hero--minimal .hero__subtitle {
@@ -2496,6 +2504,7 @@
2496
2504
  width: 100%;
2497
2505
  height: 100%;
2498
2506
  object-fit: contain;
2507
+ object-position: center;
2499
2508
  }
2500
2509
  .hero__visual--left {
2501
2510
  width: 160px;
@@ -2516,7 +2525,7 @@
2516
2525
  .hero--showcase {
2517
2526
  background-color: var(--hero-dark-bg);
2518
2527
  background-size: cover;
2519
- background-position: center top;
2528
+ background-position: center;
2520
2529
  background-repeat: no-repeat;
2521
2530
  height: 100vh;
2522
2531
  display: flex;
@@ -2620,6 +2629,7 @@
2620
2629
  height: 100%;
2621
2630
  display: block;
2622
2631
  object-fit: contain;
2632
+ object-position: center;
2623
2633
  }
2624
2634
  .hero--showcase .hero__floating-image {
2625
2635
  width: 100%;
@@ -2634,6 +2644,7 @@
2634
2644
  height: 100%;
2635
2645
  display: block;
2636
2646
  object-fit: cover;
2647
+ object-position: center;
2637
2648
  }
2638
2649
  @media (min-width: 768px) {
2639
2650
  .hero__inner {
@@ -2719,7 +2730,7 @@
2719
2730
  padding: var(--spacing-48) var(--spacing-32);
2720
2731
  }
2721
2732
  .hero--split .hero__inner {
2722
- max-width: 1280px;
2733
+ max-width: var(--content-width-1280);
2723
2734
  padding-top: var(--hero-primary-padding-top-desktop);
2724
2735
  padding-bottom: var(--spacing-96);
2725
2736
  padding-left: var(--spacing-32);
@@ -2752,7 +2763,7 @@
2752
2763
  width: 50%;
2753
2764
  height: calc(100% - 5px);
2754
2765
  display: flex;
2755
- align-items: flex-start;
2766
+ align-items: center;
2756
2767
  justify-content: center;
2757
2768
  overflow: visible;
2758
2769
  pointer-events: none;
@@ -2764,7 +2775,7 @@
2764
2775
  max-height: none;
2765
2776
  max-width: none;
2766
2777
  object-fit: contain;
2767
- object-position: center top;
2778
+ object-position: center;
2768
2779
  }
2769
2780
  .hero--split .hero__buttons {
2770
2781
  flex-direction: row;
@@ -2825,7 +2836,7 @@
2825
2836
  }
2826
2837
  .hero--visuals .hero__content,
2827
2838
  .hero--minimal .hero__content {
2828
- max-width: 846px;
2839
+ max-width: var(--content-width-846);
2829
2840
  width: 100%;
2830
2841
  }
2831
2842
  .hero--showcase .hero__inner {
@@ -2883,9 +2894,9 @@
2883
2894
  box-sizing: border-box;
2884
2895
  }
2885
2896
  .stats__inner {
2886
- max-width: 1280px;
2897
+ max-width: var(--content-width-1280);
2887
2898
  margin: 0 auto;
2888
- padding: var(--spacing-48) var(--spacing-16);
2899
+ padding: var(--spacing-56) var(--spacing-16);
2889
2900
  display: flex;
2890
2901
  flex-direction: column;
2891
2902
  gap: var(--spacing-24);
@@ -3013,6 +3024,7 @@
3013
3024
  width: 100px;
3014
3025
  height: 100px;
3015
3026
  object-fit: contain;
3027
+ object-position: center;
3016
3028
  }
3017
3029
  .stats__awards-col {
3018
3030
  display: none;
@@ -3030,16 +3042,15 @@
3030
3042
  }
3031
3043
  .stats__inner {
3032
3044
  gap: var(--spacing-48);
3033
- padding: var(--spacing-48) var(--spacing-24);
3034
3045
  }
3035
3046
  }
3036
3047
  @media (min-width: 992px) {
3037
3048
  .stats__inner {
3038
- padding: var(--spacing-96) var(--spacing-32);
3049
+ padding: var(--spacing-112) var(--spacing-24);
3039
3050
  gap: var(--spacing-80);
3040
3051
  }
3041
3052
  .stats__header {
3042
- max-width: 846px;
3053
+ max-width: var(--content-width-846);
3043
3054
  margin-left: auto;
3044
3055
  margin-right: auto;
3045
3056
  }
@@ -3069,11 +3080,9 @@
3069
3080
  flex-shrink: 0;
3070
3081
  align-items: center;
3071
3082
  }
3072
- .stats__awards-col--left {
3073
- justify-content: flex-start;
3074
- }
3083
+ .stats__awards-col--left,
3075
3084
  .stats__awards-col--right {
3076
- justify-content: flex-end;
3085
+ justify-content: center;
3077
3086
  }
3078
3087
  .stats__awards-col .stats__award-image {
3079
3088
  width: 140px;
@@ -3084,36 +3093,44 @@
3084
3093
  }
3085
3094
  }
3086
3095
 
3087
- /* templates/Scrollytelling/Scrollytelling.css */
3096
+ /* templates/FeatureScroll/FeatureScroll.css */
3088
3097
  :root {
3089
- --scrolly-bg: var(--color-slate-50);
3090
- --scrolly-text-primary: var(--color-slate-1200);
3091
- --scrolly-text-muted: var(--color-slate-500);
3092
- --scrolly-link-color: var(--color-coral-500);
3093
- --scrolly-link-hover: var(--color-coral-600);
3094
- --scrolly-media-bg: var(--color-slate-200);
3095
- --scrolly-header-size: var(--typography-h2-font-size);
3096
- --scrolly-header-lh: var(--typography-h2-line-height);
3097
- --scrolly-title-size: var(--typography-h3-font-size);
3098
- --scrolly-title-lh: var(--typography-h3-line-height);
3099
- --scrolly-body-size: var(--typography-body-md-font-size);
3100
- --scrolly-body-lh: var(--typography-body-md-line-height);
3101
- --scrolly-link-size: var(--typography-link-md-font-size);
3102
- --scrolly-link-lh: var(--typography-link-md-line-height);
3103
- --scrolly-col-gap: var(--spacing-112);
3104
- --scrolly-media-radius: var(--radius-2xl);
3105
- --scrolly-mobile-radius: var(--radius-2xl);
3106
- --scrolly-item-min-height: 60vh;
3107
- --scrolly-sticky-top: var(--spacing-80);
3108
- }
3109
- .scrolly {
3098
+ --fs-bg: var(--color-slate-50);
3099
+ --fs-text-primary: var(--color-slate-1200);
3100
+ --fs-text-muted: var(--color-slate-500);
3101
+ --fs-link-color: var(--color-coral-500);
3102
+ --fs-link-hover: var(--color-coral-600);
3103
+ --fs-media-bg: transparent;
3104
+ --fs-font-family: var(--font-family-base);
3105
+ --fs-header-family: var(--typography-h2-font-family);
3106
+ --fs-header-size: var(--typography-h2-font-size);
3107
+ --fs-header-weight: var(--typography-h2-font-weight);
3108
+ --fs-header-lh: var(--typography-h2-line-height);
3109
+ --fs-title-family: var(--typography-h3-font-family);
3110
+ --fs-title-size: var(--typography-h3-font-size);
3111
+ --fs-title-weight: var(--typography-h3-font-weight);
3112
+ --fs-title-lh: var(--typography-h3-line-height);
3113
+ --fs-body-family: var(--typography-body-md-font-family);
3114
+ --fs-body-size: var(--typography-body-md-font-size);
3115
+ --fs-body-weight: var(--typography-body-md-font-weight);
3116
+ --fs-body-lh: var(--typography-body-md-line-height);
3117
+ --fs-link-family: var(--typography-link-md-font-family);
3118
+ --fs-link-size: var(--typography-link-md-font-size);
3119
+ --fs-link-weight: var(--typography-link-md-font-weight);
3120
+ --fs-link-lh: var(--typography-link-md-line-height);
3121
+ --fs-col-gap: var(--spacing-112);
3122
+ --fs-media-radius: var(--radius-2xl);
3123
+ --fs-mobile-radius: var(--radius-2xl);
3124
+ --fs-sticky-top: var(--spacing-80);
3125
+ }
3126
+ .fs {
3110
3127
  width: 100%;
3111
- background-color: var(--scrolly-bg);
3112
- font-family: var(--font-family-base);
3128
+ background-color: var(--fs-bg);
3129
+ font-family: var(--fs-font-family);
3113
3130
  box-sizing: border-box;
3114
3131
  }
3115
- .scrolly__inner {
3116
- max-width: 1280px;
3132
+ .fs__inner {
3133
+ max-width: var(--content-width-1280);
3117
3134
  margin: 0 auto;
3118
3135
  padding: var(--spacing-56) var(--spacing-16);
3119
3136
  display: flex;
@@ -3121,123 +3138,143 @@
3121
3138
  gap: var(--spacing-32);
3122
3139
  box-sizing: border-box;
3123
3140
  }
3124
- .scrolly__header {
3125
- font-size: var(--scrolly-header-size);
3126
- font-weight: var(--font-weight-extra-bold);
3127
- line-height: var(--scrolly-header-lh);
3128
- color: var(--scrolly-text-primary);
3141
+ .fs__header {
3142
+ font-family: var(--fs-header-family);
3143
+ font-size: var(--fs-header-size);
3144
+ font-weight: var(--fs-header-weight);
3145
+ line-height: var(--fs-header-lh);
3146
+ color: var(--fs-text-primary);
3129
3147
  margin: 0;
3130
3148
  }
3131
- .scrolly__layout {
3149
+ .fs__layout {
3132
3150
  display: none;
3133
3151
  }
3134
- .scrolly__mobile-list {
3152
+ .fs__mobile-list {
3135
3153
  display: flex;
3136
3154
  flex-direction: column;
3137
3155
  gap: var(--spacing-48);
3138
3156
  }
3139
- .scrolly__mobile-item {
3157
+ .fs__mobile-item {
3140
3158
  display: flex;
3141
3159
  flex-direction: column;
3142
3160
  gap: var(--spacing-16);
3143
3161
  }
3144
- .scrolly__mobile-media {
3162
+ .fs__mobile-media {
3145
3163
  width: 100%;
3146
3164
  aspect-ratio: 1 / 1;
3147
- border-radius: var(--scrolly-mobile-radius);
3148
- background-color: var(--scrolly-media-bg);
3165
+ border-radius: var(--fs-mobile-radius);
3166
+ background-color: var(--fs-media-bg);
3149
3167
  overflow: hidden;
3150
3168
  display: flex;
3151
3169
  align-items: center;
3152
3170
  justify-content: center;
3153
3171
  }
3154
- .scrolly__mobile-media img,
3155
- .scrolly__mobile-media > * {
3172
+ .fs__mobile-media img,
3173
+ .fs__mobile-media > * {
3156
3174
  width: 100%;
3157
3175
  height: 100%;
3158
3176
  object-fit: cover;
3177
+ object-position: center;
3159
3178
  display: block;
3160
3179
  }
3161
- .scrolly__item-title {
3162
- font-size: var(--scrolly-title-size);
3163
- font-weight: var(--font-weight-extra-bold);
3164
- line-height: var(--scrolly-title-lh);
3165
- color: var(--scrolly-text-primary);
3180
+ .fs__item-title {
3181
+ font-family: var(--fs-title-family);
3182
+ font-size: var(--fs-title-size);
3183
+ font-weight: var(--fs-title-weight);
3184
+ line-height: var(--fs-title-lh);
3185
+ color: var(--fs-text-primary);
3166
3186
  margin: 0;
3167
3187
  }
3168
- .scrolly__item-desc {
3169
- font-size: var(--scrolly-body-size);
3170
- font-weight: var(--font-weight-regular);
3171
- line-height: var(--scrolly-body-lh);
3172
- color: var(--scrolly-text-primary);
3188
+ .fs__item-desc {
3189
+ font-family: var(--fs-body-family);
3190
+ font-size: var(--fs-body-size);
3191
+ font-weight: var(--fs-body-weight);
3192
+ line-height: var(--fs-body-lh);
3193
+ color: var(--fs-text-muted);
3173
3194
  margin: 0;
3174
3195
  }
3175
- .scrolly__item-link {
3196
+ .fs__item-link {
3176
3197
  display: inline-flex;
3177
3198
  align-items: center;
3178
3199
  gap: var(--spacing-8);
3179
- font-size: var(--scrolly-link-size);
3180
- font-weight: var(--font-weight-semi-bold);
3181
- line-height: var(--scrolly-link-lh);
3182
- color: var(--scrolly-link-color);
3200
+ font-family: var(--fs-link-family);
3201
+ font-size: var(--fs-link-size);
3202
+ font-weight: var(--fs-link-weight);
3203
+ line-height: var(--fs-link-lh);
3204
+ color: var(--fs-link-color);
3183
3205
  text-decoration: none;
3184
3206
  transition: color 0.2s ease;
3185
3207
  cursor: pointer;
3186
3208
  }
3187
- .scrolly__item-link:hover {
3188
- color: var(--scrolly-link-hover);
3209
+ .fs__item-link:hover {
3210
+ color: var(--fs-link-hover);
3189
3211
  }
3190
- .scrolly__item-link-icon {
3212
+ .fs__item-link-icon {
3191
3213
  display: inline-flex;
3192
3214
  align-items: center;
3193
3215
  flex-shrink: 0;
3194
3216
  transition: transform 0.2s ease;
3195
3217
  }
3196
- .scrolly__item-link:hover .scrolly__item-link-icon {
3218
+ .fs__item-link:hover .fs__item-link-icon {
3197
3219
  transform: translateX(var(--spacing-4));
3198
3220
  }
3199
3221
  @media (min-width: 768px) {
3200
- .scrolly__inner {
3222
+ .fs__inner {
3201
3223
  padding: var(--spacing-56) var(--spacing-24);
3202
3224
  gap: var(--spacing-40);
3203
3225
  }
3204
3226
  }
3205
3227
  @media (min-width: 992px) {
3206
- .scrolly__header {
3228
+ .fs__header {
3207
3229
  text-align: center;
3208
3230
  }
3209
- .scrolly__inner {
3231
+ .fs__inner {
3210
3232
  padding: var(--spacing-112) var(--spacing-24);
3211
3233
  gap: var(--spacing-56);
3212
3234
  }
3213
- .scrolly__layout {
3235
+ .fs__layout {
3214
3236
  display: flex;
3215
3237
  flex-direction: row;
3216
- gap: var(--scrolly-col-gap);
3238
+ gap: var(--fs-col-gap);
3217
3239
  align-items: flex-start;
3218
3240
  width: 100%;
3241
+ --fs-step-band: calc(100svh - var(--fs-sticky-top));
3219
3242
  }
3220
- .scrolly__mobile-list {
3243
+ .fs__mobile-list {
3221
3244
  display: none;
3222
3245
  }
3223
- .scrolly--media-left .scrolly__layout {
3246
+ .fs--media-left .fs__layout {
3224
3247
  flex-direction: row-reverse;
3225
3248
  }
3226
- .scrolly__media-col {
3249
+ .fs__media-col {
3227
3250
  flex: 1 0 0;
3251
+ min-width: 0;
3252
+ align-self: stretch;
3253
+ display: flex;
3254
+ flex-direction: column;
3255
+ box-sizing: border-box;
3256
+ }
3257
+ .fs__media-sticky {
3258
+ flex: 0 0 auto;
3259
+ width: 100%;
3228
3260
  position: sticky;
3229
- top: var(--scrolly-sticky-top);
3230
- align-self: flex-start;
3261
+ top: var(--fs-sticky-top);
3262
+ display: flex;
3263
+ flex-direction: column;
3264
+ justify-content: center;
3265
+ align-items: stretch;
3266
+ min-height: var(--fs-step-band);
3267
+ box-sizing: border-box;
3231
3268
  }
3232
- .scrolly__media-wrap {
3269
+ .fs__media-wrap {
3233
3270
  width: 100%;
3234
3271
  aspect-ratio: 1 / 1;
3235
3272
  position: relative;
3236
- border-radius: var(--scrolly-media-radius);
3237
- background-color: var(--scrolly-media-bg);
3273
+ border-radius: var(--fs-media-radius);
3274
+ background-color: var(--fs-media-bg);
3238
3275
  overflow: hidden;
3239
3276
  }
3240
- .scrolly__media-item {
3277
+ .fs__media-item {
3241
3278
  position: absolute;
3242
3279
  inset: 0;
3243
3280
  opacity: 0;
@@ -3247,42 +3284,38 @@
3247
3284
  align-items: center;
3248
3285
  justify-content: center;
3249
3286
  }
3250
- .scrolly__media-item--active {
3287
+ .fs__media-item--active {
3251
3288
  opacity: 1;
3252
3289
  }
3253
- .scrolly__media-item img {
3290
+ .fs__media-item img {
3254
3291
  width: 100%;
3255
3292
  height: 100%;
3256
3293
  object-fit: cover;
3294
+ object-position: center;
3257
3295
  display: block;
3258
3296
  }
3259
- .scrolly__media-item > * {
3297
+ .fs__media-item > * {
3260
3298
  width: 100% !important;
3261
3299
  height: 100% !important;
3262
3300
  }
3263
- .scrolly__content-col {
3301
+ .fs__content-col {
3264
3302
  flex: 1 0 0;
3303
+ min-width: 0;
3265
3304
  display: flex;
3266
3305
  flex-direction: column;
3306
+ gap: 0;
3267
3307
  }
3268
- .scrolly__item {
3308
+ .fs__item {
3269
3309
  display: flex;
3270
3310
  flex-direction: column;
3271
3311
  justify-content: center;
3272
- min-height: var(--scrolly-item-min-height);
3312
+ flex-shrink: 0;
3313
+ margin: 0;
3314
+ min-height: var(--fs-step-band);
3273
3315
  gap: var(--spacing-24);
3274
3316
  padding-left: var(--spacing-32);
3275
- transition: opacity 0.4s ease;
3276
- opacity: 0.4;
3277
3317
  box-sizing: border-box;
3278
3318
  }
3279
- .scrolly__item--active {
3280
- opacity: 1;
3281
- }
3282
- .scrolly__item--inactive .scrolly__item-desc,
3283
- .scrolly__item--inactive .scrolly__item-title {
3284
- color: var(--scrolly-text-muted);
3285
- }
3286
3319
  }
3287
3320
 
3288
3321
  /* templates/StickyStackedCards/StickyStackedCards.css */
@@ -3319,7 +3352,7 @@
3319
3352
  box-sizing: border-box;
3320
3353
  }
3321
3354
  .ssc__inner {
3322
- max-width: 1280px;
3355
+ max-width: var(--content-width-1280);
3323
3356
  margin: 0 auto;
3324
3357
  padding: var(--spacing-56) var(--spacing-16);
3325
3358
  display: flex;
@@ -3392,6 +3425,7 @@
3392
3425
  height: var(--ssc-img-height-mobile);
3393
3426
  flex-shrink: 0;
3394
3427
  overflow: hidden;
3428
+ background-color: transparent;
3395
3429
  }
3396
3430
  .ssc__card-image img {
3397
3431
  position: absolute;
@@ -3399,6 +3433,7 @@
3399
3433
  width: 100%;
3400
3434
  height: 100%;
3401
3435
  object-fit: cover;
3436
+ object-position: center;
3402
3437
  display: block;
3403
3438
  }
3404
3439
  @media (min-width: 768px) {
@@ -3425,7 +3460,7 @@
3425
3460
  min-height: var(--ssc-card-min-height);
3426
3461
  }
3427
3462
  .ssc__card-content {
3428
- padding: var(--spacing-56) var(--spacing-24);
3463
+ padding: var(--spacing-32);
3429
3464
  justify-content: flex-start;
3430
3465
  align-self: stretch;
3431
3466
  }
@@ -3438,7 +3473,7 @@
3438
3473
 
3439
3474
  /* templates/CTABanner/CTABanner.css */
3440
3475
  :root {
3441
- --ctab-max-width: 80rem;
3476
+ --ctab-max-width: var(--content-width-1280);
3442
3477
  --ctab-stage-height: calc(11 * var(--ctab-grid-cell));
3443
3478
  --ctab-hero-max-width: 90%;
3444
3479
  --ctab-avatar-radius: var(--radius-xl);
@@ -3464,7 +3499,7 @@
3464
3499
  @media (min-width: 992px) {
3465
3500
  :root {
3466
3501
  --ctab-stage-height: 42.5rem;
3467
- --ctab-hero-max-width: 52.875rem;
3502
+ --ctab-hero-max-width: var(--content-width-846);
3468
3503
  --ctab-avatar-radius: var(--radius-2xl);
3469
3504
  --ctab-grid-cell: 6rem;
3470
3505
  --ctab-avatar-size: 6rem;
@@ -3597,6 +3632,7 @@
3597
3632
  width: 100%;
3598
3633
  height: 100%;
3599
3634
  object-fit: cover;
3635
+ object-position: center;
3600
3636
  display: block;
3601
3637
  border-radius: var(--ctab-avatar-radius);
3602
3638
  }
@@ -3722,7 +3758,7 @@
3722
3758
  display: inline-flex;
3723
3759
  align-items: center;
3724
3760
  gap: var(--spacing-8);
3725
- padding: var(--spacing-8);
3761
+ padding: var(--spacing-8) var(--spacing-12);
3726
3762
  height: 2.5rem;
3727
3763
  border: none;
3728
3764
  border-radius: var(--radius-full);
@@ -3942,6 +3978,7 @@
3942
3978
  display: flex;
3943
3979
  flex: 1;
3944
3980
  min-width: 0;
3981
+ min-height: 22.8rem;
3945
3982
  overflow: hidden;
3946
3983
  }
3947
3984
  .navbar__dropdown-left {
@@ -4386,9 +4423,6 @@
4386
4423
 
4387
4424
  /* templates/DayNightTransition/DayNightTransition.css */
4388
4425
  :root {
4389
- --dnt-headline-size: var(--typography-h2-font-size);
4390
- --dnt-headline-lh: var(--typography-h2-line-height);
4391
- --dnt-headline-weight: var(--typography-h2-font-weight);
4392
4426
  --dnt-text-day: var(--color-slate-1400);
4393
4427
  --dnt-text-night: var(--color-slate-50);
4394
4428
  --dnt-btn-bg: var(--color-coral-500);
@@ -4401,7 +4435,7 @@
4401
4435
  --dnt-btn-lh: var(--line-height-xs);
4402
4436
  --dnt-btn-weight: var(--font-weight-extra-bold);
4403
4437
  --dnt-wrapper-height: 250vh;
4404
- --dnt-content-max-width: 37.5rem;
4438
+ --dnt-text-max-width: 37.5rem;
4405
4439
  --dnt-content-py: var(--spacing-56);
4406
4440
  --dnt-content-px: var(--spacing-16);
4407
4441
  --dnt-desc-size: var(--typography-body-md-font-size);
@@ -4434,7 +4468,7 @@
4434
4468
  width: 100%;
4435
4469
  height: 100%;
4436
4470
  object-fit: cover;
4437
- object-position: center;
4471
+ object-position: bottom;
4438
4472
  display: block;
4439
4473
  pointer-events: none;
4440
4474
  }
@@ -4458,11 +4492,17 @@
4458
4492
  align-items: center;
4459
4493
  }
4460
4494
  }
4495
+ .dnt__inner {
4496
+ width: 100%;
4497
+ max-width: var(--content-width-1280);
4498
+ margin: 0 auto;
4499
+ box-sizing: border-box;
4500
+ }
4461
4501
  .dnt__text-wrap {
4462
4502
  display: flex;
4463
4503
  flex-direction: column;
4464
4504
  gap: var(--dnt-gap);
4465
- max-width: var(--dnt-content-max-width);
4505
+ max-width: var(--dnt-text-max-width);
4466
4506
  }
4467
4507
  .dnt__crossfade-wrap {
4468
4508
  display: grid;
@@ -4473,10 +4513,10 @@
4473
4513
  }
4474
4514
  .dnt__headline {
4475
4515
  margin: 0;
4476
- font-family: var(--font-family-base);
4477
- font-size: var(--dnt-headline-size);
4478
- font-weight: var(--dnt-headline-weight);
4479
- line-height: var(--dnt-headline-lh);
4516
+ font-family: var(--typography-h2-font-family);
4517
+ font-size: var(--typography-h2-font-size);
4518
+ font-weight: var(--typography-h2-font-weight);
4519
+ line-height: var(--typography-h2-line-height);
4480
4520
  }
4481
4521
  .dnt__description {
4482
4522
  margin: 0;
@@ -4490,6 +4530,7 @@
4490
4530
  align-items: center;
4491
4531
  justify-content: center;
4492
4532
  align-self: flex-start;
4533
+ width: auto;
4493
4534
  padding: var(--dnt-btn-py) var(--dnt-btn-px);
4494
4535
  background-color: var(--dnt-btn-bg);
4495
4536
  color: var(--dnt-btn-text);
@@ -4515,9 +4556,9 @@
4515
4556
  --lm-section-py: var(--spacing-112);
4516
4557
  --lm-section-px: var(--spacing-24);
4517
4558
  --lm-section-height: 50rem;
4518
- --lm-max-width: 80rem;
4559
+ --lm-max-width: var(--content-width-1280);
4519
4560
  --lm-layout-gap: var(--spacing-112);
4520
- --lm-card-bg: var(--color-slate-1100);
4561
+ --lm-card-bg: transparent;
4521
4562
  --lm-card-radius: var(--radius-lg);
4522
4563
  --lm-card-radius-mobile: var(--radius-2xl);
4523
4564
  --lm-card-px: var(--spacing-16);
@@ -4733,9 +4774,12 @@
4733
4774
  overflow: hidden;
4734
4775
  }
4735
4776
  .lm__card-img-wrap img {
4736
- width: 100%;
4737
- height: 100%;
4738
- object-fit: cover;
4777
+ max-width: 90%;
4778
+ max-height: 90%;
4779
+ width: auto;
4780
+ height: auto;
4781
+ object-fit: contain;
4782
+ object-position: center;
4739
4783
  display: block;
4740
4784
  }
4741
4785
 
@@ -4809,7 +4853,7 @@
4809
4853
  box-sizing: border-box;
4810
4854
  }
4811
4855
  .steps__container {
4812
- max-width: 1280px;
4856
+ max-width: var(--content-width-1280);
4813
4857
  margin: 0 auto;
4814
4858
  padding: var(--spacing-56) var(--spacing-16);
4815
4859
  display: flex;
@@ -4834,7 +4878,7 @@
4834
4878
  border-radius: var(--radius-2xl);
4835
4879
  overflow: hidden;
4836
4880
  flex-shrink: 0;
4837
- background-color: var(--color-slate-100);
4881
+ background-color: transparent;
4838
4882
  }
4839
4883
  @media (min-width: 992px) {
4840
4884
  .steps__image-wrapper {
@@ -4846,6 +4890,7 @@
4846
4890
  width: 100%;
4847
4891
  height: 100%;
4848
4892
  object-fit: cover;
4893
+ object-position: center;
4849
4894
  display: block;
4850
4895
  }
4851
4896
  .steps__content {
@@ -4904,10 +4949,10 @@
4904
4949
  gap: var(--spacing-4);
4905
4950
  }
4906
4951
  .steps__item-title {
4907
- font-family: var(--font-family-base);
4908
- font-size: var(--typography-body-lg-font-size);
4909
- font-weight: var(--font-weight-extra-bold);
4910
- line-height: var(--typography-body-lg-line-height);
4952
+ font-family: var(--typography-h5-font-family);
4953
+ font-size: var(--typography-h5-font-size);
4954
+ font-weight: var(--typography-h5-font-weight);
4955
+ line-height: var(--typography-h5-line-height);
4911
4956
  color: var(--steps-item-title-color);
4912
4957
  margin: 0;
4913
4958
  }
@@ -4950,7 +4995,7 @@
4950
4995
  background-color: var(--db-section-bg-dark);
4951
4996
  }
4952
4997
  .db-container {
4953
- max-width: 1280px;
4998
+ max-width: var(--content-width-1280);
4954
4999
  margin: 0 auto;
4955
5000
  padding: var(--spacing-56) var(--spacing-16);
4956
5001
  box-sizing: border-box;
@@ -5007,6 +5052,7 @@
5007
5052
  width: 128px;
5008
5053
  height: 128px;
5009
5054
  object-fit: contain;
5055
+ object-position: center;
5010
5056
  display: none;
5011
5057
  flex-shrink: 0;
5012
5058
  }
@@ -5101,7 +5147,7 @@
5101
5147
  display: flex;
5102
5148
  flex-wrap: wrap;
5103
5149
  justify-content: flex-end;
5104
- align-content: flex-end;
5150
+ align-content: center;
5105
5151
  align-items: center;
5106
5152
  }
5107
5153
  .db-badges .download-badge {