Put sort arrows in sprite. Make 100% of th clickable. Align sort indicators. Remove unneeded padding. Props scribu. fixes #15580

git-svn-id: https://develop.svn.wordpress.org/trunk@17110 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-12-22 18:01:15 +00:00
parent 48a0f157b1
commit cc812c98d3
6 changed files with 20 additions and 5 deletions

View File

@@ -1376,14 +1376,29 @@ table.fixed {
.sorting-indicator {
display: none;
width: 21px;
width: 7px;
height: 4px;
margin-top: 5px;
margin-left: 7px;
background-image: url(../images/sort.gif);
background-repeat: no-repeat;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
.widefat th.sortable,
.widefat th.sorted {
padding: 0;
}
th.sortable a,
th.sorted a {
display: block;
overflow: hidden;
padding: 7px 7px 8px;
}
.fixed .column-comments.sortable a,
.fixed .column-comments.sorted a {
padding: 8px 0;
}
th.sortable a span,
th.sorted a span {
@@ -1393,12 +1408,12 @@ th.sorted a span {
th.sorted.asc .sorting-indicator,
th.desc:hover span.sorting-indicator {
display: block;
background: url(../images/sort_asc.gif) no-repeat scroll 0 0;
background-position: 0 0;
}
th.sorted.desc .sorting-indicator,
th.asc:hover span.sorting-indicator {
display: block;
background: url(../images/sort_desc.gif) no-repeat scroll 0 0;
background-position: -7px 0;
}
/* Bulk Actions */