From 4286d1843c4feff2508114899a6fa9b2db69c691 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 10 Sep 2020 21:06:07 +0200 Subject: [PATCH] highlight table sorting --- styles.css | 4 ++++ table.scss | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/styles.css b/styles.css index 0f47102..98cffe6 100644 --- a/styles.css +++ b/styles.css @@ -4471,6 +4471,10 @@ table.default { background: var(--table-head-background); } table.default thead td { border-bottom: 1px solid var(--box-border); } + table.default thead input[type=radio] { + display: none; } + table.default thead input[type=radio]:checked + label i { + color: var(--box-highlight); } table.default .empty { text-align: center; color: #d8d8d8; } diff --git a/table.scss b/table.scss index 3042837..85b20dc 100644 --- a/table.scss +++ b/table.scss @@ -92,6 +92,14 @@ table.default { td { border-bottom: 1px solid var(--box-border); } + + input[type=radio] { + display: none; + + &:checked + label i { + color: var(--box-highlight);; + } + } } .empty {