From 95ea1a1a1f20d6c352ce959ac4011e88f35e684b Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Thu, 8 Feb 2018 10:48:44 +0100 Subject: [PATCH 1/2] Better color for disabled & checked checkbox --- src/scss/cdb-components/forms/_checkbox.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/scss/cdb-components/forms/_checkbox.scss b/src/scss/cdb-components/forms/_checkbox.scss index 5202f46..f9f932b 100644 --- a/src/scss/cdb-components/forms/_checkbox.scss +++ b/src/scss/cdb-components/forms/_checkbox.scss @@ -111,3 +111,14 @@ opacity: 0; } } + +.CDB-Checkbox:checked:disabled + .CDB-Checkbox-face { + border: 1px solid $cSecondaryLine; + background: $cThirdBackground; + + &::before, + &::after { + opacity: 1; + background: $cAltText; + } +} From 85928ff84f12f03183ab48ba69efc4cb893e79fd Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Thu, 8 Feb 2018 10:54:02 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scss/cdb-components/forms/_checkbox.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/cdb-components/forms/_checkbox.scss b/src/scss/cdb-components/forms/_checkbox.scss index f9f932b..23e488b 100644 --- a/src/scss/cdb-components/forms/_checkbox.scss +++ b/src/scss/cdb-components/forms/_checkbox.scss @@ -118,7 +118,7 @@ &::before, &::after { - opacity: 1; background: $cAltText; + opacity: 1; } }