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);
51
// .arrow is outer, .arrow:after is inner
54
.popover .arrow:after {
59
border-color: transparent;
63
border-width: @popoverArrowOuterWidth;
65
.popover .arrow:after {
66
border-width: @popoverArrowWidth;
73
margin-left: -@popoverArrowOuterWidth;
74
border-bottom-width: 0;
75
border-top-color: #999; // IE8 fallback
76
border-top-color: @popoverArrowOuterColor;
77
bottom: -@popoverArrowOuterWidth;
80
margin-left: -@popoverArrowWidth;
81
border-bottom-width: 0;
82
border-top-color: @popoverArrowColor;
87
left: -@popoverArrowOuterWidth;
88
margin-top: -@popoverArrowOuterWidth;
90
border-right-color: #999; // IE8 fallback
91
border-right-color: @popoverArrowOuterColor;
94
bottom: -@popoverArrowWidth;
96
border-right-color: @popoverArrowColor;
101
margin-left: -@popoverArrowOuterWidth;
103
border-bottom-color: #999; // IE8 fallback
104
border-bottom-color: @popoverArrowOuterColor;
105
top: -@popoverArrowOuterWidth;
108
margin-left: -@popoverArrowWidth;
110
border-bottom-color: @popoverArrowColor;
116
right: -@popoverArrowOuterWidth;
117
margin-top: -@popoverArrowOuterWidth;
118
border-right-width: 0;
119
border-left-color: #999; // IE8 fallback
120
border-left-color: @popoverArrowOuterColor;
123
border-right-width: 0;
124
border-left-color: @popoverArrowColor;
125
bottom: -@popoverArrowWidth;