-
Notifications
You must be signed in to change notification settings - Fork 14
/
jquery.fs.tipper.css
107 lines (105 loc) · 2.18 KB
/
jquery.fs.tipper.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
/*
* Tipper v3.1.0 - 2015-04-04
* A jQuery plugin for simple tooltips. Part of the formstone library.
* http://classic.formstone.it/tipper/
*
* Copyright 2015 Ben Plum; MIT Licensed
*/
.tipper {
width: 1px;
height: 1px;
position: absolute;
top: -999px;
left: -999px;
z-index: 10;
opacity: 0;
pointer-events: none;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
.tipper * {
-webkit-transition: none;
transition: none;
}
.tipper,
.tipper * {
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
}
.tipper,
.tipper *,
.tipper *:before,
.tipper *:after {
box-sizing: border-box;
}
.tipper-visible {
opacity: 1;
}
.tipper-content {
background: #111111;
border-radius: 3px;
color: #ffffff;
display: block;
float: left;
font-size: 12px;
margin: 0;
padding: 10px 15px;
position: relative;
white-space: nowrap;
}
.tipper-caret {
width: 0;
height: 0;
content: '';
display: block;
margin: 0;
position: absolute;
}
.tipper-right .tipper-content {
box-shadow: 1px 0 5px rgba(0, 0, 0, 0.35);
}
.tipper-right .tipper-caret {
top: 0;
left: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-right: 5px solid #111111;
}
.tipper-left .tipper-content {
box-shadow: -1px 0 5px rgba(0, 0, 0, 0.35);
}
.tipper-left .tipper-caret {
top: 0;
right: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #111111;
}
.tipper-top .tipper-caret,
.tipper-bottom .tipper-caret {
display: block;
float: none;
margin: 0 auto;
}
.tipper-top .tipper-content {
box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.35);
}
.tipper-top .tipper-caret {
bottom: -5px;
left: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #111111;
}
.tipper-bottom .tipper-content {
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}
.tipper-bottom .tipper-caret {
top: -5px;
left: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #111111;
}