]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add vars for tooltip customization via background and color
authorMark Otto <markotto@twitter.com>
Tue, 10 Jul 2012 07:36:21 +0000 (00:36 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 10 Jul 2012 07:36:21 +0000 (00:36 -0700)
less/tooltip.less
less/variables.less

index 89143decab999615e4c11dd49ed417269c8a1619..fba1856f581de9c6e88f555c7ffdc702d69ff151 100644 (file)
 .tooltip-inner {
   max-width: 200px;
   padding: 3px 8px;
-  color: @white;
+  color: @tooltipColor;
   text-align: center;
   text-decoration: none;
-  background-color: @black;
+  background-color: @tooltipBackground;
   .border-radius(4px);
 }
 
index 394d10636c77feb0f20d71539fe83210e0a489e5..725100443bc8123046f97d5f4630b601207ba52d 100644 (file)
 
 // Tooltips and popovers
 // -------------------------
+@tooltipColor:            #fff;
+@tooltipBackground:       #000;
 @tooltipArrowWidth:       5px;
-@tooltipArrowColor:       #000;
+@tooltipArrowColor:       @tooltipBackground;
 
 @popoverArrowWidth:       10px;
 @popoverArrowColor:       #fff;