forked from jerrylow/basictable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasictable.css
More file actions
44 lines (38 loc) · 721 Bytes
/
basictable.css
File metadata and controls
44 lines (38 loc) · 721 Bytes
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
/*
* jQuery Basic Table
* Author: Jerry Low
*/
table.bt thead,
table.bt tbody th {
display: none;
}
table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
border: none;
display: block;
vertical-align: top;
}
table.bt tfoot th:before,
table.bt tfoot td:before,
table.bt tbody td:before {
content: attr(data-th) ": ";
font-weight: bold;
width: 6.5em;
display: inline-block;
}
table.bt tfoot th.bt-hide,
table.bt tfoot td.bt-hide,
table.bt tbody td.bt-hide {
display: none;
}
table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
vertical-align: top;
}
.bt-wrapper.active {
max-height: 310px;
overflow: auto;
-webkit-overflow-scrolling: touch;
}