]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #11555: Add `@tooltip-opacity` variable
authorMark Otto <otto@github.com>
Sun, 15 Dec 2013 05:43:08 +0000 (21:43 -0800)
committerMark Otto <otto@github.com>
Sun, 15 Dec 2013 05:43:08 +0000 (21:43 -0800)
less/tooltip.less
less/variables.less

index ce793cb9338e190c9c9e8c115b7d288a98de7a2e..bd626996f9d3d669405d0969e7b8d6936f7e7edf 100644 (file)
@@ -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; }
index a86e4e4b833d4020061cc5976f0f073091b6d2d4..0c75d71f6cd48083a152d999804ae2b03b95be47 100644 (file)
 @tooltip-max-width:           200px;
 @tooltip-color:               #fff;
 @tooltip-bg:                  #000;
+@tooltip-opacity:             .9;
 
 @tooltip-arrow-width:         5px;
 @tooltip-arrow-color:         @tooltip-bg;