From 95ea1a1a1f20d6c352ce959ac4011e88f35e684b Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Thu, 8 Feb 2018 10:48:44 +0100 Subject: [PATCH] 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; + } +}