Add gray background to inactive rows on plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84ff783414
commit
cf7300c795
|
@ -587,8 +587,8 @@ input.readonly, textarea.readonly {
|
||||||
#all-plugins-table .inactive,
|
#all-plugins-table .inactive,
|
||||||
#all-plugins-table .inactive th,
|
#all-plugins-table .inactive th,
|
||||||
#all-plugins-table .inactive td,
|
#all-plugins-table .inactive td,
|
||||||
#all-plugins-table .inactive a {
|
tr.inactive + tr.plugin-update-tr .plugin-update {
|
||||||
color: #666;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .active,
|
.plugins .active,
|
||||||
|
@ -664,7 +664,7 @@ input.readonly, textarea.readonly {
|
||||||
background: url(../images/xit.gif) no-repeat -10px 0;
|
background: url(../images/xit.gif) no-repeat -10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#update-nag, .plugin-update {
|
#update-nag {
|
||||||
background-color: #fffeeb;
|
background-color: #fffeeb;
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
color: #555;
|
color: #555;
|
||||||
|
|
|
@ -582,8 +582,8 @@ input.readonly, textarea.readonly {
|
||||||
#all-plugins-table .inactive,
|
#all-plugins-table .inactive,
|
||||||
#all-plugins-table .inactive th,
|
#all-plugins-table .inactive th,
|
||||||
#all-plugins-table .inactive td,
|
#all-plugins-table .inactive td,
|
||||||
#all-plugins-table .inactive a {
|
tr.inactive + tr.plugin-update-tr .plugin-update {
|
||||||
color: #666;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .active,
|
.plugins .active,
|
||||||
|
@ -659,7 +659,7 @@ input.readonly, textarea.readonly {
|
||||||
background: url(../images/xit.gif) no-repeat -10px 0;
|
background: url(../images/xit.gif) no-repeat -10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#update-nag, .plugin-update {
|
#update-nag {
|
||||||
background-color: #fffeeb;
|
background-color: #fffeeb;
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
color: #555;
|
color: #555;
|
||||||
|
|
|
@ -157,7 +157,7 @@ function wp_plugin_update_row( $file, $plugin_data ) {
|
||||||
|
|
||||||
$details_url = admin_url('plugin-install.php?tab=plugin-information&plugin=' . $r->slug . '&TB_iframe=true&width=600&height=800');
|
$details_url = admin_url('plugin-install.php?tab=plugin-information&plugin=' . $r->slug . '&TB_iframe=true&width=600&height=800');
|
||||||
|
|
||||||
echo '<tr><td colspan="3" class="plugin-update"><div class="update-message">';
|
echo '<tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message">';
|
||||||
if ( ! current_user_can('update_plugins') )
|
if ( ! current_user_can('update_plugins') )
|
||||||
printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s Details</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version );
|
printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s Details</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version );
|
||||||
else if ( empty($r->package) )
|
else if ( empty($r->package) )
|
||||||
|
|
|
@ -421,7 +421,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
|
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
|
||||||
|
|
||||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||||
$colors_version = '20090522';
|
$colors_version = '20090603';
|
||||||
|
|
||||||
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090522' );
|
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090522' );
|
||||||
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
||||||
|
|
Loading…
Reference in New Issue