0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Update validation tooltips to use tooltip vars (#26887)

Updates the properties and values for which we have existing variables to match our tooltips. Come 4.2, we'll create new tooltips for these.
This commit is contained in:
Mark Otto 2018-07-20 18:21:40 -05:00 committed by GitHub
parent 28b9bc068f
commit 4693672cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,13 +41,13 @@
z-index: 5;
display: none;
max-width: 100%; // Contain to parent when possible
padding: .5rem;
padding: $tooltip-padding-y $tooltip-padding-x;
margin-top: .1rem;
font-size: .875rem;
line-height: 1;
color: $white;
background-color: rgba($color, .8);
border-radius: .2rem;
font-size: $tooltip-font-size;
line-height: $line-height-base;
color: color-yiq($color);
background-color: rgba($color, $tooltip-opacity);
@include border-radius($tooltip-border-radius);
}
.form-control,