diff options
| author | Sharrell Porter <[email protected]> | 2017-10-20 07:23:48 -0400 |
|---|---|---|
| committer | Sharrell Porter <[email protected]> | 2017-10-20 07:23:48 -0400 |
| commit | 809ce6d6ef231b771d2ba8356d8e5b89a0cdda07 (patch) | |
| tree | d3b6274664769eb390857c1fad23a5bd2b353dd5 | |
| parent | 4f814fabd6aa198df72e8263350fa60213d13176 (diff) | |
| download | bootstrap-809ce6d6ef231b771d2ba8356d8e5b89a0cdda07.tar.xz bootstrap-809ce6d6ef231b771d2ba8356d8e5b89a0cdda07.zip | |
Sass correction
| -rw-r--r-- | scss/mixins/_forms.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 3adbc1dd2..34405810a 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); + } } } |
