3 // --------------------------------------------------
10 z-index: @zindexPopover;
14 text-align: left; // Reset given new insertion method
15 background-color: @popoverBackground;
18 -webkit-background-clip: padding-box;
19 -moz-background-clip: padding;
20 background-clip: padding-box;
21 border: 1px solid #ccc;
22 border: 1px solid rgba(0,0,0,.2);
24 .box-shadow(0 5px 10px rgba(0,0,0,.2));
26 // Overrides for proper insertion
29 // Offset the popover to account for the popover arrow
30 &.top { margin-top: -10px; }
31 &.right { margin-left: 10px; }
32 &.bottom { margin-top: 10px; }
33 &.left { margin-left: -10px; }
37 margin: 0; // reset heading margin
42 background-color: @popoverTitleBackground;
43 border-bottom: 1px solid darken(@popoverTitleBackground, 5%);
44 .border-radius(5px 5px 0 0);
57 // .arrow is outer, .arrow:after is inner
60 .popover .arrow:after {
65 border-color: transparent;
69 border-width: @popoverArrowOuterWidth;
71 .popover .arrow:after {
72 border-width: @popoverArrowWidth;
79 margin-left: -@popoverArrowOuterWidth;
80 border-bottom-width: 0;
81 border-top-color: #999; // IE8 fallback
82 border-top-color: @popoverArrowOuterColor;
83 bottom: -@popoverArrowOuterWidth;
86 margin-left: -@popoverArrowWidth;
87 border-bottom-width: 0;
88 border-top-color: @popoverArrowColor;
93 left: -@popoverArrowOuterWidth;
94 margin-top: -@popoverArrowOuterWidth;
96 border-right-color: #999; // IE8 fallback
97 border-right-color: @popoverArrowOuterColor;
100 bottom: -@popoverArrowWidth;
101 border-left-width: 0;
102 border-right-color: @popoverArrowColor;
107 margin-left: -@popoverArrowOuterWidth;
109 border-bottom-color: #999; // IE8 fallback
110 border-bottom-color: @popoverArrowOuterColor;
111 top: -@popoverArrowOuterWidth;
114 margin-left: -@popoverArrowWidth;
116 border-bottom-color: @popoverArrowColor;
122 right: -@popoverArrowOuterWidth;
123 margin-top: -@popoverArrowOuterWidth;
124 border-right-width: 0;
125 border-left-color: #999; // IE8 fallback
126 border-left-color: @popoverArrowOuterColor;
129 border-right-width: 0;
130 border-left-color: @popoverArrowColor;
131 bottom: -@popoverArrowWidth;