diff options
| author | Andres Galante <[email protected]> | 2018-10-20 05:50:20 -0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-10-20 11:50:20 +0300 |
| commit | 5088f02730a38bf833db3a8ac1f3c53c154278bc (patch) | |
| tree | 915f2a15f444f8b7e7a215af1396f63ac29a9884 | |
| parent | a86aef0ae0388d51c433b93cd1c25ea27e0535b9 (diff) | |
| download | bootstrap-5088f02730a38bf833db3a8ac1f3c53c154278bc.tar.xz bootstrap-5088f02730a38bf833db3a8ac1f3c53c154278bc.zip | |
Add font weight options for form controls and custom select (#27343)
| -rw-r--r-- | scss/_custom-forms.scss | 2 | ||||
| -rw-r--r-- | scss/_forms.scss | 1 | ||||
| -rw-r--r-- | scss/_variables.scss | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 8ef2e87b0..0e46ad6c0 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -166,6 +166,7 @@ width: 100%; height: $custom-select-height; padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x; + font-weight: $custom-select-font-weight; line-height: $custom-select-line-height; color: $custom-select-color; vertical-align: middle; @@ -279,6 +280,7 @@ z-index: 1; height: $custom-file-height; padding: $custom-file-padding-y $custom-file-padding-x; + font-weight: $custom-file-font-weight; line-height: $custom-file-line-height; color: $custom-file-color; background-color: $custom-file-bg; diff --git a/scss/_forms.scss b/scss/_forms.scss index cd9a423f7..88c7c2f9d 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -10,6 +10,7 @@ height: $input-height; padding: $input-padding-y $input-padding-x; font-size: $font-size-base; + font-weight: $input-font-weight; line-height: $input-line-height; color: $input-color; background-color: $input-bg; diff --git a/scss/_variables.scss b/scss/_variables.scss index 78a532b42..d314acbab 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -426,6 +426,7 @@ $label-margin-bottom: .5rem !default; $input-padding-y: $input-btn-padding-y !default; $input-padding-x: $input-btn-padding-x !default; $input-font-size: $input-btn-font-size !default; +$input-font-weight: $font-weight-base !default; $input-line-height: $input-btn-line-height !default; $input-padding-y-sm: $input-btn-padding-y-sm !default; @@ -526,6 +527,7 @@ $custom-select-padding-y: .375rem !default; $custom-select-padding-x: .75rem !default; $custom-select-height: $input-height !default; $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator +$custom-select-font-weight: $input-font-weight !default; $custom-select-line-height: $input-line-height !default; $custom-select-color: $input-color !default; $custom-select-disabled-color: $gray-600 !default; @@ -582,6 +584,7 @@ $custom-file-disabled-bg: $input-disabled-bg !default; $custom-file-padding-y: $input-padding-y !default; $custom-file-padding-x: $input-padding-x !default; $custom-file-line-height: $input-line-height !default; +$custom-file-font-weight: $input-font-weight !default; $custom-file-color: $input-color !default; $custom-file-bg: $input-bg !default; $custom-file-border-width: $input-border-width !default; |
