Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #1197 - Make form labels visually distinguishable from description text #1252

Merged
merged 12 commits into from
Aug 9, 2024
Merged
11 changes: 11 additions & 0 deletions dist/css/arizona-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -24853,4 +24853,15 @@ have been deprecated in Bootstrap 4.
cursor: pointer;
}

form label:not(.form-check-label) {
font-size: 18px;
font-weight: 700;
}
form .custom-checkbox label,
form .custom-radio label,
form .custom-switch label {
font-size: initial;
font-weight: initial;
}

/*# sourceMappingURL=arizona-bootstrap.css.map */
2 changes: 1 addition & 1 deletion dist/css/arizona-bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/arizona-bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/arizona-bootstrap.min.css.map

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
form {
label:not(.form-check-label) {
mmunro-ltrr marked this conversation as resolved.
Show resolved Hide resolved
font-size: 18px;
mmunro-ltrr marked this conversation as resolved.
Show resolved Hide resolved
font-weight: 700;
}
.custom-checkbox,
.custom-radio,
.custom-switch {
label {
font-size: initial;
font-weight: initial;
}
}
}
1 change: 1 addition & 0 deletions scss/arizona-bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,4 @@ $theme-colors: map-remove($theme-colors, "primary", "secondary");
@import "carousel";
@import "photo-gallery";
@import "color-contrast";
@import "forms";
Loading