0
0
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:
Mark Otto 2017-04-22 11:56:27 -07:00
parent dc3af6711d
commit ca44f5b03a
2 changed files with 4 additions and 7 deletions

View File

@ -176,14 +176,10 @@
}
.custom-select-sm {
height: $custom-select-height-sm;
padding-top: $custom-select-padding-y;
padding-bottom: $custom-select-padding-y;
font-size: $custom-select-sm-font-size;
// &:not([multiple]) {
// height: 26px;
// min-height: 26px;
// }
font-size: $custom-select-font-size-sm;
}

View File

@ -492,7 +492,8 @@ $custom-select-border-radius: $border-radius !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-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-width: 14rem !default;