Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2015-06-19 09:56:43 +0300
committerMark Otto <markdotto@gmail.com>2015-06-19 09:56:43 +0300
commit169d2a4a78776ddaa4fec774691a3c5f03aa3eda (patch)
tree997248da2a627a3ef3478dd0f8f8077267c56e22 /scss/_tooltip.scss
parentdf2ca92d7704d54a15be54e5da8086712bd18680 (diff)
parent1e64692716985246f70c89bcf8d5119e17a353c0 (diff)
Merge branch 'master' into v4
Diffstat (limited to 'scss/_tooltip.scss')
-rw-r--r--scss/_tooltip.scss8
1 files changed, 3 insertions, 5 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index 7b15fe5a39..7093f956c6 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -8,11 +8,10 @@
position: absolute;
z-index: $zindex-tooltip;
display: block;
- // Reset font and text properties given new insertion method
- font-family: $font-family-base;
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
+ // So reset our font and text properties to avoid inheriting weird values.
+ @include reset-text();
font-size: $font-size-sm;
- font-weight: normal;
- line-height: 1.4;
opacity: 0;
&.in { opacity: $tooltip-opacity; }
@@ -77,7 +76,6 @@
padding: 3px 8px;
color: $tooltip-color;
text-align: center;
- text-decoration: none;
background-color: $tooltip-bg;
@include border-radius($border-radius-base);
}