From d2d6206897fa9c0865ecb30a0208f7f10d9895e8 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Sat, 5 Feb 2022 01:36:48 +0100 Subject: [PATCH 1/2] Redo sorting arrows --- .../default/assets/stylesheets/ispconfig.css | 34 ++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/interface/web/themes/default/assets/stylesheets/ispconfig.css b/interface/web/themes/default/assets/stylesheets/ispconfig.css index c53b988632..e42bca2b85 100644 --- a/interface/web/themes/default/assets/stylesheets/ispconfig.css +++ b/interface/web/themes/default/assets/stylesheets/ispconfig.css @@ -340,34 +340,30 @@ thead.dark th.tiny-col { text-overflow: ellipsis; } thead.dark th[data-column] { - cursor: pointer; + cursor: pointer; + position: relative; +} + +thead.dark th[data-column]:before { + content: "⇅"; + position: absolute; + right: 15px; + vertical-align: middle; + line-height: inherit; + color: #aaa; } thead.dark th[data-column][data-ordered] { - font-weight: bold; - position: relative; + background: linear-gradient(to top,#57646d,#3e474e); } thead.dark th[data-column][data-ordered]:before { - content: ""; - display: block; - position: absolute; - right: 5px; - top: 16px; - width: 0; - height: 0; - vertical-align: middle; - border-bottom: 5px solid #fff; - border-top: 5px solid transparent; - border-right: 5px solid transparent; - border-left: 6px solid transparent; - line-height: inherit; + color: #fff; + content: "🡫"; } thead.dark th[data-column][data-ordered="desc"]:before { - top: 21px; - border-bottom: 5px solid transparent; - border-top: 5px solid #fff; + content: "🡩"; } thead.dark td input, -- GitLab From d5510c30ea0befa0d81cac06cb2d596bd3308a84 Mon Sep 17 00:00:00 2001 From: Marius Burkard Date: Mon, 28 Feb 2022 09:55:14 +0000 Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s) --- interface/web/themes/default/assets/stylesheets/ispconfig.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/themes/default/assets/stylesheets/ispconfig.css b/interface/web/themes/default/assets/stylesheets/ispconfig.css index e42bca2b85..b614bebdf5 100644 --- a/interface/web/themes/default/assets/stylesheets/ispconfig.css +++ b/interface/web/themes/default/assets/stylesheets/ispconfig.css @@ -354,7 +354,7 @@ thead.dark th[data-column]:before { } thead.dark th[data-column][data-ordered] { - background: linear-gradient(to top,#57646d,#3e474e); + background: linear-gradient(to top, #57646d, #3e474e); } thead.dark th[data-column][data-ordered]:before { -- GitLab