WordPress.org

Make WordPress Core

Changeset 11225


Ignore:
Timestamp:
05/07/09 02:41:36 (5 years ago)
Author:
azaozz
Message:

Show Plugin Information thickbox title only when installing plugins, restore access to links on install plugins screens, some colors-fresh.css cleanup, fixes #9742

Location:
trunk
Files:
6 edited

Legend:

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

    r11224 r11225  
    434434.widefat td, 
    435435.widefat th { 
    436     border-bottom-color: #dfdfdf; 
    437 } 
    438  
    439 .widefat tfoot th { 
    440     border-bottom:0; 
     436    border-color: #dfdfdf; 
    441437} 
    442438 
     
    520516} 
    521517 
    522 div#media-upload-header { 
     518div#media-upload-header, 
     519div#plugin-information-header { 
    523520    background-color: #f9f9f9; 
    524521    border-bottom-color: #dfdfdf; 
    525 } 
    526  
    527 div#plugin-information-header { 
    528     background-color: #e4f2fd; 
    529     border-bottom-color: #c6d9e9; 
    530522} 
    531523 
     
    578570.side-info, 
    579571.plugins tr, 
    580 .metabox-holder .postbox, 
    581 #poststuff .postbox , 
     572.postbox, 
    582573#your-profile #rich_editing { 
    583574    background-color: #fff; 
  • trunk/wp-admin/css/colors-fresh.css

    r11224 r11225  
    150150} 
    151151 
    152 .ac_match, .subsubsub a.current { 
     152.ac_match, 
     153.subsubsub a.current { 
    153154    color: #000; 
    154155} 
     
    171172} 
    172173 
    173 .alternate, .alt { 
     174.alternate, 
     175.alt { 
    174176    background-color: #f9f9f9; 
    175177} 
     
    188190    background: #fff; 
    189191} 
     192 
    190193#media-upload .slidetoggle { 
    191194    border-top-color: #dfdfdf; 
    192195} 
    193196 
    194 .error, #login #login_error { 
     197.error, 
     198#login #login_error { 
    195199    background-color: #ffebe8; 
    196200    border-color: #c00; 
     
    341345#the-comment-list .comment a:hover, 
    342346#rightnow a:hover, 
     347#login form .submit input:hover, 
     348#media-upload a.del-link:hover, 
     349div.dashboard-widget-submit input:hover, 
    343350.subsubsub a:hover, 
    344351.subsubsub a.current:hover, 
    345 #login form .submit input:hover, 
    346 div.dashboard-widget-submit input:hover, 
    347 #media-upload a.del-link:hover, 
    348352.ui-tabs-nav a:hover { 
    349353    color: #d54e21; 
     
    451455} 
    452456 
     457a, 
    453458#adminmenu a, 
    454459#poststuff #edButtonPreview, 
     
    457462#media-upload a.del-link, 
    458463#media-upload a.delete, 
    459 .ui-tabs-nav a, a { 
     464.ui-tabs-nav a { 
    460465    color: #21759b; 
    461466} 
     
    493498    color: #000; 
    494499    text-shadow: none; 
    495     -moz-box-shadow: rgba(0,0,0,0.2) 0px -1px 0px; 
    496     -khtml-box-shadow: rgba(0,0,0,0.2) 0px -1px 0px; 
    497     -webkit-box-shadow: rgba(0,0,0,0.2) 0px -1px 0px; 
    498     box-shadow: rgba(0,0,0,0.2) 0px -1px 0px; 
     500    -moz-box-shadow: rgba(0,0,0,0.2) 0 -1px 0; 
     501    -khtml-box-shadow: rgba(0,0,0,0.2) 0 -1px 0; 
     502    -webkit-box-shadow: rgba(0,0,0,0.2) 0 -1px 0; 
     503    box-shadow: rgba(0,0,0,0.2) 0 -1px 0; 
    499504} 
    500505 
     
    507512} 
    508513 
    509 div#media-upload-header { 
     514div#media-upload-header, 
     515div#plugin-information-header { 
    510516    background-color: #f9f9f9; 
    511517    border-bottom-color: #dfdfdf; 
    512 } 
    513  
    514 div#plugin-information-header { 
    515     background-color: #e4f2fd; 
    516     border-bottom-color: #c6d9e9; 
    517518} 
    518519 
     
    562563} 
    563564 
    564 #pass-strength-result { 
    565     background-color: #eee; 
    566     border-color: #ddd !important; 
    567 } 
    568  
    569 #pass-strength-result.bad { 
    570     background-color: #ffb78c; 
    571     border-color: #ff853c !important; 
    572 } 
    573  
    574 #pass-strength-result.good { 
    575     background-color: #ffec8b; 
    576     border-color: #fc0 !important; 
    577 } 
    578  
    579 #pass-strength-result.short { 
    580     background-color: #ffa0a0; 
    581     border-color: #f04040 !important; 
    582 } 
    583  
    584 #pass-strength-result.strong { 
    585     background-color: #c3ff88; 
    586     border-color: #8dff1c !important; 
    587 } 
    588  
    589565.checkbox, 
    590566.side-info, 
     567.plugins tr, 
    591568#your-profile #rich_editing { 
    592569    background-color: #fff; 
     
    615592#the-comment-list .delete a { 
    616593    color: #bc0b0b; 
    617 } 
    618  
    619 .plugins tr { 
    620     background-color: #fff; 
    621594} 
    622595 
     
    700673} 
    701674 
    702 #user_info a:link, #user_info a:visited, #footer a:link, #footer a:visited { 
     675#user_info a:link, 
     676#user_info a:visited, 
     677#footer a:link, 
     678#footer a:visited { 
    703679    color: #ccc; 
    704680    text-decoration: none; 
    705681} 
    706682 
    707 #user_info a:hover, #footer a:hover { 
     683#user_info a:hover, 
     684#footer a:hover { 
    708685    color: #fff; 
    709686    text-decoration: underline !important; 
    710687} 
    711688 
    712 #user_info a:active, #footer a:active { 
     689#user_info a:active, 
     690#footer a:active { 
    713691    color: #ccc !important; 
    714692} 
     
    724702#media-upload a.delete { 
    725703    color: #888; 
     704} 
     705 
     706#pass-strength-result { 
     707    background-color: #eee; 
     708    border-color: #ddd !important; 
     709} 
     710 
     711#pass-strength-result.bad { 
     712    background-color: #ffb78c; 
     713    border-color: #ff853c !important; 
     714} 
     715 
     716#pass-strength-result.good { 
     717    background-color: #ffec8b; 
     718    border-color: #fc0 !important; 
     719} 
     720 
     721#pass-strength-result.short { 
     722    background-color: #ffa0a0; 
     723    border-color: #f04040 !important; 
     724} 
     725 
     726#pass-strength-result.strong { 
     727    background-color: #c3ff88; 
     728    border-color: #8dff1c !important; 
    726729} 
    727730 
     
    11981201    background-color: #ffdddd; 
    11991202} 
     1203 
    12001204table.diff .diff-deletedline del { 
    12011205    background-color: #ff9999; 
    12021206} 
     1207 
    12031208table.diff .diff-addedline { 
    12041209    background-color: #ddffdd; 
    12051210} 
     1211 
    12061212table.diff .diff-addedline ins { 
    12071213    background-color: #99ff99; 
     
    12241230    color: #D54E21; 
    12251231} 
    1226  
    12271232 
    12281233#screen-options-wrap, 
  • trunk/wp-admin/css/plugin-install.css

    r9682 r11225  
    8686 
    8787#plugin-information .fyi { 
    88     margin-left: 10px; 
    89     margin-bottom: 50px; 
     88    margin: 0 10px 50px; 
    9089    width: 210px; 
    9190} 
  • trunk/wp-admin/js/plugin-install.dev.js

    r10327 r11225  
    1212        }; 
    1313 
    14         return $('a.thickbox').each( function() { 
     14        return $('#dashboard_plugins a.thickbox, #install-plugins a.thickbox').each( function() { 
    1515            var href = $(this).attr('href'); 
    1616            if ( ! href ) 
     
    2929 
    3030    /* Plugin install related JS*/ 
    31     $('#install-plugins tbody.plugins tr').click( function() { 
    32         $(this).find('.action-links a.onclick').click(); 
    33         return false; 
    34     }); 
    35  
    3631    $('#plugin-information #sidemenu a').click( function() { 
    3732        var tab = $(this).attr('name'); 
  • trunk/wp-admin/js/plugin-install.js

    r10327 r11225  
    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("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("#install-plugins tbody.plugins tr").click(function(){b(this).find(".action-links a.onclick").click();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, #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})}); 
  • trunk/wp-includes/script-loader.php

    r11224 r11225  
    367367        ) ); 
    368368 
    369         $scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'thickbox', 'jquery' ), '20090102' ); 
     369        $scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'thickbox', 'jquery' ), '20090506' ); 
    370370        $scripts->add_data( 'plugin-install', 'group', 1 ); 
    371371        $scripts->localize( 'plugin-install', 'plugininstallL10n', array( 
Note: See TracChangeset for help on using the changeset viewer.