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:
authorMark Otto <markd.otto@gmail.com>2017-10-22 06:55:01 +0300
committerGitHub <noreply@github.com>2017-10-22 06:55:01 +0300
commit7eb8c54858eb43901c4e3583111f81a66bb35ea7 (patch)
treec9fbef22e8aa44fdef20bed3e40d7ef8c0ce5619 /scss
parent809ce6d6ef231b771d2ba8356d8e5b89a0cdda07 (diff)
use vars, fix indentation
Diffstat (limited to 'scss')
-rw-r--r--scss/mixins/_forms.scss7
1 files changed, 3 insertions, 4 deletions
diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss
index 34405810ac..88582ed86c 100644
--- a/scss/mixins/_forms.scss
+++ b/scss/mixins/_forms.scss
@@ -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);
}
}
}