mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +01:00
fix focus shadows, if enabled
This commit is contained in:
parent
3fa312ccdf
commit
b77b874265
@ -12,15 +12,15 @@
|
|||||||
.custom-control {
|
.custom-control {
|
||||||
color: $color;
|
color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the border and box shadow on specific inputs to match
|
// Set the border and box shadow on specific inputs to match
|
||||||
.form-control {
|
.form-control {
|
||||||
border-color: $color;
|
border-color: $color;
|
||||||
// @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
|
||||||
|
|
||||||
&:focus {
|
@if $enable-rounded {
|
||||||
// border-color: darken($border-color, 10%);
|
&:focus {
|
||||||
// $shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%);
|
box-shadow: $input-box-shadow, 0 0 6px lighten($color, 20%)
|
||||||
// @include box-shadow($shadow);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user