1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 09:41:11 +00:00

Make form-check label customizable (#30426)

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
Catalin Zalog 2020-03-23 19:29:56 +02:00 committed by GitHub
parent 1b7e13f2a3
commit 8f84d4051b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -613,6 +613,7 @@ $form-check-input-width: 1.25em !default;
$form-check-min-height: $font-size-base * $line-height-base !default; $form-check-min-height: $font-size-base * $line-height-base !default;
$form-check-padding-left: $form-check-input-width + .5em !default; $form-check-padding-left: $form-check-input-width + .5em !default;
$form-check-margin-bottom: .125rem !default; $form-check-margin-bottom: .125rem !default;
$form-check-label-color: null !default;
$form-check-label-cursor: null !default; $form-check-label-cursor: null !default;
$form-check-input-active-filter: brightness(90%) !default; $form-check-input-active-filter: brightness(90%) !default;

View File

@ -100,6 +100,7 @@
.form-check-label { .form-check-label {
margin-bottom: 0; margin-bottom: 0;
color: $form-check-label-color;
cursor: $form-check-label-cursor; cursor: $form-check-label-cursor;
} }