Make WordPress Core

Changeset 33251


Ignore:
Timestamp:
07/14/2015 03:31:35 AM (9 years ago)
Author:
obenland
Message:

Password: Improve display of password meter on login screen.

Fixes #32925.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r32682 r33251  
    214214}
    215215
     216.login-action-rp input[type="text"] {
     217    -webkit-box-shadow: none;
     218    box-shadow: none;
     219    margin: 0;
     220}
     221
    216222.login #pass-strength-result {
    217     width: 250px;
    218223    font-weight: 600;
    219     margin: 12px 0 6px;
     224    margin: -1px 5px 16px 0;
    220225    padding: 6px 5px;
    221226    text-align: center;
     227    width: 100%;
    222228}
    223229
  • trunk/src/wp-login.php

    r33034 r33251  
    657657        <div class="wp-pwd">
    658658            <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" name="pass1" id="pass1" class="input" size="20" value="" autocomplete="off" />
     659            <div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator' ); ?></div>
    659660        </div>
    660661    </p>
     
    664665    </p>
    665666
    666     <div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div>
    667667    <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p>
    668668    <br class="clear" />
Note: See TracChangeset for help on using the changeset viewer.