-
Notifications
You must be signed in to change notification settings - Fork 34
/
tiptip.css
96 lines (80 loc) · 1.64 KB
/
tiptip.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* TipTip CSS - Version 1.2 (Modified) */
#tiptip_holder {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 99999;
}
#tiptip_holder.tip_top {
padding-bottom: 5px;
}
#tiptip_holder.tip_bottom {
padding-top: 5px;
}
#tiptip_holder.tip_right {
padding-left: 5px;
}
#tiptip_holder.tip_left {
padding-right: 5px;
}
#tiptip_content {
font: bold 11px Helvetica, Arial, sans-serif;
color: #FFF;
padding: 7px;
background: #000;
border: 1px solid #FFF;
}
#tiptip_arrow, #tiptip_arrow_inner {
position: absolute;
border-color: transparent;
border-style: solid;
border-width: 6px;
height: 0;
width: 0;
}
#tiptip_holder.tip_top #tiptip_arrow {
border-top-color: #fff;
}
#tiptip_holder.tip_bottom #tiptip_arrow {
border-bottom-color: #fff;
}
#tiptip_holder.tip_right #tiptip_arrow {
border-right-color: #fff;
}
#tiptip_holder.tip_left #tiptip_arrow {
border-left-color: #fff;
}
#tiptip_holder.tip_top #tiptip_arrow_inner {
margin-top: -7px;
margin-left: -6px;
border-top-color: #000;
}
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
margin-top: -5px;
margin-left: -6px;
border-bottom-color: #000;
}
#tiptip_holder.tip_right #tiptip_arrow_inner {
margin-top: -6px;
margin-left: -5px;
border-right-color: #000;
}
#tiptip_holder.tip_left #tiptip_arrow_inner {
margin-top: -6px;
margin-left: -7px;
border-left-color: #000;
}
/* Webkit Hacks */
@media screen and (-webkit-min-device-pixel-ratio:0) {
#tiptip_content {
padding: 4px 8px 5px 8px;
background-color: #000;
}
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
border-bottom-color: #000;
}
#tiptip_holder.tip_top #tiptip_arrow_inner {
border-top-color: #000;
}
}