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:
parent
5d8e78e0fa
commit
a750551fee
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user