Skip to content

Commit

Permalink
Adopt more Bootstrap v5 variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmunro-ltrr committed Aug 8, 2024
1 parent 8667fff commit 4dd9e76
Show file tree
Hide file tree
Showing 7 changed files with 366 additions and 347 deletions.
20 changes: 12 additions & 8 deletions dist/css/arizona-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2679,13 +2679,16 @@ progress {
}
.form-label {
margin-bottom: 0.5rem;
font-size: 1.125rem;
font-weight: 700;
}

.col-form-label {
padding-top: calc(0.375rem + var(--bs-border-width));
padding-bottom: calc(0.375rem + var(--bs-border-width));
margin-bottom: 0;
font-size: inherit;
font-weight: 700;
line-height: 1.5;
}

Expand Down Expand Up @@ -24853,15 +24856,16 @@ have been deprecated in Bootstrap 4.
cursor: pointer;
}

form label:not(.form-check-label) {
font-size: 18px;
font-weight: 700;
.col-form-label {
font-size: 1.125rem;
}

.col-form-label-lg {
font-size: 1.25rem;
}
form .custom-checkbox label,
form .custom-radio label,
form .custom-switch label {
font-size: initial;
font-weight: initial;

.col-form-label-sm {
font-size: 0.875rem;
}

/*# 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.

657 changes: 335 additions & 322 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions scss/_custom-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ $dropdown-link-active-bg: $white;
$dropdown-link-active-color: $blue;
$dropdown-link-disabled-color: $gray-600;

// >> Forms
// fusv-disable
$form-label-font-size: 1.125rem;
$form-label-font-weight: 700;
// fusv-enable

// >> Jumbotron
$jumbotron-bg: $white;
$jumbotron-padding: 2rem;
Expand Down
24 changes: 10 additions & 14 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
form {
legend.col-form-label,
label:not(.form-check-label) {
font-size: 1.125rem;
font-weight: 700;
}
.custom-checkbox,
.custom-radio,
.custom-switch {
label {
font-size: initial;
font-weight: initial;
}
}
.col-form-label {
@include font-size($form-label-font-size);
}

.col-form-label-lg {
@include font-size($input-font-size-lg);
}

.col-form-label-sm {
@include font-size($input-font-size-sm);
}

0 comments on commit 4dd9e76

Please sign in to comment.