From 809ce6d6ef231b771d2ba8356d8e5b89a0cdda07 Mon Sep 17 00:00:00 2001 From: Sharrell Porter Date: Fri, 20 Oct 2017 07:23:48 -0400 Subject: [PATCH] Sass correction --- scss/mixins/_forms.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 3adbc1dd21..34405810ac 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -84,7 +84,10 @@ &.is-#{$state} { ~ .custom-control-indicator { background-color: rgba($color, .25); - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dc3545; + } + &:focus { + ~ .custom-control-indicator { + box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $color; } ~ .custom-control-description { color: $color; @@ -103,6 +106,7 @@ } &:focus { box-shadow: 0 0 0 .2rem rgba($color,.25); + } } }