Skip to content

Commit

Permalink
Merge branch 'luk3thomas-popover_arrow_colors' into 2.0.2-wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Mar 12, 2012
2 parents 5a28bd1 + 1cc1852 commit 1a11c52
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions less/mixins.less
Expand Up @@ -450,37 +450,37 @@
// -------------------------
// For tipsies and popovers
#popoverArrow {
.top(@arrowWidth: 5px) {
.top(@arrowWidth: 5px, @color: @black) {
bottom: 0;
left: 50%;
margin-left: -@arrowWidth;
border-left: @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%;
right: 0;
margin-top: -@arrowWidth;
border-top: @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;
left: 50%;
margin-left: -@arrowWidth;
border-left: @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%;
left: 0;
margin-top: -@arrowWidth;
border-top: @arrowWidth solid transparent;
border-bottom: @arrowWidth solid transparent;
border-right: @arrowWidth solid @black;
border-right: @arrowWidth solid @color;
}
}

Expand Down

0 comments on commit 1a11c52

Please sign in to comment.