Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1ee9cb04
Commit
1ee9cb04
authored
7 years ago
by
Andres Galante
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Adds variables for form validation messages (#24767)
parent
9a0bba9a
6 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25494
web pack
,
!25326
Adjust examples
,
!23207
#22402 : modal: new autofocus & keyboardBtnNav options
,
!17021
v4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_variables.scss
+2
-0
scss/_variables.scss
scss/mixins/_forms.scss
+2
-2
scss/mixins/_forms.scss
with
4 additions
and
2 deletions
+4
-2
scss/_variables.scss
+
2
-
0
View file @
1ee9cb04
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_forms.scss
+
2
-
2
View file @
1ee9cb04
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets