// 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;
// 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 {
}
.form-check-label {
+ font-weight: $label-font-weight; // Nick
margin-bottom: 0; // Override default `<label>` bottom margin
}
$input-btn-line-height: $line-height-base !default;
$input-btn-focus-width: .2rem !default;
-$input-btn-focus-color: rgba($component-active-bg, .25) !default;
+$input-btn-focus-color: rgba(darken($component-active-bg, 10%), .25) !default; //rgba($component-active-bg, .25) !default;
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
$input-btn-padding-y-sm: .25rem !default;
// Forms
+$label-font-weight: $font-weight-bold !default; // Nick
$label-margin-bottom: .5rem !default;
$input-padding-y: $input-btn-padding-y !default;
$input-bg: $white !default;
$input-disabled-bg: $gray-200 !default;
-$input-color: $gray-700 !default;
+$input-color: $black !default; //$gray-700 !default;
$input-border-color: $gray-400 !default;
$input-border-width: $input-btn-border-width !default;
$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
$input-border-radius-sm: $border-radius-sm !default;
$input-focus-bg: $input-bg !default;
-$input-focus-border-color: lighten($component-active-bg, 25%) !default;
+$input-focus-border-color: $gray-600 !default; //lighten($component-active-bg, 25%) !default;
$input-focus-color: $input-color !default;
$input-focus-width: $input-btn-focus-width !default;
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
div.row {
div.col-md-6 {
div.form-group {
- label(for="given-names") {'Given names *'}
+ label.form-label(for="given-names") {'Given names *'}
input.form-control#given-names(type="text" placeholder="Your given names" required="required" maxlength=256) {}
}
}
div.col-md-6 {
div.form-group {
- label(for="family-name") {'Family name'}
+ label.form-label(for="family-name") {'Family name'}
input.form-control#family-name(type="text" placeholder="Your family name" maxlength=256) {}
}
}
div.row {
div.col-md-6 {
div.form-group {
- label(for="email") {'Email *'}
+ label.form-label(for="email") {'Email *'}
input.form-control#email(type="email" placeholder="Your email address" required="required" maxlength=256) {}
}
}
div.col-md-6 {
div.form-group {
- label(for="password") {'Password *'}
+ label.form-label(for="password") {'Password *'}
input.form-control#password(type="password" placeholder="New password" required="required" minlength=8 maxlength=256) {}
}
}
}
div.row {
div.col-md-12 {
- div.form-check {
- input.form-check-input#contact-me(type="checkbox" checked="checked") {}
+ div.custom-control.custom-checkbox {
+ input.custom-control-input#contact-me(type="checkbox" checked="checked") {}
' '
- label.form-check-label(for="contact-me") {
+ label.custom-control-label(for="contact-me") {
'Contact me by email with updates and special offers'
}
}
div.row.align-items-center {
div.'col-md-6' {
div.form-group {
- label(for="verification-code") {'Verification code *'}
+ label.form-label(for="verification-code") {'Verification code *'}
input.form-control#verification-code(type="text" placeholder="Type the code shown to the right" required="required" minlength=6 maxlength=6) {}
}
}