From 77bb5324590fb6ec69783faa417fc17c92993258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Matall=C3=ADn?= Date: Tue, 28 Nov 2017 13:34:19 +0100 Subject: [PATCH] active > hover --- src/scss/cdb-components/forms/_option-input.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/scss/cdb-components/forms/_option-input.scss b/src/scss/cdb-components/forms/_option-input.scss index 1312deb..f83c999 100644 --- a/src/scss/cdb-components/forms/_option-input.scss +++ b/src/scss/cdb-components/forms/_option-input.scss @@ -146,15 +146,15 @@ padding: 0 $baseSize; border: 1px solid $cMainLine; + &:hover { + border: 1px solid $cBlueHover; + } + &.is-active, &:focus { border: 1px solid $cBlackHover; } - &:hover { - border: 1px solid $cBlueHover; - } - &:first-child { margin-right: 0; border-top-left-radius: 4px; @@ -186,14 +186,14 @@ content: ''; } + &:hover::after { + background-color: $cBlueHover; + } + &.is-active::after, &:focus::after { background-color: $cBlackHover; } - - &:hover::after { - background-color: $cBlueHover; - } } }