-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtooltip.css
More file actions
78 lines (67 loc) · 2.06 KB
/
tooltip.css
File metadata and controls
78 lines (67 loc) · 2.06 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* www.menucool.com/tooltip/javascript-tooltip */
/*For tooltip target element that has set class="tooltip" */
.tooltip {text-decoration: none; border-bottom:1px dotted #004B6B;color: #004B6B; outline: none; }
/*For tooltip box*/
#mcTooltip
{
line-height:16px;
border-width: 1px;
color:#333;
border-color:#BBB;
padding:20px;
font-size: 12px;
font-family: Verdana, Arial;
border-radius:16px;
background-color:#F6F6F6;
}
#mcTooltip.no-padding
{
padding:0;
box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}
#mcTooltip, #mcttCo b {
box-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
/* For hyperlink within tooltip */
#mcTooltip a { color:#069; }
/*Close button. Available when sticky or overlay has been set to true, or is on touch-enabled devices. */
#mcttCloseButton
{
border-radius:4px;
width:18px;
height:18px;
margin-right:2px;
margin-top:2px;
background:black;
}
/*Close button X symbol*/
#mcttCloseButton:after {
font:normal 38px/18px arial, sans-serif;
color:white;
top:0;left:-2px;
}
/*Give the close button a bigger size on smaller devices*/
@media only screen and (max-width: 736px) {
#mcttCloseButton {
width:28px;
height:28px;
}
#mcttCloseButton:after {
font-size:48px;
line-height:28px;
}
}
/* Useful when overlay has been set to true or 1 in JS */
#mcOverlay
{
background-color: rgba(0,0,0,0.5);
display:none;top:0;left:0;width:100%;height: 100%;overflow:visible;z-index:4;
}
#mcTooltip img {border:0;vertical-align:middle;}
/*The settings below should remain unchanged*/
#mcTooltipWrapper {position:absolute;visibility:hidden;overflow:visible;z-index:9999999999;top:-2000px;}
#mcTooltip {float:left;border-style:solid;position:relative;overflow:hidden;}
.mcTooltipInner {float:left;position:relative;width:auto;height:auto;}
#mcttCo, #mcttCo b{position:absolute;overflow:hidden;}
/*compatible with bootstrap*/
#mcTooltip, #mcTooltip div {box-sizing:content-box;}