aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 21:43:08 -0800
committerMark Otto <[email protected]>2013-12-14 21:43:08 -0800
commit647e9eb0f192a18ee84b7e8a4ca162354d98cebb (patch)
tree8a41c352895ae9df002950a58135d89ef8dc67e7
parent072ccd4ddad1dcf642e27497c5253ce578182719 (diff)
downloadbootstrap-647e9eb0f192a18ee84b7e8a4ca162354d98cebb.tar.xz
bootstrap-647e9eb0f192a18ee84b7e8a4ca162354d98cebb.zip
Fixes #11555: Add `@tooltip-opacity` variable
-rw-r--r--less/tooltip.less2
-rw-r--r--less/variables.less1
2 files changed, 2 insertions, 1 deletions
diff --git a/less/tooltip.less b/less/tooltip.less
index ce793cb93..bd626996f 100644
--- a/less/tooltip.less
+++ b/less/tooltip.less
@@ -13,7 +13,7 @@
line-height: 1.4;
.opacity(0);
- &.in { .opacity(.9); }
+ &.in { .opacity(@tooltip-opacity); }
&.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
&.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
&.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
diff --git a/less/variables.less b/less/variables.less
index a86e4e4b8..0c75d71f6 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -405,6 +405,7 @@
@tooltip-max-width: 200px;
@tooltip-color: #fff;
@tooltip-bg: #000;
+@tooltip-opacity: .9;
@tooltip-arrow-width: 5px;
@tooltip-arrow-color: @tooltip-bg;