From: Jo-Philipp Wich Date: Wed, 23 Feb 2022 13:42:41 +0000 (+0100) Subject: luci-theme-bootstrap: add table column sort indicators X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=06b351722e4d545fb8fb2f578aaf88e3883e68f5;p=openwrt-luci.git luci-theme-bootstrap: add table column sort indicators Signed-off-by: Jo-Philipp Wich --- 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;