3 // --------------------------------------------------
10 z-index: @zindex-popover;
12 max-width: @popover-max-width;
14 text-align: left; // Reset given new insertion method
15 background-color: @popover-bg;
16 -webkit-bg-clip: padding-box;
17 -moz-bg-clip: padding;
18 background-clip: padding-box;
19 border: 1px solid @popover-fallback-border-color;
20 border: 1px solid @popover-border-color;
21 border-radius: @border-radius-large;
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
37 font-size: @font-size-base;
40 background-color: @popover-title-bg;
41 border-bottom: 1px solid darken(@popover-title-bg, 5%);
42 border-radius: 5px 5px 0 0;
51 // .arrow is outer, .arrow:after is inner
60 border-color: transparent;
65 border-width: @popover-arrow-outer-width;
67 .popover .arrow:after {
68 border-width: @popover-arrow-width;
75 margin-left: -@popover-arrow-outer-width;
76 border-bottom-width: 0;
77 border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
78 border-top-color: @popover-arrow-outer-color;
79 bottom: -@popover-arrow-outer-width;
83 margin-left: -@popover-arrow-width;
84 border-bottom-width: 0;
85 border-top-color: @popover-arrow-color;
90 left: -@popover-arrow-outer-width;
91 margin-top: -@popover-arrow-outer-width;
93 border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
94 border-right-color: @popover-arrow-outer-color;
98 bottom: -@popover-arrow-width;
100 border-right-color: @popover-arrow-color;
105 margin-left: -@popover-arrow-outer-width;
107 border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
108 border-bottom-color: @popover-arrow-outer-color;
109 top: -@popover-arrow-outer-width;
113 margin-left: -@popover-arrow-width;
115 border-bottom-color: @popover-arrow-color;
121 right: -@popover-arrow-outer-width;
122 margin-top: -@popover-arrow-outer-width;
123 border-right-width: 0;
124 border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
125 border-left-color: @popover-arrow-outer-color;
129 border-right-width: 0;
130 border-left-color: @popover-arrow-color;
131 bottom: -@popover-arrow-width;