Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-03-12 09:25:34 +0400
committerMark Otto <markotto@twitter.com>2012-03-12 09:25:34 +0400
commit1a11c526b93731881a4908d120e8231ad73e9cec (patch)
treeceaa3c5a3995b18e46232ad655f9f3360efe2139 /less
parent5a28bd1e78f6aae2bae87d1eb823687c5e1f7cd8 (diff)
parent1cc1852a9a7911641a30709a6447f3a1386c9919 (diff)
Merge branch 'luk3thomas-popover_arrow_colors' into 2.0.2-wip
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less16
1 files changed, 8 insertions, 8 deletions
diff --git a/less/mixins.less b/less/mixins.less
index b01a32b43f..4114bccfe8 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -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;
}
}