1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Form Validation .valid-feedback and .valid-tooltip are unstyled (#23527)

This commit is contained in:
Patrick Yeo
2017-10-02 20:37:28 -07:00
committed by Mark Otto
parent acaa6d6f23
commit 728f579286
2 changed files with 22 additions and 22 deletions

View File

@@ -23,6 +23,28 @@
@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,
.custom-select {
.was-validated &:#{$state},