-
Notifications
You must be signed in to change notification settings - Fork 1
/
jquery.le-tip.css
112 lines (112 loc) · 2.53 KB
/
jquery.le-tip.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.le-tip {
position: absolute;
z-index: 1010;
display: block;
visibility: visible;
padding: 5px;
font: 12px arial;
}
.le-tip.top {
margin-top: -2px;
}
.le-tip.right {
margin-left: 2px;
}
.le-tip.bottom {
margin-top: 2px;
}
.le-tip.left {
margin-left: -2px;
}
.le-tip.top .le-tip-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.left .le-tip-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.bottom .le-tip-arrow {
top: 0;
left: 50%;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.right .le-tip-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-right: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.top-left .le-tip-arrow {
bottom: 0;
right: 12px;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.top-right .le-tip-arrow {
bottom: 0;
left: 16px;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.bottom-left .le-tip-arrow {
top: 0;
right: 12px;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip.bottom-right .le-tip-arrow {
top: 0;
left: 16px;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid rgba(0, 0, 0, 0.85);
}
.le-tip .le-tip-inner {
max-width: 200px;
padding: 8px;
color: white;
background-color: rgba(0, 0, 0, 0.85);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.le-tip .le-tip-arrow {
position: absolute;
width: 0;
height: 0;
}
.le-tip.fade {
opacity: 0;
-webkit-transition: opacity 0.15s linear;
-moz-transition: opacity 0.15s linear;
-ms-transition: opacity 0.15s linear;
-o-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
.le-tip.fade.in {
opacity: 1;
}