diff options
| author | Andres Galante <[email protected]> | 2017-11-14 22:32:08 -0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-11-15 03:32:08 +0200 |
| commit | 1ee9cb04bd12a9eb17d1cc55c2d8b7b93c6c8ae3 (patch) | |
| tree | 8e5102945b888aae18af3b8c717914f431a524ef | |
| parent | 9a0bba9afa039308e84442a2b329bf64f5678a00 (diff) | |
| download | bootstrap-1ee9cb04bd12a9eb17d1cc55c2d8b7b93c6c8ae3.tar.xz bootstrap-1ee9cb04bd12a9eb17d1cc55c2d8b7b93c6c8ae3.zip | |
Adds variables for form validation messages (#24767)
| -rw-r--r-- | scss/_variables.scss | 2 | ||||
| -rw-r--r-- | scss/mixins/_forms.scss | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 99a5179a8..acea370fb 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -515,6 +515,8 @@ $custom-file-text: ( // 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-invalid-color: theme-color("danger") !default; diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index cea803de3..9fe889cf5 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -30,8 +30,8 @@ .#{$state}-feedback { display: none; - margin-top: .25rem; - font-size: .875rem; + margin-top: $form-feedback-margin-top; + font-size: $form-feedback-font-size; color: $color; } |
