@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.
@@ -4,16 +4,14 @@
4
4
  font-family:Market Sans;
5
5
  font-style:normal;
6
6
  font-weight:400;
7
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.eot);
8
- 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");
7
+ src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff2) format("woff2");
9
8
  }
10
9
  @font-face{
11
10
  font-display:swap;
12
11
  font-family:Market Sans;
13
12
  font-style:normal;
14
13
  font-weight:700;
15
- src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.eot);
16
- 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");
14
+ src:url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff2) format("woff2");
17
15
  }
18
16
  body{
19
17
  background-color:var(--color-background-primary);
@@ -179,28 +177,6 @@ a:not([href]),a[aria-disabled=true]{
179
177
  border-right-style:inset;
180
178
  box-shadow:none;
181
179
  }
182
- @keyframes chevron-bounce-open{
183
- 0%{
184
- transform:translateY(0);
185
- }
186
- 50%{
187
- transform:translateY(-7px);
188
- }
189
- to{
190
- transform:translateY(0);
191
- }
192
- }
193
- @keyframes chevron-bounce-close{
194
- 0%{
195
- transform:translateY(0);
196
- }
197
- 50%{
198
- transform:translateY(7px);
199
- }
200
- to{
201
- transform:translateY(0);
202
- }
203
- }
204
180
  ul.accordion{
205
181
  margin:0;
206
182
  padding:0;
@@ -1737,17 +1713,20 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
1737
1713
  }
1738
1714
  .chip{
1739
1715
  align-items:center;
1740
- background-color:var(--color-background-tertiary);
1741
- border-radius:var(--spacing-400);
1742
- color:var(--color-foreground-primary);
1716
+ background-color:var(--color-background-strong);
1717
+ border-radius:var(--border-radius-50);
1718
+ box-sizing:border-box;
1719
+ color:var(--color-foreground-on-strong);
1743
1720
  display:inline-flex;
1744
1721
  font-size:var(--font-size-default);
1745
- gap:2px;
1722
+ gap:var(--spacing-75);
1723
+ height:var(--spacing-400);
1746
1724
  justify-content:space-between;
1747
1725
  max-width:296px;
1748
- min-height:var(--spacing-250);
1749
1726
  min-width:32px;
1750
1727
  padding:0 var(--spacing-150);
1728
+ text-decoration:none;
1729
+ vertical-align:bottom;
1751
1730
  }
1752
1731
 
1753
1732
  .chip__text{
@@ -1757,34 +1736,34 @@ input.checkbox__control[type=checkbox]:focus:not(:focus-visible)+span.checkbox__
1757
1736
  white-space:nowrap;
1758
1737
  }
1759
1738
 
1760
- button.chip__button{
1739
+ .chip button.chip__button{
1740
+ align-items:center;
1761
1741
  background-color:initial;
1762
1742
  border:none;
1763
1743
  border-radius:50px;
1764
1744
  box-sizing:border-box;
1745
+ color:var(--color-foreground-on-strong);
1746
+ display:flex;
1765
1747
  flex-shrink:0;
1766
1748
  height:var(--spacing-300);
1749
+ justify-content:center;
1767
1750
  line-height:0;
1768
1751
  margin-inline-end:-8px;
1769
1752
  padding:0;
1770
1753
  width:var(--spacing-300);
1771
1754
  }
1772
1755
 
1773
- button.chip__button:focus-visible{
1756
+ .chip button.chip__button:focus-visible{
1774
1757
  background-color:var(--state-layer-focus);
1775
- outline-color:var(--color-state-focus-stroke);
1758
+ outline-color:var(--color-foreground-on-strong);
1776
1759
  outline-offset:-2px;
1777
1760
  outline-style:solid;
1778
1761
  outline-width:2px;
1779
1762
  }
1780
1763
 
1781
- button.chip__button:hover{
1764
+ .chip button.chip__button:hover{
1782
1765
  background-color:var(--state-layer-hover);
1783
1766
  }
1784
-
1785
- button.chip__button>svg{
1786
- fill:var(--color-foreground-on-primary);
1787
- }
1788
1767
  .chips-combobox{
1789
1768
  background-color:var(--color-background-secondary);
1790
1769
  border:1px solid var(--color-stroke-default);
@@ -3487,6 +3466,128 @@ a.filter-link--selected:not([href]):hover,a.filter-link--selected[aria-disabled=
3487
3466
  a.filter-link:focus:not(:focus-visible),button.filter-button:focus:not(:focus-visible){
3488
3467
  outline:none;
3489
3468
  }
3469
+ @keyframes chevron-bounce-open{
3470
+ 0%{
3471
+ transform:translateY(0);
3472
+ }
3473
+ 50%{
3474
+ transform:translateY(-7px);
3475
+ }
3476
+ to{
3477
+ transform:translateY(0);
3478
+ }
3479
+ }
3480
+ @keyframes chevron-bounce-close{
3481
+ 0%{
3482
+ transform:translateY(0);
3483
+ }
3484
+ 50%{
3485
+ transform:translateY(7px);
3486
+ }
3487
+ to{
3488
+ transform:translateY(0);
3489
+ }
3490
+ }
3491
+ a.filter-chip,button.filter-chip{
3492
+ align-items:center;
3493
+ background-color:var(--color-background-primary);
3494
+ background-position:50%;
3495
+ background-repeat:no-repeat;
3496
+ background-size:0 100%;
3497
+ border:1px solid var(--color-stroke-default);
3498
+ border-radius:var(--border-radius-100);
3499
+ box-shadow:none;
3500
+ box-sizing:border-box;
3501
+ color:var(--color-foreground-primary);
3502
+ display:inline-flex;
3503
+ font-size:var(--font-size-default);
3504
+ gap:var(--spacing-75);
3505
+ height:var(--spacing-400);
3506
+ justify-content:space-between;
3507
+ max-width:296px;
3508
+ min-width:32px;
3509
+ padding:0 var(--spacing-150);
3510
+ text-decoration:none;
3511
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
3512
+ vertical-align:bottom;
3513
+ }
3514
+ a.filter-chip:active,button.filter-chip:active{
3515
+ transform:scale(.97);
3516
+ }
3517
+
3518
+ a.filter-chip--expressive,button.filter-chip--expressive{
3519
+ border-radius:var(--border-radius-150);
3520
+ height:40px;
3521
+ }
3522
+
3523
+ .filter-chip__media{
3524
+ align-items:center;
3525
+ border-radius:8px;
3526
+ border-radius:var(--spacing-400);
3527
+ display:flex;
3528
+ justify-content:center;
3529
+ margin-inline-start:-8px;
3530
+ overflow:hidden;
3531
+ position:relative;
3532
+ }
3533
+ .filter-chip__media:after{
3534
+ background:rgba(0, 0, 0, .05);
3535
+ bottom:0;
3536
+ content:"";
3537
+ display:block;
3538
+ left:0;
3539
+ pointer-events:none;
3540
+ position:absolute;
3541
+ right:0;
3542
+ top:0;
3543
+ }
3544
+ .filter-chip__media>img{
3545
+ display:inline-block;
3546
+ height:var(--spacing-400);
3547
+ max-height:100%;
3548
+ max-width:100%;
3549
+ object-fit:contain;
3550
+ object-fit:cover;
3551
+ width:var(--spacing-400);
3552
+ }
3553
+
3554
+ a.filter-chip--selected,button.filter-chip[aria-pressed=true]{
3555
+ animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
3556
+ background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
3557
+ color:var(--color-foreground-on-strong);
3558
+ }
3559
+
3560
+ button.filter-chip--animated[aria-pressed=true]{
3561
+ animation-duration:var(--motion-duration-medium-2);
3562
+ transition:color var(--motion-duration-instant) var(--motion-easing-standard);
3563
+ }
3564
+
3565
+ button.filter-chip[aria-expanded=false]:active .filter-chip__trailing{
3566
+ animation:chevron-bounce-close var(--motion-duration-medium-1) var(--motion-easing-standard);
3567
+ rotate:180deg;
3568
+ }
3569
+
3570
+ button.filter-chip[aria-expanded=false] .filter-chip__trailing{
3571
+ rotate:0deg;
3572
+ transition:none;
3573
+ }
3574
+
3575
+ button.filter-chip[aria-expanded=true]:active .filter-chip__trailing{
3576
+ animation:chevron-bounce-open var(--motion-duration-medium-1) var(--motion-easing-standard) var(--motion-duration-short-1);
3577
+ rotate:0deg;
3578
+ }
3579
+
3580
+ button.filter-chip[aria-expanded=true] .filter-chip__trailing{
3581
+ rotate:180deg;
3582
+ transition:none;
3583
+ }
3584
+
3585
+ .filter-chip__text{
3586
+ overflow:hidden;
3587
+ padding:var(--spacing-75) 0;
3588
+ text-overflow:ellipsis;
3589
+ white-space:nowrap;
3590
+ }
3490
3591
 
3491
3592
  .filter-input{
3492
3593
  display:inline-block;
@@ -7021,7 +7122,7 @@ button.icon-btn.lightbox-dialog__prev{
7021
7122
  .lightbox-dialog__window{
7022
7123
  border-radius:var(--lightbox-border-radius, var(--border-radius-100));
7023
7124
  margin:auto;
7024
- max-width:calc(88% - var(--spacing-400));
7125
+ max-width:88%;
7025
7126
  }
7026
7127
  .lightbox-dialog--narrow .lightbox-dialog__window{
7027
7128
  max-width:var(--dialog-lightbox-narrow-max-width);
@@ -7051,7 +7152,7 @@ button.icon-btn.lightbox-dialog__prev{
7051
7152
  max-width:var(--dialog-lightbox-max-width);
7052
7153
  }
7053
7154
  .lightbox-dialog--wide .lightbox-dialog__window{
7054
- max-width:var(--dialog-lightbox-wide-max-width);
7155
+ max-width:88%;
7055
7156
  }
7056
7157
  .lightbox-dialog--wide .lightbox-dialog__image{
7057
7158
  height:256px;
@@ -7060,6 +7161,11 @@ button.icon-btn.lightbox-dialog__prev{
7060
7161
  margin-top:256px;
7061
7162
  }
7062
7163
  }
7164
+ @media (min-width:1024px){
7165
+ .lightbox-dialog--wide .lightbox-dialog__window{
7166
+ max-width:var(--dialog-lightbox-wide-max-width);
7167
+ }
7168
+ }
7063
7169
  a.nav-link,a.standalone-link{
7064
7170
  color:var(--nav-link-foreground-color, var(--color-foreground-link-primary));
7065
7171
  text-decoration:none;
@@ -8646,10 +8752,10 @@ button.icon-btn.panel-dialog__prev{
8646
8752
  }
8647
8753
  }
8648
8754
  :root{
8649
- --progress-bar-expressive-color-1:#e53238;
8650
- --progress-bar-expressive-color-2:#0064d2;
8651
- --progress-bar-expressive-color-3:#f5af02;
8652
- --progress-bar-expressive-color-4:#86b817;
8755
+ --progress-bar-expressive-color-1:var(--color-red-500);
8756
+ --progress-bar-expressive-color-2:var(--color-blue-500);
8757
+ --progress-bar-expressive-color-3:var(--color-yellow-400);
8758
+ --progress-bar-expressive-color-4:var(--color-green-500);
8653
8759
  --progress-bar-expressive-line-border-radius:2px;
8654
8760
  --progress-bar-expressive-line-count:12;
8655
8761
  --progress-bar-expressive-line-gap:var(--spacing-50);
@@ -8671,14 +8777,6 @@ button.icon-btn.panel-dialog__prev{
8671
8777
  --progress-bar-expressive-message-animatein-duration:833ms;
8672
8778
  --progress-bar-expressive-message-animateout-duration:400ms;
8673
8779
  }
8674
- @media (prefers-color-scheme:dark){
8675
- :root{
8676
- --progress-bar-expressive-color-1:#f0343b;
8677
- --progress-bar-expressive-color-2:#0078fc;
8678
- --progress-bar-expressive-color-3:#e8a502;
8679
- --progress-bar-expressive-color-4:#86b817;
8680
- }
8681
- }
8682
8780
 
8683
8781
  .progress-bar-expressive{
8684
8782
  align-items:stretch;
@@ -9618,6 +9716,74 @@ span.select{
9618
9716
  left:0;
9619
9717
  right:auto;
9620
9718
  }
9719
+ @keyframes fill-horizontal-background{
9720
+ 0%{
9721
+ background-size:0 100%;
9722
+ }
9723
+ 99%{
9724
+ background-color:var(--color-background-primary);
9725
+ }
9726
+ to{
9727
+ background-color:var(--color-background-strong);
9728
+ background-size:100% 100%;
9729
+ }
9730
+ }
9731
+ .selection-chip{
9732
+ align-items:center;
9733
+ background-color:var(--color-background-primary);
9734
+ background-position:50%;
9735
+ background-repeat:no-repeat;
9736
+ background-size:0 100%;
9737
+ border:1px solid var(--color-stroke-default);
9738
+ border-radius:var(--border-radius-50);
9739
+ box-shadow:none;
9740
+ box-sizing:border-box;
9741
+ color:var(--color-foreground-primary);
9742
+ display:inline-flex;
9743
+ font-size:var(--font-size-default);
9744
+ gap:var(--spacing-75);
9745
+ height:var(--spacing-400);
9746
+ justify-content:space-between;
9747
+ max-width:296px;
9748
+ min-width:32px;
9749
+ padding:0 var(--spacing-150);
9750
+ text-decoration:none;
9751
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
9752
+ vertical-align:bottom;
9753
+ }
9754
+ .selection-chip:active{
9755
+ transform:scale(.97);
9756
+ }
9757
+
9758
+ .selection-chip--animated .selection-chip__trailing{
9759
+ transition:rotate var(--motion-duration-medium-3) var(--motion-easing-standard);
9760
+ }
9761
+
9762
+ .selection-chip__trailing{
9763
+ rotate:-225deg;
9764
+ }
9765
+
9766
+ .selection-chip[aria-pressed=true]{
9767
+ animation:fill-horizontal-background 0s var(--motion-easing-quick-enter) forwards;
9768
+ background-image:linear-gradient(to right, var(--color-background-strong) 0, var(--color-background-strong) 100%);
9769
+ color:var(--color-foreground-on-strong);
9770
+ }
9771
+
9772
+ .selection-chip--animated[aria-pressed=true]{
9773
+ animation-duration:var(--motion-duration-medium-2);
9774
+ transition:color var(--motion-duration-instant) var(--motion-easing-standard);
9775
+ }
9776
+
9777
+ .selection-chip[aria-pressed=true] .selection-chip__trailing{
9778
+ rotate:0deg;
9779
+ }
9780
+
9781
+ .selection-chip__text{
9782
+ overflow:hidden;
9783
+ padding:var(--spacing-75) 0;
9784
+ text-overflow:ellipsis;
9785
+ white-space:nowrap;
9786
+ }
9621
9787
  @keyframes skeleton-fade-out{
9622
9788
  0%{
9623
9789
  opacity:1;
@@ -1,16 +1,19 @@
1
1
  .chip {
2
2
  align-items: center;
3
- background-color: var(--color-background-tertiary);
4
- border-radius: var(--spacing-400);
5
- color: var(--color-foreground-primary);
3
+ background-color: var(--color-background-strong);
4
+ border-radius: var(--border-radius-50);
5
+ box-sizing: border-box;
6
+ color: var(--color-foreground-on-strong);
6
7
  display: inline-flex;
7
8
  font-size: var(--font-size-default);
8
- gap: 2px;
9
+ gap: var(--spacing-75);
10
+ height: var(--spacing-400);
9
11
  justify-content: space-between;
10
12
  max-width: 296px;
11
- min-height: var(--spacing-250);
12
13
  min-width: 32px;
13
14
  padding: 0 var(--spacing-150);
15
+ text-decoration: none;
16
+ vertical-align: bottom;
14
17
  }
15
18
 
16
19
  .chip__text {
@@ -20,31 +23,31 @@
20
23
  white-space: nowrap;
21
24
  }
22
25
 
23
- button.chip__button {
26
+ .chip button.chip__button {
27
+ align-items: center;
24
28
  background-color: initial;
25
29
  border: none;
26
30
  border-radius: 50px;
27
31
  box-sizing: border-box;
32
+ color: var(--color-foreground-on-strong);
33
+ display: flex;
28
34
  flex-shrink: 0;
29
35
  height: var(--spacing-300);
36
+ justify-content: center;
30
37
  line-height: 0;
31
38
  margin-inline-end: -8px;
32
39
  padding: 0;
33
40
  width: var(--spacing-300);
34
41
  }
35
42
 
36
- button.chip__button:focus-visible {
43
+ .chip button.chip__button:focus-visible {
37
44
  background-color: var(--state-layer-focus);
38
- outline-color: var(--color-state-focus-stroke);
45
+ outline-color: var(--color-foreground-on-strong);
39
46
  outline-offset: -2px;
40
47
  outline-style: solid;
41
48
  outline-width: 2px;
42
49
  }
43
50
 
44
- button.chip__button:hover {
51
+ .chip button.chip__button:hover {
45
52
  background-color: var(--state-layer-hover);
46
53
  }
47
-
48
- button.chip__button > svg {
49
- fill: var(--color-foreground-on-primary);
50
- }
@@ -0,0 +1,147 @@
1
+ @keyframes fill-horizontal-background {
2
+ 0% {
3
+ background-size: 0 100%;
4
+ }
5
+ 99% {
6
+ background-color: var(--color-background-primary);
7
+ }
8
+ to {
9
+ background-color: var(--color-background-strong);
10
+ background-size: 100% 100%;
11
+ }
12
+ }
13
+ @keyframes chevron-bounce-open {
14
+ 0% {
15
+ transform: translateY(0);
16
+ }
17
+ 50% {
18
+ transform: translateY(-7px);
19
+ }
20
+ to {
21
+ transform: translateY(0);
22
+ }
23
+ }
24
+ @keyframes chevron-bounce-close {
25
+ 0% {
26
+ transform: translateY(0);
27
+ }
28
+ 50% {
29
+ transform: translateY(7px);
30
+ }
31
+ to {
32
+ transform: translateY(0);
33
+ }
34
+ }
35
+ a.filter-chip,
36
+ button.filter-chip {
37
+ align-items: center;
38
+ background-color: var(--color-background-primary);
39
+ background-position: 50%;
40
+ background-repeat: no-repeat;
41
+ background-size: 0 100%;
42
+ border: 1px solid var(--color-stroke-default);
43
+ border-radius: var(--border-radius-100);
44
+ box-shadow: none;
45
+ box-sizing: border-box;
46
+ color: var(--color-foreground-primary);
47
+ display: inline-flex;
48
+ font-size: var(--font-size-default);
49
+ gap: var(--spacing-75);
50
+ height: var(--spacing-400);
51
+ justify-content: space-between;
52
+ max-width: 296px;
53
+ min-width: 32px;
54
+ padding: 0 var(--spacing-150);
55
+ text-decoration: none;
56
+ transition: all var(--motion-duration-short-3)
57
+ var(--motion-easing-quick-enter);
58
+ vertical-align: bottom;
59
+ }
60
+ a.filter-chip:active,
61
+ button.filter-chip:active {
62
+ transform: scale(0.97);
63
+ }
64
+
65
+ a.filter-chip--expressive,
66
+ button.filter-chip--expressive {
67
+ border-radius: var(--border-radius-150);
68
+ height: 40px;
69
+ }
70
+
71
+ .filter-chip__media {
72
+ align-items: center;
73
+ border-radius: 8px;
74
+ border-radius: var(--spacing-400);
75
+ display: flex;
76
+ justify-content: center;
77
+ margin-inline-start: -8px;
78
+ overflow: hidden;
79
+ position: relative;
80
+ }
81
+ .filter-chip__media:after {
82
+ background: rgba(0, 0, 0, 0.05);
83
+ bottom: 0;
84
+ content: "";
85
+ display: block;
86
+ left: 0;
87
+ pointer-events: none;
88
+ position: absolute;
89
+ right: 0;
90
+ top: 0;
91
+ }
92
+ .filter-chip__media > img {
93
+ display: inline-block;
94
+ height: var(--spacing-400);
95
+ max-height: 100%;
96
+ max-width: 100%;
97
+ object-fit: contain;
98
+ object-fit: cover;
99
+ width: var(--spacing-400);
100
+ }
101
+
102
+ a.filter-chip--selected,
103
+ button.filter-chip[aria-pressed="true"] {
104
+ animation: fill-horizontal-background 0s var(--motion-easing-quick-enter)
105
+ forwards;
106
+ background-image: linear-gradient(
107
+ to right,
108
+ var(--color-background-strong) 0,
109
+ var(--color-background-strong) 100%
110
+ );
111
+ color: var(--color-foreground-on-strong);
112
+ }
113
+
114
+ button.filter-chip--animated[aria-pressed="true"] {
115
+ animation-duration: var(--motion-duration-medium-2);
116
+ transition: color var(--motion-duration-instant)
117
+ var(--motion-easing-standard);
118
+ }
119
+
120
+ button.filter-chip[aria-expanded="false"]:active .filter-chip__trailing {
121
+ animation: chevron-bounce-close var(--motion-duration-medium-1)
122
+ var(--motion-easing-standard);
123
+ rotate: 180deg;
124
+ }
125
+
126
+ button.filter-chip[aria-expanded="false"] .filter-chip__trailing {
127
+ rotate: 0deg;
128
+ transition: none;
129
+ }
130
+
131
+ button.filter-chip[aria-expanded="true"]:active .filter-chip__trailing {
132
+ animation: chevron-bounce-open var(--motion-duration-medium-1)
133
+ var(--motion-easing-standard) var(--motion-duration-short-1);
134
+ rotate: 0deg;
135
+ }
136
+
137
+ button.filter-chip[aria-expanded="true"] .filter-chip__trailing {
138
+ rotate: 180deg;
139
+ transition: none;
140
+ }
141
+
142
+ .filter-chip__text {
143
+ overflow: hidden;
144
+ padding: var(--spacing-75) 0;
145
+ text-overflow: ellipsis;
146
+ white-space: nowrap;
147
+ }
@@ -306,7 +306,7 @@ button.icon-btn.lightbox-dialog__prev {
306
306
  .lightbox-dialog__window {
307
307
  border-radius: var(--lightbox-border-radius, var(--border-radius-100));
308
308
  margin: auto;
309
- max-width: calc(88% - var(--spacing-400));
309
+ max-width: 88%;
310
310
  }
311
311
  .lightbox-dialog--narrow .lightbox-dialog__window {
312
312
  max-width: var(--dialog-lightbox-narrow-max-width);
@@ -341,7 +341,7 @@ button.icon-btn.lightbox-dialog__prev {
341
341
  max-width: var(--dialog-lightbox-max-width);
342
342
  }
343
343
  .lightbox-dialog--wide .lightbox-dialog__window {
344
- max-width: var(--dialog-lightbox-wide-max-width);
344
+ max-width: 88%;
345
345
  }
346
346
  .lightbox-dialog--wide .lightbox-dialog__image {
347
347
  height: 256px;
@@ -352,3 +352,8 @@ button.icon-btn.lightbox-dialog__prev {
352
352
  margin-top: 256px;
353
353
  }
354
354
  }
355
+ @media (min-width: 1024px) {
356
+ .lightbox-dialog--wide .lightbox-dialog__window {
357
+ max-width: var(--dialog-lightbox-wide-max-width);
358
+ }
359
+ }
@@ -3,34 +3,14 @@
3
3
  font-family: Market Sans;
4
4
  font-style: normal;
5
5
  font-weight: 400;
6
- src: url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.eot);
7
- src:
8
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.eot?#iefix)
9
- format("embedded-opentype"),
10
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff2)
11
- format("woff2"),
12
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff)
13
- format("woff"),
14
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.ttf)
15
- format("truetype"),
16
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.svg#MarketSans-Regular-WebS)
17
- format("svg");
6
+ src: url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Regular-WebS.woff2)
7
+ format("woff2");
18
8
  }
19
9
  @font-face {
20
10
  font-display: swap;
21
11
  font-family: Market Sans;
22
12
  font-style: normal;
23
13
  font-weight: 700;
24
- src: url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.eot);
25
- src:
26
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.eot?#iefix)
27
- format("embedded-opentype"),
28
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff2)
29
- format("woff2"),
30
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff)
31
- format("woff"),
32
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.ttf)
33
- format("truetype"),
34
- url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.svg#MarketSans-Bold-WebS)
35
- format("svg");
14
+ src: url(https://ir.ebaystatic.com/cr/v/c1/market-sans/v2.0/MarketSans-Bold-WebS.woff2)
15
+ format("woff2");
36
16
  }
@@ -0,0 +1,41 @@
1
+ @mixin chevron-keyframes() {
2
+ @keyframes chevron-bounce-open {
3
+ 0% {
4
+ transform: translateY(0);
5
+ }
6
+ 50% {
7
+ transform: translateY(-7px);
8
+ }
9
+ 100% {
10
+ transform: translateY(0);
11
+ }
12
+ }
13
+
14
+ @keyframes chevron-bounce-close {
15
+ 0% {
16
+ transform: translateY(0);
17
+ }
18
+ 50% {
19
+ transform: translateY(7px);
20
+ }
21
+ 100% {
22
+ transform: translateY(0);
23
+ }
24
+ }
25
+ }
26
+
27
+ // This is used for when the animations are loading so that there are no animations happening on page load.
28
+ @mixin loading() {
29
+ animation: none;
30
+ transition: none;
31
+ }
32
+
33
+ @mixin chevron-open() {
34
+ animation: chevron-bounce-open var(--motion-duration-medium-1)
35
+ var(--motion-easing-standard) var(--motion-duration-short-1);
36
+ }
37
+
38
+ @mixin chevron-close() {
39
+ animation: chevron-bounce-close var(--motion-duration-medium-1)
40
+ var(--motion-easing-standard);
41
+ }