WordPress.org

Make WordPress Core

Ticket #21598: 21598.13.diff

File 21598.13.diff, 5.1 KB (added by lessbloat, 2 years ago)
  • wp-admin/includes/plugin-install.php

     
    148148                <?php wp_nonce_field( 'plugin-upload') ?> 
    149149                <label class="screen-reader-text" for="pluginzip"><?php _e('Plugin zip file'); ?></label> 
    150150                <input type="file" id="pluginzip" name="pluginzip" /> 
    151                 <input type="submit" class="button" value="<?php esc_attr_e('Install Now') ?>" /> 
     151                <input type="submit" class="button button-small" value="<?php esc_attr_e('Install Now') ?>" /> 
    152152        </form> 
    153153<?php 
    154154} 
  • wp-admin/includes/theme-install.php

     
    139139<form method="post" enctype="multipart/form-data" action="<?php echo self_admin_url('update.php?action=upload-theme') ?>"> 
    140140        <?php wp_nonce_field( 'theme-upload') ?> 
    141141        <input type="file" name="themezip" /> 
    142         <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?> 
     142        <?php submit_button( __( 'Install Now' ), 'small', 'install-theme-submit', false ); ?> 
    143143</form> 
    144144        <?php 
    145145} 
  • wp-admin/css/ie.css

     
    560560* html #adminmenu div.wp-menu-image { 
    561561        height: 29px; 
    562562} 
     563 
     564.submit input, 
     565input.button, 
     566input.button-primary, 
     567input.button-secondary { 
     568    height: 24px; 
     569    line-height: 12px; 
     570    margin: 0 !important; 
     571} 
     572 
     573.button-primary, 
     574.button, 
     575.button-secondary, { 
     576        height: 18px; 
     577        line-height: 12px; 
     578} 
     579 
     580.search-box input[name="s"], 
     581#search-plugins input[name="s"], 
     582.tagsdiv .newtag, 
     583#search-themes input[name="s"] { 
     584        height: 16px; 
     585} 
     586 No newline at end of file 
  • wp-admin/css/colors-fresh.css

     
    522522.button:disabled, 
    523523.button-secondary[disabled], 
    524524.button-secondary:disabled, 
    525 a.button.disabled { 
     525a.button.disabled, 
     526.button-disabled:hover, 
     527.button[disabled]:hover, 
     528.button-secondary[disabled]:hover, 
     529.button-secondary:disabled:hover, 
     530a.button.disabled:hover, 
     531.button-disabled:active, 
     532.button[disabled]:active, 
     533.button-secondary[disabled]:active, 
     534.button-secondary:disabled:active, 
     535a.button.disabled:active { 
    526536        color: #aaa !important; 
    527         border-color: #ddd !important; 
     537        background: #f3f3f3; 
     538        border-color: #ddd; 
    528539        -webkit-box-shadow: none !important; 
    529540        box-shadow:         none !important; 
     541        cursor: default; 
    530542} 
    531543 
    532544.button-primary-disabled, 
    533545.button-primary[disabled], 
    534 .button-primary:disabled { 
     546.button-primary:disabled, 
     547.button-primary-disabled:hover, 
     548.button-primary[disabled]:hover, 
     549.button-primary-disabled:active, 
     550.button-primary[disabled]:active { 
    535551        color: #94cde7 !important; 
     552        border: 1px solid #2581ab; 
    536553        background: #298cba !important; 
    537554        -webkit-box-shadow: none !important; 
    538555        box-shadow:         none !important; 
    539 } 
    540  
    541 .button-primary-disabled:hover, 
    542 .button-primary[disabled]:hover { 
     556        cursor: default; 
    543557        text-shadow: none; 
    544558} 
    545559 
  • wp-admin/css/wp-admin.css

     
    896896        margin: 0; 
    897897} 
    898898 
    899 .search-box input[name="s"], #search-plugins input[name="s"], .tagsdiv .newtag { 
     899.search-box input[name="s"], 
     900#search-plugins input[name="s"], 
     901.tagsdiv .newtag, 
     902#search-themes input[name="s"] { 
    900903        float: left; 
    901904        height: 2em; 
    902905        margin: 0 4px 0 0; 
  • wp-admin/css/colors-classic.css

     
    531531.button:disabled, 
    532532.button-secondary[disabled], 
    533533.button-secondary:disabled, 
    534 a.button.disabled { 
     534a.button.disabled, 
     535.button-disabled:hover, 
     536.button[disabled]:hover, 
     537.button-secondary[disabled]:hover, 
     538.button-secondary:disabled:hover, 
     539a.button.disabled:hover, 
     540.button-disabled:active, 
     541.button[disabled]:active, 
     542.button-secondary[disabled]:active, 
     543.button-secondary:disabled:active, 
     544a.button.disabled:active { 
    535545        color: #aaa !important; 
    536         border-color: #ddd !important; 
     546        background: #f3f3f3; 
     547        border-color: #ddd; 
    537548        -webkit-box-shadow: none !important; 
    538549        box-shadow:         none !important; 
     550        cursor: default; 
    539551} 
    540552 
    541553.button-primary-disabled, 
    542554.button-primary[disabled], 
    543 .button-primary:disabled { 
     555.button-primary:disabled, 
     556.button-primary-disabled:hover, 
     557.button-primary[disabled]:hover, 
     558.button-primary-disabled:active, 
     559.button-primary[disabled]:active { 
    544560        color: #94cde7 !important; 
     561        border: 1px solid #2581ab; 
    545562        background: #298cba !important; 
    546563        -webkit-box-shadow: none !important; 
    547564        box-shadow:         none !important; 
    548 } 
    549  
    550 .button-primary-disabled:hover, 
    551 .button-primary[disabled]:hover { 
     565        cursor: default; 
    552566        text-shadow: none; 
    553567} 
    554568