@ebay/skin 16.7.1 → 16.8.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.
Files changed (143) hide show
  1. package/.storybook/preview-head.html +152 -11
  2. package/_cdn/skin/v16.8.0/skin-default.min.css +41 -0
  3. package/_cdn/skin/v16.8.0/skin-full.min.css +88 -0
  4. package/_cdn/skin/v16.8.0/skin-headless.min.css +6 -0
  5. package/_cdn/skin/v16.8.0/skin-legacy.min.css +41 -0
  6. package/dist/alert-dialog/alert-dialog.css +8 -8
  7. package/dist/avatar/avatar.css +9 -9
  8. package/dist/breadcrumbs/breadcrumbs.css +6 -6
  9. package/dist/button/button.css +10 -28
  10. package/dist/calendar/calendar.css +7 -7
  11. package/dist/carousel/carousel.css +10 -26
  12. package/dist/chip/chip.css +7 -7
  13. package/dist/combobox/combobox.css +6 -4
  14. package/dist/confirm-dialog/confirm-dialog.css +9 -9
  15. package/dist/cta-button/cta-button.css +8 -6
  16. package/dist/date-textbox/date-textbox.css +4 -4
  17. package/dist/details/details.css +3 -6
  18. package/dist/drawer-dialog/drawer-dialog.css +4 -3
  19. package/dist/field/field.css +5 -5
  20. package/dist/filter-button/filter-button.css +2 -2
  21. package/dist/filter-menu/filter-menu.css +2 -2
  22. package/dist/filter-menu-button/filter-menu-button.css +6 -9
  23. package/dist/floating-label/floating-label.css +1 -1
  24. package/dist/fullscreen-dialog/fullscreen-dialog.css +6 -5
  25. package/dist/global/global.css +2 -2
  26. package/dist/icon/icon.css +28 -0
  27. package/dist/infotip/infotip.css +5 -5
  28. package/dist/inline-notice/inline-notice.css +4 -6
  29. package/dist/legacy-textbox/legacy-textbox.css +1 -1
  30. package/dist/lightbox-dialog/lightbox-dialog.css +15 -17
  31. package/dist/listbox/listbox.css +3 -6
  32. package/dist/listbox-button/listbox-button.css +2 -5
  33. package/dist/menu/menu.css +2 -2
  34. package/dist/menu-button/menu-button.css +2 -2
  35. package/dist/mixins/typography-mixins.less +24 -24
  36. package/dist/mixins/utility-mixins.less +1 -0
  37. package/dist/page-grid/page-grid.css +5 -5
  38. package/dist/page-notice/page-notice.css +16 -21
  39. package/dist/pagination/pagination.css +9 -17
  40. package/dist/panel-dialog/panel-dialog.css +7 -6
  41. package/dist/progress-bar/progress-bar.css +2 -2
  42. package/dist/progress-stepper/progress-stepper.css +11 -14
  43. package/dist/section-notice/section-notice.css +17 -19
  44. package/dist/section-title/section-title.css +19 -20
  45. package/dist/segmented-buttons/segmented-buttons.css +11 -12
  46. package/dist/select/select.css +4 -4
  47. package/dist/signal/signal.css +2 -2
  48. package/dist/snackbar-dialog/snackbar-dialog.css +8 -14
  49. package/dist/svg/icon/icon-ai-spectrum-16-colored.svg +24 -0
  50. package/dist/svg/icon/icon-ai-spectrum-20-colored.svg +24 -0
  51. package/dist/svg/icon/icon-ai-spectrum-24-colored.svg +24 -0
  52. package/dist/svg/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
  53. package/dist/svg/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
  54. package/dist/svg/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
  55. package/dist/svg/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
  56. package/dist/svg/icon/icon-close-12.svg +3 -1
  57. package/dist/svg/icons.svg +150 -0
  58. package/dist/tabs/tabs.css +6 -10
  59. package/dist/textbox/textbox.css +12 -17
  60. package/dist/toast-dialog/toast-dialog.css +9 -10
  61. package/dist/toggle-button/toggle-button.css +17 -17
  62. package/dist/toggle-button-group/toggle-button-group.css +4 -4
  63. package/dist/tokens/evo-core.css +36 -0
  64. package/dist/tooltip/tooltip.css +5 -5
  65. package/dist/tourtip/tourtip.css +6 -6
  66. package/dist/typography/typography.css +23 -23
  67. package/dist/utility/utility.css +2 -0
  68. package/dist/variables/variables.less +6 -5
  69. package/dist/video/video.css +2 -5
  70. package/package.json +9 -9
  71. package/scripts/generate-images.js +18 -1
  72. package/src/less/alert-dialog/alert-dialog.less +6 -6
  73. package/src/less/avatar/avatar.less +9 -9
  74. package/src/less/breadcrumbs/breadcrumbs.less +6 -6
  75. package/src/less/button/button.less +5 -29
  76. package/src/less/calendar/calendar.less +7 -7
  77. package/src/less/carousel/carousel.less +6 -37
  78. package/src/less/chip/chip.less +7 -7
  79. package/src/less/combobox/combobox.less +6 -4
  80. package/src/less/confirm-dialog/confirm-dialog.less +7 -7
  81. package/src/less/cta-button/cta-button.less +4 -4
  82. package/src/less/date-textbox/date-textbox.less +5 -5
  83. package/src/less/details/details.less +2 -7
  84. package/src/less/drawer-dialog/drawer-dialog.less +1 -1
  85. package/src/less/field/field.less +4 -5
  86. package/src/less/filter-menu-button/filter-menu-button.less +1 -6
  87. package/src/less/floating-label/floating-label.less +1 -1
  88. package/src/less/global/global.less +2 -2
  89. package/src/less/icon/generated/icon.less +28 -0
  90. package/src/less/infotip/infotip.less +3 -3
  91. package/src/less/infotip/stories/infotip.stories.js +26 -0
  92. package/src/less/inline-notice/inline-notice.less +3 -9
  93. package/src/less/legacy-textbox/legacy-textbox.less +1 -1
  94. package/src/less/lightbox-dialog/lightbox-dialog.less +6 -10
  95. package/src/less/listbox/listbox.less +2 -7
  96. package/src/less/listbox-button/listbox-button.less +1 -6
  97. package/src/less/menu/menu.less +2 -2
  98. package/src/less/menu-button/menu-button.less +2 -2
  99. package/src/less/mixins/private/bubble-mixins.less +5 -4
  100. package/src/less/mixins/private/button-mixins.less +3 -3
  101. package/src/less/mixins/private/dialog-mixins.less +10 -10
  102. package/src/less/mixins/private/filter-button-mixins.less +2 -2
  103. package/src/less/mixins/private/filter-menu-mixins.less +1 -1
  104. package/src/less/mixins/public/typography-mixins.less +24 -24
  105. package/src/less/mixins/public/utility-mixins.less +1 -0
  106. package/src/less/page-notice/page-notice.less +14 -23
  107. package/src/less/pagination/pagination.less +7 -18
  108. package/src/less/panel-dialog/panel-dialog.less +1 -1
  109. package/src/less/progress-bar/progress-bar.less +2 -2
  110. package/src/less/progress-stepper/progress-stepper.less +8 -14
  111. package/src/less/section-notice/section-notice.less +15 -20
  112. package/src/less/section-title/section-title.less +10 -12
  113. package/src/less/segmented-buttons/segmented-buttons.less +6 -15
  114. package/src/less/select/select.less +4 -4
  115. package/src/less/signal/signal.less +2 -2
  116. package/src/less/snackbar-dialog/snackbar-dialog.less +6 -16
  117. package/src/less/tabs/tabs.less +5 -15
  118. package/src/less/textbox/stories/rtl/textbox.stories.js +1 -1
  119. package/src/less/textbox/stories/textbox.stories.js +1 -1
  120. package/src/less/textbox/textbox.less +14 -18
  121. package/src/less/toast-dialog/toast-dialog.less +8 -13
  122. package/src/less/toggle-button/toggle-button.less +17 -17
  123. package/src/less/toggle-button-group/toggle-button-group.less +4 -4
  124. package/src/less/tooltip/tooltip.less +1 -1
  125. package/src/less/tourtip/tourtip.less +3 -3
  126. package/src/less/typography/typography.less +2 -2
  127. package/src/less/variables/variables.less +6 -5
  128. package/src/less/video/video.less +1 -8
  129. package/src/svg/icon/icon-ai-spectrum-16-colored.svg +24 -0
  130. package/src/svg/icon/icon-ai-spectrum-20-colored.svg +24 -0
  131. package/src/svg/icon/icon-ai-spectrum-24-colored.svg +24 -0
  132. package/src/svg/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
  133. package/src/svg/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
  134. package/src/svg/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
  135. package/src/svg/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
  136. package/src/svg/icon/icon-close-12.svg +3 -1
  137. package/src/svg/icons.svg +150 -0
  138. package/src/tokens/evo-core.css +36 -0
  139. package/svg.svg +150 -0
  140. package/_cdn/skin/v16.7.1/skin-default.min.css +0 -41
  141. package/_cdn/skin/v16.7.1/skin-full.min.css +0 -88
  142. package/_cdn/skin/v16.7.1/skin-headless.min.css +0 -6
  143. package/_cdn/skin/v16.7.1/skin-legacy.min.css +0 -41
@@ -1,8 +1,6 @@
1
1
  @import "../variables/variables.less";
2
2
  @import "../mixins/private/button-mixins.less";
3
3
 
4
- @segmented-buttons-padding: @spacing-50;
5
-
6
4
  .segmented-buttons {
7
5
  border: 1px solid var(--color-stroke-default);
8
6
  border-radius: var(
@@ -11,7 +9,7 @@
11
9
  );
12
10
  max-width: 720px;
13
11
  min-width: 215px;
14
- padding: @segmented-buttons-padding;
12
+ padding: var(--spacing-50);
15
13
  }
16
14
 
17
15
  .segmented-buttons > ul {
@@ -27,7 +25,7 @@
27
25
  }
28
26
 
29
27
  .segmented-buttons > ul > li:not(:first-child) {
30
- margin-left: @spacing-100;
28
+ margin-inline-start: var(--spacing-100);
31
29
  }
32
30
 
33
31
  .segmented-buttons__button {
@@ -35,14 +33,14 @@
35
33
  border: none;
36
34
  border-radius: var(--btn-border-radius, calc(@button-height-regular / 2));
37
35
  color: var(--color-foreground-on-primary);
38
- font-size: @font-size-regular;
39
- min-height: @button-height-regular - (@segmented-buttons-padding * 2);
40
- padding: @spacing-100 @spacing-200;
36
+ font-size: var(--font-size-default);
37
+ min-height: calc(@button-height-regular - (var(--spacing-50) * 2));
38
+ padding: var(--spacing-100) var(--spacing-200);
41
39
  width: 100%;
42
40
  }
43
41
 
44
42
  .segmented-buttons--large .segmented-buttons__button {
45
- min-height: @button-height-large - (@segmented-buttons-padding * 2);
43
+ min-height: calc(@button-height-large - (var(--spacing-50) * 2));
46
44
  }
47
45
 
48
46
  .segmented-buttons__button-cell {
@@ -70,10 +68,3 @@
70
68
  background-color: var(--color-state-primary-hover);
71
69
  }
72
70
  }
73
-
74
- [dir="rtl"] {
75
- .segmented-buttons > ul > li:not(:first-child) {
76
- margin-left: 0;
77
- margin-right: @spacing-100;
78
- }
79
- }
@@ -3,7 +3,7 @@
3
3
 
4
4
  .select {
5
5
  .color-token(select-foreground-color, color-foreground-primary);
6
- font-size: @font-size-regular;
6
+ font-size: var(--font-size-default);
7
7
  position: relative;
8
8
  }
9
9
 
@@ -22,7 +22,7 @@ span.select {
22
22
  font-family: inherit;
23
23
  font-size: 1em;
24
24
  height: 40px;
25
- padding: 0 @spacing-400 0 @spacing-200;
25
+ padding: 0 var(--spacing-400) 0 var(--spacing-200);
26
26
  vertical-align: middle;
27
27
  }
28
28
 
@@ -35,7 +35,7 @@ span.select {
35
35
  }
36
36
 
37
37
  .select--large select {
38
- font-size: @font-size-18;
38
+ font-size: var(--font-size-18);
39
39
  height: 48px;
40
40
  }
41
41
 
@@ -105,7 +105,7 @@ span.select {
105
105
  [dir="rtl"] {
106
106
  .select > select {
107
107
  padding-left: 30px;
108
- padding-right: @spacing-200;
108
+ padding-right: var(--spacing-200);
109
109
  }
110
110
 
111
111
  .select svg {
@@ -6,10 +6,10 @@
6
6
  border-radius: var(--border-radius-100);
7
7
  box-sizing: border-box;
8
8
  display: inline-block;
9
- font-size: @font-size-small;
9
+ font-size: var(--font-size-small);
10
10
  font-weight: bold;
11
11
  letter-spacing: 0.5px;
12
- margin: @spacing-100 0;
12
+ margin: var(--spacing-100) 0;
13
13
  padding: 2px 12px 1px;
14
14
  text-align: center;
15
15
  text-transform: uppercase;
@@ -8,12 +8,12 @@
8
8
  bottom: 40px;
9
9
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.28);
10
10
  .color-token(snackbar-dialog-foreground-color, color-foreground-on-inverse);
11
- left: @spacing-100;
11
+ left: var(--spacing-100);
12
12
  margin: auto;
13
13
  max-height: 40vh;
14
14
  max-width: 448px;
15
15
  position: fixed;
16
- right: @spacing-100;
16
+ right: var(--spacing-100);
17
17
  // Setting translateY to 0 to fix a bug in safari which does a double transform
18
18
  transform: translateY(0);
19
19
  will-change: opacity, transform;
@@ -42,7 +42,7 @@
42
42
 
43
43
  .snackbar-dialog__window {
44
44
  display: flex;
45
- margin: @spacing-200 @spacing-300;
45
+ margin: var(--spacing-200) var(--spacing-300);
46
46
  }
47
47
 
48
48
  .snackbar-dialog__window--column {
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .snackbar-dialog__main {
53
- margin-right: @spacing-400;
53
+ margin-inline-end: var(--spacing-400);
54
54
  }
55
55
 
56
56
  .snackbar-dialog__main p {
@@ -58,11 +58,11 @@
58
58
  }
59
59
 
60
60
  .snackbar-dialog__actions {
61
- margin-left: auto;
61
+ margin-inline-start: auto;
62
62
  }
63
63
 
64
64
  .snackbar-dialog__window--column .snackbar-dialog__actions {
65
- margin-top: @spacing-200;
65
+ margin-top: var(--spacing-200);
66
66
  }
67
67
 
68
68
  .snackbar-dialog__actions .fake-link {
@@ -91,14 +91,4 @@
91
91
  left: auto;
92
92
  right: 0;
93
93
  }
94
-
95
- .snackbar-dialog__main {
96
- margin-left: @spacing-400;
97
- margin-right: 0;
98
- }
99
-
100
- .snackbar-dialog__actions {
101
- margin-left: 0;
102
- margin-right: auto;
103
- }
104
94
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  .tabs,
5
5
  .fake-tabs {
6
- margin-top: @spacing-200;
6
+ margin-top: var(--spacing-200);
7
7
  }
8
8
 
9
9
  span.tabs,
@@ -13,7 +13,7 @@ span.fake-tabs {
13
13
 
14
14
  div.tabs__items[role="tablist"],
15
15
  ul.fake-tabs__items {
16
- font-size: @font-size-regular;
16
+ font-size: var(--font-size-default);
17
17
  }
18
18
 
19
19
  ul.fake-tabs__items {
@@ -34,7 +34,7 @@ li.fake-tabs__item {
34
34
  -webkit-tap-highlight-color: var(--color-background-secondary);
35
35
 
36
36
  &:not(:last-child) {
37
- margin-right: 36px;
37
+ margin-inline-end: var(--spacing-450);
38
38
  }
39
39
  }
40
40
 
@@ -58,7 +58,7 @@ li.fake-tabs__item > a {
58
58
  content: "";
59
59
  display: block;
60
60
  height: 2px;
61
- margin-top: @spacing-50;
61
+ margin-top: var(--spacing-50);
62
62
  position: absolute; // required to avoid focus outline issues
63
63
  width: 100%;
64
64
  }
@@ -94,15 +94,5 @@ li.fake-tabs__item > a:not([aria-current]):hover {
94
94
 
95
95
  .tabs__cell,
96
96
  .fake-tabs__cell {
97
- margin: @spacing-200 0;
98
- }
99
-
100
- [dir="rtl"] .tabs {
101
- div.tabs__item[role="tab"],
102
- li.fake-tabs__item {
103
- &:not(:last-child) {
104
- margin-left: 40px;
105
- margin-right: 0;
106
- }
107
- }
97
+ margin: var(--spacing-200) 0;
108
98
  }
@@ -1,4 +1,4 @@
1
- export default { title: "Skin/Textbox/RTL" };
1
+ export default { title: "Skin/Textbox/RTL/Base" };
2
2
 
3
3
  export const singleLine = () => `
4
4
  <div dir="rtl">
@@ -1,4 +1,4 @@
1
- export default { title: "Skin/Textbox" };
1
+ export default { title: "Skin/Textbox/Base" };
2
2
 
3
3
  export const singleLine = () => `
4
4
  <span class="textbox">
@@ -3,7 +3,8 @@
3
3
 
4
4
  .textbox {
5
5
  .color-token(textbox-foreground-color, color-background-secondary);
6
- font-size: @font-size-regular; // to align with buttons and select, it needs same font-size
6
+ font-size: var(--font-size-default);
7
+ /* to align with buttons and select, it needs same font-size */
7
8
  position: relative;
8
9
 
9
10
  button.icon-btn {
@@ -26,7 +27,7 @@ textarea.textbox__control {
26
27
  font-family: inherit;
27
28
  min-height: 200px;
28
29
  overflow: auto;
29
- padding: @spacing-200;
30
+ padding: var(--spacing-200);
30
31
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
31
32
  resize: vertical;
32
33
  vertical-align: middle;
@@ -34,7 +35,7 @@ textarea.textbox__control {
34
35
 
35
36
  input.textbox__control {
36
37
  font-family: inherit;
37
- padding: 0 @spacing-200;
38
+ padding: 0 var(--spacing-200);
38
39
  vertical-align: middle;
39
40
  }
40
41
 
@@ -121,11 +122,11 @@ input.textbox__control--large {
121
122
  .textbox--icon-end {
122
123
  input.textbox__control,
123
124
  textarea.textbox__control {
124
- padding-right: 40px;
125
+ padding-inline-end: 40px;
125
126
  }
126
127
 
127
128
  > svg:last-child {
128
- right: @spacing-200;
129
+ right: var(--spacing-200);
129
130
  }
130
131
  }
131
132
 
@@ -142,11 +143,11 @@ textarea.textbox__control[readonly]:focus {
142
143
  }
143
144
 
144
145
  .textbox > svg:first-child {
145
- left: @spacing-200;
146
+ left: var(--spacing-200);
146
147
 
147
148
  + input.textbox__control,
148
149
  + textarea.textbox__control {
149
- padding-left: 40px;
150
+ padding-inline-start: 40px;
150
151
  }
151
152
  }
152
153
 
@@ -157,27 +158,22 @@ textarea.textbox__control[readonly]:focus {
157
158
  // stylelint-disable no-descending-specificity
158
159
  [dir="rtl"] {
159
160
  .textbox > svg:first-child {
160
- right: @spacing-200;
161
+ right: var(--spacing-200);
161
162
 
162
- & + input.textbox__control,
163
- & + textarea.textbox__control {
164
- padding-right: 40px;
165
- }
163
+ // & + input.textbox__control,
164
+ // & + textarea.textbox__control {
165
+ // padding-right: 40px;
166
+ // }
166
167
  }
167
168
 
168
169
  .textbox--icon-end {
169
- input.textbox__control,
170
- textarea.textbox__control {
171
- padding-left: 40px;
172
- }
173
-
174
170
  button.icon-btn {
175
171
  left: 0;
176
172
  right: auto;
177
173
  }
178
174
 
179
175
  > svg:last-child {
180
- left: @spacing-200;
176
+ left: var(--spacing-200);
181
177
  right: auto;
182
178
  }
183
179
  }
@@ -49,7 +49,7 @@
49
49
  }
50
50
 
51
51
  .toast-dialog__window {
52
- margin: @spacing-100 @spacing-200 @spacing-200;
52
+ margin: var(--spacing-100) var(--spacing-200) var(--spacing-200);
53
53
  }
54
54
 
55
55
  .toast-dialog__header {
@@ -68,8 +68,9 @@ button.toast-dialog__close {
68
68
  align-self: center;
69
69
  border: 0;
70
70
  .color-token(toast-dialog-foreground-color, color-foreground-on-information);
71
- margin: 0 0 0 auto;
72
- outline-offset: -@spacing-100;
71
+ // margin: 0 0 0 auto;
72
+ margin-inline-start: auto;
73
+ outline-offset: calc(var(--spacing-100) * -1);
73
74
  padding: 0;
74
75
 
75
76
  &:focus {
@@ -111,7 +112,7 @@ button.toast-dialog__close > svg {
111
112
  background-color: transparent;
112
113
  .color-token(toast-dialog-foreground-color, color-background-primary);
113
114
  font-weight: 700;
114
- margin-right: @spacing-100;
115
+ margin-inline-end: var(--spacing-100);
115
116
  }
116
117
 
117
118
  button.btn--primary:focus,
@@ -150,19 +151,13 @@ button.toast-dialog__close > svg {
150
151
  @media (min-width: @_screen-size-SM) {
151
152
  .toast-dialog {
152
153
  .border-radius-token(toast-dialog-border-radius, border-radius-100);
153
- bottom: @spacing-200;
154
- left: @spacing-200;
154
+ bottom: var(--spacing-200);
155
+ left: var(--spacing-200);
155
156
  max-width: 480px;
156
157
  width: auto;
157
158
  }
158
159
 
159
160
  .toast-dialog__window {
160
- margin: @spacing-200 @spacing-300 @spacing-300;
161
- }
162
- }
163
-
164
- [dir="rtl"] {
165
- .toast-dialog__footer .btn--primary {
166
- margin-right: 7px;
161
+ margin: var(--spacing-200) var(--spacing-300) var(--spacing-300);
167
162
  }
168
163
  }
@@ -13,18 +13,18 @@
13
13
  .toggle-button {
14
14
  background-color: var(--color-background-primary);
15
15
  border: 1px solid var(--color-stroke-default);
16
- border-radius: @spacing-100;
16
+ border-radius: var(--spacing-100);
17
17
  box-shadow: 0 0 0 1px transparent;
18
18
  color: var(--color-foreground-primary);
19
19
  display: inline-flex;
20
- font-size: @font-size-14;
20
+ font-size: var(--font-size-default);
21
21
  justify-content: center;
22
- margin-right: @spacing-100;
22
+ margin-right: var(--spacing-100);
23
23
  margin-top: auto;
24
24
  max-width: var(--toggle-button-width-max);
25
25
  min-height: var(--toggle-button-height-min);
26
26
  min-width: var(--toggle-button-width-min);
27
- padding: 0 @spacing-200;
27
+ padding: 0 var(--spacing-200);
28
28
  vertical-align: top;
29
29
 
30
30
  &:focus-visible {
@@ -53,16 +53,16 @@
53
53
  }
54
54
 
55
55
  .toggle-button__icon {
56
- margin-bottom: @spacing-200;
57
- margin-right: @spacing-200;
58
- margin-top: @spacing-200;
56
+ margin-bottom: var(--spacing-200);
57
+ margin-right: var(--spacing-200);
58
+ margin-top: var(--spacing-200);
59
59
  }
60
60
 
61
61
  .toggle-button__image-container {
62
62
  align-self: center;
63
- margin-bottom: @spacing-200;
64
- margin-right: @spacing-200;
65
- margin-top: @spacing-200;
63
+ margin-bottom: var(--spacing-200);
64
+ margin-right: var(--spacing-200);
65
+ margin-top: var(--spacing-200);
66
66
  }
67
67
 
68
68
  .toggle-button__image-container svg.icon {
@@ -82,15 +82,15 @@
82
82
  }
83
83
 
84
84
  .toggle-button__title {
85
- font-size: @font-size-16;
85
+ font-size: var(--font-size-medium);
86
86
  font-weight: bold;
87
- line-height: @font-size-24;
88
- margin-bottom: @spacing-50;
89
- margin-top: @spacing-200;
87
+ line-height: var(--font-size-large-2);
88
+ margin-bottom: var(--spacing-50);
89
+ margin-top: var(--spacing-200);
90
90
  }
91
91
 
92
92
  .toggle-button__title:only-child {
93
- margin-bottom: @spacing-200;
93
+ margin-bottom: var(--spacing-200);
94
94
  }
95
95
 
96
96
  .toggle-button
@@ -111,8 +111,8 @@
111
111
 
112
112
  .toggle-button__subtitle {
113
113
  color: var(--color-foreground-secondary);
114
- line-height: @font-size-20;
115
- margin-bottom: @spacing-200;
114
+ line-height: var(--font-size-large-1);
115
+ margin-bottom: var(--spacing-200);
116
116
  }
117
117
 
118
118
  .toggle-button__subtitle p {
@@ -10,10 +10,10 @@
10
10
 
11
11
  .toggle-button-group li {
12
12
  display: inline-table;
13
- margin-bottom: @spacing-50;
14
- margin-left: @spacing-50;
15
- margin-right: @spacing-50;
16
- margin-top: @spacing-50;
13
+ margin-bottom: var(--spacing-50);
14
+ margin-left: var(--spacing-50);
15
+ margin-right: var(--spacing-50);
16
+ margin-top: var(--spacing-50);
17
17
  max-width: var(--toggle-button-width-max);
18
18
  min-height: var(--toggle-button-height-min);
19
19
  min-width: var(--toggle-button-width-min);
@@ -15,7 +15,7 @@ span.tooltip {
15
15
 
16
16
  display: none;
17
17
  left: 0 - 10px;
18
- margin-top: @spacing-200;
18
+ margin-top: var(--spacing-200);
19
19
  position: absolute;
20
20
  }
21
21
 
@@ -28,7 +28,7 @@ span.tourtip__mask {
28
28
  }
29
29
 
30
30
  .tourtip__cell {
31
- .bubble-cell(@tourtip-spacing: @spacing-200);
31
+ .bubble-cell(@tourtip-spacing: var(--spacing-200));
32
32
 
33
33
  flex-wrap: wrap;
34
34
 
@@ -114,9 +114,9 @@ button.tourtip__close > svg {
114
114
  }
115
115
 
116
116
  .tourtip__heading {
117
- font-size: @font-size-20;
117
+ font-size: var(--font-size-large-1);
118
118
  font-weight: bold;
119
- margin: 0 0 @spacing-100;
119
+ margin: 0 0 var(--spacing-100);
120
120
  }
121
121
 
122
122
  span.tourtip__heading {
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .bold-text {
38
- font-weight: @font-weight-bold;
38
+ font-weight: var(--font-weight-bold);
39
39
  }
40
40
 
41
41
  .secondary-text {
@@ -82,7 +82,7 @@
82
82
  .large-section-title,
83
83
  .medium-section-title,
84
84
  .small-section-title {
85
- font-weight: @font-weight-bold;
85
+ font-weight: var(--font-weight-bold);
86
86
  }
87
87
 
88
88
  @media (min-width: @_screen-size-SM) {
@@ -19,10 +19,10 @@
19
19
  @_page-grid-outside-margins-small: 16px;
20
20
  @_page-grid-outside-margins-large: 32px;
21
21
  @_page-grid-outside-margins-max: 48px;
22
- @_page-grid-column-gaps-small: @spacing-100;
23
- @_page-grid-column-gaps-large: @spacing-200;
24
- @_page-grid-row-gaps-small: @spacing-100;
25
- @_page-grid-row-gaps-large: @spacing-200;
22
+ @_page-grid-column-gaps-small: var(--spacing-100);
23
+ @_page-grid-column-gaps-large: var(--spacing-200);
24
+ @_page-grid-row-gaps-small: var(--spacing-100);
25
+ @_page-grid-row-gaps-large: var(--spacing-200);
26
26
 
27
27
  @marketsans-url: "https://ir.ebaystatic.com/cr/v/c1/market-sans/v1.0/";
28
28
  @marketsans-fontname: "Market Sans";
@@ -30,7 +30,7 @@
30
30
  @marketsans-filename-bold: "MarketSans-SemiBold-WebS";
31
31
 
32
32
  @font-family-default: @marketsans-fontname, Arial, sans-serif;
33
-
33
+ // TODO: remove these in next major version
34
34
  @font-weight-regular: 500;
35
35
  @font-weight-bold: 700;
36
36
 
@@ -55,6 +55,7 @@
55
55
  @spacing-250: @spacing-100 * 2.5;
56
56
  @spacing-300: @spacing-100 * 3;
57
57
  @spacing-400: @spacing-100 * 4;
58
+ @spacing-450: @spacing-100 * 4.5;
58
59
  @spacing-600: @spacing-100 * 6;
59
60
  @spacing-800: @spacing-100 * 8;
60
61
 
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .video-player__report-button > svg {
38
- margin-right: @spacing-50;
38
+ margin-inline-end: var(--spacing-50);
39
39
  }
40
40
 
41
41
  .video-player .shaka-overflow-menu svg {
@@ -67,10 +67,3 @@
67
67
  .video-player--poster .shaka-scrim-container {
68
68
  visibility: hidden;
69
69
  }
70
-
71
- [dir="rtl"] {
72
- .video-player__report-button > svg {
73
- margin-left: @spacing-50;
74
- margin-right: 0;
75
- }
76
- }
@@ -0,0 +1,24 @@
1
+ <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ fill-rule="evenodd"
4
+ clip-rule="evenodd"
5
+ d="M6.682 4.104a3.358 3.358 0 0 1-2.578 2.578l-2.467.53c-.85.182-.85 1.394 0 1.576l2.467.53a3.358 3.358 0 0 1 2.578 2.578l.53 2.467c.182.85 1.394.85 1.576 0l.53-2.467a3.358 3.358 0 0 1 2.578-2.578l2.467-.53c.85-.182.85-1.394 0-1.576l-2.467-.53a3.358 3.358 0 0 1-2.578-2.578l-.53-2.467c-.182-.85-1.394-.85-1.576 0l-.53 2.467ZM8 6.145A5.364 5.364 0 0 1 6.145 8 5.364 5.364 0 0 1 8 9.855 5.364 5.364 0 0 1 9.855 8 5.364 5.364 0 0 1 8 6.145Z"
6
+ fill="url(#ref-ai-spectrum-16-colored)"
7
+ />
8
+ <defs>
9
+ <linearGradient
10
+ id="ref-ai-spectrum-16-colored"
11
+ x1="21.21"
12
+ y1="11.161"
13
+ x2="11.274"
14
+ y2="21.774"
15
+ gradientUnits="userSpaceOnUse"
16
+ >
17
+ <stop offset=".098" stop-color="#FFD80E" />
18
+ <stop offset=".267" stop-color="#FF4242" />
19
+ <stop offset=".418" stop-color="#993EE0" />
20
+ <stop offset=".562" stop-color="#0968F6" />
21
+ <stop offset=".785" stop-color="#4EE04B" />
22
+ </linearGradient>
23
+ </defs>
24
+ </svg>
@@ -0,0 +1,24 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ fill-rule="evenodd"
4
+ clip-rule="evenodd"
5
+ d="M10 6.303A6.32 6.32 0 0 1 6.303 10 6.32 6.32 0 0 1 10 13.697 6.32 6.32 0 0 1 13.697 10 6.32 6.32 0 0 1 10 6.303Zm1.013-4.484c-.234-1.092-1.792-1.092-2.026 0L8.306 4.99A4.317 4.317 0 0 1 4.99 8.306l-3.172.681c-1.092.234-1.092 1.792 0 2.026l3.172.681a4.317 4.317 0 0 1 3.315 3.315l.681 3.172c.234 1.092 1.792 1.092 2.026 0l.681-3.172a4.317 4.317 0 0 1 3.315-3.315l3.172-.681c1.092-.234 1.092-1.792 0-2.026l-3.172-.681a4.317 4.317 0 0 1-3.315-3.315l-.681-3.172Z"
6
+ fill="url(#ref-ai-spectrum-20-colored)"
7
+ />
8
+ <defs>
9
+ <linearGradient
10
+ id="ref-ai-spectrum-20-colored"
11
+ x1="26.984"
12
+ y1="14.065"
13
+ x2="14.21"
14
+ y2="27.71"
15
+ gradientUnits="userSpaceOnUse"
16
+ >
17
+ <stop offset=".098" stop-color="#FFD80E" />
18
+ <stop offset=".267" stop-color="#FF4242" />
19
+ <stop offset=".418" stop-color="#993EE0" />
20
+ <stop offset=".562" stop-color="#0968F6" />
21
+ <stop offset=".785" stop-color="#4EE04B" />
22
+ </linearGradient>
23
+ </defs>
24
+ </svg>
@@ -0,0 +1,24 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ fill-rule="evenodd"
4
+ clip-rule="evenodd"
5
+ d="m12 5.76-.115.538a7.276 7.276 0 0 1-5.587 5.587L5.76 12l.537.115a7.276 7.276 0 0 1 5.587 5.587l.115.537.115-.537a7.276 7.276 0 0 1 5.587-5.587L18.24 12l-.537-.115a7.276 7.276 0 0 1-5.587-5.587L12 5.76ZM13.238 2c-.286-1.334-2.19-1.333-2.476 0l-.833 3.878a5.277 5.277 0 0 1-4.051 4.051L2 10.762c-1.335.286-1.334 2.19 0 2.476l3.877.833a5.277 5.277 0 0 1 4.051 4.051L10.762 22c.286 1.334 2.19 1.334 2.476 0l.833-3.878a5.277 5.277 0 0 1 4.051-4.051L22 13.238c1.334-.286 1.334-2.19 0-2.476l-3.878-.833a5.277 5.277 0 0 1-4.051-4.051L13.238 2Z"
6
+ fill="url(#ref-ai-spectrum-24-colored)"
7
+ />
8
+ <defs>
9
+ <linearGradient
10
+ id="ref-ai-spectrum-24-colored"
11
+ x1="32.758"
12
+ y1="16.968"
13
+ x2="17.145"
14
+ y2="33.645"
15
+ gradientUnits="userSpaceOnUse"
16
+ >
17
+ <stop offset=".098" stop-color="#FFD80E" />
18
+ <stop offset=".267" stop-color="#FF4242" />
19
+ <stop offset=".418" stop-color="#993EE0" />
20
+ <stop offset=".562" stop-color="#0968F6" />
21
+ <stop offset=".785" stop-color="#4EE04B" />
22
+ </linearGradient>
23
+ </defs>
24
+ </svg>
@@ -0,0 +1,22 @@
1
+ <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M8.788 1.637c-.182-.85-1.394-.85-1.576 0l-.53 2.467a3.358 3.358 0 0 1-2.578 2.578l-2.467.53c-.85.182-.85 1.394 0 1.576l2.467.53a3.358 3.358 0 0 1 2.578 2.578l.53 2.467c.182.85 1.394.85 1.576 0l.53-2.467a3.358 3.358 0 0 1 2.578-2.578l2.467-.53c.85-.182.85-1.394 0-1.576l-2.467-.53a3.358 3.358 0 0 1-2.578-2.578l-.53-2.467Z"
4
+ fill="url(#ref-ai-spectrum-filled-16-colored)"
5
+ />
6
+ <defs>
7
+ <linearGradient
8
+ id="ref-ai-spectrum-filled-16-colored"
9
+ x1="21.21"
10
+ y1="11.161"
11
+ x2="11.274"
12
+ y2="21.774"
13
+ gradientUnits="userSpaceOnUse"
14
+ >
15
+ <stop offset=".098" stop-color="#FFD80E" />
16
+ <stop offset=".267" stop-color="#FF4242" />
17
+ <stop offset=".418" stop-color="#993EE0" />
18
+ <stop offset=".562" stop-color="#0968F6" />
19
+ <stop offset=".785" stop-color="#4EE04B" />
20
+ </linearGradient>
21
+ </defs>
22
+ </svg>