|
89 | 89 | }
|
90 | 90 | }
|
91 | 91 |
|
92 |
| -.x { |
93 |
| - border-radius: var(--spectrum-stepper-button-border-radius-reset); |
94 |
| -} |
95 |
| - |
96 | 92 | .spectrum-Stepper {
|
97 | 93 | position: relative;
|
98 | 94 | display: inline-flex;
|
|
173 | 169 | }
|
174 | 170 |
|
175 | 171 | /*** Quiet ***/
|
| 172 | + |
| 173 | +/* stylelint-disable-next-line selector-class-pattern -- .hide-stepper class is deprecated for S2 */ |
| 174 | +.spectrum-Stepper.spectrum-Stepper--quiet.hide-stepper .spectrum-Stepper-input { |
| 175 | + border-inline-end-width: 0; |
| 176 | + border-end-end-radius: 0; |
| 177 | +} |
| 178 | + |
176 | 179 | .spectrum-Stepper.spectrum-Stepper--quiet {
|
177 | 180 | --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color, var(--spectrum-stepper-border-color)));
|
178 | 181 |
|
|
182 | 185 | border-end-start-radius: 0;
|
183 | 186 | border-end-end-radius: 0;
|
184 | 187 |
|
185 |
| - &.hide-stepper .spectrum-Stepper-input { |
186 |
| - border-inline-end-width: 0; |
187 |
| - border-end-end-radius: 0; |
188 |
| - } |
189 |
| - |
190 | 188 | &::after {
|
191 | 189 | content: "";
|
192 | 190 | position: absolute;
|
|
279 | 277 | transition: border-color var(--mod-stepper-animation-duration, var(--spectrum-stepper-animation-duration)) ease-in-out;
|
280 | 278 | }
|
281 | 279 |
|
282 |
| -/* hide-stepper */ |
| 280 | +/* stylelint-disable-next-line selector-class-pattern -- .hide-stepper class is deprecated for S2 */ |
283 | 281 | .spectrum-Stepper.hide-stepper .spectrum-Stepper-input {
|
284 | 282 | border-start-end-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
|
285 | 283 | border-end-end-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
|
|
293 | 291 | --highcontrast-stepper-border-color-focus: Highlight;
|
294 | 292 | --highcontrast-stepper-border-color-focus-hover: Highlight;
|
295 | 293 | --highcontrast-stepper-border-color-keyboard-focus: CanvasText;
|
296 |
| - --highcontrast-stepper-button-background-color-default: Canvas; |
297 |
| - --highcontrast-stepper-button-background-color-hover: Canvas; |
298 |
| - --highcontrast-stepper-button-background-color-focus: Canvas; |
299 |
| - --highcontrast-stepper-button-background-color-keyboard-focus: Canvas; |
300 | 294 | --highcontrast-stepper-focus-indicator-color: Highlight;
|
301 | 295 |
|
302 | 296 | &.is-invalid {
|
|
305 | 299 | --highcontrast-stepper-border-color-focus: Highlight;
|
306 | 300 | --highcontrast-stepper-border-color-focus-hover: Highlight;
|
307 | 301 | --highcontrast-stepper-border-color-keyboard-focus: Highlight;
|
308 |
| - --highcontrast-infield-button-border-color: Highlight; |
309 | 302 | }
|
310 | 303 |
|
311 | 304 | &.is-disabled {
|
312 | 305 | --highcontrast-stepper-border-color: GrayText;
|
313 |
| - --highcontrast-infield-button-border-color: GrayText; |
314 | 306 | --highcontrast-stepper-buttons-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
|
315 | 307 | }
|
316 | 308 | }
|
|
0 commit comments