From 87edaf295c44bbd5fa6ae4a435a27e8c8fc8e9eb Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Thu, 30 Oct 2014 16:33:14 +0100 Subject: Fix #14936: Use correct left/right and margin on tooltip arrows --- less/tooltip.less | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'less/tooltip.less') diff --git a/less/tooltip.less b/less/tooltip.less index bd626996f..ecab304b8 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -49,13 +49,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 +84,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; } -- cgit v1.2.3 From da3870feacc64c337f4b298a79cb115d9fbb4194 Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Wed, 5 Nov 2014 00:09:56 +0100 Subject: Deprecate diagonal tooltip classes --- less/tooltip.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/tooltip.less') diff --git a/less/tooltip.less b/less/tooltip.less index ecab304b8..8f7fcbebc 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -39,6 +39,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; -- cgit v1.2.3 From 2862c30320e8a1c0499f4bd83141e0c6cd959f1e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 7 Nov 2014 22:17:39 -0800 Subject: Fixes #15046: Add full font overrides for popovers and tooltips --- less/tooltip.less | 3 +++ 1 file changed, 3 insertions(+) (limited to 'less/tooltip.less') diff --git a/less/tooltip.less b/less/tooltip.less index 8f7fcbebc..9c2a37fd4 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -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; .opacity(0); -- cgit v1.2.3