Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorSharrell Porter <SharrellPorter@example.com>2017-10-20 14:23:48 +0300
committerSharrell Porter <SharrellPorter@example.com>2017-10-20 14:23:48 +0300
commit809ce6d6ef231b771d2ba8356d8e5b89a0cdda07 (patch)
treed3b6274664769eb390857c1fad23a5bd2b353dd5 /scss
parent4f814fabd6aa198df72e8263350fa60213d13176 (diff)
Sass correction
Diffstat (limited to 'scss')
-rw-r--r--scss/mixins/_forms.scss6
1 files changed, 5 insertions, 1 deletions
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);
+
}
}
}