Ticket #21598: 21598.9.diff

File 21598.9.diff, 7.4 KB (added by lessbloat, 8 months ago)
  • wp-admin/includes/theme-install.php

     
    8181        <label class="screen-reader-text" for="s"><?php _e('Search by keyword'); ?></label> 
    8282        <?php endif; ?> 
    8383        <input type="search" name="s" id="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 
    84         <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?> 
     84        <?php submit_button( __( 'Search' ), 'small', 'search', false ); ?> 
    8585</form> 
    8686<?php 
    8787} 
  • wp-admin/includes/widgets.php

     
    212212                </div> 
    213213                <div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>"> 
    214214                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" /> 
    215                 <?php submit_button( __( 'Save' ), 'button-primary widget-control-save', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?> 
     215                <?php submit_button( __( 'Save' ), 'button-small button-primary widget-control-save', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?> 
    216216                </div> 
    217217                <br class="clear" /> 
    218218        </div> 
  • wp-admin/custom-header.php

     
    558558                <input type="file" id="upload" name="import" /> 
    559559                <input type="hidden" name="action" value="save" /> 
    560560                <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?> 
    561                 <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
     561                <?php submit_button( __( 'Upload' ), 'button-small', 'submit', false ); ?> 
    562562        </p> 
    563563        <?php 
    564564                $image_library_url = get_upload_iframe_src( 'image', null, 'library' ); 
  • wp-admin/network/upgrade.php

     
    7272                        do_action( 'wpmu_upgrade_site', $details[ 'blog_id' ] ); 
    7373                } 
    7474                echo "</ul>"; 
    75                 ?><p><?php _e( 'If your browser doesn&#8217;t start loading the next page automatically, click this link:' ); ?> <a class="button" href="upgrade.php?action=upgrade&amp;n=<?php echo ($n + 5) ?>"><?php _e("Next Sites"); ?></a></p> 
     75                ?><p><?php _e( 'If your browser doesn&#8217;t start loading the next page automatically, click this link:' ); ?> <a class="button button-small" href="upgrade.php?action=upgrade&amp;n=<?php echo ($n + 5) ?>"><?php _e("Next Sites"); ?></a></p> 
    7676                <script type='text/javascript'> 
    7777                <!-- 
    7878                function nextpage() { 
  • wp-admin/css/colors-fresh.css

     
    421421 
    422422.button.active, 
    423423.button:active, 
    424 .small.active, 
    425 .small:active, 
    426424.button-secondary.active, 
    427425.button-secondary:active, 
    428426.submit input:active, 
     
    536534        box-shadow:         none !important; 
    537535} 
    538536 
     537.button-primary-disabled:hover, 
     538.button-primary[disabled]:hover { 
     539        text-shadow: none; 
     540} 
     541 
    539542a:hover, 
    540543a:active { 
    541544        color: #d54e21; 
  • wp-admin/css/wp-admin.css

     
    783783        display: inline-block; 
    784784        text-decoration: none; 
    785785        font-size: 12px; 
    786         line-height: 15px; 
     786        line-height: 17px; 
     787        height: 15px; 
    787788        margin: 0; 
    788         padding: 0.5em 0.8em 0.4em; 
     789        padding: 0.4em 0.8em 0.5em; 
    789790        cursor: pointer; 
    790791        border-width: 1px; 
    791792        border-style: solid; 
     
    798799} 
    799800 
    800801.button.button-small { 
    801         padding: 3px .8em 2px; 
     802        padding: 2px .8em 3px; 
    802803} 
    803804 
    804805.button.button-large { 
    805806    font-size: 14px; 
    806     padding: 0.6em 1em 0.5em; 
     807    padding: 0.5em 1em 0.6em; 
    807808} 
    808809 
    809810.button.button-tiny { 
     
    959960        text-align: right; 
    960961        float: right; 
    961962        line-height: 23px; 
     963        margin-right: 4px; 
    962964} 
    963965 
    964966#misc-publishing-actions { 
     
    60866088} 
    60876089 
    60886090#dashboard-widgets #dashboard_quick_press form p.submit #save-post { 
    6089         margin: 0 0.3em 0 5px; 
     6091        margin: 0 0.5em 0 6px; 
    60906092} 
    60916093 
    60926094#dashboard-widgets #dashboard_quick_press form p.submit #publish { 
  • wp-admin/css/colors-classic.css

     
    542542        box-shadow:         none !important; 
    543543} 
    544544 
     545.button-primary-disabled:hover, 
     546.button-primary[disabled]:hover { 
     547        text-shadow: none; 
     548} 
     549 
    545550a:hover, 
    546551a:active { 
    547552        color: #d54e21; 
  • wp-admin/css/customize-controls.css

     
    157157 
    158158#customize-header-actions .button-primary { 
    159159        float: right; 
    160         margin-top: 11px; 
     160        margin-top: 8px; 
    161161} 
    162162 
    163163#customize-header-actions img { 
  • wp-admin/widgets.php

     
    277277        } else { 
    278278                submit_button( __( 'Delete' ), 'button alignleft', 'removewidget', false ); 
    279279        } 
    280         submit_button( __( 'Save Widget' ), 'button-primary alignright', 'savewidget', false ); ?> 
     280        submit_button( __( 'Save Widget' ), 'button-small button-primary alignright', 'savewidget', false ); ?> 
    281281        <input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr($widget_id); ?>" /> 
    282282        <input type="hidden" name="id_base" class="id_base" value="<?php echo esc_attr($id_base); ?>" /> 
    283283        <input type="hidden" name="multi_number" class="multi_number" value="<?php echo esc_attr($multi_number); ?>" /> 
  • wp-admin/themes.php

     
    224224<p class="search-box"> 
    225225        <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label> 
    226226        <input type="search" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    227         <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?> 
     227        <?php submit_button( __( 'Search Installed Themes' ), 'small', false, false, array( 'id' => 'search-submit' ) ); ?> 
    228228        <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a> 
    229229</p> 
    230230 
  • wp-admin/custom-background.php

     
    260260                <input type="file" id="upload" name="import" /> 
    261261                <input type="hidden" name="action" value="save" /> 
    262262                <?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?> 
    263                 <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
     263                <?php submit_button( __( 'Upload' ), 'button-small', 'submit', false ); ?> 
    264264        </p> 
    265265        <?php 
    266266                $image_library_url = get_upload_iframe_src( 'image', null, 'library' );