Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-12-15 09:43:08 +0400
committerMark Otto <otto@github.com>2013-12-15 09:43:08 +0400
commit647e9eb0f192a18ee84b7e8a4ca162354d98cebb (patch)
tree8a41c352895ae9df002950a58135d89ef8dc67e7 /less
parent072ccd4ddad1dcf642e27497c5253ce578182719 (diff)
Fixes #11555: Add `@tooltip-opacity` variable
Diffstat (limited to 'less')
-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 ce793cb933..bd626996f9 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 a86e4e4b83..0c75d71f6c 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;