WordPress.org

Make WordPress Core

Changeset 11422


Ignore:
Timestamp:
05/21/09 09:40:11 (5 years ago)
Author:
azaozz
Message:

Fix styling for the plugins screen

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r11421 r11422  
    350350.subsubsub a:hover, 
    351351.subsubsub a.current:hover, 
    352 .ui-tabs-nav a:hover { 
     352.ui-tabs-nav a:hover, 
     353.plugins .inactive a:hover { 
    353354    color: #d54e21; 
    354355} 
     
    469470#media-upload a.del-link, 
    470471#media-items a.delete, 
    471 .ui-tabs-nav a, 
    472 .plugins a.delete { 
     472.plugins a.delete, 
     473.ui-tabs-nav a { 
    473474    color: #1c6280; 
    474475} 
     
    581582#all-plugins-table .inactive, 
    582583#all-plugins-table .inactive th, 
    583 #all-plugins-table .inactive td { 
    584     color: #777; 
     584#all-plugins-table .inactive td, 
     585#all-plugins-table .inactive a { 
     586    color: #888; 
    585587} 
    586588 
     
    589591.plugins .active td { 
    590592    color: #000; 
    591     background-color: #f5f5f5; 
    592593} 
    593594 
  • trunk/wp-admin/css/colors-fresh.css

    r11421 r11422  
    350350.subsubsub a:hover, 
    351351.subsubsub a.current:hover, 
    352 .ui-tabs-nav a:hover { 
     352.ui-tabs-nav a:hover, 
     353.plugins .inactive a:hover { 
    353354    color: #d54e21; 
    354355} 
     
    465466#media-upload a.del-link, 
    466467#media-items a.delete, 
    467 .ui-tabs-nav a, 
    468 .plugins a.delete { 
     468.plugins a.delete, 
     469.ui-tabs-nav a { 
    469470    color: #21759b; 
    470471} 
     
    576577#all-plugins-table .inactive, 
    577578#all-plugins-table .inactive th, 
    578 #all-plugins-table .inactive td { 
    579     color: #777; 
     579#all-plugins-table .inactive td, 
     580#all-plugins-table .inactive a { 
     581    color: #888; 
    580582} 
    581583 
     
    584586.plugins .active td { 
    585587    color: #000; 
    586     background-color: #f5f5f5; 
    587588} 
    588589 
  • trunk/wp-admin/js/plugin-install.dev.js

    r11225 r11422  
    1212        }; 
    1313 
    14         return $('#dashboard_plugins a.thickbox, #install-plugins a.thickbox').each( function() { 
     14        return $('#dashboard_plugins a.thickbox, .plugins a.thickbox').each( function() { 
    1515            var href = $(this).attr('href'); 
    1616            if ( ! href ) 
  • trunk/wp-admin/js/plugin-install.js

    r11225 r11422  
    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>&nbsp;"+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})}); 
     1jQuery(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>&nbsp;"+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})}); 
  • trunk/wp-admin/plugins.php

    r11391 r11422  
    382382        <td class='plugin-title'><strong>{$plugin_data['Name']}</strong></td> 
    383383        <td class='desc'><p>{$plugin_data['Description']}</p></td> 
    384     </tr>\n"; 
    385  
    386         do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context ); 
    387         do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context ); 
    388  
    389         echo " 
     384    </tr> 
    390385    <tr class='$class second'> 
    391386        <td></td> 
     
    416411        echo "</p></td> 
    417412    </tr>\n"; 
     413     
     414        do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context ); 
     415        do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context ); 
    418416    } 
    419417?> 
  • trunk/wp-admin/wp-admin.css

    r11421 r11422  
    7272} 
    7373 
    74 .plugins td, 
    75 .plugins th { 
     74.widefat .plugins td, 
     75.widefat .plugins th { 
    7676    border-bottom: 0 none; 
     77} 
     78 
     79.plugins .inactive td, 
     80.plugins .inactive th, 
     81.plugins .active td, 
     82.plugins .active th { 
     83    border-top-style: solid; 
     84    border-top-width: 1px; 
    7785    padding: 4px 7px 0; 
    7886} 
     
    8088.plugins .second td, 
    8189.plugins .second th { 
    82     border-bottom-style: solid; 
    83     border-bottom-width: 1px; 
     90    border-top: 0 none; 
    8491    padding: 0 7px 4px; 
     92} 
     93 
     94.plugins-php .widefat tfoot th, 
     95.plugins-php .widefat tfoot td { 
     96    border-top-style: solid; 
     97    border-top-width: 1px; 
    8598} 
    8699 
  • trunk/wp-includes/script-loader.php

    r11418 r11422  
    363363        ) ); 
    364364 
    365         $scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'jquery' ), '20090506' ); 
     365        $scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'jquery' ), '20090520' ); 
    366366        $scripts->add_data( 'plugin-install', 'group', 1 ); 
    367367        $scripts->localize( 'plugin-install', 'plugininstallL10n', array( 
     
    416416 
    417417    // all colors stylesheets need to have the same query strings (cache manifest compat) 
    418     $colors_version = '20090520'; 
     418    $colors_version = '20090520a'; 
    419419     
    420     $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090518' ); 
     420    $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090520' ); 
    421421    $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' ); 
    422422 
Note: See TracChangeset for help on using the changeset viewer.