@ebay/skin 19.8.0 → 19.9.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.
@@ -1,9 +1,9 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- Skin
4
- Copyright 2017 eBay! Inc. All rights reserved.
5
- Licensed under the BSD License.
6
- https://github.com/eBay/skin/blob/master/LICENSE.txt
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;
@@ -64,10 +64,10 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
64
64
  --color-indigo-800:#01193d;
65
65
  --color-blue-100:#f5f9ff;
66
66
  --color-blue-200:#d4e5fe;
67
- --color-blue-300:#93c9ff;
68
- --color-blue-400:#659eff;
69
- --color-blue-500:#3665f3;
70
- --color-blue-600:#382aef;
67
+ --color-blue-300:#84b4fb;
68
+ --color-blue-400:#4d93fc;
69
+ --color-blue-500:#0968f6;
70
+ --color-blue-600:#0049b8;
71
71
  --color-blue-650:#003aa5;
72
72
  --color-blue-700:#002a69;
73
73
  --color-blue-800:#19133a;
@@ -95,11 +95,11 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
95
95
  --color-green-600:#507d17;
96
96
  --color-green-700:#345110;
97
97
  --color-green-800:#1c2d06;
98
- --color-jade-100:#f7fdfd;
98
+ --color-jade-100:#f7fdfb;
99
99
  --color-jade-200:#d8f8ee;
100
100
  --color-jade-300:#8feace;
101
101
  --color-jade-400:#1ed49e;
102
- --color-jade-500:#1ed49e;
102
+ --color-jade-500:#17c28f;
103
103
  --color-jade-600:#0f805e;
104
104
  --color-jade-700:#055743;
105
105
  --color-jade-800:#002b20;
@@ -434,16 +434,14 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
434
434
  font-family:Market Sans;
435
435
  font-style:normal;
436
436
  font-weight:400;
437
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.eot);
438
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.eot?#iefix) format("embedded-opentype"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff2) format("woff2"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff) format("woff"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.ttf) format("truetype"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.svg#MarketSans-Regular-WebS) format("svg");
437
+ src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff2) format("woff2");
439
438
  }
440
439
  @font-face{
441
440
  font-display:swap;
442
441
  font-family:Market Sans;
443
442
  font-style:normal;
444
443
  font-weight:700;
445
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.eot);
446
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.eot?#iefix) format("embedded-opentype"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff2) format("woff2"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff) format("woff"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.ttf) format("truetype"), url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.svg#MarketSans-Bold-WebS) format("svg");
444
+ src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff2) format("woff2");
447
445
  }
448
446
  body{
449
447
  background-color:var(--color-background-primary);
@@ -609,28 +607,6 @@ a:not([href]),a[aria-disabled=true]{
609
607
  border-right-style:inset;
610
608
  box-shadow:none;
611
609
  }
612
- @keyframes chevron-bounce-open{
613
- 0%{
614
- transform:translateY(0);
615
- }
616
- 50%{
617
- transform:translateY(-7px);
618
- }
619
- to{
620
- transform:translateY(0);
621
- }
622
- }
623
- @keyframes chevron-bounce-close{
624
- 0%{
625
- transform:translateY(0);
626
- }
627
- 50%{
628
- transform:translateY(7px);
629
- }
630
- to{
631
- transform:translateY(0);
632
- }
633
- }
634
610
  ul.accordion{
635
611
  margin:0;
636
612
  padding:0;
@@ -2167,17 +2143,20 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
2167
2143
  }
2168
2144
  .chip{
2169
2145
  align-items:center;
2170
- background-color:var(--color-background-tertiary);
2171
- border-radius:var(--spacing-400);
2172
- color:var(--color-foreground-primary);
2146
+ background-color:var(--color-background-strong);
2147
+ border-radius:var(--border-radius-50);
2148
+ box-sizing:border-box;
2149
+ color:var(--color-foreground-on-strong);
2173
2150
  display:inline-flex;
2174
2151
  font-size:var(--font-size-default);
2175
- gap:2px;
2152
+ gap:var(--spacing-75);
2153
+ height:var(--spacing-400);
2176
2154
  justify-content:space-between;
2177
2155
  max-width:296px;
2178
- min-height:var(--spacing-250);
2179
2156
  min-width:32px;
2180
2157
  padding:0 var(--spacing-150);
2158
+ text-decoration:none;
2159
+ vertical-align:bottom;
2181
2160
  }
2182
2161
 
2183
2162
  .chip__text{
@@ -2187,34 +2166,34 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
2187
2166
  white-space:nowrap;
2188
2167
  }
2189
2168
 
2190
- button.chip__button{
2169
+ .chip button.chip__button{
2170
+ align-items:center;
2191
2171
  background-color:initial;
2192
2172
  border:none;
2193
2173
  border-radius:50px;
2194
2174
  box-sizing:border-box;
2175
+ color:var(--color-foreground-on-strong);
2176
+ display:flex;
2195
2177
  flex-shrink:0;
2196
2178
  height:var(--spacing-300);
2179
+ justify-content:center;
2197
2180
  line-height:0;
2198
2181
  margin-inline-end:-8px;
2199
2182
  padding:0;
2200
2183
  width:var(--spacing-300);
2201
2184
  }
2202
2185
 
2203
- button.chip__button:focus-visible{
2186
+ .chip button.chip__button:focus-visible{
2204
2187
  background-color:var(--state-layer-focus);
2205
- outline-color:var(--color-state-focus-stroke);
2188
+ outline-color:var(--color-foreground-on-strong);
2206
2189
  outline-offset:-2px;
2207
2190
  outline-style:solid;
2208
2191
  outline-width:2px;
2209
2192
  }
2210
2193
 
2211
- button.chip__button:hover{
2194
+ .chip button.chip__button:hover{
2212
2195
  background-color:var(--state-layer-hover);
2213
2196
  }
2214
-
2215
- button.chip__button>svg{
2216
- fill:var(--color-foreground-on-primary);
2217
- }
2218
2197
  .chips-combobox{
2219
2198
  background-color:var(--color-background-secondary);
2220
2199
  border:1px solid var(--color-stroke-default);
@@ -3917,6 +3896,128 @@ a.filter-link--selected:not([href]):hover,a.filter-link--selected[aria-disabled=
3917
3896
  a.filter-link:focus:not(:focus-visible),button.filter-button:focus:not(:focus-visible){
3918
3897
  outline:none;
3919
3898
  }
3899
+ @keyframes chevron-bounce-open{
3900
+ 0%{
3901
+ transform:translateY(0);
3902
+ }
3903
+ 50%{
3904
+ transform:translateY(-7px);
3905
+ }
3906
+ to{
3907
+ transform:translateY(0);
3908
+ }
3909
+ }
3910
+ @keyframes chevron-bounce-close{
3911
+ 0%{
3912
+ transform:translateY(0);
3913
+ }
3914
+ 50%{
3915
+ transform:translateY(7px);
3916
+ }
3917
+ to{
3918
+ transform:translateY(0);
3919
+ }
3920
+ }
3921
+ a.filter-chip,button.filter-chip{
3922
+ align-items:center;
3923
+ background-color:var(--color-background-primary);
3924
+ background-position:50%;
3925
+ background-repeat:no-repeat;
3926
+ background-size:0 100%;
3927
+ border:1px solid var(--color-stroke-default);
3928
+ border-radius:var(--border-radius-100);
3929
+ box-shadow:none;
3930
+ box-sizing:border-box;
3931
+ color:var(--color-foreground-primary);
3932
+ display:inline-flex;
3933
+ font-size:var(--font-size-default);
3934
+ gap:var(--spacing-75);
3935
+ height:var(--spacing-400);
3936
+ justify-content:space-between;
3937
+ max-width:296px;
3938
+ min-width:32px;
3939
+ padding:0 var(--spacing-150);
3940
+ text-decoration:none;
3941
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
3942
+ vertical-align:bottom;
3943
+ }
3944
+ a.filter-chip:active,button.filter-chip:active{
3945
+ transform:scale(.97);
3946
+ }
3947
+
3948
+ a.filter-chip--expressive,button.filter-chip--expressive{
3949
+ border-radius:var(--border-radius-150);
3950
+ height:40px;
3951
+ }
3952
+
3953
+ .filter-chip__media{
3954
+ align-items:center;
3955
+ border-radius:8px;
3956
+ border-radius:var(--spacing-400);
3957
+ display:flex;
3958
+ justify-content:center;
3959
+ margin-inline-start:-8px;
3960
+ overflow:hidden;
3961
+ position:relative;
3962
+ }
3963
+ .filter-chip__media:after{
3964
+ background:rgba(0, 0, 0, .05);
3965
+ bottom:0;
3966
+ content:"";
3967
+ display:block;
3968
+ left:0;
3969
+ pointer-events:none;
3970
+ position:absolute;
3971
+ right:0;
3972
+ top:0;
3973
+ }
3974
+ .filter-chip__media>img{
3975
+ display:inline-block;
3976
+ height:var(--spacing-400);
3977
+ max-height:100%;
3978
+ max-width:100%;
3979
+ object-fit:contain;
3980
+ object-fit:cover;
3981
+ width:var(--spacing-400);
3982
+ }
3983
+
3984
+ a.filter-chip--selected,button.filter-chip[aria-pressed=true]{
3985
+ animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
3986
+ background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
3987
+ color:var(--color-foreground-on-strong);
3988
+ }
3989
+
3990
+ button.filter-chip--animated[aria-pressed=true]{
3991
+ animation-duration:var(--motion-duration-medium-2);
3992
+ transition:color var(--motion-duration-instant) var(--motion-easing-standard);
3993
+ }
3994
+
3995
+ button.filter-chip[aria-expanded=false]:active .filter-chip__trailing{
3996
+ animation:chevron-bounce-close var(--motion-duration-medium-1) var(--motion-easing-standard);
3997
+ rotate:180deg;
3998
+ }
3999
+
4000
+ button.filter-chip[aria-expanded=false] .filter-chip__trailing{
4001
+ rotate:0deg;
4002
+ transition:none;
4003
+ }
4004
+
4005
+ button.filter-chip[aria-expanded=true]:active .filter-chip__trailing{
4006
+ animation:chevron-bounce-open var(--motion-duration-medium-1) var(--motion-easing-standard) var(--motion-duration-short-1);
4007
+ rotate:0deg;
4008
+ }
4009
+
4010
+ button.filter-chip[aria-expanded=true] .filter-chip__trailing{
4011
+ rotate:180deg;
4012
+ transition:none;
4013
+ }
4014
+
4015
+ .filter-chip__text{
4016
+ overflow:hidden;
4017
+ padding:var(--spacing-75) 0;
4018
+ text-overflow:ellipsis;
4019
+ white-space:nowrap;
4020
+ }
3920
4021
 
3921
4022
  .filter-input{
3922
4023
  display:inline-block;
@@ -7451,7 +7552,7 @@ button.icon-btn.lightbox-dialog__prev{
7451
7552
  .lightbox-dialog__window{
7452
7553
  border-radius:var(--lightbox-border-radius, var(--border-radius-100));
7453
7554
  margin:auto;
7454
- max-width:calc(88% - var(--spacing-400));
7555
+ max-width:88%;
7455
7556
  }
7456
7557
  .lightbox-dialog--narrow .lightbox-dialog__window{
7457
7558
  max-width:var(--dialog-lightbox-narrow-max-width);
@@ -7481,7 +7582,7 @@ button.icon-btn.lightbox-dialog__prev{
7481
7582
  max-width:var(--dialog-lightbox-max-width);
7482
7583
  }
7483
7584
  .lightbox-dialog--wide .lightbox-dialog__window{
7484
- max-width:var(--dialog-lightbox-wide-max-width);
7585
+ max-width:88%;
7485
7586
  }
7486
7587
  .lightbox-dialog--wide .lightbox-dialog__image{
7487
7588
  height:256px;
@@ -7490,6 +7591,11 @@ button.icon-btn.lightbox-dialog__prev{
7490
7591
  margin-top:256px;
7491
7592
  }
7492
7593
  }
7594
+ @media (min-width:1024px){
7595
+ .lightbox-dialog--wide .lightbox-dialog__window{
7596
+ max-width:var(--dialog-lightbox-wide-max-width);
7597
+ }
7598
+ }
7493
7599
  a.nav-link,a.standalone-link{
7494
7600
  color:var(--nav-link-foreground-color, var(--color-foreground-link-primary));
7495
7601
  text-decoration:none;
@@ -9076,10 +9182,10 @@ button.icon-btn.panel-dialog__prev{
9076
9182
  }
9077
9183
  }
9078
9184
  :root{
9079
- --progress-bar-expressive-color-1:#e53238;
9080
- --progress-bar-expressive-color-2:#0064d2;
9081
- --progress-bar-expressive-color-3:#f5af02;
9082
- --progress-bar-expressive-color-4:#86b817;
9185
+ --progress-bar-expressive-color-1:var(--color-red-500);
9186
+ --progress-bar-expressive-color-2:var(--color-blue-500);
9187
+ --progress-bar-expressive-color-3:var(--color-yellow-400);
9188
+ --progress-bar-expressive-color-4:var(--color-green-500);
9083
9189
  --progress-bar-expressive-line-border-radius:2px;
9084
9190
  --progress-bar-expressive-line-count:12;
9085
9191
  --progress-bar-expressive-line-gap:var(--spacing-50);
@@ -9101,14 +9207,6 @@ button.icon-btn.panel-dialog__prev{
9101
9207
  --progress-bar-expressive-message-animatein-duration:833ms;
9102
9208
  --progress-bar-expressive-message-animateout-duration:400ms;
9103
9209
  }
9104
- @media (prefers-color-scheme:dark){
9105
- :root{
9106
- --progress-bar-expressive-color-1:#f0343b;
9107
- --progress-bar-expressive-color-2:#0078fc;
9108
- --progress-bar-expressive-color-3:#e8a502;
9109
- --progress-bar-expressive-color-4:#86b817;
9110
- }
9111
- }
9112
9210
 
9113
9211
  .progress-bar-expressive{
9114
9212
  align-items:stretch;
@@ -10048,6 +10146,74 @@ span.select{
10048
10146
  left:0;
10049
10147
  right:auto;
10050
10148
  }
10149
+ @keyframes fill-horizontal-background{
10150
+ 0%{
10151
+ background-size:0 100%;
10152
+ }
10153
+ 99%{
10154
+ background-color:var(--color-background-primary);
10155
+ }
10156
+ to{
10157
+ background-color:var(--color-background-strong);
10158
+ background-size:100% 100%;
10159
+ }
10160
+ }
10161
+ .selection-chip{
10162
+ align-items:center;
10163
+ background-color:var(--color-background-primary);
10164
+ background-position:50%;
10165
+ background-repeat:no-repeat;
10166
+ background-size:0 100%;
10167
+ border:1px solid var(--color-stroke-default);
10168
+ border-radius:var(--border-radius-50);
10169
+ box-shadow:none;
10170
+ box-sizing:border-box;
10171
+ color:var(--color-foreground-primary);
10172
+ display:inline-flex;
10173
+ font-size:var(--font-size-default);
10174
+ gap:var(--spacing-75);
10175
+ height:var(--spacing-400);
10176
+ justify-content:space-between;
10177
+ max-width:296px;
10178
+ min-width:32px;
10179
+ padding:0 var(--spacing-150);
10180
+ text-decoration:none;
10181
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
10182
+ vertical-align:bottom;
10183
+ }
10184
+ .selection-chip:active{
10185
+ transform:scale(.97);
10186
+ }
10187
+
10188
+ .selection-chip--animated .selection-chip__trailing{
10189
+ transition:rotate var(--motion-duration-medium-3) var(--motion-easing-standard);
10190
+ }
10191
+
10192
+ .selection-chip__trailing{
10193
+ rotate:-225deg;
10194
+ }
10195
+
10196
+ .selection-chip[aria-pressed=true]{
10197
+ animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
10198
+ background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
10199
+ color:var(--color-foreground-on-strong);
10200
+ }
10201
+
10202
+ .selection-chip--animated[aria-pressed=true]{
10203
+ animation-duration:var(--motion-duration-medium-2);
10204
+ transition:color var(--motion-duration-instant) var(--motion-easing-standard);
10205
+ }
10206
+
10207
+ .selection-chip[aria-pressed=true] .selection-chip__trailing{
10208
+ rotate:0deg;
10209
+ }
10210
+
10211
+ .selection-chip__text{
10212
+ overflow:hidden;
10213
+ padding:var(--spacing-75) 0;
10214
+ text-overflow:ellipsis;
10215
+ white-space:nowrap;
10216
+ }
10051
10217
  @keyframes skeleton-fade-out{
10052
10218
  0%{
10053
10219
  opacity:1;