diff options
Add error state to the indeterminate checkbox
1 files changed, 6 insertions, 0 deletions
| -rw-r--r-- | docs/dist/spectre.css | 6 |
diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css index 9e0f99b..fc70e72 100644 --- a/docs/dist/spectre.css +++ b/docs/dist/spectre.css @@ -1290,6 +1290,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; } |