3 // --------------------------------------------------
10 z-index: @zindexPopover;
14 text-align: left; // Reset given new insertion method
15 background-color: @popoverBackground;
16 -webkit-background-clip: padding-box;
17 -moz-background-clip: padding;
18 background-clip: padding-box;
19 border: 1px solid #ccc;
20 border: 1px solid rgba(0,0,0,.2);
22 .box-shadow(0 5px 10px rgba(0,0,0,.2));
24 // Overrides for proper insertion
27 // Offset the popover to account for the popover arrow
28 &.top { margin-top: -10px; }
29 &.right { margin-left: 10px; }
30 &.bottom { margin-top: 10px; }
31 &.left { margin-left: -10px; }
35 margin: 0; // reset heading margin
40 background-color: @popoverTitleBackground;
41 border-bottom: 1px solid darken(@popoverTitleBackground, 5%);
42 .border-radius(5px 5px 0 0);
55 // .arrow is outer, .arrow:after is inner
58 .popover .arrow:after {
63 border-color: transparent;
67 border-width: @popoverArrowOuterWidth;
69 .popover .arrow:after {
70 border-width: @popoverArrowWidth;
77 margin-left: -@popoverArrowOuterWidth;
78 border-bottom-width: 0;
79 border-top-color: #999; // IE8 fallback
80 border-top-color: @popoverArrowOuterColor;
81 bottom: -@popoverArrowOuterWidth;
84 margin-left: -@popoverArrowWidth;
85 border-bottom-width: 0;
86 border-top-color: @popoverArrowColor;
91 left: -@popoverArrowOuterWidth;
92 margin-top: -@popoverArrowOuterWidth;
94 border-right-color: #999; // IE8 fallback
95 border-right-color: @popoverArrowOuterColor;
98 bottom: -@popoverArrowWidth;
100 border-right-color: @popoverArrowColor;
105 margin-left: -@popoverArrowOuterWidth;
107 border-bottom-color: #999; // IE8 fallback
108 border-bottom-color: @popoverArrowOuterColor;
109 top: -@popoverArrowOuterWidth;
112 margin-left: -@popoverArrowWidth;
114 border-bottom-color: @popoverArrowColor;
120 right: -@popoverArrowOuterWidth;
121 margin-top: -@popoverArrowOuterWidth;
122 border-right-width: 0;
123 border-left-color: #999; // IE8 fallback
124 border-left-color: @popoverArrowOuterColor;
127 border-right-width: 0;
128 border-left-color: @popoverArrowColor;
129 bottom: -@popoverArrowWidth;