datatable: CSS: only reset background-image for disabled sort on columns - jsca… | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2932500f1d5f978262bb31afde0ea85543f641ce | |
parent 9cbdae2212ce9443cee3d20d28d6eeb3d522db6e | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 22 Jul 2017 12:00:40 +0200 | |
datatable: CSS: only reset background-image for disabled sort on columns | |
Diffstat: | |
M datatable/datatable.css | 10 +++++----- | |
1 file changed, 5 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/datatable/datatable.css b/datatable/datatable.css | |
@@ -37,11 +37,6 @@ table.datatable thead tr th:hover { | |
background-color: #ccc; | |
} | |
-table.datatable thead .sort-disabled { | |
- background: none; | |
- cursor: default; | |
-} | |
- | |
table.datatable thead .sort-asc { | |
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA… | |
} | |
@@ -50,6 +45,11 @@ table.datatable thead .sort-desc { | |
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA… | |
} | |
+table.datatable thead .sort-disabled { | |
+ background-image: none; | |
+ cursor: default; | |
+} | |
+ | |
table.datatable tbody tr:nth-child(2n+1) td { | |
background-color: #f9f9f9; | |
} |