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
728f5792
"dist/js/bootstrap.js" did not exist on "5ab72f76878a85f105702a24096268fea73fba2d"
Commit
728f5792
authored
7 years ago
by
Patrick Yeo
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Form Validation `.valid-feedback` and `.valid-tooltip` are unstyled (#23527)
parent
acaa6d6f
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/_forms.scss
+0
-22
scss/_forms.scss
scss/mixins/_forms.scss
+22
-0
scss/mixins/_forms.scss
with
22 additions
and
22 deletions
+22
-22
scss/_forms.scss
+
0
-
22
View file @
728f5792
...
@@ -258,28 +258,6 @@ select.form-control-lg {
...
@@ -258,28 +258,6 @@ select.form-control-lg {
// pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
// pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
// server side validation.
// server side validation.
.invalid-feedback
{
display
:
none
;
margin-top
:
.25rem
;
font-size
:
.875rem
;
color
:
$form-feedback-invalid-color
;
}
.invalid-tooltip
{
position
:
absolute
;
top
:
100%
;
z-index
:
5
;
display
:
none
;
width
:
250px
;
padding
:
.5rem
;
margin-top
:
.1rem
;
font-size
:
.875rem
;
line-height
:
1
;
color
:
#fff
;
background-color
:
rgba
(
$form-feedback-invalid-color
,.
8
);
border-radius
:
.2rem
;
}
@include
form-validation-state
(
"valid"
,
$form-feedback-valid-color
);
@include
form-validation-state
(
"valid"
,
$form-feedback-valid-color
);
@include
form-validation-state
(
"invalid"
,
$form-feedback-invalid-color
);
@include
form-validation-state
(
"invalid"
,
$form-feedback-invalid-color
);
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_forms.scss
+
22
-
0
View file @
728f5792
...
@@ -23,6 +23,28 @@
...
@@ -23,6 +23,28 @@
@mixin
form-validation-state
(
$state
,
$color
)
{
@mixin
form-validation-state
(
$state
,
$color
)
{
.
#{
$state
}
-feedback
{
display
:
none
;
margin-top
:
.25rem
;
font-size
:
.875rem
;
color
:
$color
;
}
.
#{
$state
}
-tooltip
{
position
:
absolute
;
top
:
100%
;
z-index
:
5
;
display
:
none
;
width
:
250px
;
padding
:
.5rem
;
margin-top
:
.1rem
;
font-size
:
.875rem
;
line-height
:
1
;
color
:
#fff
;
background-color
:
rgba
(
$color
,.
8
);
border-radius
:
.2rem
;
}
.form-control
,
.form-control
,
.custom-select
{
.custom-select
{
.
was-validated
&
:
#{
$state
}
,
.
was-validated
&
:
#{
$state
}
,
...
...
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