mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Add missing transition to .form-select
(#34034)
A selectbox is styled in a very similar way as an input (`.form-control`), including border-color and box-shadow. So it can be assumed it should apply the same CSS transition for these properties when focused, but this was missing. Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
This commit is contained in:
parent
f9e3d01f30
commit
649c2bb0bf
@ -826,6 +826,8 @@ $form-select-font-size-sm: $input-font-size-sm !default;
|
|||||||
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
||||||
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
||||||
$form-select-font-size-lg: $input-font-size-lg !default;
|
$form-select-font-size-lg: $input-font-size-lg !default;
|
||||||
|
|
||||||
|
$form-select-transition: $input-transition !default;
|
||||||
// scss-docs-end form-select-variables
|
// scss-docs-end form-select-variables
|
||||||
|
|
||||||
// scss-docs-start form-range-variables
|
// scss-docs-start form-range-variables
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
border: $form-select-border-width solid $form-select-border-color;
|
border: $form-select-border-width solid $form-select-border-color;
|
||||||
@include border-radius($form-select-border-radius, 0);
|
@include border-radius($form-select-border-radius, 0);
|
||||||
@include box-shadow($form-select-box-shadow);
|
@include box-shadow($form-select-box-shadow);
|
||||||
|
@include transition($form-select-transition);
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user