datatable_lite.css - jscancer - Javascript crap (relatively small) | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
datatable_lite.css (2304B) | |
--- | |
1 table.datatable { | |
2 border-collapse: collapse; | |
3 table-layout: fixed; | |
4 } | |
5 table.datatable tr th { | |
6 -webkit-touch-callout: none; | |
7 -webkit-user-select: none; | |
8 -khtml-user-select: none; | |
9 -moz-user-select: none; | |
10 -ms-user-select: none; | |
11 user-select: none; | |
12 } | |
13 table.datatable tr td, | |
14 table.datatable tr th { | |
15 border: 1px solid #aaa; | |
16 line-height: 25px; | |
17 } | |
18 table.datatable tr td { | |
19 padding: 0 3px 0 3px; | |
20 } | |
21 table.datatable tr th { | |
22 padding: 0 15px 0 3px; | |
23 } | |
24 table.datatable thead td, | |
25 table.datatable thead th { | |
26 background: no-repeat right 3px center url("data:image/png;base6… | |
27 cursor: pointer; | |
28 } | |
29 table.datatable thead td, | |
30 table.datatable thead th, | |
31 table.datatable tfoot td, | |
32 table.datatable tfoot th { | |
33 background-color: #eee; | |
34 } | |
35 table.datatable thead tr td:hover, | |
36 table.datatable thead tr th:hover { | |
37 background-color: #ccc; | |
38 } | |
39 table.datatable thead .sort-asc { | |
40 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUh… | |
41 } | |
42 table.datatable thead .sort-desc { | |
43 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUh… | |
44 } | |
45 table.datatable thead .sort-disabled { | |
46 background-image: none; | |
47 cursor: default; | |
48 } | |
49 table.datatable tbody tr:nth-child(2n+1) td { | |
50 background-color: #f9f9f9; | |
51 } | |
52 table.datatable tbody tr:hover td { | |
53 background-color: #d6f0ff; | |
54 } |