summaryrefslogtreecommitdiff
path: root/http/_res/tablesort.css
diff options
context:
space:
mode:
Diffstat (limited to 'http/_res/tablesort.css')
-rw-r--r--http/_res/tablesort.css33
1 files changed, 33 insertions, 0 deletions
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;
+}