Make sure .widefat border and background coloring only applies to tables. props MikeHansenMe. fixes #21936.

git-svn-id: http://core.svn.wordpress.org/trunk@23315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2013-01-22 14:44:04 +00:00
parent 868873da55
commit b538d6163f
8 changed files with 14 additions and 18 deletions

View File

@ -6,7 +6,6 @@
* @package WordPress * @package WordPress
*/ */
/** Define ABSPATH as this file's directory */
define( 'WP_INSTALLING', true ); define( 'WP_INSTALLING', true );
/** Sets up the WordPress Environment. */ /** Sets up the WordPress Environment. */

View File

@ -83,7 +83,7 @@ div.dashboard-widget,
background-color: #f1f1f1; background-color: #f1f1f1;
} }
.widefat { table.widefat {
border-color: #d1e5ee; border-color: #d1e5ee;
background-color: #fff; background-color: #fff;
} }

View File

@ -83,13 +83,10 @@ div.dashboard-widget,
background-color: #f1f1f1; background-color: #f1f1f1;
} }
.widefat { table.widefat {
border-color: #dfdfdf; border-color: #dfdfdf;
background-color: #f9f9f9; background-color: #f9f9f9;
} }
textarea.widefat {
background-color: #fff;
}
div.dashboard-widget-error { div.dashboard-widget-error {
background-color: #c43; background-color: #c43;

View File

@ -1143,6 +1143,11 @@ form.upgrade .hint {
margin: -0.5em 0 2em 0; margin: -0.5em 0 2em 0;
} }
.update-php .spinner {
float: none;
margin: -4px 0;
}
#ajax-loading, #ajax-loading,
.ajax-loading, .ajax-loading,
.ajax-feedback, .ajax-feedback,
@ -8575,8 +8580,3 @@ a.widget-control-edit {
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap { .locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap {
margin-left: 8em; margin-left: 8em;
} }
.update-php .spinner {
float: none;
margin: -4px 0;
}

View File

@ -118,7 +118,7 @@ do_settings_fields('writing', 'remote_publishing'); // A deprecated section.
<p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p> <p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p>
<p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p> <p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p>
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p> <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
<p class="pressthis"><a onclick="return false;" oncontextmenu="if(window.navigator.userAgent.indexOf('WebKit')!=-1||window.navigator.userAgent.indexOf('MSIE')!=-1)jQuery('.pressthis-code').show().find('textarea').focus().select();return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e('Press This') ?></span></a></p> <p class="pressthis"><a onclick="return false;" oncontextmenu="if(window.navigator.userAgent.indexOf('WebKit')!=-1||window.navigator.userAgent.indexOf('MSIE')!=-1){jQuery('.pressthis-code').show().find('textarea').focus().select();return false;}" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e('Press This') ?></span></a></p>
<div class="pressthis-code" style="display:none;"> <div class="pressthis-code" style="display:none;">
<p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p> <p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p>
<p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p> <p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p>

View File

@ -43,7 +43,7 @@ require_once('./admin-header.php');
<p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p> <p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p>
<p class="description"><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p> <p class="description"><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
<p class="pressthis"><a onclick="return false;" oncontextmenu="if(window.navigator.userAgent.indexOf('WebKit')!=-1||window.navigator.userAgent.indexOf('MSIE')!=-1)jQuery('.pressthis-code').show().find('textarea').focus().select();return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e('Press This') ?></span></a></p> <p class="pressthis"><a onclick="return false;" oncontextmenu="if(window.navigator.userAgent.indexOf('WebKit')!=-1||window.navigator.userAgent.indexOf('MSIE')!=-1){jQuery('.pressthis-code').show().find('textarea').focus().select();return false;}" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e('Press This') ?></span></a></p>
<div class="pressthis-code" style="display:none;"> <div class="pressthis-code" style="display:none;">
<p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p> <p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p>
<p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p> <p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p>

View File

@ -2665,7 +2665,7 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) {
* *
* If the $postarr parameter has 'ID' set to a value, then post will be updated. * If the $postarr parameter has 'ID' set to a value, then post will be updated.
* *
* You can set the post date manually, but setting the values for 'post_date' * You can set the post date manually, by setting the values for 'post_date'
* and 'post_date_gmt' keys. You can close the comments or open the comments by * and 'post_date_gmt' keys. You can close the comments or open the comments by
* setting the value for 'comment_status' key. * setting the value for 'comment_status' key.
* *

View File

@ -191,7 +191,7 @@ function get_date_template() {
/** /**
* Retrieve path of home template in current or parent template. * Retrieve path of home template in current or parent template.
* *
* This is the template used for the page containing the blog posts * This is the template used for the page containing the blog posts.
* *
* Attempts to locate 'home.php' first before falling back to 'index.php'. * Attempts to locate 'home.php' first before falling back to 'index.php'.
* *
@ -225,9 +225,9 @@ function get_front_page_template() {
/** /**
* Retrieve path of page template in current or parent template. * Retrieve path of page template in current or parent template.
* *
* Will first look for the specifically assigned page template * Will first look for the specifically assigned page template.
* The will search for 'page-{slug}.php' followed by 'page-id.php' * Then will search for 'page-{slug}.php', followed by 'page-id.php',
* and finally 'page.php' * and finally 'page.php'.
* *
* @since 1.5.0 * @since 1.5.0
* *