-
Notifications
You must be signed in to change notification settings - Fork 19
/
tlite.css
83 lines (72 loc) · 1.15 KB
/
tlite.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
.tlite {
background: #111;
color: white;
font-family: sans-serif;
font-size: 0.8rem;
font-weight: normal;
text-decoration: none;
text-align: left;
padding: 0.6em 0.75rem;
border-radius: 4px;
position: absolute;
opacity: 0;
visibility: hidden;
transition: opacity 0.4s;
white-space: nowrap;
box-shadow: 0 0.5rem 1rem -0.5rem black;
z-index: 1000;
-webkit-backface-visibility: hidden;
}
.tlite-table td,
.tlite-table th {
position: relative;
}
.tlite-visible {
visibility: visible;
opacity: 0.9;
}
.tlite::before {
content: ' ';
display: block;
background: inherit;
width: 10px;
height: 10px;
position: absolute;
transform: rotate(45deg);
}
.tlite-n::before {
top: -3px;
left: 50%;
margin-left: -5px;
}
.tlite-nw::before {
top: -3px;
left: 10px;
}
.tlite-ne::before {
top: -3px;
right: 10px;
}
.tlite-s::before {
bottom: -3px;
left: 50%;
margin-left: -5px;
}
.tlite-se::before {
bottom: -3px;
right: 10px;
}
.tlite-sw::before {
bottom: -3px;
left: 10px;
}
.tlite-w::before {
left: -3px;
top: 50%;
margin-top: -5px;
}
.tlite-e::before {
right: -3px;
top: 50%;
margin-top: -5px;
}