Align QuickPress fields. props lessbloat. fixes #21754.

git-svn-id: http://core.svn.wordpress.org/trunk@22146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-10-09 19:07:09 +00:00
parent 8efdcc915a
commit f27e7f051f
3 changed files with 22 additions and 8 deletions

View File

@ -1,5 +1,14 @@
/* Fixes for IE 7 bugs */
#dashboard-widgets form .input-text-wrap input,
#dashboard-widgets form .textarea-wrap textarea {
width: 99%;
}
#dashboard-widgets form #title {
width: 98%;
}
.wp-editor-wrap .wp-editor-container textarea.wp-editor-area {
width: 97%;
}

View File

@ -2095,7 +2095,7 @@ html.wp-toolbar {
.postbox .inside,
.stuffbox .inside {
padding: 0 10px;
padding: 0 12px 0 10px;
line-height: 1.4em;
}
@ -5968,11 +5968,11 @@ h3:hover .edit-box {
}
#dashboard-widgets form .input-text-wrap input {
width: 99%;
width: 100%;
}
#dashboard-widgets form .textarea-wrap textarea {
width: 99%;
width: 100%;
}
#dashboard-widgets .postbox form .submit {
@ -5982,10 +5982,6 @@ h3:hover .edit-box {
border: none;
}
#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input {
margin: 0 5px 0 0;
}
#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish {
min-width: 0;
}
@ -6186,6 +6182,11 @@ h3:hover .edit-box {
}
/* QuickPress */
#dashboard_quick_press .easy-blogging {
padding: 0 8px;
text-align: left;
}
#dashboard_quick_press .input-text-wrap {
position: relative;
}
@ -6195,6 +6196,10 @@ h3:hover .edit-box {
position: absolute;
}
#dashboard_quick_press div.updated {
padding: 0 5px;
}
#title-wrap label,
#tags-input-wrap label {
cursor: text;

View File

@ -480,7 +480,7 @@ function wp_dashboard_quick_press() {
if ( $drafts_query->posts )
$drafts =& $drafts_query->posts;
}
printf('<p class="textright">' . __('You can also try %s, easy blogging from anywhere on the Web.') . '</p>', '<a href="' . esc_url( admin_url( 'tools.php' ) ) . '">' . __('Press This') . '</a>' );
printf('<p class="easy-blogging">' . __('You can also try %s, easy blogging from anywhere on the Web.') . '</p>', '<a href="' . esc_url( admin_url( 'tools.php' ) ) . '">' . __('Press This') . '</a>' );
$_REQUEST = array(); // hack for get_default_post_to_edit()
}