@unifiedsoftware/styles 1.1.8 → 2.0.0-alpha.2
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/css/fci.css +544 -145
- package/css/fci.min.css +1 -1
- package/css/styles.css +345 -34
- package/css/styles.min.css +1 -1
- package/package.json +1 -1
- package/scss/_utilities.scss +17 -7
- package/scss/components/_accordion.scss +45 -0
- package/scss/components/_card.scss +127 -13
- package/scss/components/_descriptions.scss +24 -0
- package/scss/components/_divider.scss +1 -1
- package/scss/components/_icon.scss +1 -1
- package/scss/components/_index.scss +3 -0
- package/scss/components/_input.scss +3 -3
- package/scss/components/_nav-rail.scss +183 -0
- package/scss/components/_swipe.scss +30 -30
- package/scss/components/_tabs.scss +1 -1
- package/scss/components/_toolbar.scss +8 -2
- package/scss/themes/fci/_index.scss +2 -0
- package/scss/themes/fci/_kendo.scss +44 -0
- package/scss/themes/fci/_tokens.scss +9 -7
- package/scss/themes/fci/components/_accordion.scss +204 -21
- package/scss/themes/fci/components/_button.scss +92 -40
- package/scss/themes/fci/components/_card.scss +159 -62
- package/scss/themes/fci/components/_chip.scss +0 -18
- package/scss/themes/fci/components/_icon.scss +1 -1
- package/scss/themes/fci/components/_index.scss +2 -0
- package/scss/themes/fci/components/_nav-rail.scss +62 -0
- package/scss/themes/fci/components/_tabs.scss +116 -10
- package/scss/themes/fci/components/_toolbar.scss +6 -0
package/css/styles.css
CHANGED
|
@@ -15,17 +15,21 @@
|
|
|
15
15
|
margin: 0 auto;
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
|
-
gap:
|
|
18
|
+
gap: var(--us-toolbar-gap);
|
|
19
19
|
z-index: 1;
|
|
20
20
|
}
|
|
21
|
-
.us-toolbar__start-action, .us-toolbar__end-action {
|
|
21
|
+
.us-toolbar__start-action, .us-toolbar__start-content, .us-toolbar__end-action, .us-toolbar__end-content {
|
|
22
22
|
flex-shrink: 0;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: var(--us-toolbar-content-gap);
|
|
23
26
|
}
|
|
24
27
|
.us-toolbar__content {
|
|
25
28
|
flex-grow: 1;
|
|
26
29
|
overflow: hidden;
|
|
27
30
|
display: flex;
|
|
28
31
|
flex-direction: column;
|
|
32
|
+
gap: var(--us-toolbar-content-gap);
|
|
29
33
|
}
|
|
30
34
|
.us-toolbar__title {
|
|
31
35
|
font-size: var(--us-toolbar-title-font-size);
|
|
@@ -99,7 +103,7 @@
|
|
|
99
103
|
.us-icon {
|
|
100
104
|
width: 1em;
|
|
101
105
|
height: 1em;
|
|
102
|
-
font-size: var(--us-icon-font-size);
|
|
106
|
+
font-size: var(--us-icon-font-size, var(--us-icon-font-size-default)) !important;
|
|
103
107
|
color: var(--us-icon-color);
|
|
104
108
|
display: flex;
|
|
105
109
|
justify-content: center;
|
|
@@ -785,9 +789,9 @@
|
|
|
785
789
|
line-height: var(--us-input-line-height);
|
|
786
790
|
color: var(--us-input-color);
|
|
787
791
|
overflow: hidden;
|
|
788
|
-
|
|
789
|
-
-
|
|
790
|
-
|
|
792
|
+
text-overflow: ellipsis;
|
|
793
|
+
white-space: nowrap;
|
|
794
|
+
display: block;
|
|
791
795
|
}
|
|
792
796
|
.us-input__chips {
|
|
793
797
|
padding-block: var(--us-input-padding-y);
|
|
@@ -1084,6 +1088,33 @@
|
|
|
1084
1088
|
color: var(--us-switch-label-color);
|
|
1085
1089
|
}
|
|
1086
1090
|
|
|
1091
|
+
.us-accordion {
|
|
1092
|
+
position: relative;
|
|
1093
|
+
border-radius: var(--us-accordion-border-radius);
|
|
1094
|
+
z-index: 0;
|
|
1095
|
+
overflow: hidden;
|
|
1096
|
+
background-color: white;
|
|
1097
|
+
}
|
|
1098
|
+
.us-accordion--bordered:not(.us-accordion--splitted) {
|
|
1099
|
+
border: var(--us-accordion-border-width) var(--us-accordion-border-style) var(--us-accordion-border-color);
|
|
1100
|
+
}
|
|
1101
|
+
.us-accordion--shadow:not(.us-accordion--splitted) {
|
|
1102
|
+
filter: drop-shadow(rgba(141, 141, 141, 0.15) 0.5px 1px 1px) drop-shadow(rgba(141, 141, 141, 0.15) 1px 2px 2px) drop-shadow(rgba(141, 141, 141, 0.15) 2px 4px 4px) drop-shadow(rgba(141, 141, 141, 0.15) 4px 8px 8px) drop-shadow(rgba(141, 141, 141, 0.15) 8px 16px 16px);
|
|
1103
|
+
}
|
|
1104
|
+
.us-accordion--splitted {
|
|
1105
|
+
display: grid;
|
|
1106
|
+
gap: var(--us-accordion-splitted-gap);
|
|
1107
|
+
}
|
|
1108
|
+
.us-accordion--splitted .us-accordion-item {
|
|
1109
|
+
border-radius: var(--us-accordion-border-radius);
|
|
1110
|
+
overflow: hidden;
|
|
1111
|
+
}
|
|
1112
|
+
.us-accordion--bordered.us-accordion--splitted .us-accordion-item {
|
|
1113
|
+
border: var(--us-accordion-border-width) var(--us-accordion-border-style) var(--us-accordion-border-color);
|
|
1114
|
+
}
|
|
1115
|
+
.us-accordion--shadow.us-accordion--splitted .us-accordion-item {
|
|
1116
|
+
filter: drop-shadow(rgba(141, 141, 141, 0.15) 0.5px 1px 1px) drop-shadow(rgba(141, 141, 141, 0.15) 1px 2px 2px) drop-shadow(rgba(141, 141, 141, 0.15) 2px 4px 4px) drop-shadow(rgba(141, 141, 141, 0.15) 4px 8px 8px) drop-shadow(rgba(141, 141, 141, 0.15) 8px 16px 16px);
|
|
1117
|
+
}
|
|
1087
1118
|
.us-accordion-item {
|
|
1088
1119
|
border-bottom: 1px solid #e6e6e6;
|
|
1089
1120
|
}
|
|
@@ -1091,10 +1122,13 @@
|
|
|
1091
1122
|
border-bottom: none;
|
|
1092
1123
|
}
|
|
1093
1124
|
.us-accordion-header {
|
|
1125
|
+
position: relative;
|
|
1094
1126
|
height: var(--us-accordion-header-height);
|
|
1095
1127
|
min-height: var(--us-accordion-header-min-height);
|
|
1096
1128
|
padding-block: var(--us-accordion-header-padding-y);
|
|
1097
1129
|
padding-inline: var(--us-accordion-header-padding-x);
|
|
1130
|
+
color: var(--us-accordion-header-color);
|
|
1131
|
+
z-index: 0;
|
|
1098
1132
|
display: flex;
|
|
1099
1133
|
align-items: center;
|
|
1100
1134
|
gap: var(--us-accordion-header-gap);
|
|
@@ -1108,6 +1142,7 @@
|
|
|
1108
1142
|
flex-shrink: 0;
|
|
1109
1143
|
display: flex;
|
|
1110
1144
|
align-items: center;
|
|
1145
|
+
gap: var(--us-accordion-header-content-gap);
|
|
1111
1146
|
}
|
|
1112
1147
|
.us-accordion-header__content {
|
|
1113
1148
|
flex-grow: 1;
|
|
@@ -1119,6 +1154,7 @@
|
|
|
1119
1154
|
font-size: var(--us-accordion-header-title-font-size);
|
|
1120
1155
|
font-weight: var(--us-accordion-header-title-font-weight);
|
|
1121
1156
|
line-height: var(--us-accordion-header-title-line-height);
|
|
1157
|
+
opacity: var(--us-accordion-header-title-opacity);
|
|
1122
1158
|
overflow: hidden;
|
|
1123
1159
|
color: var(--us-accordion-header-title-color);
|
|
1124
1160
|
display: -webkit-box;
|
|
@@ -1129,6 +1165,7 @@
|
|
|
1129
1165
|
font-size: var(--us-accordion-header-subtitle-font-size);
|
|
1130
1166
|
font-weight: var(--us-accordion-header-subtitle-font-weight);
|
|
1131
1167
|
line-height: var(--us-accordion-header-subtitle-line-height);
|
|
1168
|
+
opacity: var(--us-accordion-header-subtitle-opacity);
|
|
1132
1169
|
overflow: hidden;
|
|
1133
1170
|
color: var(--us-accordion-header-subtitle-color);
|
|
1134
1171
|
display: -webkit-box;
|
|
@@ -1142,6 +1179,7 @@
|
|
|
1142
1179
|
border-top-width: 1px;
|
|
1143
1180
|
}
|
|
1144
1181
|
.us-accordion-body {
|
|
1182
|
+
position: relative;
|
|
1145
1183
|
border-top: 0px solid #ddd;
|
|
1146
1184
|
padding-block: var(--us-accordion-body-padding-y);
|
|
1147
1185
|
padding-inline: var(--us-accordion-body-padding-x);
|
|
@@ -1343,7 +1381,7 @@
|
|
|
1343
1381
|
.us-divider {
|
|
1344
1382
|
width: 100%;
|
|
1345
1383
|
height: 1px;
|
|
1346
|
-
background:
|
|
1384
|
+
background: var(--us-border-color);
|
|
1347
1385
|
}
|
|
1348
1386
|
|
|
1349
1387
|
.us-breadcrumb {
|
|
@@ -1365,36 +1403,36 @@
|
|
|
1365
1403
|
|
|
1366
1404
|
.us-swipe {
|
|
1367
1405
|
position: relative;
|
|
1406
|
+
}
|
|
1407
|
+
.us-swipe__content {
|
|
1408
|
+
position: relative;
|
|
1368
1409
|
overflow-x: hidden;
|
|
1369
1410
|
display: flex;
|
|
1370
1411
|
align-items: center;
|
|
1371
1412
|
gap: var(--us-swipe-gap);
|
|
1372
1413
|
}
|
|
1373
1414
|
@media (max-width: 767px) and (hover: none) {
|
|
1374
|
-
.us-
|
|
1375
|
-
overflow: auto;
|
|
1415
|
+
.us-swipe__content {
|
|
1416
|
+
overflow-x: auto;
|
|
1376
1417
|
}
|
|
1377
1418
|
}
|
|
1378
|
-
.us-
|
|
1379
|
-
position: relative;
|
|
1380
|
-
}
|
|
1381
|
-
.us-swipe-wrapper__left, .us-swipe-wrapper__right {
|
|
1419
|
+
.us-swipe__start-content, .us-swipe__end-content {
|
|
1382
1420
|
position: absolute;
|
|
1383
1421
|
top: 50%;
|
|
1384
1422
|
transform: translateY(-50%);
|
|
1385
1423
|
z-index: 1;
|
|
1386
1424
|
}
|
|
1387
|
-
.us-
|
|
1425
|
+
.us-swipe__start-content {
|
|
1388
1426
|
left: -1.25rem;
|
|
1389
1427
|
}
|
|
1390
|
-
.us-
|
|
1428
|
+
.us-swipe__end-content {
|
|
1391
1429
|
right: -1.25rem;
|
|
1392
1430
|
}
|
|
1393
|
-
.us-swipe
|
|
1431
|
+
.us-swipe--auto-hide .us-swipe__start-content, .us-swipe--auto-hide .us-swipe__end-content {
|
|
1394
1432
|
transform: translateY(-50%) scale(0);
|
|
1395
1433
|
transition: all 0.2s ease-in-out;
|
|
1396
1434
|
}
|
|
1397
|
-
.us-swipe
|
|
1435
|
+
.us-swipe--auto-hide:hover .us-swipe__start-content, .us-swipe--auto-hide:hover .us-swipe__end-content {
|
|
1398
1436
|
transform: translateY(-50%) scale(1);
|
|
1399
1437
|
}
|
|
1400
1438
|
.us-swipe--start .us-swipe-item:last-child {
|
|
@@ -1486,7 +1524,7 @@
|
|
|
1486
1524
|
inset: auto 0px 0px;
|
|
1487
1525
|
opacity: 0;
|
|
1488
1526
|
z-index: -1;
|
|
1489
|
-
|
|
1527
|
+
color: var(--us-tab-indicator-color);
|
|
1490
1528
|
transform-origin: left bottom;
|
|
1491
1529
|
}
|
|
1492
1530
|
.us-tab--selected .us-tab__indicator {
|
|
@@ -1519,6 +1557,14 @@
|
|
|
1519
1557
|
z-index: 0;
|
|
1520
1558
|
overflow: hidden;
|
|
1521
1559
|
-webkit-tap-highlight-color: transparent;
|
|
1560
|
+
background-color: white;
|
|
1561
|
+
}
|
|
1562
|
+
.us-card__content {
|
|
1563
|
+
padding-block: var(--us-card-padding-y);
|
|
1564
|
+
padding-inline: var(--us-card-padding-x);
|
|
1565
|
+
display: flex;
|
|
1566
|
+
flex-direction: column;
|
|
1567
|
+
gap: var(--us-card-gap);
|
|
1522
1568
|
}
|
|
1523
1569
|
.us-card:hover {
|
|
1524
1570
|
text-decoration: none;
|
|
@@ -1526,6 +1572,9 @@
|
|
|
1526
1572
|
.us-card--bordered {
|
|
1527
1573
|
border: var(--us-card-border-width) var(--us-card-border-style) var(--us-card-border-color);
|
|
1528
1574
|
}
|
|
1575
|
+
.us-card--shadow {
|
|
1576
|
+
box-shadow: var(--us-card-box-shadow);
|
|
1577
|
+
}
|
|
1529
1578
|
.us-card--hoverable, .us-card--selected {
|
|
1530
1579
|
cursor: pointer;
|
|
1531
1580
|
user-select: none;
|
|
@@ -1542,6 +1591,7 @@
|
|
|
1542
1591
|
min-height: var(--us-card-header-min-height);
|
|
1543
1592
|
padding-block: var(--us-card-header-padding-y);
|
|
1544
1593
|
padding-inline: var(--us-card-header-padding-x);
|
|
1594
|
+
color: var(--us-card-header-color);
|
|
1545
1595
|
display: flex;
|
|
1546
1596
|
align-items: center;
|
|
1547
1597
|
gap: var(--us-card-header-gap);
|
|
@@ -1550,14 +1600,28 @@
|
|
|
1550
1600
|
flex-shrink: 0;
|
|
1551
1601
|
display: flex;
|
|
1552
1602
|
align-items: center;
|
|
1603
|
+
gap: var(--us-card-header-content-gap);
|
|
1553
1604
|
}
|
|
1554
1605
|
.us-card-header__content {
|
|
1555
1606
|
flex-grow: 1;
|
|
1607
|
+
overflow: hidden;
|
|
1556
1608
|
display: flex;
|
|
1557
1609
|
flex-direction: column;
|
|
1558
|
-
gap: var(--us-card-header-content-gap);
|
|
1559
1610
|
}
|
|
1560
|
-
.us-card-
|
|
1611
|
+
.us-card-header--centered .us-card-header__start-content, .us-card-header--centered .us-card-header__end-content {
|
|
1612
|
+
position: absolute;
|
|
1613
|
+
}
|
|
1614
|
+
.us-card-header--centered .us-card-header__start-content {
|
|
1615
|
+
left: var(--us-card-header-padding-x);
|
|
1616
|
+
}
|
|
1617
|
+
.us-card-header--centered .us-card-header__end-content {
|
|
1618
|
+
right: var(--us-card-header-padding-x);
|
|
1619
|
+
}
|
|
1620
|
+
.us-card-header--centered .us-card-header__content {
|
|
1621
|
+
align-items: center;
|
|
1622
|
+
text-align: center;
|
|
1623
|
+
}
|
|
1624
|
+
.us-card-header .us-card-title {
|
|
1561
1625
|
font-size: var(--us-card-header-title-font-size);
|
|
1562
1626
|
font-weight: var(--us-card-header-title-font-weight);
|
|
1563
1627
|
line-height: var(--us-card-header-title-line-height);
|
|
@@ -1567,7 +1631,7 @@
|
|
|
1567
1631
|
-webkit-box-orient: vertical;
|
|
1568
1632
|
-webkit-line-clamp: 1;
|
|
1569
1633
|
}
|
|
1570
|
-
.us-card-
|
|
1634
|
+
.us-card-header .us-card-subtitle {
|
|
1571
1635
|
font-size: var(--us-card-header-subtitle-font-size);
|
|
1572
1636
|
font-weight: var(--us-card-header-subtitle-font-weight);
|
|
1573
1637
|
line-height: var(--us-card-header-subtitle-line-height);
|
|
@@ -1577,15 +1641,29 @@
|
|
|
1577
1641
|
-webkit-box-orient: vertical;
|
|
1578
1642
|
-webkit-line-clamp: 1;
|
|
1579
1643
|
}
|
|
1580
|
-
.us-card-
|
|
1581
|
-
|
|
1644
|
+
.us-card .us-card-title:not(.us-card-header .us-card-title) {
|
|
1645
|
+
flex-shrink: 0;
|
|
1646
|
+
padding-block: var(--us-card-title-padding-y);
|
|
1647
|
+
padding-inline: var(--us-card-title-padding-x);
|
|
1648
|
+
font-size: var(--us-card-title-font-size);
|
|
1649
|
+
font-weight: var(--us-card-title-font-weight);
|
|
1650
|
+
line-height: var(--us-card-title-line-height);
|
|
1651
|
+
color: var(--us-card-title-color);
|
|
1652
|
+
}
|
|
1653
|
+
.us-card .us-card-title--centered:not(.us-card-header .us-card-title) {
|
|
1654
|
+
text-align: center;
|
|
1582
1655
|
}
|
|
1583
|
-
.us-card
|
|
1584
|
-
|
|
1656
|
+
.us-card .us-card-subtitle:not(.us-card-header .us-card-subtitle) {
|
|
1657
|
+
flex-shrink: 0;
|
|
1658
|
+
font-size: var(--us-card-header-subtitle-font-size);
|
|
1659
|
+
font-weight: var(--us-card-header-subtitle-font-weight);
|
|
1660
|
+
line-height: var(--us-card-header-subtitle-line-height);
|
|
1661
|
+
overflow: hidden;
|
|
1662
|
+
color: var(--us-card-header-subtitle-color);
|
|
1585
1663
|
}
|
|
1586
1664
|
.us-card-body {
|
|
1587
|
-
|
|
1588
|
-
padding: var(--us-card-body-padding-
|
|
1665
|
+
padding-block: var(--us-card-body-padding-y);
|
|
1666
|
+
padding-inline: var(--us-card-body-padding-x);
|
|
1589
1667
|
font-size: var(--us-card-body-font-size);
|
|
1590
1668
|
line-height: var(--us-card-body-line-height);
|
|
1591
1669
|
color: var(--us-card-body-color);
|
|
@@ -1605,11 +1683,84 @@
|
|
|
1605
1683
|
align-items: center;
|
|
1606
1684
|
gap: 0.5rem;
|
|
1607
1685
|
}
|
|
1608
|
-
.us-card-
|
|
1686
|
+
.us-card-media {
|
|
1687
|
+
position: relative;
|
|
1688
|
+
margin: 8px;
|
|
1689
|
+
border-radius: 8px;
|
|
1690
|
+
aspect-ratio: 1/1;
|
|
1691
|
+
overflow: hidden;
|
|
1692
|
+
display: flex;
|
|
1693
|
+
justify-content: center;
|
|
1694
|
+
align-items: center;
|
|
1695
|
+
background-color: rgba(0, 0, 0, 0.08);
|
|
1696
|
+
}
|
|
1697
|
+
.us-card-media__top-left-content {
|
|
1698
|
+
padding: 4px;
|
|
1699
|
+
position: absolute;
|
|
1700
|
+
top: 0;
|
|
1701
|
+
left: 0;
|
|
1702
|
+
}
|
|
1703
|
+
.us-card-media__top-right-content {
|
|
1704
|
+
padding: 4px;
|
|
1705
|
+
position: absolute;
|
|
1706
|
+
top: 0;
|
|
1707
|
+
right: 0;
|
|
1708
|
+
}
|
|
1709
|
+
.us-card-media img {
|
|
1710
|
+
width: 100%;
|
|
1711
|
+
height: 100%;
|
|
1712
|
+
object-fit: cover;
|
|
1713
|
+
}
|
|
1714
|
+
.us-card-header--underlined {
|
|
1715
|
+
padding-bottom: var(--us-card-padding-y);
|
|
1716
|
+
}
|
|
1717
|
+
.us-card-header--underlined::after {
|
|
1718
|
+
content: "";
|
|
1719
|
+
position: absolute;
|
|
1720
|
+
left: calc(var(--us-card-padding-x) * -1);
|
|
1721
|
+
right: calc(var(--us-card-padding-x) * -1);
|
|
1722
|
+
bottom: 0;
|
|
1723
|
+
border-bottom: 1px solid var(--us-card-border-color);
|
|
1724
|
+
}
|
|
1725
|
+
.us-card-footer--underlined {
|
|
1726
|
+
padding-top: var(--us-card-padding-y);
|
|
1727
|
+
}
|
|
1728
|
+
.us-card-footer--underlined::after {
|
|
1729
|
+
content: "";
|
|
1730
|
+
position: absolute;
|
|
1731
|
+
left: calc(var(--us-card-padding-x) * -1);
|
|
1732
|
+
right: calc(var(--us-card-padding-x) * -1);
|
|
1733
|
+
top: 0;
|
|
1734
|
+
border-top: 1px solid var(--us-card-border-color);
|
|
1735
|
+
}
|
|
1736
|
+
.us-card__content > .us-card-header:not(.us-card-header-underlined):last-child {
|
|
1737
|
+
padding-bottom: 0;
|
|
1738
|
+
}
|
|
1739
|
+
.us-card__content > .us-card-header:not(.us-card-header-underlined):last-child::after {
|
|
1740
|
+
border-bottom: none;
|
|
1741
|
+
}
|
|
1742
|
+
.us-card__content > .us-card-footer:not(.us-card-footer-underlined):last-child {
|
|
1609
1743
|
padding-top: 0;
|
|
1610
1744
|
}
|
|
1611
|
-
.us-card-footer
|
|
1612
|
-
border-top
|
|
1745
|
+
.us-card__content > .us-card-footer:not(.us-card-footer-underlined):last-child::after {
|
|
1746
|
+
border-top: none;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
.us-description__name {
|
|
1750
|
+
font-size: 14px;
|
|
1751
|
+
color: var(--us-secondary-action-color);
|
|
1752
|
+
overflow: hidden;
|
|
1753
|
+
text-overflow: ellipsis;
|
|
1754
|
+
white-space: nowrap;
|
|
1755
|
+
display: block;
|
|
1756
|
+
}
|
|
1757
|
+
.us-description__value {
|
|
1758
|
+
font-size: 14px;
|
|
1759
|
+
font-weight: 500;
|
|
1760
|
+
overflow: hidden;
|
|
1761
|
+
text-overflow: ellipsis;
|
|
1762
|
+
white-space: nowrap;
|
|
1763
|
+
display: block;
|
|
1613
1764
|
}
|
|
1614
1765
|
|
|
1615
1766
|
.us-result {
|
|
@@ -1638,6 +1789,153 @@
|
|
|
1638
1789
|
font-weight: var(--us-result-subtitle-font-weight);
|
|
1639
1790
|
}
|
|
1640
1791
|
|
|
1792
|
+
.us-nav-rail {
|
|
1793
|
+
flex-shrink: 0;
|
|
1794
|
+
position: relative;
|
|
1795
|
+
width: 73px;
|
|
1796
|
+
height: 100%;
|
|
1797
|
+
overflow: hidden;
|
|
1798
|
+
display: flex;
|
|
1799
|
+
flex-direction: column;
|
|
1800
|
+
}
|
|
1801
|
+
.us-nav-rail--left {
|
|
1802
|
+
border-right-width: 1px;
|
|
1803
|
+
border-right-color: var(--us-nav-rail-border-color);
|
|
1804
|
+
border-right-style: solid;
|
|
1805
|
+
}
|
|
1806
|
+
.us-nav-rail--right {
|
|
1807
|
+
border-left-width: 1px;
|
|
1808
|
+
border-left-color: var(--us-nav-rail-border-color);
|
|
1809
|
+
border-left-style: solid;
|
|
1810
|
+
}
|
|
1811
|
+
.us-nav-rail__start-content, .us-nav-rail__end-content {
|
|
1812
|
+
flex-shrink: 0;
|
|
1813
|
+
}
|
|
1814
|
+
.us-nav-rail__start-content {
|
|
1815
|
+
padding-block: var(--us-nav-rail-start-content-padding-y);
|
|
1816
|
+
padding-inline: var(--us-nav-rail-start-content-padding-x);
|
|
1817
|
+
gap: var(--us-nav-rail-start-content-gap);
|
|
1818
|
+
}
|
|
1819
|
+
.us-nav-rail__end-content {
|
|
1820
|
+
padding-block: var(--us-nav-rail-end-content-padding-y);
|
|
1821
|
+
padding-inline: var(--us-nav-rail-end-content-padding-x);
|
|
1822
|
+
gap: var(--us-nav-rail-end-content-gap);
|
|
1823
|
+
}
|
|
1824
|
+
.us-nav-rail__content {
|
|
1825
|
+
flex-grow: 1;
|
|
1826
|
+
padding-block: var(--us-nav-rail-content-padding-y);
|
|
1827
|
+
padding-inline: var(--us-nav-rail-content-padding-x);
|
|
1828
|
+
gap: var(--us-nav-rail-content-gap);
|
|
1829
|
+
}
|
|
1830
|
+
.us-nav-rail__start-content, .us-nav-rail__end-content, .us-nav-rail__content {
|
|
1831
|
+
display: flex;
|
|
1832
|
+
flex-direction: column;
|
|
1833
|
+
}
|
|
1834
|
+
.us-nav-rail-item {
|
|
1835
|
+
flex-shrink: 0;
|
|
1836
|
+
padding-block: var(--us-nav-rail-item-padding-y);
|
|
1837
|
+
padding-inline: var(--us-nav-rail-item-padding-x);
|
|
1838
|
+
position: relative;
|
|
1839
|
+
text-decoration: none;
|
|
1840
|
+
opacity: var(--us-nav-rail-item-opacity);
|
|
1841
|
+
border-radius: var(--us-nav-rail-item-border-radius);
|
|
1842
|
+
cursor: default;
|
|
1843
|
+
color: var(--us-nav-rail-item-color);
|
|
1844
|
+
background-color: var(--us-nav-rail-item-background);
|
|
1845
|
+
display: flex;
|
|
1846
|
+
user-select: none;
|
|
1847
|
+
}
|
|
1848
|
+
.us-nav-rail-item__indicator {
|
|
1849
|
+
position: absolute;
|
|
1850
|
+
top: 0;
|
|
1851
|
+
bottom: 0;
|
|
1852
|
+
z-index: 1;
|
|
1853
|
+
width: var(--us-nav-rail-item-indicator-size);
|
|
1854
|
+
z-index: 1;
|
|
1855
|
+
background: var(--us-nav-rail-item-indicator-color);
|
|
1856
|
+
transform: translateX(calc(var(--us-nav-rail-item-indicator-size) * -1));
|
|
1857
|
+
transition: transform 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09), inset 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
|
|
1858
|
+
}
|
|
1859
|
+
.us-nav-rail-item__content {
|
|
1860
|
+
flex-grow: 1;
|
|
1861
|
+
position: relative;
|
|
1862
|
+
padding-block: var(--us-nav-rail-item-content-padding-y);
|
|
1863
|
+
padding-inline: var(--us-nav-rail-item-content-padding-x);
|
|
1864
|
+
display: flex;
|
|
1865
|
+
flex-direction: column;
|
|
1866
|
+
justify-content: center;
|
|
1867
|
+
align-items: center;
|
|
1868
|
+
gap: var(--us-nav-rail-item-gap);
|
|
1869
|
+
}
|
|
1870
|
+
.us-nav-rail-item__media {
|
|
1871
|
+
position: relative;
|
|
1872
|
+
outline-width: var(--us-nav-rail-item-media-border-width);
|
|
1873
|
+
outline-style: var(--us-nav-rail-item-media-border-style);
|
|
1874
|
+
outline-color: var(--us-nav-rail-item-media-border-color);
|
|
1875
|
+
width: var(--us-nav-rail-item-media-width);
|
|
1876
|
+
height: var(--us-nav-rail-item-media-height);
|
|
1877
|
+
border-radius: var(--us-nav-rail-item-media-border-radius);
|
|
1878
|
+
overflow: hidden;
|
|
1879
|
+
display: flex;
|
|
1880
|
+
justify-content: center;
|
|
1881
|
+
align-items: center;
|
|
1882
|
+
transition: transform 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
|
|
1883
|
+
}
|
|
1884
|
+
.us-nav-rail-item__icon {
|
|
1885
|
+
padding-block: var(--us-nav-rail-item-icon-padding-y);
|
|
1886
|
+
padding-inline: var(--us-nav-rail-item-icon-padding-x);
|
|
1887
|
+
display: flex;
|
|
1888
|
+
justify-content: center;
|
|
1889
|
+
align-items: center;
|
|
1890
|
+
}
|
|
1891
|
+
.us-nav-rail-item__icon .us-icon {
|
|
1892
|
+
font-size: var(--us-nav-rail-item-icon-font-size);
|
|
1893
|
+
}
|
|
1894
|
+
.us-nav-rail-item__label {
|
|
1895
|
+
position: absolute;
|
|
1896
|
+
bottom: calc((var(--us-nav-rail-item-label-font-size) + var(--us-nav-rail-item-gap, 0)) * -1);
|
|
1897
|
+
left: 50%;
|
|
1898
|
+
transform: translateX(-50%);
|
|
1899
|
+
font-size: var(--us-nav-rail-item-label-font-size);
|
|
1900
|
+
font-weight: var(--us-nav-rail-item-label-font-weight);
|
|
1901
|
+
line-height: var(--us-nav-rail-item-label-line-height);
|
|
1902
|
+
text-wrap: nowrap;
|
|
1903
|
+
overflow: hidden;
|
|
1904
|
+
display: -webkit-box;
|
|
1905
|
+
-webkit-box-orient: vertical;
|
|
1906
|
+
-webkit-line-clamp: 1;
|
|
1907
|
+
transition: opacity 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
|
|
1908
|
+
}
|
|
1909
|
+
.us-nav-rail-item--selected {
|
|
1910
|
+
color: var(--us-_active-nav-rail-item-color);
|
|
1911
|
+
}
|
|
1912
|
+
.us-nav-rail-item--selected .us-nav-rail-item__media {
|
|
1913
|
+
outline-color: var(--us-_active-nav-rail-item-media-border-color);
|
|
1914
|
+
}
|
|
1915
|
+
.us-nav-rail-item--selected .us-nav-rail-item__icon, .us-nav-rail-item:hover .us-nav-rail-item__icon {
|
|
1916
|
+
transform: scale(1.15);
|
|
1917
|
+
}
|
|
1918
|
+
.us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
|
|
1919
|
+
color: var(--us-_active-nav-rail-item-indicator-color);
|
|
1920
|
+
}
|
|
1921
|
+
.us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail-item:hover .us-nav-rail-item__indicator {
|
|
1922
|
+
transform: translateX(0px);
|
|
1923
|
+
}
|
|
1924
|
+
.us-nav-rail--left .us-nav-rail-item__indicator {
|
|
1925
|
+
left: -25%;
|
|
1926
|
+
border-radius: 0px var(--us-nav-rail-item-indicator-border-radius) var(--us-nav-rail-item-indicator-border-radius) 0px;
|
|
1927
|
+
}
|
|
1928
|
+
.us-nav-rail--right .us-nav-rail-item__indicator {
|
|
1929
|
+
right: -25%;
|
|
1930
|
+
border-radius: var(--us-nav-rail-item-indicator-border-radius) 0px 0px var(--us-nav-rail-item-indicator-border-radius);
|
|
1931
|
+
}
|
|
1932
|
+
.us-nav-rail--left .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail--left .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
|
|
1933
|
+
left: 0px;
|
|
1934
|
+
}
|
|
1935
|
+
.us-nav-rail--right .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail--right .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
|
|
1936
|
+
right: 0px;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1641
1939
|
.us-animation-spin {
|
|
1642
1940
|
animation: us-animation-spin 1s linear infinite;
|
|
1643
1941
|
transform-origin: center center;
|
|
@@ -2818,9 +3116,9 @@
|
|
|
2818
3116
|
}
|
|
2819
3117
|
.us-clamp-1 {
|
|
2820
3118
|
overflow: hidden;
|
|
2821
|
-
|
|
2822
|
-
-
|
|
2823
|
-
|
|
3119
|
+
text-overflow: ellipsis;
|
|
3120
|
+
white-space: nowrap;
|
|
3121
|
+
display: block;
|
|
2824
3122
|
}
|
|
2825
3123
|
|
|
2826
3124
|
.us-clamp-2 {
|
|
@@ -3003,7 +3301,7 @@
|
|
|
3003
3301
|
z-index: -1;
|
|
3004
3302
|
pointer-events: none;
|
|
3005
3303
|
background-color: currentColor;
|
|
3006
|
-
transition: background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
3304
|
+
transition: var(--us-overlay-transition, background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
3007
3305
|
}
|
|
3008
3306
|
|
|
3009
3307
|
:not([hidden]):hover > .us-overlay {
|
|
@@ -3066,6 +3364,19 @@
|
|
|
3066
3364
|
opacity: var(--us-outline-focus-opacity, var(--us-outline-hover-opacity, var(--us-outline-opacity)));
|
|
3067
3365
|
}
|
|
3068
3366
|
|
|
3367
|
+
.us-surface {
|
|
3368
|
+
position: absolute;
|
|
3369
|
+
inset: 0px;
|
|
3370
|
+
border-radius: inherit;
|
|
3371
|
+
overflow: hidden;
|
|
3372
|
+
color: var(--us-surface-color);
|
|
3373
|
+
opacity: var(--us-surface-opacity);
|
|
3374
|
+
z-index: -1;
|
|
3375
|
+
pointer-events: none;
|
|
3376
|
+
background-color: currentColor;
|
|
3377
|
+
transition: var(--us-surface-transition, background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
3378
|
+
}
|
|
3379
|
+
|
|
3069
3380
|
.us-outline-b {
|
|
3070
3381
|
position: absolute;
|
|
3071
3382
|
inset: 0px;
|