From 06b351722e4d545fb8fb2f578aaf88e3883e68f5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 23 Feb 2022 14:42:41 +0100 Subject: luci-theme-bootstrap: add table column sort indicators Signed-off-by: Jo-Philipp Wich --- themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'themes/luci-theme-bootstrap') diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index c1d1c8f51a..09f469784a 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -2051,6 +2051,10 @@ table table td, background: var(--background-color-medium); } +th[data-sortable-row] { cursor: pointer; } +th[data-sort-direction="asc"]::after { content: "\a0\25b2"; } +th[data-sort-direction="desc"]::after { content: "\a0\25bc"; } + .cbi-value-description { margin: .25em 0 0 1.25em; position: relative; -- cgit v1.2.3