enable dark mode for datatable example - www.codemadness.org - www.codemadness.org saait content files
HTML git clone git://git.codemadness.org/www.codemadness.org
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 23ea7a62e1a01047f9a9eff557f841e5836ae788
DIR parent c9084bbedf42369a494eeddcd5efd67f758734e7
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 4 Jan 2023 11:20:07 +0100
enable dark mode for datatable example
Diffstat:
M output/datatable-example.html | 4 ++--
M output/datatable.css | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
DIR diff --git a/output/datatable-example.html b/output/datatable-example.html
@@ -132,9 +132,9 @@
.a-r { text-align: right; }
.no-stock { background-color: #ffcccc !important; }
-/* @media (prefers-color-scheme: dark) {
+ @media (prefers-color-scheme: dark) {
.no-stock { background-color: #700 !important; }
- }*/
+ }
</style>
<script type="text/javascript" src="datatable.js"></script>
<script type="text/javascript">
DIR diff --git a/output/datatable.css b/output/datatable.css
@@ -119,7 +119,7 @@ table.datatable tbody tr:hover td {
width: 150px;
}
-/*@media (prefers-color-scheme: dark) {
+@media (prefers-color-scheme: dark) {
table.datatable tr th,
table.datatable tr td {
border-color: #777;
@@ -143,4 +143,4 @@ table.datatable tbody tr:hover td {
table.datatable tbody tr:hover td {
background-color: #333;
}
-}*/
+}