From 927c8dfa1142fb1edc38eaf50d932be8cecccb02 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 6 Jul 2017 00:18:28 +0200 Subject: Tools for calculating group ratings --- http/res/tablesort.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 http/res/tablesort.css (limited to 'http/res/tablesort.css') diff --git a/http/res/tablesort.css b/http/res/tablesort.css new file mode 100644 index 0000000..632d28d --- /dev/null +++ b/http/res/tablesort.css @@ -0,0 +1,33 @@ +th[role=columnheader]:not(.no-sort) { + cursor: pointer; +} + +th[role=columnheader]:not(.no-sort):after { + content: ''; + float: right; + margin-top: 7px; + border-width: 0 4px 4px; + border-style: solid; + border-color: #404040 transparent; + visibility: hidden; + opacity: 0; + -ms-user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +th[aria-sort=ascending]:not(.no-sort):after { + border-bottom: none; + border-width: 4px 4px 0; +} + +th[aria-sort]:not(.no-sort):after { + visibility: visible; + opacity: 0.4; +} + +th[role=columnheader]:not(.no-sort):hover:after { + visibility: visible; + opacity: 1; +} -- cgit v1.2.3