aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-07-20 18:21:40 -0500
committerGitHub <[email protected]>2018-07-20 18:21:40 -0500
commit4693672cfff8eda28842567145f79b363519cb73 (patch)
tree15782ec9abd4669a5f3534627f5a4ea6227e33d4
parent28b9bc068f502f01db1209b14133e492de0f7b8e (diff)
downloadbootstrap-4693672cfff8eda28842567145f79b363519cb73.tar.xz
bootstrap-4693672cfff8eda28842567145f79b363519cb73.zip
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.
-rw-r--r--scss/mixins/_forms.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss
index 7258e9d6e..3a6187869 100644
--- a/scss/mixins/_forms.scss
+++ b/scss/mixins/_forms.scss
@@ -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,