forked from mattiash/angular-tablesort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tablesort.css
52 lines (43 loc) · 1.04 KB
/
tablesort.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
th.tablesort-sortable {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
cursor: pointer;
}
table .tablesort-sortable:after{
content:"";
float:right;
margin-top:7px;
visibility:hidden;
border-left:4px solid transparent;
border-right:4px solid transparent;
border-top:none;
border-bottom:4px solid #000;
}
table .tablesort-desc:after{
border-top:4px solid #000;
border-bottom:none;
}
table .tablesort-asc,table .tablesort-desc{
background-color:rgba(141, 192, 219, 0.25);
}
table .tablesort-sortable:hover:after, table .tablesort-asc:after, table .tablesort-desc:after {
visibility:visible;
}
/*
* Styling for the table row shown in empty tables
*/
/* The row is always added as the first row in a table
Hide it by default */
.showIfLast {
display: none;
}
/* Only show it if it is also the last row of the table. */
.showIfLast:last-child {
display: table-row;
}
.showIfLast td {
text-align: center;
}