0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

add vars for tooltip customization via background and color

This commit is contained in:
Mark Otto 2012-07-10 00:36:21 -07:00
parent 5d8e78e0fa
commit a750551fee
2 changed files with 5 additions and 3 deletions

View File

@ -23,10 +23,10 @@
.tooltip-inner { .tooltip-inner {
max-width: 200px; max-width: 200px;
padding: 3px 8px; padding: 3px 8px;
color: @white; color: @tooltipColor;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
background-color: @black; background-color: @tooltipBackground;
.border-radius(4px); .border-radius(4px);
} }

View File

@ -200,8 +200,10 @@
// Tooltips and popovers // Tooltips and popovers
// ------------------------- // -------------------------
@tooltipColor: #fff;
@tooltipBackground: #000;
@tooltipArrowWidth: 5px; @tooltipArrowWidth: 5px;
@tooltipArrowColor: #000; @tooltipArrowColor: @tooltipBackground;
@popoverArrowWidth: 10px; @popoverArrowWidth: 10px;
@popoverArrowColor: #fff; @popoverArrowColor: #fff;