From 647e9eb0f192a18ee84b7e8a4ca162354d98cebb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 14 Dec 2013 21:43:08 -0800 Subject: [PATCH] Fixes #11555: Add `@tooltip-opacity` variable --- less/tooltip.less | 2 +- less/variables.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;