aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;