diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-11-12 18:29:47 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-11-12 18:29:47 +0300 |
commit | f0fc412cf352ccace36012c0ef72f176ba16c8a2 (patch) | |
tree | d13a551e442d4264d785dac2318454d5550ab36c /assets/stylesheets/bootstrap/_tooltip.scss | |
parent | 5f1800ab526266469217ed7bcfd05bdce6eb0c92 (diff) |
rake convert
Diffstat (limited to 'assets/stylesheets/bootstrap/_tooltip.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_tooltip.scss | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/assets/stylesheets/bootstrap/_tooltip.scss b/assets/stylesheets/bootstrap/_tooltip.scss index dec674c..c6e4328 100644 --- a/assets/stylesheets/bootstrap/_tooltip.scss +++ b/assets/stylesheets/bootstrap/_tooltip.scss @@ -9,7 +9,10 @@ z-index: $zindex-tooltip; display: block; visibility: visible; + // Reset font and text propertes given new insertion method + font-family: $font-family-base; font-size: $font-size-small; + font-weight: normal; line-height: 1.4; @include opacity(0); @@ -39,6 +42,7 @@ border-color: transparent; border-style: solid; } +// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1 .tooltip { &.top .tooltip-arrow { bottom: 0; @@ -49,13 +53,15 @@ } &.top-left .tooltip-arrow { bottom: 0; - left: $tooltip-arrow-width; + right: $tooltip-arrow-width; + margin-bottom: -$tooltip-arrow-width; border-width: $tooltip-arrow-width $tooltip-arrow-width 0; border-top-color: $tooltip-arrow-color; } &.top-right .tooltip-arrow { bottom: 0; - right: $tooltip-arrow-width; + left: $tooltip-arrow-width; + margin-bottom: -$tooltip-arrow-width; border-width: $tooltip-arrow-width $tooltip-arrow-width 0; border-top-color: $tooltip-arrow-color; } @@ -82,13 +88,15 @@ } &.bottom-left .tooltip-arrow { top: 0; - left: $tooltip-arrow-width; + right: $tooltip-arrow-width; + margin-top: -$tooltip-arrow-width; border-width: 0 $tooltip-arrow-width $tooltip-arrow-width; border-bottom-color: $tooltip-arrow-color; } &.bottom-right .tooltip-arrow { top: 0; - right: $tooltip-arrow-width; + left: $tooltip-arrow-width; + margin-top: -$tooltip-arrow-width; border-width: 0 $tooltip-arrow-width $tooltip-arrow-width; border-bottom-color: $tooltip-arrow-color; } |