From 4acbfa76ec0098d5e6a37f2be51af590440de04b Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 3 Oct 2008 00:13:12 +0000 Subject: [PATCH] Reposition the Search and Filter. Brings the top of the screen closer to the wireframes. git-svn-id: http://svn.automattic.com/wordpress/trunk@9073 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/categories.php | 13 ++++++----- wp-admin/css/global.css | 6 ++++-- wp-admin/css/ie.css | 4 ---- wp-admin/edit-comments.php | 10 ++++----- wp-admin/edit-link-categories.php | 13 ++++++----- wp-admin/edit-pages.php | 15 +++++++------ wp-admin/edit-tags.php | 13 ++++++----- wp-admin/edit.php | 36 +++++++++++++++++-------------- wp-admin/link-manager.php | 16 ++++++++------ wp-admin/plugins.php | 6 +++--- wp-admin/upload.php | 11 +++++----- wp-admin/wp-admin.css | 25 +++++++++++---------- 12 files changed, 91 insertions(+), 77 deletions(-) diff --git a/wp-admin/categories.php b/wp-admin/categories.php index a13b437ebd..e879ea093f 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -139,14 +139,17 @@ endif; ?>
-
- -

+


+ + +
+
+
-
+
diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index a8191b699c..c44a49478f 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -131,8 +131,10 @@ h6 { .subsubsub { list-style: none; - margin: 0 0 8px; + margin: 0; padding: 0; + position: relative; + top: -5px; white-space: nowrap; font-size: 12px; float: left; @@ -223,7 +225,7 @@ th.check-column + th, th.check-column + td { border-width: 1px; border-style: solid; padding: 0 0.6em; - margin-bottom: 1em; + margin: 3px 15px 5px; } .updated p, .error p { diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index a2507d0ab5..471c1145c7 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -117,10 +117,6 @@ table.ie-fixed { table-layout: fixed; } -.search-box .button, #widget-search .button { - padding: 1px; -} - .widefat tr, .widefat th { margin-bottom: 0; border-spacing: 0; diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index aeb903dff9..fe079375f9 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -173,14 +173,12 @@ unset($status_links); - - -

+ +

- -
+
diff --git a/wp-admin/edit-link-categories.php b/wp-admin/edit-link-categories.php index b110ac7346..7185bc3a82 100644 --- a/wp-admin/edit-link-categories.php +++ b/wp-admin/edit-link-categories.php @@ -75,14 +75,17 @@ endif; ?>
-
- -

+


+ + + +
+
-
+
diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index b90b048236..5da23b026a 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -110,8 +110,6 @@ require_once('admin-header.php'); ?> -
-

+

-
- -

+ +

+ + +
@@ -209,7 +210,7 @@ if ( $page_links )
-
+
- - -

+


+ + + +
+
-
+
diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 352a8f89b6..0066f54b87 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -99,7 +99,6 @@ else
-
@@ -110,7 +109,7 @@ endif; ?>

+
- - -
- -

+ +

+ + +
@@ -224,8 +221,6 @@ $page_links = paginate_links( array( 'current' => $_GET['paged'] )); -if ( $page_links ) - echo "
$page_links
"; ?>
@@ -238,10 +233,19 @@ if ( $page_links )
-
+ +
+ + + -
+
+
+ +
diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 82aec80f24..1afdef0c5e 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -96,6 +96,7 @@ if ( isset($_GET['deleted']) ) {
+
- +
-
- -

+


+ + + +
+
@@ -140,7 +144,7 @@ echo $select_order;
-
+
" class="button-secondary action" />
-
+
@@ -370,7 +370,7 @@ function print_plugins_table($plugins, $context = '') { -
+
@@ -388,7 +388,7 @@ function print_plugins_table($plugins, $context = '') { -
+
diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 6240ceec85..6b8d4acbb4 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -252,14 +252,15 @@ foreach ($arc_result as $arc_row) { - - -

+ +

+ +
-
+
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 39a568d434..f2c26a1e06 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -544,12 +544,14 @@ p.pagenav { } .tablenav { + clear: both; + vertical-align: text-top; + /* height: 2em; padding: 7px 10px; - clear: both; margin-bottom: -10px; margin-top: 8px; - vertical-align: text-top; + */ } .tablenav .tablenav-pages { @@ -1565,20 +1567,15 @@ p#big-add-button .button { p.search-box { position: absolute; - right: 15px; - top: 52px; + right: 0; + top: -5px; margin: 0; } -p.search-box .button, #widget-search .button { - padding: 3px; - font-size: 13px; -} - .search-input { - margin-right: 2px; border-width: 1px; border-style: solid; + padding: 2px; } #posts-filter fieldset { @@ -1628,8 +1625,9 @@ body.wp-admin { .view-switch { float: right; - margin: 3px 5px; + margin: 0 20px; position: relative; + top: 2px; } .view-switch img { @@ -1642,8 +1640,9 @@ body.wp-admin { } .filter { - float: left; - margin: 0 30px; + left: 180px; + position: absolute; + top: 24px; } #the-comment-list td.comment p.comment-author {