diff --git a/wp-admin/css/press-this.css b/wp-admin/css/press-this.css index af8dd3ccc4..d638330ed6 100644 --- a/wp-admin/css/press-this.css +++ b/wp-admin/css/press-this.css @@ -16,25 +16,31 @@ img { background: #444 !important; } -.button, #poststuff #edButtonPreview, #poststuff #edButtonHTML { - font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; - padding: 3px 5px; - font-size: 12px; - line-height: 1.5em; - border-width: 1px; - border-style: solid; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - cursor: pointer; - margin-left: 5px; - text-decoration: none; +-moz-border-radius-bottomleft:0; +-moz-border-radius-bottomright:0; +-moz-border-radius-topleft:3px; +-moz-border-radius-topright:3px; +border-style:solid; +border-width:1px; +cursor:pointer; +display:block; +height:18px; +margin:0px 5px 0 0; +padding:0px 5px 0px; +background-color:#E9E9E9; +border-bottom-color:#E9E9E9; +color:#333333; +font-size: 10px; +line-height: 18px; } + + .howto { +margin-top: 2px; +margin-bottom: 3px; font-size: 11px; font-style: italic; display: block; @@ -47,7 +53,6 @@ input.text { outline-width: medium; padding: 0; width: 100%; - border-style: solid; color: #333; } @@ -92,46 +97,74 @@ div.zerosize { margin: 0 12px 12px; } -#post_title { - width: 99%; -} - -.titlewrap { - border-style: solid; - border-width: 1px; - padding: 2px 3px; - border-color: #ccc; -} -.titlewrap input { - font-size: 1.2em; -} - #poststuff h2, #poststuff h3 { font-size: 14px; font-weight: bold; padding: 7px; margin: 0 0 10px; - background-color: #eaf3fa; + + background-image:url(../images/postbox-bg.gif); +background-position:left top; +background-repeat:repeat-x; + +font-size:12px; +font-weight:bold; +line-height:1; +margin:0 0 10px; +padding:7px 9px; +text-shadow:0 1px 0 #FFFFFF; } -#poststuff .stuffbox { - border: 1px solid white; - border-color: #EBEBEB #ccc #ccc #EBEBEB; - padding: 2px; - margin-bottom: 10px; +.metabox-holder .postbox, + .postbox, +.stuffbox { + margin-bottom: 20px; + border-width: 1px; + border-style: solid; + line-height: 1; + -moz-border-radius: 6px; + -khtml-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; +} +.titlediv { +border-color:#DFDFDF; +} +#title { +-moz-border-radius-bottomleft:6px; +-moz-border-radius-bottomright:6px; +-moz-border-radius-topleft:6px; +-moz-border-radius-topright:6px; +border-style:solid; +border-width:1px; +font-size:1.7em; +outline-color:-moz-use-text-color; +outline-style:none; +outline-width:medium; +padding:3px 4px; +width:98%; +} +.postbox h2 { +background-image:url(../images/postbox-bg.gif); +background-position:left top; +background-repeat:repeat-x; +background-color:#DFDFDF; } .editor-container { - border-width: 1px; - border-color: #ccc; - border-style: solid; - margin-bottom: 1em; - margin-top: -10px; + -moz-border-radius-bottomleft:0; +-moz-border-radius-bottomright:0; +-moz-border-radius-topleft:6px; +-moz-border-radius-topright:6px; +border-collapse:separate; +border-style:solid; +border-width:1px; +border-color:#DFDFDF; } .postdivrich { position: relative; - margin-top: 10px; + padding-top: 25px; } #actions { @@ -145,6 +178,7 @@ div.zerosize { #actions li { float: left; list-style: none; + margin-right: 10px; } /* Photo Styles */ @@ -213,20 +247,20 @@ div.zerosize { /* Video */ #embed-code { - width: 100%; - border: 0; +width: 100%; height: 98px; } /* Submit Column */ #viewsite { padding: 0; - margin: 0; + margin: 0 0 20px 0; + font-size: 10px; + clear: both; } #viewsite .button { - width: 196px; - margin: 0 0 10px 0; + margin: 0 0 0px 0; display: block; } @@ -269,7 +303,7 @@ div.zerosize { } #categorydiv { - padding: 0.5em 0.9em; + } /* Categories */ @@ -286,7 +320,6 @@ div.zerosize { #categorydiv div.ui-tabs-panel { height: 150px; overflow: auto; - padding: 0.5em 0.9em; } ul.categorychecklist li { @@ -306,9 +339,12 @@ ul.categorychecklist li { clear: both; margin: 0; } +#tagadd { +margin-left: 3px; +} #tagchecklist { - padding-left: 1em; +margin-top: 3px; margin-bottom: 1em; font-size: 12px; overflow: auto; @@ -343,27 +379,34 @@ ul.categorychecklist li { } /* Submit */ -.submitbox { - margin-top: -10px; -} -.submitbox .submit { - font-size: 11px; - padding: 12px 10px 10px; - text-align: left; +.submit input, +.button, +.button-primary, +.button-secondary, +.button-highlighted, +#postcustomstuff .submit input { + font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; + text-decoration: none; + font-size: 11px !important; + line-height: 16px; + padding: 2px 8px; + cursor: pointer; + border-width: 1px; + border-style: solid; + -moz-border-radius: 11px; + -khtml-border-radius: 11px; + -webkit-border-radius: 11px; + border-radius: 11px; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + -khtml-box-sizing: content-box; + box-sizing: content-box; } - -.submit { - border-top: 1px solid #ccc; - margin: 10px 0 0; - padding: 1.5em 0 0; - -moz-border-radius: 3px 3px 0 0; - -webkit-border-top-left-radius: 3px; - -webkit-border-top-right-radius: 3px; - -khtml-border-top-left-radius: 3px; - -khtml-border-top-right-radius: 3px; - border-top-left-radius: 3px; - border-top-right-radius: 3px; +.button-primary { +background:#21759B url(../images/button-grad.png) repeat-x scroll left top; +border-color:#21759B; +color:#FFFFFF; } .ac_results { diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index a315ad03a6..d94c9f4363 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -56,7 +56,7 @@ function press_it() { $quick['post_status'] = isset($_REQUEST['publish']) ? 'publish' : 'draft'; $quick['post_category'] = $_REQUEST['post_category']; $quick['tags_input'] = $_REQUEST['tags_input']; - $quick['post_title'] = $_REQUEST['post_title']; + $quick['post_title'] = $_REQUEST['title']; $quick['post_content'] = ''; // insert the post with nothing in it, to get an ID @@ -124,11 +124,15 @@ switch ($_REQUEST['ajax']) { jQuery('#extra_fields').html(''); }); +
@@ -141,7 +145,7 @@ switch ($_REQUEST['ajax']) { image_selector(); }); - +
0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> @@ -469,12 +478,12 @@ die;
+
- +