|
20 | 20 | --spectrum-button-focus-ring-thickness: var(--spectrum-focus-indicator-thickness);
|
21 | 21 | --spectrum-button-focus-indicator-color: var(--spectrum-focus-indicator-color);
|
22 | 22 |
|
| 23 | +<<<<<<< HEAD |
23 | 24 | --spectrum-button-min-width: calc(var(--spectrum-component-height-100) * var(--spectrum-button-minimum-width-multiplier));
|
24 | 25 | --spectrum-button-height: var(--spectrum-component-height-100);
|
25 | 26 |
|
|
47 | 48 | &.spectrum-Button--iconOnly {
|
48 | 49 | --spectrum-button-border-radius: var(--spectrum-corner-radius-full);
|
49 | 50 | }
|
| 51 | +======= |
| 52 | +<<<<<<< HEAD |
| 53 | + --mod-progress-circle-position: absolute; |
| 54 | +======= |
| 55 | + /* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties */ |
| 56 | + --spectrum-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down)); |
| 57 | +>>>>>>> 5a532e656 (feat(downstate): docs + implementation for example components (#2520)) |
| 58 | +>>>>>>> 8e9945253 (feat(downstate): docs + implementation for example components (#2520)) |
50 | 59 | }
|
51 | 60 |
|
52 | 61 | .spectrum-Button--sizeS {
|
|
64 | 73 | --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-75);
|
65 | 74 | --spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-75);
|
66 | 75 |
|
| 76 | +<<<<<<< HEAD |
67 | 77 | &.spectrum-Button--iconOnly {
|
68 | 78 | --spectrum-downstate-perspective: var(--spectrum-component-size-minimum-perspective-down);
|
69 | 79 | }
|
| 80 | +======= |
| 81 | + --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-75) - var(--spectrum-button-border-width)); |
| 82 | + --spectrum-button-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-75); |
| 83 | + --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-75) - var(--spectrum-button-border-width)); |
| 84 | + --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-75); |
| 85 | + --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-small); |
| 86 | + --spectrum-button-bottom-to-text: var(--spectrum-button-bottom-to-text-small); |
| 87 | + --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-75); |
| 88 | + --spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-75); |
| 89 | + |
| 90 | + &.spectrum-Button--iconOnly { |
| 91 | + --spectrum-downstate-perspective: var(--spectrum-component-size-minimum-perspective-down); |
| 92 | + } |
| 93 | +} |
| 94 | + |
| 95 | +.spectrum-Button--sizeM { |
| 96 | + --spectrum-button-min-width: calc(var(--spectrum-component-height-100) * var(--spectrum-button-minimum-width-multiplier)); |
| 97 | + |
| 98 | + --spectrum-button-border-radius: var(--spectrum-component-pill-edge-to-text-100); |
| 99 | + --spectrum-button-height: var(--spectrum-component-height-100); |
| 100 | + |
| 101 | + --spectrum-button-font-size: var(--spectrum-font-size-100); |
| 102 | + |
| 103 | + --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-100) - var(--spectrum-button-border-width)); |
| 104 | + --spectrum-button-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-100); |
| 105 | + --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-100) - var(--spectrum-button-border-width)); |
| 106 | + --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-100); |
| 107 | + --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-medium); |
| 108 | + --spectrum-button-bottom-to-text: var(--spectrum-button-bottom-to-text-medium); |
| 109 | + --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-100); |
| 110 | + --spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-100); |
| 111 | +>>>>>>> 8e9945253 (feat(downstate): docs + implementation for example components (#2520)) |
70 | 112 | }
|
71 | 113 |
|
72 | 114 | .spectrum-Button--sizeL {
|
|
358 | 400 | margin-inline-end: var(--mod-button-margin-right);
|
359 | 401 | margin-inline-start: var(--mod-button-margin-left);
|
360 | 402 |
|
| 403 | +<<<<<<< HEAD |
361 | 404 | .spectrum-Icon {
|
362 | 405 | /* Any block-size difference between the intended workflow icon size and actual icon used.
|
| 406 | +======= |
| 407 | + &:hover, |
| 408 | + &:active { |
| 409 | + box-shadow: none; |
| 410 | + } |
| 411 | +
|
| 412 | + &:active { |
| 413 | + transform: perspective(var(--spectrum-downstate-perspective)) translateZ(var(--spectrum-component-size-difference-down)); |
| 414 | + } |
| 415 | +
|
| 416 | + .spectrum-Icon { |
| 417 | + /* Any block-size difference between the intended workflow icon size and actual icon used. |
| 418 | +>>>>>>> 8e9945253 (feat(downstate): docs + implementation for example components (#2520)) |
363 | 419 | Helps support any existing use of smaller UI icons instead of intended Workflow icons. */
|
364 | 420 | --spectrum-button-icon-size-difference: max(0px, var(--spectrum-button-intended-icon-size) - var(--spectrum-icon-block-size, var(--spectrum-button-intended-icon-size)));
|
365 | 421 |
|
|
0 commit comments