From e88024b9284c67f1e73bada30f6ba630d4e28dd4 Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Thu, 14 Jul 2016 15:51:34 +0200 Subject: [PATCH] fix opacity --- src/scss/cdb-components/forms/toggle.scss | 28 +++++++++++++++-------- src/scss/cdb-components/typography.scss | 3 --- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/scss/cdb-components/forms/toggle.scss b/src/scss/cdb-components/forms/toggle.scss index 3a08ccf..c41ac45 100644 --- a/src/scss/cdb-components/forms/toggle.scss +++ b/src/scss/cdb-components/forms/toggle.scss @@ -6,20 +6,24 @@ ``` -
- - - - +
+
+ + + + +

-
- - - - +
+
+ + + + +
``` */ @@ -66,3 +70,7 @@ } } } + +.Toggle .is-disabled { + opacity: 0.24; +} diff --git a/src/scss/cdb-components/typography.scss b/src/scss/cdb-components/typography.scss index 3d262fa..1487433 100644 --- a/src/scss/cdb-components/typography.scss +++ b/src/scss/cdb-components/typography.scss @@ -32,9 +32,6 @@ &.is-light { font-weight: $sFontWeight-lighter; } - &.is-disabled { - opacity: 0.24; - } } .is-underlined {