Skip to content

Commit 1a11c52

Browse files
committed
Merge branch 'luk3thomas-popover_arrow_colors' into 2.0.2-wip
2 parents 5a28bd1 + 1cc1852 commit 1a11c52

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

less/mixins.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -450,37 +450,37 @@
450450
// -------------------------
451451
// For tipsies and popovers
452452
#popoverArrow {
453-
.top(@arrowWidth: 5px) {
453+
.top(@arrowWidth: 5px, @color: @black) {
454454
bottom: 0;
455455
left: 50%;
456456
margin-left: -@arrowWidth;
457457
border-left: @arrowWidth solid transparent;
458458
border-right: @arrowWidth solid transparent;
459-
border-top: @arrowWidth solid @black;
459+
border-top: @arrowWidth solid @color;
460460
}
461-
.left(@arrowWidth: 5px) {
461+
.left(@arrowWidth: 5px, @color: @black) {
462462
top: 50%;
463463
right: 0;
464464
margin-top: -@arrowWidth;
465465
border-top: @arrowWidth solid transparent;
466466
border-bottom: @arrowWidth solid transparent;
467-
border-left: @arrowWidth solid @black;
467+
border-left: @arrowWidth solid @color;
468468
}
469-
.bottom(@arrowWidth: 5px) {
469+
.bottom(@arrowWidth: 5px, @color: @black) {
470470
top: 0;
471471
left: 50%;
472472
margin-left: -@arrowWidth;
473473
border-left: @arrowWidth solid transparent;
474474
border-right: @arrowWidth solid transparent;
475-
border-bottom: @arrowWidth solid @black;
475+
border-bottom: @arrowWidth solid @color;
476476
}
477-
.right(@arrowWidth: 5px) {
477+
.right(@arrowWidth: 5px, @color: @black) {
478478
top: 50%;
479479
left: 0;
480480
margin-top: -@arrowWidth;
481481
border-top: @arrowWidth solid transparent;
482482
border-bottom: @arrowWidth solid transparent;
483-
border-right: @arrowWidth solid @black;
483+
border-right: @arrowWidth solid @color;
484484
}
485485
}
486486

0 commit comments

Comments
 (0)