mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Use box-shadow mixin for form controls (#30480)
This commit is contained in:
@@ -29,10 +29,10 @@
|
|||||||
background-color: $input-focus-bg;
|
background-color: $input-focus-bg;
|
||||||
border-color: $input-focus-border-color;
|
border-color: $input-focus-border-color;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
// Avoid using mixin so we can pass custom focus shadow properly
|
|
||||||
@if $enable-shadows {
|
@if $enable-shadows {
|
||||||
box-shadow: $input-box-shadow, $input-focus-box-shadow;
|
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
|
||||||
} @else {
|
} @else {
|
||||||
|
// Avoid using mixin so we can pass custom focus shadow properly
|
||||||
box-shadow: $input-focus-box-shadow;
|
box-shadow: $input-focus-box-shadow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user