aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-06 11:18:53 -0700
committerMark Otto <[email protected]>2013-08-06 11:18:53 -0700
commit2f1fcca6c541d45839d39fec94462625526e4bed (patch)
treea2549139cc53523dda3399a2d45323bf8917c943 /less
parentf266595092cd43aead1f6617933554110aeb46ac (diff)
downloadbootstrap-2f1fcca6c541d45839d39fec94462625526e4bed.tar.xz
bootstrap-2f1fcca6c541d45839d39fec94462625526e4bed.zip
Fixes #9145: Fix tooltip opacity
Update tooltips to not use RGBa colors so IE8 can have tooltips, too (means we're now using `opacity`).
Diffstat (limited to 'less')
-rw-r--r--less/tooltip.less2
-rw-r--r--less/variables.less2
2 files changed, 2 insertions, 2 deletions
diff --git a/less/tooltip.less b/less/tooltip.less
index 819b9dffd..5a95b8462 100644
--- a/less/tooltip.less
+++ b/less/tooltip.less
@@ -13,7 +13,7 @@
line-height: 1.4;
.opacity(0);
- &.in { .opacity(1); }
+ &.in { .opacity(.9); }
&.top { margin-top: -3px; padding: 5px 0; }
&.right { margin-left: 3px; padding: 0 5px; }
&.bottom { margin-top: 3px; padding: 5px 0; }
diff --git a/less/variables.less b/less/variables.less
index 06e1095dc..3a9430e2e 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -358,7 +358,7 @@
// -------------------------
@tooltip-max-width: 200px;
@tooltip-color: #fff;
-@tooltip-bg: rgba(0,0,0,.9);
+@tooltip-bg: #000;
@tooltip-arrow-width: 5px;
@tooltip-arrow-color: @tooltip-bg;