-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-table.css
56 lines (54 loc) · 1.19 KB
/
style-table.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
.sortable-table table {
border: 2px solid #42b983;
border-radius: 3px;
background-color: #fff;
}
.sortable-table th {
background-color: #42b983;
color: rgba(255, 255, 255, 0.66);
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.sortable-table td {
background-color: #f9f9f9;
}
.sortable-table th,
.sortable-table td {
text-align: left;
min-width: 120px;
padding: 10px 20px;
}
.sortable-table th.active {
color: #fff;
}
.sortable-table th.active .arrow {
opacity: 1;
}
.sortable-table .arrow {
display: inline-block;
vertical-align: middle;
width: 0;
height: 0;
margin-left: 5px;
opacity: 0.66;
}
.sortable-table .arrow.asc {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid #fff;
}
.sortable-table .arrow.dsc {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #fff;
}
.sortable-table form {
border: 1px solid #eee;
display: block;
width: 100%;
padding:1em;
margin:1em 0;
}