mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 20:55:50 +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:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user