1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +02: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

View File

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