From cd9be261e3d54070845c21b84bfc20891cabde31 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sat, 10 Feb 2018 19:51:27 +0000 Subject: Minor code cleanup --- styles/table-style.css | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 styles/table-style.css (limited to 'styles/table-style.css') diff --git a/styles/table-style.css b/styles/table-style.css new file mode 100644 index 0000000..fda66d0 --- /dev/null +++ b/styles/table-style.css @@ -0,0 +1,43 @@ +table.dataTable thead .sorting { + background-image: url("./images/sort_both.png"); +} +table.dataTable thead .sorting_asc { + background-image: url("./images/sort_asc.png"); +} +table.dataTable thead .sorting_desc { + background-image: url("./images/sort_desc.png"); +} +table.dataTable thead .sorting_asc_disabled { + background-image: url("./images/sort_asc_disabled.png"); +} +table.dataTable thead .sorting_desc_disabled { + background-image: url("./images/sort_desc_disabled.png"); +} +table.dataTable tbody tr { + background-color: #282a36; +} +table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd { + background-color: #474A5E; +} +table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover { + background-color: #262834; +} +table.dataTable.order-column tbody tr > .sorting_1, +table.dataTable.order-column tbody tr > .sorting_2, +table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1, +table.dataTable.display tbody tr > .sorting_2, +table.dataTable.display tbody tr > .sorting_3 { + background-color: #4F4837; +} +table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 { + background-color: #897E63; +} +table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 { + background-color: #897E63; +} +table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 { + background-color: #4F4837; +} +table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 { + background-color: #242631; +} \ No newline at end of file -- cgit v1.2.3