From c0c33a6586647d3c5c5eb680593ba85806deb19a Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 18 Jun 2018 17:57:44 +0800 Subject: Add error state to the indeterminate checkbox --- docs/dist/spectre.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/dist/spectre.css') 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; } -- cgit v1.3.1-26-gb76a