add validation styles for .form-control-file (#26181)

This commit is contained in:
Mark Otto 2018-04-23 21:54:40 -07:00 committed by GitHub
parent 755fdacd40
commit 793698a6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,16 @@
}
}
.form-control-file {
.was-validated &:#{$state},
&.is-#{$state} {
~ .#{$state}-feedback,
~ .#{$state}-tooltip {
display: block;
}
}
}
.form-check-input {
.was-validated &:#{$state},
&.is-#{$state} {