Make date columns first sort in descending order. See #15580

git-svn-id: https://develop.svn.wordpress.org/trunk@16593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-11-26 02:03:02 +00:00
parent 5ed01b14a4
commit 507547af83
8 changed files with 73 additions and 40 deletions

View File

@@ -1365,19 +1365,23 @@ table.fixed {
height: 4px;
margin-top: 5px;
}
th.sortable a, th.sorted-asc a, th.sorted-desc a {
th.sortable a,
th.sorted a {
display: block;
overflow: hidden;
}
th.sortable a span, th.sorted-asc a span, th.sorted-desc a span {
th.sortable a span,
th.sorted a span {
float: left;
cursor: pointer;
}
th.sorted-asc .sorting-indicator, th.sorted-desc:hover .sorting-indicator, th.sortable:hover .sorting-indicator {
th.sorted.asc .sorting-indicator,
th.desc:hover span.sorting-indicator {
display: block;
background: url(../images/sort_asc.gif) no-repeat scroll 0 0;
}
th.sorted-desc .sorting-indicator, th.sorted-asc:hover .sorting-indicator {
th.sorted.desc .sorting-indicator,
th.asc:hover span.sorting-indicator {
display: block;
background: url(../images/sort_desc.gif) no-repeat scroll 0 0;
}