diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 8ef2e87b0be5..0e46ad6c008c 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 cd9a423f7bf2..88c7c2f9d768 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 78a532b425d3..d314acbab7e1 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;