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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-12-22 18:01:15 +00:00
parent 09f625b796
commit ec28e5ddb6
6 changed files with 20 additions and 5 deletions

File diff suppressed because one or more lines are too long

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 */

BIN
wp-admin/images/sort.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 B

View File

@ -484,7 +484,7 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20101221' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20101222' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );