Make WordPress Core

Changeset 22288


Ignore:
Timestamp:
10/24/2012 01:27:56 AM (12 years ago)
Author:
azaozz
Message:

Buttons: slightly bolder :focus styles, make the "Log In" button '.button-large', props lessbloat, see #21598

Location:
trunk
Files:
3 edited

Legend:

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

    r22285 r22288  
    64816481
    64826482.login .button-primary {
    6483     font-size: 13px !important;
    6484     padding: .4em .8em;
    64856483    float: right;
    64866484}
  • trunk/wp-includes/css/buttons.css

    r22247 r22288  
    109109.button:focus,
    110110.button-secondary:focus {
    111     -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    112     box-shadow: 0 1px 2px rgba(0,0,0,0.1);
     111    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2);
     112    box-shadow: 1px 1px 1px rgba(0,0,0,.2);
    113113}
    114114
     
    192192.button-primary:focus {
    193193    border-color: #0e3950;
    194     -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 2px rgba(0,0,0,0.1);
    195     box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 2px rgba(0,0,0,0.1);
     194    -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
     195    box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
    196196}
    197197
  • trunk/wp-login.php

    r22124 r22288  
    443443<?php do_action('lostpassword_form'); ?>
    444444    <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
    445     <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Get New Password'); ?>" /></p>
     445    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Get New Password'); ?>" /></p>
    446446</form>
    447447
     
    502502
    503503    <br class="clear" />
    504     <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Reset Password'); ?>" /></p>
     504    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Reset Password'); ?>" /></p>
    505505</form>
    506506
     
    558558    <br class="clear" />
    559559    <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
    560     <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Register'); ?>" /></p>
     560    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Register'); ?>" /></p>
    561561</form>
    562562
     
    690690    <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> /> <?php esc_attr_e('Remember Me'); ?></label></p>
    691691    <p class="submit">
    692         <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" />
     692        <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Log In'); ?>" />
    693693<?php   if ( $interim_login ) { ?>
    694694        <input type="hidden" name="interim-login" value="1" />
Note: See TracChangeset for help on using the changeset viewer.