Table column sorting (#1718).

Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@19833 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-06-24 05:53:08 +00:00
parent a4809b1af7
commit 986d487fcd
6 changed files with 68 additions and 1 deletions

View File

@@ -1780,3 +1780,38 @@ img {
}
select[multiple=multiple] {padding-right: 0;}
}
/* tablesort */
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;
display: none;
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 {
display: inline;
opacity: 0.4;
}
th[role=columnheader]:not(.no-sort):hover:after {
display: inline;
opacity: 1;
}