forked from tofsjonas/sortable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sortable.css
executable file
·71 lines (58 loc) · 986 Bytes
/
sortable.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
.sortable {
border-spacing: 0;
}
.sortable thead td {
font-weight: bold;
text-align: center;
text-transform: uppercase;
}
.sortable tbody tr:nth-child(odd) {
background: #e4e4e4;
}
.sortable td,
.sortable th {
padding: 10px;
}
.sortable td:first-child,
.sortable th:first-child {
border-top-left-radius: 4px;
}
.sortable td:last-child,
.sortable th:last-child {
border-top-right-radius: 4px;
}
.sortable th {
background: #808080;
color: #fff;
cursor: pointer;
font-weight: normal;
text-align: left;
text-transform: capitalize;
vertical-align: baseline;
white-space: nowrap;
}
.sortable th:hover {
color: #000;
}
.sortable th:hover::after {
color: inherit;
content: " \025B8";
}
.sortable th::after {
color: transparent;
content: " \025B8";
}
.sortable th.dir-d {
color: #000;
}
.sortable th.dir-d::after {
color: inherit;
content: " \025BE";
}
.sortable th.dir-u {
color: #000;
}
.sortable th.dir-u::after {
color: inherit;
content: " \025B4";
}