0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

use vars, fix indentation

This commit is contained in:
Mark Otto 2017-10-21 20:55:01 -07:00 committed by GitHub
parent 809ce6d6ef
commit 7eb8c54858

View File

@ -57,7 +57,7 @@
border-color: $color; border-color: $color;
&:focus { &:focus {
box-shadow: 0 0 0 .2rem rgba($color,.25); box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
} }
~ .#{$state}-feedback, ~ .#{$state}-feedback,
@ -87,7 +87,7 @@
} }
&:focus { &:focus {
~ .custom-control-indicator { ~ .custom-control-indicator {
box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $color; box-shadow: 0 0 0 1px $body-bg, 0 0 0 $input-btn-focus-width $color;
} }
~ .custom-control-description { ~ .custom-control-description {
color: $color; color: $color;
@ -105,8 +105,7 @@
&::before { border-color: inherit; } &::before { border-color: inherit; }
} }
&:focus { &:focus {
box-shadow: 0 0 0 .2rem rgba($color,.25); box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
} }
} }
} }