0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +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;
&:focus {
box-shadow: 0 0 0 .2rem rgba($color,.25);
box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
}
~ .#{$state}-feedback,
@ -87,7 +87,7 @@
}
&:focus {
~ .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 {
color: $color;
@ -105,8 +105,7 @@
&::before { border-color: inherit; }
}
&:focus {
box-shadow: 0 0 0 .2rem rgba($color,.25);
box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
}
}
}