]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Tightening up popover arrow css scope to apply only to direct descendant arrows. 12533/head
authorCina S <cinas@spiceworks.com>
Sun, 2 Feb 2014 22:14:22 +0000 (16:14 -0600)
committerCina S <cinas@spiceworks.com>
Sun, 2 Feb 2014 22:14:22 +0000 (16:14 -0600)
less/popovers.less

index 345bb1a319141b08d00313d5811af3c7721332ea..2a3f37b73100d5dfffb52f40545f37b54994f220 100644 (file)
@@ -48,7 +48,7 @@
 //
 // .arrow is outer, .arrow:after is inner
 
-.popover .arrow {
+.popover .arrow {
   &,
   &:after {
     position: absolute;
     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;
     }
   }
 
-  &.left .arrow {
+  &.left .arrow {
     top: 50%;
     right: -@popover-arrow-outer-width;
     margin-top: -@popover-arrow-outer-width;