@deriv-web-design/ui 0.0.27 → 0.0.29
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 +758 -13
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +130 -3
- package/dist/index.d.ts +130 -3
- package/dist/index.js +940 -540
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +937 -540
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/tokens.css +2 -1
package/dist/index.css
CHANGED
|
@@ -329,10 +329,10 @@
|
|
|
329
329
|
border: 1px solid var(--tag-outline-border);
|
|
330
330
|
}
|
|
331
331
|
.tag.xs {
|
|
332
|
-
height:
|
|
332
|
+
height: 18px;
|
|
333
333
|
padding: 0 var(--spacing-4);
|
|
334
334
|
gap: var(--spacing-4);
|
|
335
|
-
font-size:
|
|
335
|
+
font-size: 0.625rem;
|
|
336
336
|
}
|
|
337
337
|
.tag.sm {
|
|
338
338
|
height: var(--spacing-24);
|
|
@@ -352,6 +352,13 @@
|
|
|
352
352
|
gap: var(--spacing-16);
|
|
353
353
|
font-size: var(--font-size-md);
|
|
354
354
|
}
|
|
355
|
+
.tag.custom {
|
|
356
|
+
color: var(--text-disabled);
|
|
357
|
+
padding: 0 !important;
|
|
358
|
+
height: auto !important;
|
|
359
|
+
text-transform: uppercase;
|
|
360
|
+
letter-spacing: 0.08em;
|
|
361
|
+
}
|
|
355
362
|
.tag.regular {
|
|
356
363
|
font-weight: var(--font-weight-regular);
|
|
357
364
|
}
|
|
@@ -1323,10 +1330,55 @@
|
|
|
1323
1330
|
gap: var(--spacing-24);
|
|
1324
1331
|
width: 100%;
|
|
1325
1332
|
}
|
|
1333
|
+
.card-thumbnail.ct-horizontal {
|
|
1334
|
+
flex-direction: row;
|
|
1335
|
+
align-items: flex-start;
|
|
1336
|
+
gap: var(--spacing-16);
|
|
1337
|
+
max-width: 846px;
|
|
1338
|
+
}
|
|
1339
|
+
.card-thumbnail.ct-horizontal .ct-thumbnailWrapper {
|
|
1340
|
+
width: 151px;
|
|
1341
|
+
height: 100px;
|
|
1342
|
+
aspect-ratio: auto;
|
|
1343
|
+
flex-shrink: 0;
|
|
1344
|
+
border-radius: var(--radius-xl);
|
|
1345
|
+
}
|
|
1346
|
+
.card-thumbnail.ct-horizontal .ct-title {
|
|
1347
|
+
display: -webkit-box;
|
|
1348
|
+
-webkit-line-clamp: 3;
|
|
1349
|
+
-webkit-box-orient: vertical;
|
|
1350
|
+
overflow: hidden;
|
|
1351
|
+
}
|
|
1352
|
+
.card-thumbnail.ct-horizontal .ct-summary {
|
|
1353
|
+
display: -webkit-box;
|
|
1354
|
+
-webkit-line-clamp: 2;
|
|
1355
|
+
-webkit-box-orient: vertical;
|
|
1356
|
+
overflow: hidden;
|
|
1357
|
+
}
|
|
1358
|
+
.card-thumbnail.ct-reverse {
|
|
1359
|
+
flex-direction: row-reverse;
|
|
1360
|
+
}
|
|
1361
|
+
@media (max-width: 767px) {
|
|
1362
|
+
.card-thumbnail.ct-horizontal {
|
|
1363
|
+
padding-bottom: var(--spacing-16);
|
|
1364
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
1365
|
+
}
|
|
1366
|
+
.card-thumbnail.ct-horizontal .ct-thumbnailWrapper {
|
|
1367
|
+
width: 132px;
|
|
1368
|
+
height: 88px;
|
|
1369
|
+
border-radius: var(--radius-md);
|
|
1370
|
+
}
|
|
1371
|
+
.card-thumbnail.ct-horizontal .ct-title {
|
|
1372
|
+
font-size: 16px;
|
|
1373
|
+
}
|
|
1374
|
+
.card-thumbnail.ct-horizontal .ct-summary {
|
|
1375
|
+
display: none;
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1326
1378
|
.card-thumbnail .ct-thumbnailWrapper {
|
|
1327
1379
|
position: relative;
|
|
1328
1380
|
width: 100%;
|
|
1329
|
-
aspect-ratio:
|
|
1381
|
+
aspect-ratio: 16 / 9;
|
|
1330
1382
|
border-radius: var(--radius-2xl);
|
|
1331
1383
|
overflow: hidden;
|
|
1332
1384
|
flex-shrink: 0;
|
|
@@ -1373,7 +1425,7 @@
|
|
|
1373
1425
|
.card-thumbnail .ct-content {
|
|
1374
1426
|
display: flex;
|
|
1375
1427
|
flex-direction: column;
|
|
1376
|
-
gap: var(--spacing-
|
|
1428
|
+
gap: var(--spacing-8);
|
|
1377
1429
|
width: 100%;
|
|
1378
1430
|
}
|
|
1379
1431
|
.card-thumbnail .ct-metaRow {
|
|
@@ -1387,10 +1439,20 @@
|
|
|
1387
1439
|
.card-thumbnail .ct-tagsList {
|
|
1388
1440
|
display: flex;
|
|
1389
1441
|
align-items: center;
|
|
1390
|
-
gap: var(--spacing-
|
|
1442
|
+
gap: var(--spacing-8);
|
|
1391
1443
|
flex: 1 0 0;
|
|
1392
1444
|
min-width: 0;
|
|
1393
1445
|
}
|
|
1446
|
+
.card-thumbnail .ct-tagItem {
|
|
1447
|
+
display: inline-flex;
|
|
1448
|
+
align-items: center;
|
|
1449
|
+
gap: var(--spacing-8);
|
|
1450
|
+
}
|
|
1451
|
+
.card-thumbnail .ct-tagDot {
|
|
1452
|
+
color: var(--tag-custom-text-color);
|
|
1453
|
+
font-size: var(--font-size-md);
|
|
1454
|
+
line-height: 1;
|
|
1455
|
+
}
|
|
1394
1456
|
.card-thumbnail .ct-copyLink {
|
|
1395
1457
|
display: inline-flex;
|
|
1396
1458
|
align-items: center;
|
|
@@ -1411,26 +1473,91 @@
|
|
|
1411
1473
|
background-color: var(--tag-fill-background);
|
|
1412
1474
|
}
|
|
1413
1475
|
.card-thumbnail .ct-title {
|
|
1414
|
-
font-family: var(--typography-
|
|
1415
|
-
font-size: var(--typography-
|
|
1416
|
-
font-weight: var(--
|
|
1417
|
-
line-height: var(--typography-
|
|
1476
|
+
font-family: var(--typography-body-lg-font-family);
|
|
1477
|
+
font-size: var(--typography-body-lg-font-size);
|
|
1478
|
+
font-weight: var(--font-weight-semi-bold);
|
|
1479
|
+
line-height: var(--typography-body-lg-line-height);
|
|
1418
1480
|
color: var(--color-slate-1200);
|
|
1419
1481
|
overflow: hidden;
|
|
1420
1482
|
text-overflow: ellipsis;
|
|
1421
1483
|
margin: 0;
|
|
1422
1484
|
}
|
|
1423
1485
|
.card-thumbnail .ct-summary {
|
|
1424
|
-
font-family: var(--typography-body-
|
|
1425
|
-
font-size: var(--typography-body-
|
|
1426
|
-
font-weight: var(--typography-body-
|
|
1427
|
-
line-height: var(--typography-body-
|
|
1486
|
+
font-family: var(--typography-body-sm-font-family);
|
|
1487
|
+
font-size: var(--typography-body-sm-font-size);
|
|
1488
|
+
font-weight: var(--typography-body-sm-font-weight);
|
|
1489
|
+
line-height: var(--typography-body-sm-line-height);
|
|
1428
1490
|
color: var(--color-slate-1200);
|
|
1429
1491
|
overflow: hidden;
|
|
1430
1492
|
text-overflow: ellipsis;
|
|
1431
1493
|
margin: 0;
|
|
1432
1494
|
}
|
|
1433
1495
|
|
|
1496
|
+
/* components/Card/CardCategoryVariant.css */
|
|
1497
|
+
.card-category {
|
|
1498
|
+
display: flex;
|
|
1499
|
+
flex-direction: column;
|
|
1500
|
+
gap: var(--spacing-16);
|
|
1501
|
+
width: 100%;
|
|
1502
|
+
}
|
|
1503
|
+
.card-category .cc-header {
|
|
1504
|
+
display: flex;
|
|
1505
|
+
flex-direction: column;
|
|
1506
|
+
gap: var(--spacing-16);
|
|
1507
|
+
cursor: pointer;
|
|
1508
|
+
}
|
|
1509
|
+
.card-category .cc-header:hover .cc-title {
|
|
1510
|
+
text-decoration: underline;
|
|
1511
|
+
}
|
|
1512
|
+
.card-category .cc-header:hover .cc-thumbnailImage {
|
|
1513
|
+
transform: scale(1.05);
|
|
1514
|
+
}
|
|
1515
|
+
.card-category .cc-thumbnailImage {
|
|
1516
|
+
transition: transform 0.25s ease-in-out;
|
|
1517
|
+
}
|
|
1518
|
+
.card-category .cc-title {
|
|
1519
|
+
font-family: var(--typography-h5-font-family);
|
|
1520
|
+
font-size: var(--typography-h5-font-size);
|
|
1521
|
+
font-weight: var(--typography-h5-font-weight);
|
|
1522
|
+
line-height: var(--typography-h5-line-height);
|
|
1523
|
+
color: var(--color-slate-1200);
|
|
1524
|
+
margin: 0;
|
|
1525
|
+
}
|
|
1526
|
+
.card-category .cc-thumbnailWrapper {
|
|
1527
|
+
width: 100%;
|
|
1528
|
+
aspect-ratio: 16 / 9;
|
|
1529
|
+
border-radius: var(--radius-2xl);
|
|
1530
|
+
overflow: hidden;
|
|
1531
|
+
position: relative;
|
|
1532
|
+
}
|
|
1533
|
+
.card-category .cc-thumbnailImage {
|
|
1534
|
+
position: absolute;
|
|
1535
|
+
inset: 0;
|
|
1536
|
+
width: 100%;
|
|
1537
|
+
height: 100%;
|
|
1538
|
+
object-fit: cover;
|
|
1539
|
+
display: block;
|
|
1540
|
+
}
|
|
1541
|
+
.card-category .cc-articleList {
|
|
1542
|
+
display: flex;
|
|
1543
|
+
flex-direction: column;
|
|
1544
|
+
}
|
|
1545
|
+
.card-category .cc-articleItem {
|
|
1546
|
+
padding: var(--spacing-12) 0;
|
|
1547
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
1548
|
+
}
|
|
1549
|
+
.card-category .cc-articleItem:first-child {
|
|
1550
|
+
padding-top: 0;
|
|
1551
|
+
}
|
|
1552
|
+
.card-category .cc-articleItem:last-child {
|
|
1553
|
+
border-bottom: none;
|
|
1554
|
+
padding-bottom: 0;
|
|
1555
|
+
}
|
|
1556
|
+
.card-category .cc-articleItem .card-thumbnail.ct-horizontal {
|
|
1557
|
+
border-bottom: none;
|
|
1558
|
+
padding-bottom: 0;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1434
1561
|
/* components/Pagination/Pagination.css */
|
|
1435
1562
|
.pagination {
|
|
1436
1563
|
display: flex;
|
|
@@ -6900,4 +7027,622 @@
|
|
|
6900
7027
|
transform 0.2s cubic-bezier(0.4, 0, 1, 1),
|
|
6901
7028
|
visibility 0s linear 0.2s;
|
|
6902
7029
|
}
|
|
7030
|
+
|
|
7031
|
+
/* templates/ArticleHero/ArticleHero.css */
|
|
7032
|
+
.bh-root {
|
|
7033
|
+
width: 100%;
|
|
7034
|
+
max-width: var(--content-width-1280);
|
|
7035
|
+
margin: 0 auto;
|
|
7036
|
+
padding: var(--spacing-56) var(--spacing-16);
|
|
7037
|
+
box-sizing: border-box;
|
|
7038
|
+
}
|
|
7039
|
+
@media (min-width: 992px) {
|
|
7040
|
+
.bh-root {
|
|
7041
|
+
padding: var(--spacing-112) var(--spacing-24);
|
|
7042
|
+
}
|
|
7043
|
+
}
|
|
7044
|
+
.bh-desktop {
|
|
7045
|
+
display: flex;
|
|
7046
|
+
flex-direction: column;
|
|
7047
|
+
gap: var(--spacing-8);
|
|
7048
|
+
}
|
|
7049
|
+
.bh-desktopHeader {
|
|
7050
|
+
display: flex;
|
|
7051
|
+
align-items: center;
|
|
7052
|
+
gap: var(--spacing-24);
|
|
7053
|
+
}
|
|
7054
|
+
.bh-headerLeft {
|
|
7055
|
+
flex: 1 0 0;
|
|
7056
|
+
min-width: 0;
|
|
7057
|
+
}
|
|
7058
|
+
.bh-headerRight {
|
|
7059
|
+
flex: 0 0 auto;
|
|
7060
|
+
width: 295px;
|
|
7061
|
+
}
|
|
7062
|
+
.bh-desktopBody {
|
|
7063
|
+
display: flex;
|
|
7064
|
+
align-items: flex-start;
|
|
7065
|
+
gap: var(--spacing-24);
|
|
7066
|
+
}
|
|
7067
|
+
.bh-mobile {
|
|
7068
|
+
display: none;
|
|
7069
|
+
}
|
|
7070
|
+
.bh-sidebar {
|
|
7071
|
+
flex: 1 0 0;
|
|
7072
|
+
min-width: 0;
|
|
7073
|
+
display: flex;
|
|
7074
|
+
align-items: flex-end;
|
|
7075
|
+
}
|
|
7076
|
+
.bh-column {
|
|
7077
|
+
display: flex;
|
|
7078
|
+
flex-direction: column;
|
|
7079
|
+
gap: var(--spacing-8);
|
|
7080
|
+
width: 100%;
|
|
7081
|
+
}
|
|
7082
|
+
.bh-columnHeader {
|
|
7083
|
+
display: flex;
|
|
7084
|
+
align-items: center;
|
|
7085
|
+
gap: 0;
|
|
7086
|
+
width: 100%;
|
|
7087
|
+
}
|
|
7088
|
+
.bh-columnLabel {
|
|
7089
|
+
display: inline-flex;
|
|
7090
|
+
align-items: center;
|
|
7091
|
+
justify-content: center;
|
|
7092
|
+
height: 24px;
|
|
7093
|
+
padding: 0 var(--spacing-8);
|
|
7094
|
+
border-radius: var(--radius-full);
|
|
7095
|
+
background-color: var(--tag-fill-background);
|
|
7096
|
+
font-family: var(--font-family-base);
|
|
7097
|
+
font-size: var(--font-size-xs);
|
|
7098
|
+
font-weight: var(--font-weight-regular);
|
|
7099
|
+
line-height: 20px;
|
|
7100
|
+
color: var(--tag-text-color);
|
|
7101
|
+
white-space: nowrap;
|
|
7102
|
+
flex-shrink: 0;
|
|
7103
|
+
}
|
|
7104
|
+
.bh-columnLine {
|
|
7105
|
+
flex: 1 0 0;
|
|
7106
|
+
min-width: 0;
|
|
7107
|
+
height: 1px;
|
|
7108
|
+
background-color: var(--color-opacity-slate-8);
|
|
7109
|
+
}
|
|
7110
|
+
.bh-columnList {
|
|
7111
|
+
display: flex;
|
|
7112
|
+
flex-direction: column;
|
|
7113
|
+
gap: var(--spacing-16);
|
|
7114
|
+
}
|
|
7115
|
+
.bh-listItem {
|
|
7116
|
+
padding-bottom: var(--spacing-16);
|
|
7117
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
7118
|
+
}
|
|
7119
|
+
.bh-listItem .ct-title {
|
|
7120
|
+
font-size: 16px;
|
|
7121
|
+
line-height: 24px;
|
|
7122
|
+
}
|
|
7123
|
+
.bh-listItem .ct-thumbnailWrapper {
|
|
7124
|
+
width: 80px !important;
|
|
7125
|
+
height: 53px !important;
|
|
7126
|
+
}
|
|
7127
|
+
.bh-listItem .card-thumbnail.ct-horizontal {
|
|
7128
|
+
border-bottom: none;
|
|
7129
|
+
padding-bottom: 0;
|
|
7130
|
+
}
|
|
7131
|
+
.bh-listItem:last-child {
|
|
7132
|
+
border-bottom: none;
|
|
7133
|
+
padding-bottom: 0;
|
|
7134
|
+
}
|
|
7135
|
+
.bh-divider {
|
|
7136
|
+
width: 1px;
|
|
7137
|
+
align-self: stretch;
|
|
7138
|
+
background-color: var(--color-opacity-slate-8);
|
|
7139
|
+
flex-shrink: 0;
|
|
7140
|
+
}
|
|
7141
|
+
.bh-center {
|
|
7142
|
+
display: flex;
|
|
7143
|
+
flex-direction: column;
|
|
7144
|
+
gap: var(--spacing-16);
|
|
7145
|
+
flex: 2 1 0;
|
|
7146
|
+
min-width: 0;
|
|
7147
|
+
justify-content: flex-start;
|
|
7148
|
+
align-self: stretch;
|
|
7149
|
+
}
|
|
7150
|
+
.bh-featured {
|
|
7151
|
+
display: flex;
|
|
7152
|
+
flex-direction: column;
|
|
7153
|
+
gap: var(--spacing-16);
|
|
7154
|
+
}
|
|
7155
|
+
.bh-featuredInfo {
|
|
7156
|
+
display: flex;
|
|
7157
|
+
flex-direction: column;
|
|
7158
|
+
gap: var(--spacing-8);
|
|
7159
|
+
}
|
|
7160
|
+
.bh-featuredTitle {
|
|
7161
|
+
font-family: var(--typography-h4-font-family);
|
|
7162
|
+
font-size: var(--typography-h4-font-size);
|
|
7163
|
+
font-weight: var(--typography-h4-font-weight);
|
|
7164
|
+
line-height: var(--typography-h4-line-height);
|
|
7165
|
+
color: var(--color-slate-1200);
|
|
7166
|
+
margin: 0;
|
|
7167
|
+
overflow: hidden;
|
|
7168
|
+
text-overflow: ellipsis;
|
|
7169
|
+
display: -webkit-box;
|
|
7170
|
+
-webkit-line-clamp: 3;
|
|
7171
|
+
-webkit-box-orient: vertical;
|
|
7172
|
+
}
|
|
7173
|
+
.bh-featuredSummary {
|
|
7174
|
+
font-family: var(--font-family-base);
|
|
7175
|
+
font-size: var(--font-size-sm);
|
|
7176
|
+
font-weight: var(--font-weight-regular);
|
|
7177
|
+
line-height: 24px;
|
|
7178
|
+
color: var(--color-slate-1200);
|
|
7179
|
+
margin: 0;
|
|
7180
|
+
overflow: hidden;
|
|
7181
|
+
text-overflow: ellipsis;
|
|
7182
|
+
display: -webkit-box;
|
|
7183
|
+
-webkit-line-clamp: 2;
|
|
7184
|
+
-webkit-box-orient: vertical;
|
|
7185
|
+
}
|
|
7186
|
+
.bh-featuredTags {
|
|
7187
|
+
display: flex;
|
|
7188
|
+
align-items: center;
|
|
7189
|
+
gap: var(--spacing-4);
|
|
7190
|
+
}
|
|
7191
|
+
.bh-featuredImage {
|
|
7192
|
+
width: 100%;
|
|
7193
|
+
border-radius: var(--radius-xl);
|
|
7194
|
+
overflow: hidden;
|
|
7195
|
+
position: relative;
|
|
7196
|
+
aspect-ratio: 594 / 381;
|
|
7197
|
+
}
|
|
7198
|
+
.bh-featuredImg {
|
|
7199
|
+
position: absolute;
|
|
7200
|
+
inset: 0;
|
|
7201
|
+
width: 100%;
|
|
7202
|
+
height: 100%;
|
|
7203
|
+
object-fit: cover;
|
|
7204
|
+
display: block;
|
|
7205
|
+
border-radius: inherit;
|
|
7206
|
+
}
|
|
7207
|
+
.bh-featuredFooter {
|
|
7208
|
+
display: flex;
|
|
7209
|
+
align-items: flex-start;
|
|
7210
|
+
gap: var(--spacing-16);
|
|
7211
|
+
width: 100%;
|
|
7212
|
+
}
|
|
7213
|
+
.bh-footerItem {
|
|
7214
|
+
display: flex;
|
|
7215
|
+
align-items: flex-start;
|
|
7216
|
+
gap: var(--spacing-16);
|
|
7217
|
+
flex: 1 0 0;
|
|
7218
|
+
min-width: 0;
|
|
7219
|
+
}
|
|
7220
|
+
.bh-footerDivider {
|
|
7221
|
+
width: 1px;
|
|
7222
|
+
align-self: stretch;
|
|
7223
|
+
background-color: var(--color-opacity-slate-8);
|
|
7224
|
+
flex-shrink: 0;
|
|
7225
|
+
}
|
|
7226
|
+
.bh-footerContent {
|
|
7227
|
+
flex: 1 0 0;
|
|
7228
|
+
min-width: 0;
|
|
7229
|
+
display: flex;
|
|
7230
|
+
flex-direction: column;
|
|
7231
|
+
gap: var(--spacing-8);
|
|
7232
|
+
}
|
|
7233
|
+
.bh-footerTitle {
|
|
7234
|
+
font-family: var(--font-family-base);
|
|
7235
|
+
font-size: 16px;
|
|
7236
|
+
font-weight: var(--font-weight-semi-bold);
|
|
7237
|
+
line-height: 24px;
|
|
7238
|
+
color: var(--color-slate-1200);
|
|
7239
|
+
margin: 0;
|
|
7240
|
+
overflow: hidden;
|
|
7241
|
+
text-overflow: ellipsis;
|
|
7242
|
+
display: -webkit-box;
|
|
7243
|
+
-webkit-line-clamp: 3;
|
|
7244
|
+
-webkit-box-orient: vertical;
|
|
7245
|
+
}
|
|
7246
|
+
.bh-tagItem {
|
|
7247
|
+
display: inline-flex;
|
|
7248
|
+
align-items: center;
|
|
7249
|
+
gap: var(--spacing-4);
|
|
7250
|
+
}
|
|
7251
|
+
.bh-tagDot {
|
|
7252
|
+
color: var(--tag-custom-text-color);
|
|
7253
|
+
font-size: var(--font-size-sm);
|
|
7254
|
+
line-height: 1;
|
|
7255
|
+
}
|
|
7256
|
+
.bh-mobileFeatured {
|
|
7257
|
+
display: flex;
|
|
7258
|
+
flex-direction: column;
|
|
7259
|
+
gap: var(--spacing-16);
|
|
7260
|
+
padding: var(--spacing-24) var(--spacing-16) 0;
|
|
7261
|
+
}
|
|
7262
|
+
.bh-mobileLabel {
|
|
7263
|
+
display: inline-flex;
|
|
7264
|
+
align-items: center;
|
|
7265
|
+
justify-content: center;
|
|
7266
|
+
height: 24px;
|
|
7267
|
+
padding: 0 var(--spacing-8);
|
|
7268
|
+
border-radius: var(--radius-full);
|
|
7269
|
+
background-color: var(--tag-fill-background);
|
|
7270
|
+
font-family: var(--font-family-base);
|
|
7271
|
+
font-size: var(--font-size-xs);
|
|
7272
|
+
font-weight: var(--font-weight-regular);
|
|
7273
|
+
line-height: 20px;
|
|
7274
|
+
color: var(--tag-text-color);
|
|
7275
|
+
white-space: nowrap;
|
|
7276
|
+
align-self: flex-start;
|
|
7277
|
+
}
|
|
7278
|
+
.bh-mobileFeaturedImage {
|
|
7279
|
+
width: 100%;
|
|
7280
|
+
aspect-ratio: 594 / 369;
|
|
7281
|
+
border-radius: var(--radius-md);
|
|
7282
|
+
overflow: hidden;
|
|
7283
|
+
position: relative;
|
|
7284
|
+
}
|
|
7285
|
+
.bh-mobileSection {
|
|
7286
|
+
display: flex;
|
|
7287
|
+
flex-direction: column;
|
|
7288
|
+
gap: var(--spacing-8);
|
|
7289
|
+
padding: 0 var(--spacing-16);
|
|
7290
|
+
padding-bottom: var(--spacing-24);
|
|
7291
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
7292
|
+
}
|
|
7293
|
+
.bh-mobileSection:last-child {
|
|
7294
|
+
border-bottom: none;
|
|
7295
|
+
}
|
|
7296
|
+
@media (max-width: 991px) {
|
|
7297
|
+
.bh-desktop {
|
|
7298
|
+
display: none;
|
|
7299
|
+
}
|
|
7300
|
+
.bh-mobile {
|
|
7301
|
+
display: flex;
|
|
7302
|
+
flex-direction: column;
|
|
7303
|
+
gap: var(--spacing-24);
|
|
7304
|
+
}
|
|
7305
|
+
}
|
|
7306
|
+
@media (min-width: 768px) and (max-width: 991px) {
|
|
7307
|
+
.bh-columnList {
|
|
7308
|
+
display: grid;
|
|
7309
|
+
grid-template-columns: 1fr 1fr;
|
|
7310
|
+
gap: var(--spacing-16);
|
|
7311
|
+
}
|
|
7312
|
+
.bh-columnList .bh-listItem:nth-last-child(-n+2) {
|
|
7313
|
+
border-bottom: none;
|
|
7314
|
+
padding-bottom: 0;
|
|
7315
|
+
}
|
|
7316
|
+
.bh-mobileSection {
|
|
7317
|
+
border-bottom: none !important;
|
|
7318
|
+
padding-bottom: 0;
|
|
7319
|
+
}
|
|
7320
|
+
.bh-mobileFeatured {
|
|
7321
|
+
border-bottom: none !important;
|
|
7322
|
+
padding-bottom: 0;
|
|
7323
|
+
}
|
|
7324
|
+
}
|
|
7325
|
+
@media (max-width: 767px) {
|
|
7326
|
+
.bh-listItemThumb {
|
|
7327
|
+
width: 80px;
|
|
7328
|
+
height: 53px;
|
|
7329
|
+
}
|
|
7330
|
+
.bh-featuredFooter {
|
|
7331
|
+
gap: var(--spacing-8);
|
|
7332
|
+
}
|
|
7333
|
+
}
|
|
7334
|
+
|
|
7335
|
+
/* templates/ArticleSection/ArticleSection.css */
|
|
7336
|
+
.as-root {
|
|
7337
|
+
width: 100%;
|
|
7338
|
+
max-width: var(--content-width-1280);
|
|
7339
|
+
margin: 0 auto;
|
|
7340
|
+
padding: var(--spacing-56) var(--spacing-16);
|
|
7341
|
+
box-sizing: border-box;
|
|
7342
|
+
}
|
|
7343
|
+
@media (min-width: 992px) {
|
|
7344
|
+
.as-root {
|
|
7345
|
+
padding: var(--spacing-112) var(--spacing-24);
|
|
7346
|
+
}
|
|
7347
|
+
}
|
|
7348
|
+
.as-header {
|
|
7349
|
+
display: flex;
|
|
7350
|
+
align-items: center;
|
|
7351
|
+
justify-content: space-between;
|
|
7352
|
+
margin-bottom: var(--spacing-24);
|
|
7353
|
+
}
|
|
7354
|
+
.as-title {
|
|
7355
|
+
font-family: var(--typography-h5-font-family);
|
|
7356
|
+
font-size: var(--typography-h5-font-size);
|
|
7357
|
+
font-weight: var(--typography-h5-font-weight);
|
|
7358
|
+
line-height: var(--typography-h5-line-height);
|
|
7359
|
+
color: var(--color-slate-1200);
|
|
7360
|
+
margin: 0;
|
|
7361
|
+
}
|
|
7362
|
+
.as-desktop {
|
|
7363
|
+
display: flex;
|
|
7364
|
+
flex-direction: column;
|
|
7365
|
+
gap: var(--spacing-24);
|
|
7366
|
+
}
|
|
7367
|
+
.as-mobile {
|
|
7368
|
+
display: none;
|
|
7369
|
+
}
|
|
7370
|
+
.as-featuredRow {
|
|
7371
|
+
width: 100%;
|
|
7372
|
+
}
|
|
7373
|
+
.as-featuredRow .card-thumbnail.ct-horizontal {
|
|
7374
|
+
align-items: center;
|
|
7375
|
+
border-bottom: none;
|
|
7376
|
+
padding-bottom: 0;
|
|
7377
|
+
max-width: none !important;
|
|
7378
|
+
gap: var(--spacing-24);
|
|
7379
|
+
}
|
|
7380
|
+
.as-featuredRow .ct-thumbnailWrapper {
|
|
7381
|
+
width: auto !important;
|
|
7382
|
+
height: auto !important;
|
|
7383
|
+
flex: 1 1 50% !important;
|
|
7384
|
+
aspect-ratio: 16 / 9 !important;
|
|
7385
|
+
}
|
|
7386
|
+
.as-featuredRow .ct-content {
|
|
7387
|
+
flex: 1 1 50% !important;
|
|
7388
|
+
}
|
|
7389
|
+
.as-featuredRow .ct-title {
|
|
7390
|
+
font-size: var(--typography-h4-font-size);
|
|
7391
|
+
font-weight: var(--typography-h4-font-weight);
|
|
7392
|
+
line-height: var(--typography-h4-line-height);
|
|
7393
|
+
}
|
|
7394
|
+
.as-grid {
|
|
7395
|
+
display: grid;
|
|
7396
|
+
grid-template-columns: repeat(4, 1fr);
|
|
7397
|
+
gap: var(--spacing-24);
|
|
7398
|
+
}
|
|
7399
|
+
.as-mobileFeatured {
|
|
7400
|
+
padding-bottom: var(--spacing-16);
|
|
7401
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
7402
|
+
}
|
|
7403
|
+
.as-mobileList {
|
|
7404
|
+
display: flex;
|
|
7405
|
+
flex-direction: column;
|
|
7406
|
+
gap: var(--spacing-16);
|
|
7407
|
+
margin-top: var(--spacing-16);
|
|
7408
|
+
}
|
|
7409
|
+
.as-mobileListItem {
|
|
7410
|
+
padding-bottom: var(--spacing-16);
|
|
7411
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
7412
|
+
}
|
|
7413
|
+
.as-mobileListItem:last-child {
|
|
7414
|
+
border-bottom: none;
|
|
7415
|
+
padding-bottom: 0;
|
|
7416
|
+
}
|
|
7417
|
+
.as-mobileListItem .card-thumbnail.ct-horizontal {
|
|
7418
|
+
border-bottom: none;
|
|
7419
|
+
padding-bottom: 0;
|
|
7420
|
+
}
|
|
7421
|
+
@media (max-width: 991px) {
|
|
7422
|
+
.as-desktop {
|
|
7423
|
+
display: none;
|
|
7424
|
+
}
|
|
7425
|
+
.as-mobile {
|
|
7426
|
+
display: flex;
|
|
7427
|
+
flex-direction: column;
|
|
7428
|
+
}
|
|
7429
|
+
}
|
|
7430
|
+
.as-showcaseGrid {
|
|
7431
|
+
display: grid;
|
|
7432
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
7433
|
+
gap: var(--spacing-24);
|
|
7434
|
+
}
|
|
7435
|
+
.as-showcaseFeatured {
|
|
7436
|
+
display: flex;
|
|
7437
|
+
}
|
|
7438
|
+
.as-showcaseCol {
|
|
7439
|
+
display: flex;
|
|
7440
|
+
flex-direction: column;
|
|
7441
|
+
gap: var(--spacing-16);
|
|
7442
|
+
}
|
|
7443
|
+
.as-showcaseItem {
|
|
7444
|
+
padding-bottom: var(--spacing-16);
|
|
7445
|
+
border-bottom: 1px solid var(--color-opacity-slate-8);
|
|
7446
|
+
}
|
|
7447
|
+
.as-showcaseItem:last-child {
|
|
7448
|
+
border-bottom: none;
|
|
7449
|
+
padding-bottom: 0;
|
|
7450
|
+
}
|
|
7451
|
+
.as-showcaseItem .card-thumbnail.ct-horizontal {
|
|
7452
|
+
border-bottom: none;
|
|
7453
|
+
padding-bottom: 0;
|
|
7454
|
+
}
|
|
7455
|
+
.as-mobile-grid {
|
|
7456
|
+
display: none;
|
|
7457
|
+
}
|
|
7458
|
+
.as-mobileScroll {
|
|
7459
|
+
display: flex;
|
|
7460
|
+
gap: var(--spacing-16);
|
|
7461
|
+
overflow-x: auto;
|
|
7462
|
+
scroll-snap-type: x mandatory;
|
|
7463
|
+
-webkit-overflow-scrolling: touch;
|
|
7464
|
+
padding: 0 var(--spacing-16);
|
|
7465
|
+
padding-bottom: var(--spacing-8);
|
|
7466
|
+
margin: 0 calc(var(--spacing-16) * -1);
|
|
7467
|
+
}
|
|
7468
|
+
.as-mobileScroll::-webkit-scrollbar {
|
|
7469
|
+
display: none;
|
|
7470
|
+
}
|
|
7471
|
+
.as-mobileScrollItem {
|
|
7472
|
+
flex: 0 0 280px;
|
|
7473
|
+
scroll-snap-align: start;
|
|
7474
|
+
}
|
|
7475
|
+
@media (max-width: 991px) {
|
|
7476
|
+
.as-mobile-grid {
|
|
7477
|
+
display: block;
|
|
7478
|
+
}
|
|
7479
|
+
}
|
|
7480
|
+
|
|
7481
|
+
/* templates/SpotlightHero/SpotlightHero.css */
|
|
7482
|
+
.sh-root {
|
|
7483
|
+
position: relative;
|
|
7484
|
+
display: block;
|
|
7485
|
+
overflow: hidden;
|
|
7486
|
+
isolation: isolate;
|
|
7487
|
+
padding: var(--spacing-64);
|
|
7488
|
+
min-height: 420px;
|
|
7489
|
+
background: var(--color-slate-1300);
|
|
7490
|
+
color: var(--color-slate-50);
|
|
7491
|
+
text-decoration: none;
|
|
7492
|
+
border-radius: var(--radius-xl);
|
|
7493
|
+
--sh-accent: var(--color-coral-700);
|
|
7494
|
+
}
|
|
7495
|
+
.sh-emerald {
|
|
7496
|
+
--sh-accent: var(--color-emerald-700);
|
|
7497
|
+
}
|
|
7498
|
+
.sh-blue {
|
|
7499
|
+
--sh-accent: var(--color-blue-600);
|
|
7500
|
+
}
|
|
7501
|
+
.sh-slate {
|
|
7502
|
+
--sh-accent: var(--color-slate-600);
|
|
7503
|
+
}
|
|
7504
|
+
.sh-glow {
|
|
7505
|
+
position: absolute;
|
|
7506
|
+
inset: 0;
|
|
7507
|
+
z-index: 0;
|
|
7508
|
+
pointer-events: none;
|
|
7509
|
+
background:
|
|
7510
|
+
radial-gradient(
|
|
7511
|
+
120% 140% at 84% 16%,
|
|
7512
|
+
var(--sh-accent) 0%,
|
|
7513
|
+
transparent 58%),
|
|
7514
|
+
linear-gradient(
|
|
7515
|
+
90deg,
|
|
7516
|
+
var(--color-slate-1400) 0%,
|
|
7517
|
+
transparent 72%);
|
|
7518
|
+
opacity: 0.95;
|
|
7519
|
+
}
|
|
7520
|
+
.sh-pattern {
|
|
7521
|
+
position: absolute;
|
|
7522
|
+
inset: 0;
|
|
7523
|
+
z-index: 1;
|
|
7524
|
+
display: grid;
|
|
7525
|
+
grid-template-columns: repeat(auto-fill, var(--sh-tile));
|
|
7526
|
+
grid-auto-rows: var(--sh-tile);
|
|
7527
|
+
align-content: start;
|
|
7528
|
+
justify-content: end;
|
|
7529
|
+
color: var(--color-slate-50);
|
|
7530
|
+
opacity: var(--sh-pattern-opacity, 0.12);
|
|
7531
|
+
pointer-events: none;
|
|
7532
|
+
-webkit-mask-image:
|
|
7533
|
+
linear-gradient(
|
|
7534
|
+
100deg,
|
|
7535
|
+
transparent 24%,
|
|
7536
|
+
#000 74%);
|
|
7537
|
+
mask-image:
|
|
7538
|
+
linear-gradient(
|
|
7539
|
+
100deg,
|
|
7540
|
+
transparent 24%,
|
|
7541
|
+
#000 74%);
|
|
7542
|
+
}
|
|
7543
|
+
.sh-patternIcon {
|
|
7544
|
+
display: flex;
|
|
7545
|
+
align-items: center;
|
|
7546
|
+
justify-content: center;
|
|
7547
|
+
width: var(--sh-tile);
|
|
7548
|
+
height: var(--sh-tile);
|
|
7549
|
+
font-size: calc(var(--sh-tile) * 0.68);
|
|
7550
|
+
line-height: 0;
|
|
7551
|
+
}
|
|
7552
|
+
.sh-patternIcon svg {
|
|
7553
|
+
width: 1em;
|
|
7554
|
+
height: 1em;
|
|
7555
|
+
display: block;
|
|
7556
|
+
}
|
|
7557
|
+
.sh-content {
|
|
7558
|
+
position: relative;
|
|
7559
|
+
z-index: 2;
|
|
7560
|
+
max-width: 620px;
|
|
7561
|
+
display: flex;
|
|
7562
|
+
flex-direction: column;
|
|
7563
|
+
gap: var(--spacing-16);
|
|
7564
|
+
}
|
|
7565
|
+
.sh-eyebrow {
|
|
7566
|
+
display: inline-flex;
|
|
7567
|
+
align-items: center;
|
|
7568
|
+
gap: var(--spacing-12);
|
|
7569
|
+
}
|
|
7570
|
+
.sh-eyebrowLine {
|
|
7571
|
+
width: 32px;
|
|
7572
|
+
height: 2px;
|
|
7573
|
+
background: var(--sh-accent);
|
|
7574
|
+
border-radius: var(--radius-full);
|
|
7575
|
+
}
|
|
7576
|
+
.sh-eyebrowText {
|
|
7577
|
+
font-family: var(--font-family-base);
|
|
7578
|
+
font-size: var(--font-size-xs);
|
|
7579
|
+
font-weight: var(--font-weight-semi-bold);
|
|
7580
|
+
letter-spacing: 0.08em;
|
|
7581
|
+
text-transform: uppercase;
|
|
7582
|
+
color: var(--color-opacity-white-72);
|
|
7583
|
+
}
|
|
7584
|
+
.sh-title {
|
|
7585
|
+
margin: 0;
|
|
7586
|
+
font-family: var(--typography-h2-font-family);
|
|
7587
|
+
font-size: var(--typography-h2-font-size);
|
|
7588
|
+
font-weight: var(--typography-h2-font-weight);
|
|
7589
|
+
line-height: var(--typography-h2-line-height);
|
|
7590
|
+
letter-spacing: var(--typography-h2-letter-spacing);
|
|
7591
|
+
color: var(--color-slate-50);
|
|
7592
|
+
}
|
|
7593
|
+
.sh-summary {
|
|
7594
|
+
margin: 0;
|
|
7595
|
+
max-width: 30rem;
|
|
7596
|
+
font-family: var(--typography-body-md-font-family);
|
|
7597
|
+
font-size: var(--typography-body-md-font-size);
|
|
7598
|
+
font-weight: var(--typography-body-md-font-weight);
|
|
7599
|
+
line-height: var(--typography-body-md-line-height);
|
|
7600
|
+
color: var(--color-opacity-white-72);
|
|
7601
|
+
}
|
|
7602
|
+
.sh-footer {
|
|
7603
|
+
display: inline-flex;
|
|
7604
|
+
align-items: center;
|
|
7605
|
+
gap: var(--spacing-12);
|
|
7606
|
+
margin-top: var(--spacing-8);
|
|
7607
|
+
}
|
|
7608
|
+
.sh-arrow {
|
|
7609
|
+
display: inline-flex;
|
|
7610
|
+
font-size: 20px;
|
|
7611
|
+
color: var(--color-slate-50);
|
|
7612
|
+
transition: transform 0.2s ease;
|
|
7613
|
+
}
|
|
7614
|
+
.sh-meta {
|
|
7615
|
+
font-size: var(--font-size-xs);
|
|
7616
|
+
font-weight: var(--font-weight-semi-bold);
|
|
7617
|
+
letter-spacing: 0.08em;
|
|
7618
|
+
text-transform: uppercase;
|
|
7619
|
+
color: var(--color-opacity-white-48);
|
|
7620
|
+
}
|
|
7621
|
+
.sh-interactive {
|
|
7622
|
+
cursor: pointer;
|
|
7623
|
+
}
|
|
7624
|
+
.sh-interactive:hover .sh-arrow {
|
|
7625
|
+
transform: translateX(4px);
|
|
7626
|
+
}
|
|
7627
|
+
@media (max-width: 768px) {
|
|
7628
|
+
.sh-root {
|
|
7629
|
+
padding: var(--spacing-32) var(--spacing-24);
|
|
7630
|
+
min-height: 340px;
|
|
7631
|
+
}
|
|
7632
|
+
.sh-content {
|
|
7633
|
+
max-width: 100%;
|
|
7634
|
+
}
|
|
7635
|
+
.sh-pattern {
|
|
7636
|
+
-webkit-mask-image:
|
|
7637
|
+
linear-gradient(
|
|
7638
|
+
180deg,
|
|
7639
|
+
transparent 6%,
|
|
7640
|
+
#000 70%);
|
|
7641
|
+
mask-image:
|
|
7642
|
+
linear-gradient(
|
|
7643
|
+
180deg,
|
|
7644
|
+
transparent 6%,
|
|
7645
|
+
#000 70%);
|
|
7646
|
+
}
|
|
7647
|
+
}
|
|
6903
7648
|
/*# sourceMappingURL=index.css.map */
|