mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Merge branch 'luk3thomas-popover_arrow_colors' into 2.0.2-wip
This commit is contained in:
commit
1a11c526b9
@ -450,37 +450,37 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
// For tipsies and popovers
|
// For tipsies and popovers
|
||||||
#popoverArrow {
|
#popoverArrow {
|
||||||
.top(@arrowWidth: 5px) {
|
.top(@arrowWidth: 5px, @color: @black) {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -@arrowWidth;
|
margin-left: -@arrowWidth;
|
||||||
border-left: @arrowWidth solid transparent;
|
border-left: @arrowWidth solid transparent;
|
||||||
border-right: @arrowWidth solid transparent;
|
border-right: @arrowWidth solid transparent;
|
||||||
border-top: @arrowWidth solid @black;
|
border-top: @arrowWidth solid @color;
|
||||||
}
|
}
|
||||||
.left(@arrowWidth: 5px) {
|
.left(@arrowWidth: 5px, @color: @black) {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin-top: -@arrowWidth;
|
margin-top: -@arrowWidth;
|
||||||
border-top: @arrowWidth solid transparent;
|
border-top: @arrowWidth solid transparent;
|
||||||
border-bottom: @arrowWidth solid transparent;
|
border-bottom: @arrowWidth solid transparent;
|
||||||
border-left: @arrowWidth solid @black;
|
border-left: @arrowWidth solid @color;
|
||||||
}
|
}
|
||||||
.bottom(@arrowWidth: 5px) {
|
.bottom(@arrowWidth: 5px, @color: @black) {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -@arrowWidth;
|
margin-left: -@arrowWidth;
|
||||||
border-left: @arrowWidth solid transparent;
|
border-left: @arrowWidth solid transparent;
|
||||||
border-right: @arrowWidth solid transparent;
|
border-right: @arrowWidth solid transparent;
|
||||||
border-bottom: @arrowWidth solid @black;
|
border-bottom: @arrowWidth solid @color;
|
||||||
}
|
}
|
||||||
.right(@arrowWidth: 5px) {
|
.right(@arrowWidth: 5px, @color: @black) {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-top: -@arrowWidth;
|
margin-top: -@arrowWidth;
|
||||||
border-top: @arrowWidth solid transparent;
|
border-top: @arrowWidth solid transparent;
|
||||||
border-bottom: @arrowWidth solid transparent;
|
border-bottom: @arrowWidth solid transparent;
|
||||||
border-right: @arrowWidth solid @black;
|
border-right: @arrowWidth solid @color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user