]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - themes/default/less/popovers.less
Release 6.5.3
[Github/sugarcrm.git] / themes / default / less / popovers.less
1 // POPOVERS
2 // --------
3
4 .popover {
5   position: absolute;
6   top: 0;
7   left: 0;
8   z-index: @zindexPopover;
9   display: none;
10   padding: 5px;
11   &.top    { margin-top:  -5px; }
12   &.right  { margin-left:  5px; }
13   &.bottom { margin-top:   5px; }
14   &.left   { margin-left: -5px; }
15   &.top .arrow    { #popoverArrow > .top(); }
16   &.top.right .arrow    { #popoverArrow > .topright(); }
17   &.top.left .arrow    { #popoverArrow > .topleft(); }
18   &.right .arrow  { #popoverArrow > .right(); }
19   &.bottom .arrow { #popoverArrow > .bottom(); }
20   &.bottom.left .arrow { #popoverArrow > .bottomleft(); }
21   &.bottom.right .arrow { #popoverArrow > .bottomright(); }
22   &.left .arrow   { #popoverArrow > .left();  }
23   .arrow {
24     position: absolute;
25     width: 0;
26     height: 0;
27   }
28 }
29 .popover-inner {
30   padding: 2px;
31   width: 288px;
32   overflow: hide;
33   background: @grayDark; // has to be full background declaration for IE fallback
34   background: rgba(0,0,0,.8);
35   .border-radius(4px);
36   .box-shadow(0 3px 7px rgba(0,0,0,0.3));
37 }
38 .popover-title {
39   padding: 9px 15px;
40   line-height: 1;
41   background-color: @grayDark;
42   border-bottom:1px solid @black;
43   .border-radius(2px 2px 0 0);
44   font-size: 13px; 
45   color: #fff;
46 }
47 .popover-content {
48   padding: 16px;
49   background-color: @white;
50   .background-clip(padding-box);
51   p, ul, ol {
52     margin-bottom: 0;
53   }
54 }
55 .popover-footer {
56   padding: 14px 15px 15px;
57   #gradient > .vertical(@grayLighter, @white);
58   border-top: 1px solid darken(@grayLight, 10%);
59   .border-radius(0 0 2px 2px);
60   .background-clip(padding-box);
61   .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
62   p, ul, ol {
63     margin-bottom: 0;
64   }
65   .clearfix();
66   .btn {
67     float: right;
68     margin-left: 8px;
69     margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
70   }
71   .btn-link {
72                 position: relative;
73                 top: 9px;
74         }
75 }