From 425509448d0db8f95c8cc1217adb80c7f8dd4b76 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 27 Oct 2008 06:07:59 +0000 Subject: [PATCH] More work on publishing module. WIP. git-svn-id: https://develop.svn.wordpress.org/trunk@9365 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-fresh.css | 8 ++--- wp-admin/edit-form-advanced.php | 19 ++++++------ wp-admin/wp-admin.css | 55 +++++++++++++++------------------ 3 files changed, 37 insertions(+), 45 deletions(-) diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 3c66011b96..73643faadc 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -290,12 +290,8 @@ div.dashboard-widget-submit input, } .submitbox .submitdelete { - border-bottom-color: #999; -} - -#normal-sortables .submitbox .submitdelete { - color: #000; - border-bottom-color: #999; + color: #f00; + border-bottom-color: #f00; } .submitbox .submitdelete:hover, diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 1a626e4465..b37746d412 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -70,15 +70,15 @@ function post_submit_meta_box($post) { ?>
-
+
-
ID), true); ?> tabindex="4" />
+
ID), true); ?> tabindex="4" />
-
+
@@ -102,14 +102,14 @@ if ( 0 != $post->ID ) { } ?> -
+
 
-
+
post_status ) { @@ -168,7 +168,7 @@ if ( $can_publish OR ( $post->post_status == 'publish' AND current_user_can('edi
post_status || 'private' == $post->post_status ) - $savebtn = attribute_escape( __('Save') ); + $savebtn = attribute_escape( __('Update Post') ); else $savebtn = attribute_escape( __('Save Draft') ); ?> @@ -182,7 +182,7 @@ else
-
+
@@ -197,13 +197,14 @@ if ( ( 'edit' == $action ) && current_user_can('delete_post', $post->ID) ) { ?> post_status, array('publish', 'future') ) || 0 == $post->ID ) { ?> - + - +
+
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 84994aba15..955e1da73e 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -208,8 +208,18 @@ table#availablethemes td.bottom { } #misc-publishing-actions { - width: 70%; + width: 69%; float: left; + border-right: 1px solid #ddd; +} + +.misc-pub-section { + padding: 6px 0; + border-bottom: 1px solid #ddd; +} + +.misc-pub-section-last { + border-bottom: 0; } #minor-publishing-actions { @@ -218,26 +228,37 @@ table#availablethemes td.bottom { text-align: right; } +.preview { + float: right; + padding: 2px 8px !important; + top: 10px; + position: relative; +} + #minor-publishing { + border-bottom: 1px solid #ddd; } #major-publishing-actions { - padding: 0 3px; + background: #eaf2fa; + padding-top: 8px; clear: both; - height: 30px; - line-height: 30px; } #delete-action { + line-height: 25px; + vertical-align: middle; text-align: left; float: left; width: 30%; + background: #eaf2fa; } #publishing-action { text-align: right; float: right; width: 70%; + background: #eaf2fa; } .side-info { @@ -793,7 +814,6 @@ ul#adminmenu li.write-new-button a { border-style: none none solid; } - #adminmenu .wp-submenu { margin: 0; position: relative; @@ -950,7 +970,6 @@ ul#adminmenu li.write-new-button a { } /* end side admin menu */ - /* 2.6 */ #adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins { position: absolute; @@ -966,9 +985,6 @@ ul#adminmenu li.write-new-button a { display: none; } - - - .post-com-count-wrapper { min-width: 22px; } @@ -1254,19 +1270,6 @@ table.form-table td .updated { width: 99.5%; } -#normal-sortables .inside-submitbox .insidebox { - float: left; - margin: 5px 12px 5px 0; -} - -#normal-sortables .submit #publish { - margin: 8px 0 0 12px; -} - -#normal-sortables .inside-submitbox { - /* float: left; */ -} - #trackback_url { width: 99%; } @@ -1329,7 +1332,6 @@ table.form-table td .updated { border: none; } -#submitdiv div.inside, #pagesubmitdiv div.inside, #linksubmitdiv div.inside, div.inside { @@ -1575,17 +1577,12 @@ table.form-table td .updated { margin: 0; } - - /* #side-info-column #side-sortables { height: 100%; } */ - - - .submitbox .submit { text-align: left; padding: 12px 10px 10px; @@ -2065,7 +2062,6 @@ fieldset { padding: 5px; } - /* media popup 0819 */ #sidemenu { margin: -30px 15px 0 315px; @@ -2565,7 +2561,6 @@ fieldset { width: 10px; } - /* Media library */ #wpbody-content #media-items .describe { border-collapse: collapse;