diff options
| author | Cina S <[email protected]> | 2014-02-02 16:14:22 -0600 |
|---|---|---|
| committer | Cina S <[email protected]> | 2014-02-02 16:14:22 -0600 |
| commit | 847adb7dad2ad2b73f9180950e95b4258c8308ee (patch) | |
| tree | 53a53a82dee0c7bd6ffa2c5783cddee58ebb5410 | |
| parent | 02ae5a2728430c69aca33b1874c80ee326da5eeb (diff) | |
| download | bootstrap-847adb7dad2ad2b73f9180950e95b4258c8308ee.tar.xz bootstrap-847adb7dad2ad2b73f9180950e95b4258c8308ee.zip | |
Tightening up popover arrow css scope to apply only to direct descendant arrows.
| -rw-r--r-- | less/popovers.less | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/less/popovers.less b/less/popovers.less index 345bb1a31..2a3f37b73 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -48,7 +48,7 @@ // // .arrow is outer, .arrow:after is inner -.popover .arrow { +.popover > .arrow { &, &:after { position: absolute; @@ -59,16 +59,16 @@ border-style: solid; } } -.popover .arrow { +.popover > .arrow { border-width: @popover-arrow-outer-width; } -.popover .arrow:after { +.popover > .arrow:after { border-width: @popover-arrow-width; content: ""; } .popover { - &.top .arrow { + &.top > .arrow { left: 50%; margin-left: -@popover-arrow-outer-width; border-bottom-width: 0; @@ -83,7 +83,7 @@ border-top-color: @popover-arrow-color; } } - &.right .arrow { + &.right > .arrow { top: 50%; left: -@popover-arrow-outer-width; margin-top: -@popover-arrow-outer-width; @@ -98,7 +98,7 @@ border-right-color: @popover-arrow-color; } } - &.bottom .arrow { + &.bottom > .arrow { left: 50%; margin-left: -@popover-arrow-outer-width; border-top-width: 0; @@ -114,7 +114,7 @@ } } - &.left .arrow { + &.left > .arrow { top: 50%; right: -@popover-arrow-outer-width; margin-top: -@popover-arrow-outer-width; |
