-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpopover.css
46 lines (46 loc) · 1.37 KB
/
popover.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.popover {
color: black;
font-weight: normal;
line-height: 1;
cursor: auto;
position: absolute;
display: none;
opacity: 0;
background-color: white;
border: 3px solid black;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-webkit-transition: opacity 0.25s linear;
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-transition: opacity 0.25s linear;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: opacity 0.25s linear; }
.popover.active {
opacity: 1; }
.popover > .triangle {
position: absolute;
top: -50px;
float: left;
font-size: 0px;
line-height: 0%;
width: 0px;
border-top: 25px solid rgba(0,0,0,0);
border-left: 25px solid rgba(0,0,0,0);
border-right: 25px solid rgba(0,0,0,0);
border-bottom: 25px solid black; }
.popover > .header {
font-weight: bold;
margin: 0;
padding: 3px;
height: 40px;
color: white;
background-color: black;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), color-stop(0.2, rgba(255, 255, 255, 0.4)), color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.5, transparent), to(transparent) );
text-align: center; }
.popover > .content {
min-width: 200px;
overflow-x: hidden;
overflow-y: auto; }