From 4693672cfff8eda28842567145f79b363519cb73 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 20 Jul 2018 18:21:40 -0500 Subject: [PATCH] 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. --- scss/mixins/_forms.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 7258e9d6e1..3a61878694 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,