@ebay/skin 19.15.0 → 19.16.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 (134) hide show
  1. package/dist/accordion/accordion.css +1 -10
  2. package/dist/alert-dialog/alert-dialog.css +1 -11
  3. package/dist/avatar/avatar.css +1 -19
  4. package/dist/badge/badge.css +1 -1
  5. package/dist/breadcrumbs/breadcrumbs.css +1 -14
  6. package/dist/bundles/skin-default.css +1199 -2123
  7. package/dist/bundles/skin-full.css +1307 -2221
  8. package/dist/bundles/skin-headless.css +741 -1874
  9. package/dist/button/button.css +70 -107
  10. package/dist/calendar/calendar.css +42 -39
  11. package/dist/card/card.css +3 -3
  12. package/dist/carousel/carousel.css +31 -28
  13. package/dist/ccd/ccd.css +2 -5
  14. package/dist/checkbox/checkbox.css +0 -14
  15. package/dist/chip/chip.css +1 -5
  16. package/dist/chips-combobox/chips-combobox.css +4 -21
  17. package/dist/combobox/combobox.css +49 -35
  18. package/dist/confirm-dialog/confirm-dialog.css +1 -11
  19. package/dist/cta-button/cta-button.css +2 -12
  20. package/dist/date-textbox/date-textbox.css +0 -4
  21. package/dist/details/details.css +34 -17
  22. package/dist/donut-chart/donut-chart.css +2 -10
  23. package/dist/drawer-dialog/drawer-dialog.css +1 -11
  24. package/dist/education-notice/education-notice.css +4 -16
  25. package/dist/eek/eek.css +2 -28
  26. package/dist/field/field.css +2 -25
  27. package/dist/file-input/file-input.css +4 -14
  28. package/dist/file-preview-card/file-preview-card.css +46 -43
  29. package/dist/file-preview-card-group/file-preview-card-group.css +0 -3
  30. package/dist/filter-button/filter-button.css +39 -53
  31. package/dist/filter-chip/filter-chip.css +41 -18
  32. package/dist/filter-menu/filter-menu.css +108 -82
  33. package/dist/filter-menu-button/filter-menu-button.css +107 -89
  34. package/dist/flag/flag.css +0 -253
  35. package/dist/floating-label/floating-label.css +4 -20
  36. package/dist/fullscreen-dialog/fullscreen-dialog.css +0 -10
  37. package/dist/global/global.css +2 -6
  38. package/dist/icon/icon.css +2 -2
  39. package/dist/icon-button/icon-button.css +71 -89
  40. package/dist/infotip/infotip.css +0 -24
  41. package/dist/inline-notice/inline-notice.css +0 -5
  42. package/dist/item-tile/item-tile.css +1 -0
  43. package/dist/layout-grid/layout-grid.css +0 -7
  44. package/dist/lightbox-dialog/lightbox-dialog.css +2 -24
  45. package/dist/link/link.css +0 -2
  46. package/dist/list/list.css +34 -32
  47. package/dist/listbox/listbox.css +45 -16
  48. package/dist/listbox-button/listbox-button.css +50 -35
  49. package/dist/menu/menu.css +70 -10
  50. package/dist/menu-button/menu-button.css +90 -39
  51. package/dist/mixins/_title.scss +1 -1
  52. package/dist/mixins/_typography.scss +9 -9
  53. package/dist/mixins/_utility.scss +1 -1
  54. package/dist/mixins/typography-mixins.less +10 -10
  55. package/dist/number-input/number-input.css +0 -16
  56. package/dist/page-grid/page-grid.css +0 -1
  57. package/dist/page-notice/page-notice.css +12 -33
  58. package/dist/pagination/pagination.css +39 -22
  59. package/dist/panel-dialog/panel-dialog.css +0 -14
  60. package/dist/phone-input/phone-input.css +5 -25
  61. package/dist/progress-bar/progress-bar.css +1 -6
  62. package/dist/progress-bar-expressive/progress-bar-expressive.css +4 -28
  63. package/dist/progress-spinner/progress-spinner.css +0 -2
  64. package/dist/progress-stepper/progress-stepper.css +7 -47
  65. package/dist/radio/radio.css +0 -14
  66. package/dist/section-notice/section-notice.css +5 -21
  67. package/dist/section-title/section-title.css +4 -16
  68. package/dist/segmented-buttons/segmented-buttons.css +37 -17
  69. package/dist/select/select.css +5 -17
  70. package/dist/selection-chip/selection-chip.css +30 -14
  71. package/dist/signal/signal.css +1 -1
  72. package/dist/skeleton/skeleton.css +3 -26
  73. package/dist/snackbar-dialog/snackbar-dialog.css +0 -11
  74. package/dist/star-rating/star-rating.css +0 -2
  75. package/dist/star-rating-select/star-rating-select.css +0 -7
  76. package/dist/svg/icon/icon-stepper-confirmation-24.svg +1 -1
  77. package/dist/svg/icon/icon-stepper-current-24.svg +1 -1
  78. package/dist/svg/icon/icon-stepper-upcoming-24.svg +1 -1
  79. package/dist/svg/icons.svg +3 -3
  80. package/dist/switch/switch.css +34 -19
  81. package/dist/table/table.css +4 -51
  82. package/dist/tabs/tabs.css +6 -1
  83. package/dist/textbox/textbox.css +18 -10
  84. package/dist/toast-dialog/toast-dialog.css +80 -49
  85. package/dist/toggle-button/toggle-button.css +7 -39
  86. package/dist/toggle-button-group/toggle-button-group.css +0 -16
  87. package/dist/tokens/evo-core.css +351 -165
  88. package/dist/tokens/evo-dark-class.css +127 -0
  89. package/dist/tokens/evo-dark.css +155 -100
  90. package/dist/tokens/evo-light-class.css +125 -0
  91. package/dist/tokens/evo-light.css +156 -97
  92. package/dist/tokens/evo-live-dark-class.css +125 -0
  93. package/dist/tokens/evo-live-dark.css +125 -0
  94. package/dist/tokens/evo-live-light-class.css +127 -0
  95. package/dist/tokens/evo-live-light.css +127 -0
  96. package/dist/tooltip/tooltip.css +0 -23
  97. package/dist/tourtip/tourtip.css +0 -27
  98. package/dist/typography/typography.css +8 -28
  99. package/dist/utility/utility.css +1 -8
  100. package/dist/video/video.css +0 -15
  101. package/evo-class.css +2 -0
  102. package/evo-class.js +2 -0
  103. package/evo-class.mjs +2 -0
  104. package/evo-live-class.css +2 -0
  105. package/evo-live-class.js +2 -0
  106. package/evo-live-class.mjs +2 -0
  107. package/evo-live.css +2 -0
  108. package/evo-live.js +2 -0
  109. package/evo-live.mjs +2 -0
  110. package/package.json +3 -5
  111. package/tokens/evo-dark-class.browser.json +1 -0
  112. package/tokens/evo-dark-class.css +1 -0
  113. package/tokens/evo-dark-class.js +1 -0
  114. package/tokens/evo-dark-class.mjs +1 -0
  115. package/tokens/evo-light-class.browser.json +1 -0
  116. package/tokens/evo-light-class.css +1 -0
  117. package/tokens/evo-light-class.js +1 -0
  118. package/tokens/evo-light-class.mjs +1 -0
  119. package/tokens/evo-live-dark-class.browser.json +1 -0
  120. package/tokens/evo-live-dark-class.css +1 -0
  121. package/tokens/evo-live-dark-class.js +1 -0
  122. package/tokens/evo-live-dark-class.mjs +1 -0
  123. package/tokens/evo-live-dark.browser.json +1 -0
  124. package/tokens/evo-live-dark.css +1 -0
  125. package/tokens/evo-live-dark.js +1 -0
  126. package/tokens/evo-live-dark.mjs +1 -0
  127. package/tokens/evo-live-light-class.browser.json +1 -0
  128. package/tokens/evo-live-light-class.css +1 -0
  129. package/tokens/evo-live-light-class.js +1 -0
  130. package/tokens/evo-live-light-class.mjs +1 -0
  131. package/tokens/evo-live-light.browser.json +1 -0
  132. package/tokens/evo-live-light.css +1 -0
  133. package/tokens/evo-live-light.js +1 -0
  134. package/tokens/evo-live-light.mjs +1 -0
@@ -2,11 +2,13 @@
2
2
  --dialog-scrim-color-hide: rgb(17 24 32 / 0);
3
3
  --dialog-scrim-color-show: rgb(17 24 32 / 0.7);
4
4
  --dialog-lightbox-max-width: 616px;
5
+ --state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
6
+ --state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
5
7
  }
6
8
  .toast-dialog {
7
9
  background-color: var(
8
10
  --toast-dialog-background-color,
9
- var(--color-background-information)
11
+ var(--color-background-accent)
10
12
  );
11
13
  border-top-left-radius: var(
12
14
  --toast-dialog-border-radius,
@@ -27,43 +29,36 @@
27
29
  will-change: opacity, transform;
28
30
  z-index: 2;
29
31
  }
30
-
31
32
  .toast-dialog,
32
33
  .toast-dialog a {
33
34
  color: var(
34
35
  --toast-dialog-foreground-color,
35
- var(--color-foreground-on-information)
36
+ var(--color-foreground-on-success)
36
37
  );
37
38
  }
38
-
39
39
  .toast-dialog a:focus {
40
40
  outline: 1px auto currentColor;
41
41
  }
42
-
43
42
  .toast-dialog--transition {
44
43
  transition:
45
44
  opacity 0.2s cubic-bezier(0.21, 0.31, 1, 1.22) 0s,
46
45
  transform 0.2s cubic-bezier(0.21, 0.31, 1, 1.22) 0s;
47
46
  }
48
-
49
47
  .toast-dialog--hide-init,
50
48
  .toast-dialog--show {
51
49
  display: block;
52
50
  opacity: 1;
53
51
  transform: translateY(0);
54
52
  }
55
-
56
53
  .toast-dialog--hide,
57
54
  .toast-dialog--show-init {
58
55
  display: block;
59
56
  opacity: 0;
60
57
  transform: translateY(110%);
61
58
  }
62
-
63
59
  .toast-dialog__window {
64
60
  padding: var(--spacing-100) var(--spacing-200) var(--spacing-200);
65
61
  }
66
-
67
62
  .toast-dialog__header {
68
63
  align-items: center;
69
64
  display: flex;
@@ -77,24 +72,48 @@ button.icon-btn.toast-dialog__close {
77
72
  border: 0;
78
73
  color: var(
79
74
  --toast-dialog-foreground-color,
80
- var(--color-foreground-on-information)
75
+ var(--color-foreground-on-success)
81
76
  );
82
77
  flex-shrink: 0;
83
78
  margin-inline-start: auto;
79
+ overflow: hidden;
84
80
  padding: 0;
81
+ position: relative;
82
+ }
83
+ button.icon-btn.toast-dialog__close:after {
84
+ background-color: var(--color-state-layer-neutral);
85
+ content: "";
86
+ inset: 0;
87
+ pointer-events: none;
88
+ position: absolute;
89
+ }
90
+ button.icon-btn.toast-dialog__close:not(
91
+ [disabled],
92
+ [aria-disabled="true"]
93
+ ):hover:after,
94
+ button.icon-btn.toast-dialog__close[href]:hover:after {
95
+ background-color: var(--color-state-layer-hover);
96
+ }
97
+ button.icon-btn.toast-dialog__close:not(
98
+ [disabled],
99
+ [aria-disabled="true"]
100
+ ):focus-visible:after,
101
+ button.icon-btn.toast-dialog__close[href]:focus-visible:after {
102
+ background-color: var(--color-state-layer-focus);
103
+ }
104
+ button.icon-btn.toast-dialog__close:not(
105
+ [disabled],
106
+ [aria-disabled="true"]
107
+ ):active:after,
108
+ button.icon-btn.toast-dialog__close[href]:active:after {
109
+ background-color: var(--color-state-layer-pressed);
85
110
  }
86
111
  button.icon-btn.toast-dialog__close:focus {
87
- outline: 2px solid var(--color-foreground-on-information);
112
+ outline: 2px solid var(--color-foreground-on-success);
88
113
  }
89
- button.icon-btn.toast-dialog__close:focus,
90
- button.icon-btn.toast-dialog__close:hover {
91
- color: var(--color-state-primary-hover);
92
- }
93
-
94
114
  button.icon-btn.toast-dialog__close > svg {
95
115
  fill: currentColor;
96
116
  }
97
-
98
117
  .toast-dialog__footer {
99
118
  display: flex;
100
119
  justify-content: flex-end;
@@ -108,6 +127,49 @@ button.icon-btn.toast-dialog__close > svg {
108
127
  --toast-dialog-foreground-color,
109
128
  var(--color-foreground-on-accent)
110
129
  );
130
+ overflow: hidden;
131
+ position: relative;
132
+ }
133
+ .toast-dialog__footer button.btn--primary:after,
134
+ .toast-dialog__footer button.btn--secondary:after {
135
+ background-color: var(--color-state-layer-neutral);
136
+ content: "";
137
+ inset: 0;
138
+ pointer-events: none;
139
+ position: absolute;
140
+ }
141
+ .toast-dialog__footer
142
+ button.btn--primary:not([disabled], [aria-disabled="true"]):hover:after,
143
+ .toast-dialog__footer button.btn--primary[href]:hover:after,
144
+ .toast-dialog__footer
145
+ button.btn--secondary:not([disabled], [aria-disabled="true"]):hover:after,
146
+ .toast-dialog__footer button.btn--secondary[href]:hover:after {
147
+ background-color: var(--color-state-layer-hover);
148
+ }
149
+ .toast-dialog__footer
150
+ button.btn--primary:not(
151
+ [disabled],
152
+ [aria-disabled="true"]
153
+ ):focus-visible:after,
154
+ .toast-dialog__footer button.btn--primary[href]:focus-visible:after,
155
+ .toast-dialog__footer
156
+ button.btn--secondary:not(
157
+ [disabled],
158
+ [aria-disabled="true"]
159
+ ):focus-visible:after,
160
+ .toast-dialog__footer button.btn--secondary[href]:focus-visible:after {
161
+ background-color: var(--color-state-layer-focus);
162
+ }
163
+ .toast-dialog__footer
164
+ button.btn--primary:not([disabled], [aria-disabled="true"]):active:after,
165
+ .toast-dialog__footer button.btn--primary[href]:active:after,
166
+ .toast-dialog__footer
167
+ button.btn--secondary:not([disabled], [aria-disabled="true"]):active:after,
168
+ .toast-dialog__footer button.btn--secondary[href]:active:after {
169
+ background-color: var(--color-state-layer-pressed);
170
+ }
171
+ .toast-dialog__footer button.btn--primary,
172
+ .toast-dialog__footer button.btn--secondary {
111
173
  border-style: solid;
112
174
  border-width: 1px;
113
175
  outline-offset: 2px;
@@ -130,39 +192,8 @@ button.icon-btn.toast-dialog__close > svg {
130
192
  }
131
193
  .toast-dialog__footer button.btn--primary:focus,
132
194
  .toast-dialog__footer button.btn--secondary:focus {
133
- outline: 2px solid var(--color-foreground-on-information);
134
- }
135
- .toast-dialog__footer button.btn--primary:not([disabled]):focus,
136
- .toast-dialog__footer button.btn--primary:not([disabled]):hover {
137
- background-color: var(--color-state-primary-hover);
138
- }
139
- .toast-dialog__footer button.btn--primary:not([disabled]):active {
140
- background-color: var(--color-state-primary-active);
141
- }
142
- .toast-dialog__footer button.btn--secondary:not([disabled]):focus,
143
- .toast-dialog__footer button.btn--secondary:not([disabled]):hover {
144
- background-color: var(--color-state-accent-hover);
145
- border-color: var(
146
- --toast-dialog-foreground-color,
147
- var(--color-foreground-on-accent)
148
- );
149
- color: var(
150
- --toast-dialog-foreground-color,
151
- var(--color-background-primary)
152
- );
153
- }
154
- .toast-dialog__footer button.btn--secondary:not([disabled]):active {
155
- background-color: var(--color-state-accent-active);
156
- border-color: var(
157
- --toast-dialog-foreground-color,
158
- var(--color-foreground-on-accent)
159
- );
160
- color: var(
161
- --toast-dialog-foreground-color,
162
- var(--color-background-primary)
163
- );
195
+ outline: 2px solid var(--color-foreground-on-success);
164
196
  }
165
-
166
197
  @media (min-width: 512px) {
167
198
  .toast-dialog {
168
199
  border-radius: var(
@@ -7,16 +7,15 @@
7
7
  --toggle-button-gallery-width-min: 168px;
8
8
  --toggle-button-gallery-width-max: 342px;
9
9
  }
10
-
11
10
  .toggle-button {
12
11
  background-color: var(--color-background-primary);
13
- border: 1px solid var(--color-stroke-default);
12
+ border: 1px solid var(--color-border-medium);
14
13
  border-radius: var(--spacing-100);
15
14
  box-shadow: 0 0 0 1px transparent;
16
15
  color: var(--color-foreground-primary);
17
16
  display: inline-flex;
18
17
  font-family: inherit;
19
- font-size: var(--font-size-default);
18
+ font-size: var(--font-size-body);
20
19
  justify-content: center;
21
20
  margin-right: var(--spacing-100);
22
21
  margin-top: auto;
@@ -31,71 +30,58 @@
31
30
  outline-style: outset;
32
31
  outline-width: 2px;
33
32
  }
34
-
35
33
  .toggle-button[aria-disabled="true"],
36
34
  .toggle-button[disabled] {
37
- border-color: var(--color-stroke-disabled);
35
+ border-color: var(--color-border-disabled);
38
36
  }
39
-
40
37
  .toggle-button * {
41
38
  pointer-events: none;
42
39
  }
43
-
44
40
  .toggle-button[aria-pressed="true"] {
45
41
  background-color: var(--color-background-secondary);
46
- border: 1px solid var(--color-stroke-strong);
47
- box-shadow: 0 0 0 1px var(--color-stroke-strong);
42
+ border: 1px solid var(--color-border-strong);
43
+ box-shadow: 0 0 0 1px var(--color-border-strong);
48
44
  font-weight: 700;
49
45
  }
50
-
51
46
  .toggle-button[aria-disabled="true"][aria-pressed="true"],
52
47
  .toggle-button[disabled][aria-pressed="true"] {
53
- border-color: var(--color-stroke-disabled);
54
- box-shadow: 0 0 0 1px var(--color-stroke-disabled);
48
+ border-color: var(--color-border-disabled);
49
+ box-shadow: 0 0 0 1px var(--color-border-disabled);
55
50
  }
56
-
57
51
  .toggle-button:not([aria-disabled="true"], [disabled]):hover {
58
52
  background-color: var(--state-layer-hover);
59
53
  }
60
-
61
54
  .toggle-button:not([aria-disabled="true"], [disabled]):active {
62
55
  background-color: var(--state-layer-pressed);
63
56
  }
64
-
65
57
  .toggle-button__content {
66
58
  align-self: center;
67
59
  display: flex;
68
60
  flex-direction: column;
69
61
  text-align: left;
70
62
  }
71
-
72
63
  .toggle-button__icon,
73
64
  .toggle-button__image-container {
74
65
  margin-bottom: var(--spacing-200);
75
66
  margin-right: var(--spacing-200);
76
67
  margin-top: var(--spacing-200);
77
68
  }
78
-
79
69
  .toggle-button__image-container {
80
70
  align-self: center;
81
71
  }
82
-
83
72
  .toggle-button__image-container svg.icon {
84
73
  height: 100%;
85
74
  }
86
-
87
75
  .toggle-button__image-container img {
88
76
  height: 100%;
89
77
  max-height: 56px;
90
78
  max-width: 56px;
91
79
  }
92
-
93
80
  .toggle-button__image {
94
81
  display: inline-block;
95
82
  height: 56px;
96
83
  width: 56px;
97
84
  }
98
-
99
85
  .toggle-button__title {
100
86
  font-size: var(--font-size-medium);
101
87
  font-weight: 700;
@@ -103,16 +89,13 @@
103
89
  margin-bottom: var(--spacing-50);
104
90
  margin-top: var(--spacing-200);
105
91
  }
106
-
107
92
  .toggle-button__title:only-child {
108
93
  margin-bottom: var(--spacing-200);
109
94
  }
110
-
111
95
  .toggle-button[aria-disabled="true"] .toggle-button__title,
112
96
  .toggle-button[disabled] .toggle-button__title {
113
97
  color: var(--color-foreground-disabled);
114
98
  }
115
-
116
99
  .toggle-button
117
100
  .toggle-button__content:only-child
118
101
  .toggle-button__title:only-child {
@@ -122,33 +105,27 @@
122
105
  text-align: center;
123
106
  width: 100%;
124
107
  }
125
-
126
108
  .toggle-button:not([aria-pressed="true"])
127
109
  .toggle-button__content:only-child
128
110
  .toggle-button__title:only-child {
129
111
  font-weight: 400;
130
112
  }
131
-
132
113
  .toggle-button__subtitle {
133
114
  color: var(--color-foreground-secondary);
134
115
  line-height: var(--font-size-large-1);
135
116
  margin-bottom: var(--spacing-200);
136
117
  }
137
-
138
118
  .toggle-button[aria-disabled="true"] .toggle-button__subtitle,
139
119
  .toggle-button[disabled] .toggle-button__subtitle {
140
120
  color: var(--color-foreground-disabled);
141
121
  }
142
-
143
122
  .toggle-button__subtitle p {
144
123
  margin: 0;
145
124
  }
146
-
147
125
  .toggle-button[aria-pressed="true"] .toggle-button__subtitle {
148
126
  color: var(--color-foreground-primary);
149
127
  font-weight: 400;
150
128
  }
151
-
152
129
  .toggle-button[aria-disabled="true"][aria-pressed="true"]
153
130
  .toggle-button__subtitle,
154
131
  .toggle-button[disabled][aria-pressed="true"] .toggle-button__subtitle {
@@ -159,37 +136,31 @@
159
136
  max-width: var(--toggle-button-list-width-max);
160
137
  min-width: var(--toggle-button-list-width-min);
161
138
  }
162
-
163
139
  .toggle-button--list-layout .toggle-button__content:not(:only-child),
164
140
  .toggle-button--list-layout .toggle-button__image-container {
165
141
  align-self: self-start;
166
142
  }
167
-
168
143
  .toggle-button--gallery-layout {
169
144
  flex-direction: column;
170
145
  justify-content: left;
171
146
  max-width: var(--toggle-button-gallery-width-max);
172
147
  min-width: var(--toggle-button-gallery-width-min);
173
148
  }
174
-
175
149
  .toggle-button--gallery-layout .toggle-button__content {
176
150
  align-self: self-start;
177
151
  }
178
-
179
152
  .toggle-button--gallery-layout .toggle-button__icon,
180
153
  .toggle-button--gallery-layout .toggle-button__image-container {
181
154
  margin-bottom: 0;
182
155
  margin-right: 0;
183
156
  text-align: left;
184
157
  }
185
-
186
158
  .toggle-button--gallery-layout .toggle-button__image-container {
187
159
  padding-bottom: 60%;
188
160
  position: relative;
189
161
  text-align: center;
190
162
  width: 100%;
191
163
  }
192
-
193
164
  .toggle-button--gallery-layout .toggle-button__image {
194
165
  bottom: 0;
195
166
  height: 100%;
@@ -199,7 +170,6 @@
199
170
  top: 0;
200
171
  width: 100%;
201
172
  }
202
-
203
173
  .toggle-button[aria-disabled="true"] .toggle-button__icon,
204
174
  .toggle-button[aria-disabled="true"] .toggle-button__image,
205
175
  .toggle-button[disabled] .toggle-button__icon,
@@ -207,13 +177,11 @@
207
177
  filter: grayscale(1);
208
178
  opacity: 0.5;
209
179
  }
210
-
211
180
  .toggle-button--gallery-layout .toggle-button__image-container img {
212
181
  height: 100%;
213
182
  max-height: 200px;
214
183
  max-width: none;
215
184
  }
216
-
217
185
  .toggle-button--gallery-layout .toggle-button__icon ~ .toggle-button__content {
218
186
  align-self: flex-start;
219
187
  }
@@ -15,11 +15,9 @@
15
15
  --row-gallery-toggle-buttons-md: 4;
16
16
  --row-gallery-toggle-buttons-xl: 6;
17
17
  }
18
-
19
18
  .toggle-button-group {
20
19
  container: toggle-buttons-container/inline-size;
21
20
  }
22
-
23
21
  @supports not (contain: inline-size) {
24
22
  @media (max-width: 320px) {
25
23
  .toggle-button-group[data-columns-min="1"] ul {
@@ -54,13 +52,11 @@
54
52
  padding: 0;
55
53
  width: 100%;
56
54
  }
57
-
58
55
  .toggle-button-group li {
59
56
  display: inline-block;
60
57
  min-height: var(--toggle-button-height-min);
61
58
  width: 100%;
62
59
  }
63
-
64
60
  .toggle-button-group .toggle-button {
65
61
  height: 100%;
66
62
  margin: 0;
@@ -70,42 +66,34 @@
70
66
  .toggle-button-group--list-layout ul {
71
67
  grid-template-columns: repeat(var(--row-list-toggle-buttons-min), 1fr);
72
68
  }
73
-
74
69
  .toggle-button-group--list-layout .toggle-button {
75
70
  justify-content: left;
76
71
  max-width: 100%;
77
72
  min-width: auto;
78
73
  }
79
-
80
74
  .toggle-button-group--gallery-layout ul {
81
75
  grid-template-columns: repeat(var(--row-gallery-toggle-buttons-min), 1fr);
82
76
  }
83
-
84
77
  .toggle-button-group--gallery-layout li {
85
78
  max-width: 100%;
86
79
  }
87
-
88
80
  .toggle-button-group--gallery-layout .toggle-button {
89
81
  flex-direction: column;
90
82
  max-width: 100%;
91
83
  min-width: auto;
92
84
  }
93
-
94
85
  .toggle-button-group--list-layout .toggle-button__content:not(:only-child),
95
86
  .toggle-button-group--list-layout .toggle-button__image-container {
96
87
  align-self: flex-start;
97
88
  }
98
-
99
89
  .toggle-button-group--gallery-layout .toggle-button {
100
90
  justify-content: flex-start;
101
91
  }
102
-
103
92
  .toggle-button-group--gallery-layout .toggle-button__icon,
104
93
  .toggle-button-group--gallery-layout .toggle-button__image {
105
94
  margin-bottom: 0;
106
95
  margin-right: 0;
107
96
  }
108
-
109
97
  .toggle-button-group--gallery-layout
110
98
  .toggle-button__icon
111
99
  ~ .toggle-button__content,
@@ -114,21 +102,18 @@
114
102
  ~ .toggle-button__content {
115
103
  align-self: flex-start;
116
104
  }
117
-
118
105
  .toggle-button-group--gallery-layout .toggle-button__icon,
119
106
  .toggle-button-group--gallery-layout .toggle-button__image-container {
120
107
  margin-bottom: 0;
121
108
  margin-right: 0;
122
109
  text-align: left;
123
110
  }
124
-
125
111
  .toggle-button-group--gallery-layout .toggle-button__image-container {
126
112
  padding-bottom: 60%;
127
113
  position: relative;
128
114
  text-align: center;
129
115
  width: 100%;
130
116
  }
131
-
132
117
  .toggle-button-group--gallery-layout .toggle-button__image {
133
118
  bottom: 0;
134
119
  height: 100%;
@@ -138,7 +123,6 @@
138
123
  top: 0;
139
124
  width: 100%;
140
125
  }
141
-
142
126
  .toggle-button-group--gallery-layout .toggle-button__image-container img {
143
127
  height: 100%;
144
128
  max-height: 200px;