mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Redo the small custom select vars
— Sizing shorthand comes last — Add height var and put it to use
This commit is contained in:
parent
dc3af6711d
commit
ca44f5b03a
@ -176,14 +176,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.custom-select-sm {
|
.custom-select-sm {
|
||||||
|
height: $custom-select-height-sm;
|
||||||
padding-top: $custom-select-padding-y;
|
padding-top: $custom-select-padding-y;
|
||||||
padding-bottom: $custom-select-padding-y;
|
padding-bottom: $custom-select-padding-y;
|
||||||
font-size: $custom-select-sm-font-size;
|
font-size: $custom-select-font-size-sm;
|
||||||
|
|
||||||
// &:not([multiple]) {
|
|
||||||
// height: 26px;
|
|
||||||
// min-height: 26px;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -492,7 +492,8 @@ $custom-select-border-radius: $border-radius !default;
|
|||||||
$custom-select-focus-border-color: lighten($brand-primary, 25%) !default;
|
$custom-select-focus-border-color: lighten($brand-primary, 25%) !default;
|
||||||
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
|
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
|
||||||
|
|
||||||
$custom-select-sm-font-size: 75% !default;
|
$custom-select-font-size-sm: 75% !default;
|
||||||
|
$custom-select-height-sm: $input-height-sm !default;
|
||||||
|
|
||||||
$custom-file-height: 2.5rem !default;
|
$custom-file-height: 2.5rem !default;
|
||||||
$custom-file-width: 14rem !default;
|
$custom-file-width: 14rem !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user