From 375aa1f81c6995d0624c635f73f9270d5185472f Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 28 Nov 2008 04:33:35 +0000 Subject: [PATCH] Hide actions in management tables, show on hover; improve comments table; fix "Configure" link position on dashboard, fixes #8386 git-svn-id: http://svn.automattic.com/wordpress/trunk@9934 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-footer.php | 2 +- wp-admin/css/dashboard.css | 10 ++++------ wp-admin/css/global.css | 6 +++--- wp-admin/css/ie-rtl.css | 5 ++++- wp-admin/css/ie.css | 9 +++++++++ wp-admin/includes/dashboard.php | 2 +- wp-admin/includes/template.php | 15 +++++++++++++++ wp-admin/wp-admin.css | 27 +++++++++++++++++++-------- 8 files changed, 56 insertions(+), 20 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 55295e433c..39c219d52c 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -8,7 +8,7 @@ ?>
- +
diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index d330f3d0aa..da3a1f864e 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -79,10 +79,8 @@ div.postbox div.inside { #dashboard-widgets h3 a { text-decoration: underline; - float: right; - position: relative; - right: 5px; - top: -12px; + position: absolute; + right: 30px; } #dashboard-widgets h4 { @@ -272,8 +270,8 @@ div.postbox div.inside { display: block; } -#the-comment-list .comment-item p.comment-actions { - margin: 3px 0 0 0; +#the-comment-list .comment-item p.row-actions { + margin: 3px 0 0; padding: 0; font-size: 10px; } diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index 917c6bee03..25e11128cd 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -327,7 +327,7 @@ h6 { } .widefat td { - padding: 5px 7px; + padding: 7px 7px 5px; vertical-align: top; } @@ -397,8 +397,8 @@ h6 { .wrap h2 { font: italic normal normal 24px/29px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - margin: 13px 0 0 0; - padding: 0 15px 1px 0; + margin: 0; + padding: 15px 15px 3px 0; line-height: 35px; text-shadow: rgba(255,255,255,1) 0px 1px 0px; } diff --git a/wp-admin/css/ie-rtl.css b/wp-admin/css/ie-rtl.css index 9827fefcdf..2dc14590ac 100644 --- a/wp-admin/css/ie-rtl.css +++ b/wp-admin/css/ie-rtl.css @@ -55,7 +55,10 @@ div#dashboard-widgets { #dashboard_plugins h3.hndle { direction: rtl; } -#dashboard_incoming_links ul li, #dashboard_secondary ul li, #dashboard_primary ul li, p.comment-actions { +#dashboard_incoming_links ul li, +#dashboard_secondary ul li, +#dashboard_primary ul li, +p.row-actions { width: 100%; } #favorite-inside { diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index d250606258..cea0e153be 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -179,6 +179,15 @@ ul#adminmenu { } /* end Inline Editor */ +* html .row-actions { + visibility: visible; +} + +#dashboard-widgets h3 a { + height: 20px; + line-height: 20px; +} + #titlediv #title { width: 98%; } diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 489da9f0c5..d9b26eaebf 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -495,7 +495,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {

-

+