| 1 |
.ka-woo-product-atc { |
| 2 |
display: inline-flex; |
| 3 |
align-items: center; |
| 4 |
gap: 10px; |
| 5 |
} |
| 6 |
|
| 7 |
.ka-woo-product-atc__button { |
| 8 |
display: inline-flex; |
| 9 |
align-items: center; |
| 10 |
gap: 8px; |
| 11 |
cursor: pointer; |
| 12 |
border: none; |
| 13 |
transition: background 0.2s ease, color 0.2s ease; |
| 14 |
} |
| 15 |
|
| 16 |
.ka-woo-product-atc__button.is-loading { |
| 17 |
opacity: 0.75; |
| 18 |
cursor: progress; |
| 19 |
} |
| 20 |
|
| 21 |
.ka-woo-product-atc__button.is-success { |
| 22 |
box-shadow: 0 0 0 1px #2ecc71 inset; |
| 23 |
} |
| 24 |
|
| 25 |
.ka-woo-product-atc__button.is-error { |
| 26 |
box-shadow: 0 0 0 1px #e74c3c inset; |
| 27 |
} |
| 28 |
|
| 29 |
.ka-woo-product-atc__qty input[type="number"] { |
| 30 |
width: 72px; |
| 31 |
padding: 8px; |
| 32 |
} |
| 33 |
|
| 34 |
.ka-woo-product-atc__notice { |
| 35 |
margin-top: 8px; |
| 36 |
font-size: 12px; |
| 37 |
opacity: 0.8; |
| 38 |
} |
| 39 |
|
| 40 |
.ka-woo-product-atc__state { |
| 41 |
font-size: 13px; |
| 42 |
margin-top: 8px; |
| 43 |
display: none; |
| 44 |
} |
| 45 |
|
| 46 |
.ka-woo-product-atc__state.is-visible { |
| 47 |
display: block; |
| 48 |
} |
| 49 |
|
| 50 |
.ka-woo-product-atc__state[data-state="success"] { |
| 51 |
color: #2ecc71; |
| 52 |
} |
| 53 |
|
| 54 |
.ka-woo-product-atc__state[data-state="error"] { |
| 55 |
color: #e74c3c; |
| 56 |
} |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|