Permalink
Browse files

Put sort arrows in sprite. Make 100% of th clickable. Align sort indi…

…cators. Remove unneeded padding. Props scribu. fixes #15580

git-svn-id: http://svn.automattic.com/wordpress/trunk@17110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 09f625b commit ec28e5ddb643788bc42d1efe5fff1cd8bec07a51 ryan committed Dec 22, 2010
View
2 wp-admin/css/wp-admin.css
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
21 wp-admin/css/wp-admin.dev.css
@@ -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 */
View
BIN wp-admin/images/sort.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wp-admin/images/sort_asc.gif
Deleted file not rendered
View
BIN wp-admin/images/sort_desc.gif
Deleted file not rendered
View
2 wp-includes/script-loader.php
@@ -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' );

0 comments on commit ec28e5d

Please sign in to comment.