@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;
@@ -637,16 +637,14 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
637
637
  font-family:Market Sans;
638
638
  font-style:normal;
639
639
  font-weight:400;
640
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.eot);
641
- 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");
640
+ src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff2) format("woff2");
642
641
  }
643
642
  @font-face{
644
643
  font-display:swap;
645
644
  font-family:Market Sans;
646
645
  font-style:normal;
647
646
  font-weight:700;
648
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.eot);
649
- 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");
647
+ src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff2) format("woff2");
650
648
  }
651
649
  body{
652
650
  background-color:var(--color-background-primary);
@@ -812,28 +810,6 @@ a:not([href]),a[aria-disabled=true]{
812
810
  border-right-style:inset;
813
811
  box-shadow:none;
814
812
  }
815
- @keyframes chevron-bounce-open{
816
- 0%{
817
- transform:translateY(0);
818
- }
819
- 50%{
820
- transform:translateY(-7px);
821
- }
822
- to{
823
- transform:translateY(0);
824
- }
825
- }
826
- @keyframes chevron-bounce-close{
827
- 0%{
828
- transform:translateY(0);
829
- }
830
- 50%{
831
- transform:translateY(7px);
832
- }
833
- to{
834
- transform:translateY(0);
835
- }
836
- }
837
813
  ul.accordion{
838
814
  margin:0;
839
815
  padding:0;
@@ -2370,17 +2346,20 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
2370
2346
  }
2371
2347
  .chip{
2372
2348
  align-items:center;
2373
- background-color:var(--color-background-tertiary);
2374
- border-radius:var(--spacing-400);
2375
- color:var(--color-foreground-primary);
2349
+ background-color:var(--color-background-strong);
2350
+ border-radius:var(--border-radius-50);
2351
+ box-sizing:border-box;
2352
+ color:var(--color-foreground-on-strong);
2376
2353
  display:inline-flex;
2377
2354
  font-size:var(--font-size-default);
2378
- gap:2px;
2355
+ gap:var(--spacing-75);
2356
+ height:var(--spacing-400);
2379
2357
  justify-content:space-between;
2380
2358
  max-width:296px;
2381
- min-height:var(--spacing-250);
2382
2359
  min-width:32px;
2383
2360
  padding:0 var(--spacing-150);
2361
+ text-decoration:none;
2362
+ vertical-align:bottom;
2384
2363
  }
2385
2364
 
2386
2365
  .chip__text{
@@ -2390,34 +2369,34 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
2390
2369
  white-space:nowrap;
2391
2370
  }
2392
2371
 
2393
- button.chip__button{
2372
+ .chip button.chip__button{
2373
+ align-items:center;
2394
2374
  background-color:initial;
2395
2375
  border:none;
2396
2376
  border-radius:50px;
2397
2377
  box-sizing:border-box;
2378
+ color:var(--color-foreground-on-strong);
2379
+ display:flex;
2398
2380
  flex-shrink:0;
2399
2381
  height:var(--spacing-300);
2382
+ justify-content:center;
2400
2383
  line-height:0;
2401
2384
  margin-inline-end:-8px;
2402
2385
  padding:0;
2403
2386
  width:var(--spacing-300);
2404
2387
  }
2405
2388
 
2406
- button.chip__button:focus-visible{
2389
+ .chip button.chip__button:focus-visible{
2407
2390
  background-color:var(--state-layer-focus);
2408
- outline-color:var(--color-state-focus-stroke);
2391
+ outline-color:var(--color-foreground-on-strong);
2409
2392
  outline-offset:-2px;
2410
2393
  outline-style:solid;
2411
2394
  outline-width:2px;
2412
2395
  }
2413
2396
 
2414
- button.chip__button:hover{
2397
+ .chip button.chip__button:hover{
2415
2398
  background-color:var(--state-layer-hover);
2416
2399
  }
2417
-
2418
- button.chip__button>svg{
2419
- fill:var(--color-foreground-on-primary);
2420
- }
2421
2400
  .chips-combobox{
2422
2401
  background-color:var(--color-background-secondary);
2423
2402
  border:1px solid var(--color-stroke-default);
@@ -4120,6 +4099,128 @@ a.filter-link--selected:not([href]):hover,a.filter-link--selected[aria-disabled=
4120
4099
  a.filter-link:focus:not(:focus-visible),button.filter-button:focus:not(:focus-visible){
4121
4100
  outline:none;
4122
4101
  }
4102
+ @keyframes chevron-bounce-open{
4103
+ 0%{
4104
+ transform:translateY(0);
4105
+ }
4106
+ 50%{
4107
+ transform:translateY(-7px);
4108
+ }
4109
+ to{
4110
+ transform:translateY(0);
4111
+ }
4112
+ }
4113
+ @keyframes chevron-bounce-close{
4114
+ 0%{
4115
+ transform:translateY(0);
4116
+ }
4117
+ 50%{
4118
+ transform:translateY(7px);
4119
+ }
4120
+ to{
4121
+ transform:translateY(0);
4122
+ }
4123
+ }
4124
+ a.filter-chip,button.filter-chip{
4125
+ align-items:center;
4126
+ background-color:var(--color-background-primary);
4127
+ background-position:50%;
4128
+ background-repeat:no-repeat;
4129
+ background-size:0 100%;
4130
+ border:1px solid var(--color-stroke-default);
4131
+ border-radius:var(--border-radius-100);
4132
+ box-shadow:none;
4133
+ box-sizing:border-box;
4134
+ color:var(--color-foreground-primary);
4135
+ display:inline-flex;
4136
+ font-size:var(--font-size-default);
4137
+ gap:var(--spacing-75);
4138
+ height:var(--spacing-400);
4139
+ justify-content:space-between;
4140
+ max-width:296px;
4141
+ min-width:32px;
4142
+ padding:0 var(--spacing-150);
4143
+ text-decoration:none;
4144
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
4145
+ vertical-align:bottom;
4146
+ }
4147
+ a.filter-chip:active,button.filter-chip:active{
4148
+ transform:scale(.97);
4149
+ }
4150
+
4151
+ a.filter-chip--expressive,button.filter-chip--expressive{
4152
+ border-radius:var(--border-radius-150);
4153
+ height:40px;
4154
+ }
4155
+
4156
+ .filter-chip__media{
4157
+ align-items:center;
4158
+ border-radius:8px;
4159
+ border-radius:var(--spacing-400);
4160
+ display:flex;
4161
+ justify-content:center;
4162
+ margin-inline-start:-8px;
4163
+ overflow:hidden;
4164
+ position:relative;
4165
+ }
4166
+ .filter-chip__media:after{
4167
+ background:rgba(0, 0, 0, .05);
4168
+ bottom:0;
4169
+ content:"";
4170
+ display:block;
4171
+ left:0;
4172
+ pointer-events:none;
4173
+ position:absolute;
4174
+ right:0;
4175
+ top:0;
4176
+ }
4177
+ .filter-chip__media>img{
4178
+ display:inline-block;
4179
+ height:var(--spacing-400);
4180
+ max-height:100%;
4181
+ max-width:100%;
4182
+ object-fit:contain;
4183
+ object-fit:cover;
4184
+ width:var(--spacing-400);
4185
+ }
4186
+
4187
+ a.filter-chip--selected,button.filter-chip[aria-pressed=true]{
4188
+ animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
4189
+ background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
4190
+ color:var(--color-foreground-on-strong);
4191
+ }
4192
+
4193
+ button.filter-chip--animated[aria-pressed=true]{
4194
+ animation-duration:var(--motion-duration-medium-2);
4195
+ transition:color var(--motion-duration-instant) var(--motion-easing-standard);
4196
+ }
4197
+
4198
+ button.filter-chip[aria-expanded=false]:active .filter-chip__trailing{
4199
+ animation:chevron-bounce-close var(--motion-duration-medium-1) var(--motion-easing-standard);
4200
+ rotate:180deg;
4201
+ }
4202
+
4203
+ button.filter-chip[aria-expanded=false] .filter-chip__trailing{
4204
+ rotate:0deg;
4205
+ transition:none;
4206
+ }
4207
+
4208
+ button.filter-chip[aria-expanded=true]:active .filter-chip__trailing{
4209
+ animation:chevron-bounce-open var(--motion-duration-medium-1) var(--motion-easing-standard) var(--motion-duration-short-1);
4210
+ rotate:0deg;
4211
+ }
4212
+
4213
+ button.filter-chip[aria-expanded=true] .filter-chip__trailing{
4214
+ rotate:180deg;
4215
+ transition:none;
4216
+ }
4217
+
4218
+ .filter-chip__text{
4219
+ overflow:hidden;
4220
+ padding:var(--spacing-75) 0;
4221
+ text-overflow:ellipsis;
4222
+ white-space:nowrap;
4223
+ }
4123
4224
 
4124
4225
  .filter-input{
4125
4226
  display:inline-block;
@@ -7654,7 +7755,7 @@ button.icon-btn.lightbox-dialog__prev{
7654
7755
  .lightbox-dialog__window{
7655
7756
  border-radius:var(--lightbox-border-radius, var(--border-radius-100));
7656
7757
  margin:auto;
7657
- max-width:calc(88% - var(--spacing-400));
7758
+ max-width:88%;
7658
7759
  }
7659
7760
  .lightbox-dialog--narrow .lightbox-dialog__window{
7660
7761
  max-width:var(--dialog-lightbox-narrow-max-width);
@@ -7684,7 +7785,7 @@ button.icon-btn.lightbox-dialog__prev{
7684
7785
  max-width:var(--dialog-lightbox-max-width);
7685
7786
  }
7686
7787
  .lightbox-dialog--wide .lightbox-dialog__window{
7687
- max-width:var(--dialog-lightbox-wide-max-width);
7788
+ max-width:88%;
7688
7789
  }
7689
7790
  .lightbox-dialog--wide .lightbox-dialog__image{
7690
7791
  height:256px;
@@ -7693,6 +7794,11 @@ button.icon-btn.lightbox-dialog__prev{
7693
7794
  margin-top:256px;
7694
7795
  }
7695
7796
  }
7797
+ @media (min-width:1024px){
7798
+ .lightbox-dialog--wide .lightbox-dialog__window{
7799
+ max-width:var(--dialog-lightbox-wide-max-width);
7800
+ }
7801
+ }
7696
7802
  a.nav-link,a.standalone-link{
7697
7803
  color:var(--nav-link-foreground-color, var(--color-foreground-link-primary));
7698
7804
  text-decoration:none;
@@ -9279,10 +9385,10 @@ button.icon-btn.panel-dialog__prev{
9279
9385
  }
9280
9386
  }
9281
9387
  :root{
9282
- --progress-bar-expressive-color-1:#e53238;
9283
- --progress-bar-expressive-color-2:#0064d2;
9284
- --progress-bar-expressive-color-3:#f5af02;
9285
- --progress-bar-expressive-color-4:#86b817;
9388
+ --progress-bar-expressive-color-1:var(--color-red-500);
9389
+ --progress-bar-expressive-color-2:var(--color-blue-500);
9390
+ --progress-bar-expressive-color-3:var(--color-yellow-400);
9391
+ --progress-bar-expressive-color-4:var(--color-green-500);
9286
9392
  --progress-bar-expressive-line-border-radius:2px;
9287
9393
  --progress-bar-expressive-line-count:12;
9288
9394
  --progress-bar-expressive-line-gap:var(--spacing-50);
@@ -9304,14 +9410,6 @@ button.icon-btn.panel-dialog__prev{
9304
9410
  --progress-bar-expressive-message-animatein-duration:833ms;
9305
9411
  --progress-bar-expressive-message-animateout-duration:400ms;
9306
9412
  }
9307
- @media (prefers-color-scheme:dark){
9308
- :root{
9309
- --progress-bar-expressive-color-1:#f0343b;
9310
- --progress-bar-expressive-color-2:#0078fc;
9311
- --progress-bar-expressive-color-3:#e8a502;
9312
- --progress-bar-expressive-color-4:#86b817;
9313
- }
9314
- }
9315
9413
 
9316
9414
  .progress-bar-expressive{
9317
9415
  align-items:stretch;
@@ -10251,6 +10349,74 @@ span.select{
10251
10349
  left:0;
10252
10350
  right:auto;
10253
10351
  }
10352
+ @keyframes fill-horizontal-background{
10353
+ 0%{
10354
+ background-size:0 100%;
10355
+ }
10356
+ 99%{
10357
+ background-color:var(--color-background-primary);
10358
+ }
10359
+ to{
10360
+ background-color:var(--color-background-strong);
10361
+ background-size:100% 100%;
10362
+ }
10363
+ }
10364
+ .selection-chip{
10365
+ align-items:center;
10366
+ background-color:var(--color-background-primary);
10367
+ background-position:50%;
10368
+ background-repeat:no-repeat;
10369
+ background-size:0 100%;
10370
+ border:1px solid var(--color-stroke-default);
10371
+ border-radius:var(--border-radius-50);
10372
+ box-shadow:none;
10373
+ box-sizing:border-box;
10374
+ color:var(--color-foreground-primary);
10375
+ display:inline-flex;
10376
+ font-size:var(--font-size-default);
10377
+ gap:var(--spacing-75);
10378
+ height:var(--spacing-400);
10379
+ justify-content:space-between;
10380
+ max-width:296px;
10381
+ min-width:32px;
10382
+ padding:0 var(--spacing-150);
10383
+ text-decoration:none;
10384
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
10385
+ vertical-align:bottom;
10386
+ }
10387
+ .selection-chip:active{
10388
+ transform:scale(.97);
10389
+ }
10390
+
10391
+ .selection-chip--animated .selection-chip__trailing{
10392
+ transition:rotate var(--motion-duration-medium-3) var(--motion-easing-standard);
10393
+ }
10394
+
10395
+ .selection-chip__trailing{
10396
+ rotate:-225deg;
10397
+ }
10398
+
10399
+ .selection-chip[aria-pressed=true]{
10400
+ animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
10401
+ background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
10402
+ color:var(--color-foreground-on-strong);
10403
+ }
10404
+
10405
+ .selection-chip--animated[aria-pressed=true]{
10406
+ animation-duration:var(--motion-duration-medium-2);
10407
+ transition:color var(--motion-duration-instant) var(--motion-easing-standard);
10408
+ }
10409
+
10410
+ .selection-chip[aria-pressed=true] .selection-chip__trailing{
10411
+ rotate:0deg;
10412
+ }
10413
+
10414
+ .selection-chip__text{
10415
+ overflow:hidden;
10416
+ padding:var(--spacing-75) 0;
10417
+ text-overflow:ellipsis;
10418
+ white-space:nowrap;
10419
+ }
10254
10420
  @keyframes skeleton-fade-out{
10255
10421
  0%{
10256
10422
  opacity:1;