Password: Improve display of password meter on login screen.

Fixes #32925.

Built from https://develop.svn.wordpress.org/trunk@33251


git-svn-id: http://core.svn.wordpress.org/trunk@33223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2015-07-14 03:32:24 +00:00
parent 6b350ba197
commit f020fab7ef
6 changed files with 20 additions and 8 deletions

View File

@ -213,12 +213,18 @@ p {
font-family: sans-serif;
}
.login-action-rp input[type="text"] {
-webkit-box-shadow: none;
box-shadow: none;
margin: 0;
}
.login #pass-strength-result {
width: 250px;
font-weight: 600;
margin: 12px 0 6px;
margin: -1px 0 16px 5px;
padding: 6px 5px;
text-align: center;
width: 100%;
}
.mobile #login {

File diff suppressed because one or more lines are too long

View File

@ -213,12 +213,18 @@ p {
font-family: sans-serif;
}
.login-action-rp input[type="text"] {
-webkit-box-shadow: none;
box-shadow: none;
margin: 0;
}
.login #pass-strength-result {
width: 250px;
font-weight: 600;
margin: 12px 0 6px;
margin: -1px 5px 16px 0;
padding: 6px 5px;
text-align: center;
width: 100%;
}
.mobile #login {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta2-33250';
$wp_version = '4.3-beta2-33251';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -656,6 +656,7 @@ case 'rp' :
<label for="pass1"><?php _e('New password') ?></label><br />
<div class="wp-pwd">
<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" />
<div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator' ); ?></div>
</div>
</p>
<p class="user-pass2-wrap">
@ -663,7 +664,6 @@ case 'rp' :
<input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off" />
</p>
<div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div>
<p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p>
<br class="clear" />