mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Adds variables for form validation messages (#24767)
This commit is contained in:
parent
9a0bba9afa
commit
1ee9cb04bd
@ -515,6 +515,8 @@ $custom-file-text: (
|
|||||||
|
|
||||||
|
|
||||||
// Form validation
|
// Form validation
|
||||||
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
||||||
|
$form-feedback-font-size: $small-font-size !default;
|
||||||
$form-feedback-valid-color: theme-color("success") !default;
|
$form-feedback-valid-color: theme-color("success") !default;
|
||||||
$form-feedback-invalid-color: theme-color("danger") !default;
|
$form-feedback-invalid-color: theme-color("danger") !default;
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
.#{$state}-feedback {
|
.#{$state}-feedback {
|
||||||
display: none;
|
display: none;
|
||||||
margin-top: .25rem;
|
margin-top: $form-feedback-margin-top;
|
||||||
font-size: .875rem;
|
font-size: $form-feedback-font-size;
|
||||||
color: $color;
|
color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user