mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-07 08:01:54 +01:00
Fix styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
85766ab12e
commit
c9ce42c8a4
@ -349,7 +349,8 @@ a:hover,
|
|||||||
div.dashboard-widget-submit input:hover,
|
div.dashboard-widget-submit input:hover,
|
||||||
.subsubsub a:hover,
|
.subsubsub a:hover,
|
||||||
.subsubsub a.current:hover,
|
.subsubsub a.current:hover,
|
||||||
.ui-tabs-nav a:hover {
|
.ui-tabs-nav a:hover,
|
||||||
|
.plugins .inactive a:hover {
|
||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -468,8 +469,8 @@ a,
|
|||||||
#the-comment-list p.comment-author strong a,
|
#the-comment-list p.comment-author strong a,
|
||||||
#media-upload a.del-link,
|
#media-upload a.del-link,
|
||||||
#media-items a.delete,
|
#media-items a.delete,
|
||||||
.ui-tabs-nav a,
|
.plugins a.delete,
|
||||||
.plugins a.delete {
|
.ui-tabs-nav a {
|
||||||
color: #1c6280;
|
color: #1c6280;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -580,15 +581,15 @@ 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,
|
||||||
color: #777;
|
#all-plugins-table .inactive a {
|
||||||
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .active,
|
.plugins .active,
|
||||||
.plugins .active th,
|
.plugins .active th,
|
||||||
.plugins .active td {
|
.plugins .active td {
|
||||||
color: #000;
|
color: #000;
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#the-comment-list .unapproved,
|
#the-comment-list .unapproved,
|
||||||
|
@ -349,7 +349,8 @@ a:hover,
|
|||||||
div.dashboard-widget-submit input:hover,
|
div.dashboard-widget-submit input:hover,
|
||||||
.subsubsub a:hover,
|
.subsubsub a:hover,
|
||||||
.subsubsub a.current:hover,
|
.subsubsub a.current:hover,
|
||||||
.ui-tabs-nav a:hover {
|
.ui-tabs-nav a:hover,
|
||||||
|
.plugins .inactive a:hover {
|
||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -464,8 +465,8 @@ a,
|
|||||||
#the-comment-list p.comment-author strong a,
|
#the-comment-list p.comment-author strong a,
|
||||||
#media-upload a.del-link,
|
#media-upload a.del-link,
|
||||||
#media-items a.delete,
|
#media-items a.delete,
|
||||||
.ui-tabs-nav a,
|
.plugins a.delete,
|
||||||
.plugins a.delete {
|
.ui-tabs-nav a {
|
||||||
color: #21759b;
|
color: #21759b;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -575,15 +576,15 @@ 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,
|
||||||
color: #777;
|
#all-plugins-table .inactive a {
|
||||||
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .active,
|
.plugins .active,
|
||||||
.plugins .active th,
|
.plugins .active th,
|
||||||
.plugins .active td {
|
.plugins .active td {
|
||||||
color: #000;
|
color: #000;
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#the-comment-list .unapproved,
|
#the-comment-list .unapproved,
|
||||||
|
@ -11,7 +11,7 @@ jQuery(document).ready(function($) {
|
|||||||
tbWindow.css({'top':'20px','margin-top':'0'});
|
tbWindow.css({'top':'20px','margin-top':'0'});
|
||||||
};
|
};
|
||||||
|
|
||||||
return $('#dashboard_plugins a.thickbox, #install-plugins a.thickbox').each( function() {
|
return $('#dashboard_plugins a.thickbox, .plugins a.thickbox').each( function() {
|
||||||
var href = $(this).attr('href');
|
var href = $(this).attr('href');
|
||||||
if ( ! href )
|
if ( ! href )
|
||||||
return;
|
return;
|
||||||
|
@ -1 +1 @@
|
|||||||
jQuery(document).ready(function(b){var a=function(){var f=b("#TB_window"),e=b(window).width(),d=b(window).height(),c=(720<e)?720:e;if(f.size()){f.width(c-50).height(d-45);b("#TB_iframeContent").width(c-50).height(d-75);f.css({"margin-left":"-"+parseInt(((c-50)/2),10)+"px"});if(!(b.browser.msie&&b.browser.version.substr(0,1)<7)){f.css({top:"20px","margin-top":"0"})}}return b("#dashboard_plugins a.thickbox, #install-plugins a.thickbox").each(function(){var g=b(this).attr("href");if(!g){return}g=g.replace(/&width=[0-9]+/g,"");g=g.replace(/&height=[0-9]+/g,"");b(this).attr("href",g+"&width="+(c-80)+"&height="+(d-85))})};a().click(function(){b("#TB_title").css({"background-color":"#222",color:"#cfcfcf"});b("#TB_ajaxWindowTitle").html("<strong>"+plugininstallL10n.plugin_information+"</strong> "+b(this).attr("title"));return false});b("#plugin-information #sidemenu a").click(function(){var c=b(this).attr("name");b("#plugin-information-header a.current").removeClass("current");b(this).addClass("current");b("#section-holder div.section").hide();b("#section-"+c).show();return false})});
|
jQuery(document).ready(function(b){var a=function(){var f=b("#TB_window"),e=b(window).width(),d=b(window).height(),c=(720<e)?720:e;if(f.size()){f.width(c-50).height(d-45);b("#TB_iframeContent").width(c-50).height(d-75);f.css({"margin-left":"-"+parseInt(((c-50)/2),10)+"px"});if(!(b.browser.msie&&b.browser.version.substr(0,1)<7)){f.css({top:"20px","margin-top":"0"})}}return b("#dashboard_plugins a.thickbox, .plugins a.thickbox").each(function(){var g=b(this).attr("href");if(!g){return}g=g.replace(/&width=[0-9]+/g,"");g=g.replace(/&height=[0-9]+/g,"");b(this).attr("href",g+"&width="+(c-80)+"&height="+(d-85))})};a().click(function(){b("#TB_title").css({"background-color":"#222",color:"#cfcfcf"});b("#TB_ajaxWindowTitle").html("<strong>"+plugininstallL10n.plugin_information+"</strong> "+b(this).attr("title"));return false});b("#plugin-information #sidemenu a").click(function(){var c=b(this).attr("name");b("#plugin-information-header a.current").removeClass("current");b(this).addClass("current");b("#section-holder div.section").hide();b("#section-"+c).show();return false})});
|
@ -381,12 +381,7 @@ function print_plugins_table($plugins, $context = '') {
|
|||||||
<th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th>
|
<th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th>
|
||||||
<td class='plugin-title'><strong>{$plugin_data['Name']}</strong></td>
|
<td class='plugin-title'><strong>{$plugin_data['Name']}</strong></td>
|
||||||
<td class='desc'><p>{$plugin_data['Description']}</p></td>
|
<td class='desc'><p>{$plugin_data['Description']}</p></td>
|
||||||
</tr>\n";
|
</tr>
|
||||||
|
|
||||||
do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context );
|
|
||||||
do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context );
|
|
||||||
|
|
||||||
echo "
|
|
||||||
<tr class='$class second'>
|
<tr class='$class second'>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class='plugin-title'>";
|
<td class='plugin-title'>";
|
||||||
@ -415,6 +410,9 @@ function print_plugins_table($plugins, $context = '') {
|
|||||||
echo implode(' | ', $plugin_meta);
|
echo implode(' | ', $plugin_meta);
|
||||||
echo "</p></td>
|
echo "</p></td>
|
||||||
</tr>\n";
|
</tr>\n";
|
||||||
|
|
||||||
|
do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context );
|
||||||
|
do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -71,19 +71,32 @@ select option {
|
|||||||
padding: 7px 0;
|
padding: 7px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins td,
|
.widefat .plugins td,
|
||||||
.plugins th {
|
.widefat .plugins th {
|
||||||
border-bottom: 0 none;
|
border-bottom: 0 none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.plugins .inactive td,
|
||||||
|
.plugins .inactive th,
|
||||||
|
.plugins .active td,
|
||||||
|
.plugins .active th {
|
||||||
|
border-top-style: solid;
|
||||||
|
border-top-width: 1px;
|
||||||
padding: 4px 7px 0;
|
padding: 4px 7px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .second td,
|
.plugins .second td,
|
||||||
.plugins .second th {
|
.plugins .second th {
|
||||||
border-bottom-style: solid;
|
border-top: 0 none;
|
||||||
border-bottom-width: 1px;
|
|
||||||
padding: 0 7px 4px;
|
padding: 0 7px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plugins-php .widefat tfoot th,
|
||||||
|
.plugins-php .widefat tfoot td {
|
||||||
|
border-top-style: solid;
|
||||||
|
border-top-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
.import-system {
|
.import-system {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
@ -362,7 +362,7 @@ function wp_default_scripts( &$scripts ) {
|
|||||||
'l10n_print_after' => 'try{convertEntities(inlineEditL10n);}catch(e){};'
|
'l10n_print_after' => 'try{convertEntities(inlineEditL10n);}catch(e){};'
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'jquery' ), '20090506' );
|
$scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'jquery' ), '20090520' );
|
||||||
$scripts->add_data( 'plugin-install', 'group', 1 );
|
$scripts->add_data( 'plugin-install', 'group', 1 );
|
||||||
$scripts->localize( 'plugin-install', 'plugininstallL10n', array(
|
$scripts->localize( 'plugin-install', 'plugininstallL10n', array(
|
||||||
'plugin_information' => __('Plugin Information:'),
|
'plugin_information' => __('Plugin Information:'),
|
||||||
@ -415,9 +415,9 @@ 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 = '20090520';
|
$colors_version = '20090520a';
|
||||||
|
|
||||||
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090518' );
|
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090520' );
|
||||||
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
||||||
|
|
||||||
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20090514' );
|
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20090514' );
|
||||||
|
Loading…
Reference in New Issue
Block a user