-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
63 lines (60 loc) · 1.42 KB
/
styles.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.tooltip-container {
cursor: pointer;
position: relative;
display: inline-block;
background-color: #FFF;
padding: 0px
3.5px;
font-weight: 600;
border: 1px solid #4B5064;
border-radius: 50%;
color: #4B5064;
line-height: 0;
font-size: 11px;
vertical-align: middle;
top: -1px;
}
.tooltip {
opacity: 0;
z-index: 99;
color: #FFF;
width: 190px;
display: block;
font-size: 14px;
font-weight: 400;
line-height: 19px;
padding: 15px 20px;
border-radius: 8px;
text-align: center;
background: #4B5064;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-o-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
position: absolute;
right: -89px;
bottom: 25px;
}
.tooltip:before,.tooltip:after {
content: '';
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #4B5064;
position: absolute;
bottom: -10px;
left: 45%;
}
.tooltip-container:hover .tooltip,a:hover .tooltip {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}