@ebay/skin 19.8.1 → 19.10.0
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/card.browser.json +1 -0
- package/card.css +1 -0
- package/card.js +1 -0
- package/card.mjs +1 -0
- package/dist/bundles/skin-default.css +372 -41
- package/dist/bundles/skin-full.css +372 -41
- package/dist/bundles/skin-headless.css +368 -37
- package/dist/card/card.css +163 -0
- package/dist/chip/chip.css +16 -13
- package/dist/filter-chip/filter-chip.css +147 -0
- package/dist/lightbox-dialog/lightbox-dialog.css +7 -2
- package/dist/mixins/_animation-mixins.scss +41 -0
- package/dist/selection-chip/selection-chip.css +76 -0
- package/dist/svg/icon/icon-ebay-balance-12-colored.svg +1 -0
- package/dist/svg/icon/icon-ebay-balance-18-colored.svg +1 -0
- package/dist/svg/icon/icon-ebay-balance-24-colored.svg +1 -0
- package/dist/svg/icon/icon-ebay-balance-32-colored.svg +1 -0
- package/dist/svg/icons.svg +4 -0
- package/filter-chip.browser.json +1 -0
- package/filter-chip.css +1 -0
- package/filter-chip.js +1 -0
- package/filter-chip.mjs +1 -0
- package/index.browser.json +3 -0
- package/index.css +3 -0
- package/index.js +3 -0
- package/index.mjs +3 -0
- package/package.json +1 -1
- package/selection-chip.browser.json +1 -0
- package/selection-chip.css +1 -0
- package/selection-chip.js +1 -0
- package/selection-chip.mjs +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "dependencies": ["require: ./card.js"] }
|
package/card.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./dist/card/card.css";
|
package/card.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./dist/card/card.css');
|
package/card.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './dist/card/card.css';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
|
|
4
|
-
Copyright
|
|
5
|
-
Licensed under the
|
|
6
|
-
https://github.com/eBay/
|
|
3
|
+
evo-web/skin
|
|
4
|
+
Copyright 2018 eBay! Inc. All rights reserved.
|
|
5
|
+
Licensed under the MIT License.
|
|
6
|
+
https://github.com/eBay/evo-web/blob/master/LICENSE
|
|
7
7
|
"*/
|
|
8
8
|
:root{
|
|
9
9
|
--border-radius-50:8px;
|
|
@@ -607,28 +607,6 @@ a:not([href]),a[aria-disabled=true]{
|
|
|
607
607
|
border-right-style:inset;
|
|
608
608
|
box-shadow:none;
|
|
609
609
|
}
|
|
610
|
-
@keyframes chevron-bounce-open{
|
|
611
|
-
0%{
|
|
612
|
-
transform:translateY(0);
|
|
613
|
-
}
|
|
614
|
-
50%{
|
|
615
|
-
transform:translateY(-7px);
|
|
616
|
-
}
|
|
617
|
-
to{
|
|
618
|
-
transform:translateY(0);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
@keyframes chevron-bounce-close{
|
|
622
|
-
0%{
|
|
623
|
-
transform:translateY(0);
|
|
624
|
-
}
|
|
625
|
-
50%{
|
|
626
|
-
transform:translateY(7px);
|
|
627
|
-
}
|
|
628
|
-
to{
|
|
629
|
-
transform:translateY(0);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
610
|
ul.accordion{
|
|
633
611
|
margin:0;
|
|
634
612
|
padding:0;
|
|
@@ -1556,6 +1534,161 @@ button.btn--floating-label .btn__floating-label--inline{
|
|
|
1556
1534
|
border-left-color:var(--btn-primary-border-color, var(--color-stroke-accent));
|
|
1557
1535
|
border-right-color:var(--primary-border-split-color, var(--color-stroke-subtle));
|
|
1558
1536
|
}
|
|
1537
|
+
|
|
1538
|
+
.card{
|
|
1539
|
+
background-color:var(--color-background-secondary);
|
|
1540
|
+
border:none;
|
|
1541
|
+
border-radius:var(--border-radius-150);
|
|
1542
|
+
color:var(--color-foreground-primary);
|
|
1543
|
+
display:flex;
|
|
1544
|
+
flex-direction:column;
|
|
1545
|
+
max-width:400px;
|
|
1546
|
+
min-width:200px;
|
|
1547
|
+
outline:6px solid transparent;
|
|
1548
|
+
outline-offset:4px;
|
|
1549
|
+
padding-block-end:var(--spacing-150);
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
.card--outlined{
|
|
1553
|
+
background-color:inherit;
|
|
1554
|
+
border:1px solid var(--color-stroke-subtle);
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
a.card{
|
|
1558
|
+
color:inherit;
|
|
1559
|
+
text-decoration:none;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
button.card{
|
|
1563
|
+
font-size:inherit;
|
|
1564
|
+
line-height:inherit;
|
|
1565
|
+
padding:0;
|
|
1566
|
+
padding-block-end:var(--spacing-150);
|
|
1567
|
+
text-align:start;
|
|
1568
|
+
transition:transform var(--motion-duration-medium-3) var(--motion-easing-quick-enter), box-shadow var(--motion-duration-medium-3) var(--motion-easing-quick-enter);
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
.card[disabled],.card[href=""]{
|
|
1572
|
+
filter:grayscale(1);
|
|
1573
|
+
opacity:.5;
|
|
1574
|
+
pointer-events:none;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
button.card:hover{
|
|
1578
|
+
cursor:pointer;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.card:hover .card__hero-image{
|
|
1582
|
+
transform:scale3d(1.01, 1.01, 1);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
.card:focus-visible{
|
|
1586
|
+
animation:card-focus-animation var(--motion-duration-short-3) var(--motion-easing-quick-enter) forwards;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.card__media{
|
|
1590
|
+
aspect-ratio:1/1;
|
|
1591
|
+
margin:var(--spacing-150);
|
|
1592
|
+
margin-block-end:var(--spacing-200);
|
|
1593
|
+
overflow:hidden;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
.card__hero-image,.card__media{
|
|
1597
|
+
border-radius:var(--border-radius-100);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
.card__hero-image{
|
|
1601
|
+
display:block;
|
|
1602
|
+
height:100%;
|
|
1603
|
+
object-fit:cover;
|
|
1604
|
+
transition:transform var(--motion-duration-long-3) var(--motion-easing-quick-enter);
|
|
1605
|
+
width:100%;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
.card--full-hero .card__hero-image,.card--full-hero .card__media{
|
|
1609
|
+
border-bottom-left-radius:0;
|
|
1610
|
+
border-bottom-right-radius:0;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
.card__main{
|
|
1614
|
+
display:flex;
|
|
1615
|
+
flex:1;
|
|
1616
|
+
flex-direction:column;
|
|
1617
|
+
margin-inline:var(--spacing-150);
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
.card__overline{
|
|
1621
|
+
align-items:center;
|
|
1622
|
+
display:flex;
|
|
1623
|
+
font-weight:700;
|
|
1624
|
+
gap:var(--spacing-100);
|
|
1625
|
+
margin-block-end:var(--spacing-100);
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
.card__title{
|
|
1629
|
+
font-size:var(--font-size-large-1);
|
|
1630
|
+
font-weight:700;
|
|
1631
|
+
margin:0;
|
|
1632
|
+
margin-block-end:var(--spacing-50);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.card__description{
|
|
1636
|
+
flex:1;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
.card__action{
|
|
1640
|
+
margin-block-start:var(--spacing-200);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
.card--horizontal{
|
|
1644
|
+
flex-direction:row;
|
|
1645
|
+
max-width:100%;
|
|
1646
|
+
width:100%;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
.card--horizontal .card__media{
|
|
1650
|
+
aspect-ratio:1/1;
|
|
1651
|
+
margin-block-end:0;
|
|
1652
|
+
max-width:160px;
|
|
1653
|
+
min-width:90px;
|
|
1654
|
+
width:25%;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
.card--horizontal .card__hero-image{
|
|
1658
|
+
aspect-ratio:1/1;
|
|
1659
|
+
height:auto;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
.card--horizontal .card__main{
|
|
1663
|
+
margin-block-start:var(--spacing-150);
|
|
1664
|
+
margin-inline-start:0;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
.card--full-hero .card__media{
|
|
1668
|
+
margin:0;
|
|
1669
|
+
margin-block-end:var(--spacing-200);
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
.card--aspect-5-4 .card__media{
|
|
1673
|
+
aspect-ratio:5/4;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
.card--aspect-16-9 .card__media{
|
|
1677
|
+
aspect-ratio:16/9;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
@keyframes card-focus-animation{
|
|
1681
|
+
0%{
|
|
1682
|
+
outline-color:var(--color-stroke-accent);
|
|
1683
|
+
outline-offset:4px;
|
|
1684
|
+
outline-width:6px;
|
|
1685
|
+
}
|
|
1686
|
+
to{
|
|
1687
|
+
outline-color:var(--color-stroke-accent);
|
|
1688
|
+
outline-offset:0;
|
|
1689
|
+
outline-width:2px;
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1559
1692
|
.carousel{
|
|
1560
1693
|
position:relative;
|
|
1561
1694
|
}
|
|
@@ -2165,17 +2298,20 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
|
|
|
2165
2298
|
}
|
|
2166
2299
|
.chip{
|
|
2167
2300
|
align-items:center;
|
|
2168
|
-
background-color:var(--color-background-
|
|
2169
|
-
border-radius:var(--
|
|
2170
|
-
|
|
2301
|
+
background-color:var(--color-background-strong);
|
|
2302
|
+
border-radius:var(--border-radius-50);
|
|
2303
|
+
box-sizing:border-box;
|
|
2304
|
+
color:var(--color-foreground-on-strong);
|
|
2171
2305
|
display:inline-flex;
|
|
2172
2306
|
font-size:var(--font-size-default);
|
|
2173
|
-
gap:
|
|
2307
|
+
gap:var(--spacing-75);
|
|
2308
|
+
height:var(--spacing-400);
|
|
2174
2309
|
justify-content:space-between;
|
|
2175
2310
|
max-width:296px;
|
|
2176
|
-
min-height:var(--spacing-250);
|
|
2177
2311
|
min-width:32px;
|
|
2178
2312
|
padding:0 var(--spacing-150);
|
|
2313
|
+
text-decoration:none;
|
|
2314
|
+
vertical-align:bottom;
|
|
2179
2315
|
}
|
|
2180
2316
|
|
|
2181
2317
|
.chip__text{
|
|
@@ -2185,34 +2321,34 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
|
|
|
2185
2321
|
white-space:nowrap;
|
|
2186
2322
|
}
|
|
2187
2323
|
|
|
2188
|
-
button.chip__button{
|
|
2324
|
+
.chip button.chip__button{
|
|
2325
|
+
align-items:center;
|
|
2189
2326
|
background-color:initial;
|
|
2190
2327
|
border:none;
|
|
2191
2328
|
border-radius:50px;
|
|
2192
2329
|
box-sizing:border-box;
|
|
2330
|
+
color:var(--color-foreground-on-strong);
|
|
2331
|
+
display:flex;
|
|
2193
2332
|
flex-shrink:0;
|
|
2194
2333
|
height:var(--spacing-300);
|
|
2334
|
+
justify-content:center;
|
|
2195
2335
|
line-height:0;
|
|
2196
2336
|
margin-inline-end:-8px;
|
|
2197
2337
|
padding:0;
|
|
2198
2338
|
width:var(--spacing-300);
|
|
2199
2339
|
}
|
|
2200
2340
|
|
|
2201
|
-
button.chip__button:focus-visible{
|
|
2341
|
+
.chip button.chip__button:focus-visible{
|
|
2202
2342
|
background-color:var(--state-layer-focus);
|
|
2203
|
-
outline-color:var(--color-
|
|
2343
|
+
outline-color:var(--color-foreground-on-strong);
|
|
2204
2344
|
outline-offset:-2px;
|
|
2205
2345
|
outline-style:solid;
|
|
2206
2346
|
outline-width:2px;
|
|
2207
2347
|
}
|
|
2208
2348
|
|
|
2209
|
-
button.chip__button:hover{
|
|
2349
|
+
.chip button.chip__button:hover{
|
|
2210
2350
|
background-color:var(--state-layer-hover);
|
|
2211
2351
|
}
|
|
2212
|
-
|
|
2213
|
-
button.chip__button>svg{
|
|
2214
|
-
fill:var(--color-foreground-on-primary);
|
|
2215
|
-
}
|
|
2216
2352
|
.chips-combobox{
|
|
2217
2353
|
background-color:var(--color-background-secondary);
|
|
2218
2354
|
border:1px solid var(--color-stroke-default);
|
|
@@ -3915,6 +4051,128 @@ a.filter-link--selected:not([href]):hover,a.filter-link--selected[aria-disabled=
|
|
|
3915
4051
|
a.filter-link:focus:not(:focus-visible),button.filter-button:focus:not(:focus-visible){
|
|
3916
4052
|
outline:none;
|
|
3917
4053
|
}
|
|
4054
|
+
@keyframes chevron-bounce-open{
|
|
4055
|
+
0%{
|
|
4056
|
+
transform:translateY(0);
|
|
4057
|
+
}
|
|
4058
|
+
50%{
|
|
4059
|
+
transform:translateY(-7px);
|
|
4060
|
+
}
|
|
4061
|
+
to{
|
|
4062
|
+
transform:translateY(0);
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4065
|
+
@keyframes chevron-bounce-close{
|
|
4066
|
+
0%{
|
|
4067
|
+
transform:translateY(0);
|
|
4068
|
+
}
|
|
4069
|
+
50%{
|
|
4070
|
+
transform:translateY(7px);
|
|
4071
|
+
}
|
|
4072
|
+
to{
|
|
4073
|
+
transform:translateY(0);
|
|
4074
|
+
}
|
|
4075
|
+
}
|
|
4076
|
+
a.filter-chip,button.filter-chip{
|
|
4077
|
+
align-items:center;
|
|
4078
|
+
background-color:var(--color-background-primary);
|
|
4079
|
+
background-position:50%;
|
|
4080
|
+
background-repeat:no-repeat;
|
|
4081
|
+
background-size:0 100%;
|
|
4082
|
+
border:1px solid var(--color-stroke-default);
|
|
4083
|
+
border-radius:var(--border-radius-100);
|
|
4084
|
+
box-shadow:none;
|
|
4085
|
+
box-sizing:border-box;
|
|
4086
|
+
color:var(--color-foreground-primary);
|
|
4087
|
+
display:inline-flex;
|
|
4088
|
+
font-size:var(--font-size-default);
|
|
4089
|
+
gap:var(--spacing-75);
|
|
4090
|
+
height:var(--spacing-400);
|
|
4091
|
+
justify-content:space-between;
|
|
4092
|
+
max-width:296px;
|
|
4093
|
+
min-width:32px;
|
|
4094
|
+
padding:0 var(--spacing-150);
|
|
4095
|
+
text-decoration:none;
|
|
4096
|
+
transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
|
|
4097
|
+
vertical-align:bottom;
|
|
4098
|
+
}
|
|
4099
|
+
a.filter-chip:active,button.filter-chip:active{
|
|
4100
|
+
transform:scale(.97);
|
|
4101
|
+
}
|
|
4102
|
+
|
|
4103
|
+
a.filter-chip--expressive,button.filter-chip--expressive{
|
|
4104
|
+
border-radius:var(--border-radius-150);
|
|
4105
|
+
height:40px;
|
|
4106
|
+
}
|
|
4107
|
+
|
|
4108
|
+
.filter-chip__media{
|
|
4109
|
+
align-items:center;
|
|
4110
|
+
border-radius:8px;
|
|
4111
|
+
border-radius:var(--spacing-400);
|
|
4112
|
+
display:flex;
|
|
4113
|
+
justify-content:center;
|
|
4114
|
+
margin-inline-start:-8px;
|
|
4115
|
+
overflow:hidden;
|
|
4116
|
+
position:relative;
|
|
4117
|
+
}
|
|
4118
|
+
.filter-chip__media:after{
|
|
4119
|
+
background:rgba(0, 0, 0, .05);
|
|
4120
|
+
bottom:0;
|
|
4121
|
+
content:"";
|
|
4122
|
+
display:block;
|
|
4123
|
+
left:0;
|
|
4124
|
+
pointer-events:none;
|
|
4125
|
+
position:absolute;
|
|
4126
|
+
right:0;
|
|
4127
|
+
top:0;
|
|
4128
|
+
}
|
|
4129
|
+
.filter-chip__media>img{
|
|
4130
|
+
display:inline-block;
|
|
4131
|
+
height:var(--spacing-400);
|
|
4132
|
+
max-height:100%;
|
|
4133
|
+
max-width:100%;
|
|
4134
|
+
object-fit:contain;
|
|
4135
|
+
object-fit:cover;
|
|
4136
|
+
width:var(--spacing-400);
|
|
4137
|
+
}
|
|
4138
|
+
|
|
4139
|
+
a.filter-chip--selected,button.filter-chip[aria-pressed=true]{
|
|
4140
|
+
animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
|
|
4141
|
+
background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
|
|
4142
|
+
color:var(--color-foreground-on-strong);
|
|
4143
|
+
}
|
|
4144
|
+
|
|
4145
|
+
button.filter-chip--animated[aria-pressed=true]{
|
|
4146
|
+
animation-duration:var(--motion-duration-medium-2);
|
|
4147
|
+
transition:color var(--motion-duration-instant) var(--motion-easing-standard);
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4150
|
+
button.filter-chip[aria-expanded=false]:active .filter-chip__trailing{
|
|
4151
|
+
animation:chevron-bounce-close var(--motion-duration-medium-1) var(--motion-easing-standard);
|
|
4152
|
+
rotate:180deg;
|
|
4153
|
+
}
|
|
4154
|
+
|
|
4155
|
+
button.filter-chip[aria-expanded=false] .filter-chip__trailing{
|
|
4156
|
+
rotate:0deg;
|
|
4157
|
+
transition:none;
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
button.filter-chip[aria-expanded=true]:active .filter-chip__trailing{
|
|
4161
|
+
animation:chevron-bounce-open var(--motion-duration-medium-1) var(--motion-easing-standard) var(--motion-duration-short-1);
|
|
4162
|
+
rotate:0deg;
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
button.filter-chip[aria-expanded=true] .filter-chip__trailing{
|
|
4166
|
+
rotate:180deg;
|
|
4167
|
+
transition:none;
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
.filter-chip__text{
|
|
4171
|
+
overflow:hidden;
|
|
4172
|
+
padding:var(--spacing-75) 0;
|
|
4173
|
+
text-overflow:ellipsis;
|
|
4174
|
+
white-space:nowrap;
|
|
4175
|
+
}
|
|
3918
4176
|
|
|
3919
4177
|
.filter-input{
|
|
3920
4178
|
display:inline-block;
|
|
@@ -7449,7 +7707,7 @@ button.icon-btn.lightbox-dialog__prev{
|
|
|
7449
7707
|
.lightbox-dialog__window{
|
|
7450
7708
|
border-radius:var(--lightbox-border-radius, var(--border-radius-100));
|
|
7451
7709
|
margin:auto;
|
|
7452
|
-
max-width:
|
|
7710
|
+
max-width:88%;
|
|
7453
7711
|
}
|
|
7454
7712
|
.lightbox-dialog--narrow .lightbox-dialog__window{
|
|
7455
7713
|
max-width:var(--dialog-lightbox-narrow-max-width);
|
|
@@ -7479,7 +7737,7 @@ button.icon-btn.lightbox-dialog__prev{
|
|
|
7479
7737
|
max-width:var(--dialog-lightbox-max-width);
|
|
7480
7738
|
}
|
|
7481
7739
|
.lightbox-dialog--wide .lightbox-dialog__window{
|
|
7482
|
-
max-width:
|
|
7740
|
+
max-width:88%;
|
|
7483
7741
|
}
|
|
7484
7742
|
.lightbox-dialog--wide .lightbox-dialog__image{
|
|
7485
7743
|
height:256px;
|
|
@@ -7488,6 +7746,11 @@ button.icon-btn.lightbox-dialog__prev{
|
|
|
7488
7746
|
margin-top:256px;
|
|
7489
7747
|
}
|
|
7490
7748
|
}
|
|
7749
|
+
@media (min-width:1024px){
|
|
7750
|
+
.lightbox-dialog--wide .lightbox-dialog__window{
|
|
7751
|
+
max-width:var(--dialog-lightbox-wide-max-width);
|
|
7752
|
+
}
|
|
7753
|
+
}
|
|
7491
7754
|
a.nav-link,a.standalone-link{
|
|
7492
7755
|
color:var(--nav-link-foreground-color, var(--color-foreground-link-primary));
|
|
7493
7756
|
text-decoration:none;
|
|
@@ -10038,6 +10301,74 @@ span.select{
|
|
|
10038
10301
|
left:0;
|
|
10039
10302
|
right:auto;
|
|
10040
10303
|
}
|
|
10304
|
+
@keyframes fill-horizontal-background{
|
|
10305
|
+
0%{
|
|
10306
|
+
background-size:0 100%;
|
|
10307
|
+
}
|
|
10308
|
+
99%{
|
|
10309
|
+
background-color:var(--color-background-primary);
|
|
10310
|
+
}
|
|
10311
|
+
to{
|
|
10312
|
+
background-color:var(--color-background-strong);
|
|
10313
|
+
background-size:100% 100%;
|
|
10314
|
+
}
|
|
10315
|
+
}
|
|
10316
|
+
.selection-chip{
|
|
10317
|
+
align-items:center;
|
|
10318
|
+
background-color:var(--color-background-primary);
|
|
10319
|
+
background-position:50%;
|
|
10320
|
+
background-repeat:no-repeat;
|
|
10321
|
+
background-size:0 100%;
|
|
10322
|
+
border:1px solid var(--color-stroke-default);
|
|
10323
|
+
border-radius:var(--border-radius-50);
|
|
10324
|
+
box-shadow:none;
|
|
10325
|
+
box-sizing:border-box;
|
|
10326
|
+
color:var(--color-foreground-primary);
|
|
10327
|
+
display:inline-flex;
|
|
10328
|
+
font-size:var(--font-size-default);
|
|
10329
|
+
gap:var(--spacing-75);
|
|
10330
|
+
height:var(--spacing-400);
|
|
10331
|
+
justify-content:space-between;
|
|
10332
|
+
max-width:296px;
|
|
10333
|
+
min-width:32px;
|
|
10334
|
+
padding:0 var(--spacing-150);
|
|
10335
|
+
text-decoration:none;
|
|
10336
|
+
transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
|
|
10337
|
+
vertical-align:bottom;
|
|
10338
|
+
}
|
|
10339
|
+
.selection-chip:active{
|
|
10340
|
+
transform:scale(.97);
|
|
10341
|
+
}
|
|
10342
|
+
|
|
10343
|
+
.selection-chip--animated .selection-chip__trailing{
|
|
10344
|
+
transition:rotate var(--motion-duration-medium-3) var(--motion-easing-standard);
|
|
10345
|
+
}
|
|
10346
|
+
|
|
10347
|
+
.selection-chip__trailing{
|
|
10348
|
+
rotate:-225deg;
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10351
|
+
.selection-chip[aria-pressed=true]{
|
|
10352
|
+
animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
|
|
10353
|
+
background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
|
|
10354
|
+
color:var(--color-foreground-on-strong);
|
|
10355
|
+
}
|
|
10356
|
+
|
|
10357
|
+
.selection-chip--animated[aria-pressed=true]{
|
|
10358
|
+
animation-duration:var(--motion-duration-medium-2);
|
|
10359
|
+
transition:color var(--motion-duration-instant) var(--motion-easing-standard);
|
|
10360
|
+
}
|
|
10361
|
+
|
|
10362
|
+
.selection-chip[aria-pressed=true] .selection-chip__trailing{
|
|
10363
|
+
rotate:0deg;
|
|
10364
|
+
}
|
|
10365
|
+
|
|
10366
|
+
.selection-chip__text{
|
|
10367
|
+
overflow:hidden;
|
|
10368
|
+
padding:var(--spacing-75) 0;
|
|
10369
|
+
text-overflow:ellipsis;
|
|
10370
|
+
white-space:nowrap;
|
|
10371
|
+
}
|
|
10041
10372
|
@keyframes skeleton-fade-out{
|
|
10042
10373
|
0%{
|
|
10043
10374
|
opacity:1;
|