summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/less/tooltip.less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2014-11-12 15:34:02 -0500
committerThomas Park <thomas@thomaspark.me>2014-11-12 15:34:02 -0500
commit4e5b5fd0ee3d3e1856f32d5956cb7c8cc1029254 (patch)
treed32fa80285b3e7e0dd516794ccf382a706be2569 /bower_components/bootstrap/less/tooltip.less
parentfa6487a9732f63b66399829fe3463a6192a26554 (diff)
update bootstrap to 3.3.1
Diffstat (limited to 'bower_components/bootstrap/less/tooltip.less')
-rw-r--r--bower_components/bootstrap/less/tooltip.less16
1 files changed, 12 insertions, 4 deletions
diff --git a/bower_components/bootstrap/less/tooltip.less b/bower_components/bootstrap/less/tooltip.less
index bd626996..9c2a37fd 100644
--- a/bower_components/bootstrap/less/tooltip.less
+++ b/bower_components/bootstrap/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);
@@ -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;
}