From 6a21f555c0d2a5cf8da9b15941019cfd277ee0f5 Mon Sep 17 00:00:00 2001 From: Nick Downing Date: Thu, 13 Jan 2022 03:01:56 +1100 Subject: [PATCH] Make sign up form styling more similar to how Bootstrap 3 used to be --- css/bootstrap/_custom-forms.scss | 1 + css/bootstrap/_forms.scss | 6 ++++++ css/bootstrap/_variables.scss | 7 ++++--- my_account/sign_up/index.html.jst | 16 ++++++++-------- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/css/bootstrap/_custom-forms.scss b/css/bootstrap/_custom-forms.scss index b3db8c4..c1b99a2 100644 --- a/css/bootstrap/_custom-forms.scss +++ b/css/bootstrap/_custom-forms.scss @@ -74,6 +74,7 @@ // Build the custom controls out of pseudo-elements. .custom-control-label { + font-weight: $label-font-weight; // Nick position: relative; margin-bottom: 0; color: $custom-control-label-color; diff --git a/css/bootstrap/_forms.scss b/css/bootstrap/_forms.scss index cde4663..a23625c 100644 --- a/css/bootstrap/_forms.scss +++ b/css/bootstrap/_forms.scss @@ -92,6 +92,11 @@ select.form-control { // Labels // +// Nick +.form-label { + font-weight: $label-font-weight; +} + // For use with horizontal and inline forms, when you need the label (or legend) // text to align with the form controls. .col-form-label { @@ -233,6 +238,7 @@ textarea.form-control { } .form-check-label { + font-weight: $label-font-weight; // Nick margin-bottom: 0; // Override default `