diff options
Add error state to the indeterminate checkbox
1 files changed, 6 insertions, 0 deletions
| -rw-r--r-- | docs/dist/spectre-rtl.css | 6 |
diff --git a/docs/dist/spectre-rtl.css b/docs/dist/spectre-rtl.css index 867c838..a73c2c5 100644 --- a/docs/dist/spectre-rtl.css +++ b/docs/dist/spectre-rtl.css @@ -1291,6 +1291,12 @@ textarea.form-input { box-shadow: 0 0 0 .1rem rgba(232, 86, 0, .2); } +.has-error .form-checkbox input:indeterminate + .form-icon, +.form-checkbox.is-error input:indeterminate + .form-icon { + background: #e85600; + border-color: #e85600; +} + .form-input:not(:placeholder-shown):invalid { border-color: #e85600; } |