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

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_tooltip.scss')
-rw-r--r--assets/stylesheets/bootstrap/_tooltip.scss9
1 files changed, 4 insertions, 5 deletions
diff --git a/assets/stylesheets/bootstrap/_tooltip.scss b/assets/stylesheets/bootstrap/_tooltip.scss
index 9379278..f0c1658 100644
--- a/assets/stylesheets/bootstrap/_tooltip.scss
+++ b/assets/stylesheets/bootstrap/_tooltip.scss
@@ -8,11 +8,11 @@
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-small;
- font-weight: normal;
- line-height: 1.4;
+
@include opacity(0);
&.in { @include opacity($tooltip-opacity); }
@@ -28,7 +28,6 @@
padding: 3px 8px;
color: $tooltip-color;
text-align: center;
- text-decoration: none;
background-color: $tooltip-bg;
border-radius: $border-radius-base;
}