mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Upgrade/Install: Show/hide toggle on password fields.
Add a show/hide toggle for new passwords in initial user creation and database access during install and setup process using the same model as on user profiles. Add a new password toggle script. Change setup config table to two columns, matching the install table layout. Props xmarcos, matt, markjaquith, nazgul, akbigdog, intoxination, rob1n, MichaelH, empireoflight, rmccue, markoheijnen, r0uter, amansurov, bi0xid, DrewAPicture, Narthur, wpnook, markparnell, costdev, clorith, ryokuhi, sabernhardt, bgoewert, ironprogrammer, adeltahri, joedolson, mukesh27, audrasjb, sergeybiryukov. Fixes #3534. git-svn-id: https://develop.svn.wordpress.org/trunk@56008 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -547,6 +547,16 @@ fieldset label,
|
||||
|
||||
.wp-generate-pw {
|
||||
margin-top: 1em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wp-pwd button {
|
||||
height: min-content;
|
||||
}
|
||||
|
||||
.wp-pwd button.pwd-toggle .dashicons {
|
||||
position: relative;
|
||||
top: 0.25rem;
|
||||
}
|
||||
|
||||
.wp-pwd {
|
||||
@@ -640,6 +650,10 @@ fieldset label,
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.password-input-wrapper {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.password-input-wrapper input {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
@@ -1630,6 +1644,10 @@ table.form-table td .updated p {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.password-input-wrapper {
|
||||
display: block;
|
||||
}
|
||||
|
||||
p.search-box {
|
||||
float: none;
|
||||
position: absolute;
|
||||
|
||||
@@ -131,7 +131,7 @@ textarea {
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
padding: 10px 20px 10px 0;
|
||||
width: 140px;
|
||||
width: 115px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
@@ -145,12 +145,30 @@ textarea {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.form-table .setup-description {
|
||||
margin: 4px 0 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.form-table input {
|
||||
line-height: 1.33333333;
|
||||
font-size: 15px;
|
||||
padding: 3px 5px;
|
||||
}
|
||||
|
||||
.wp-pwd {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.form-table .wp-pwd {
|
||||
display: flex;
|
||||
column-gap: 4px;
|
||||
}
|
||||
|
||||
.form-table .password-input-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input,
|
||||
submit {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
@@ -161,7 +179,7 @@ submit {
|
||||
.form-table input[type=url],
|
||||
.form-table input[type=password],
|
||||
#pass-strength-result {
|
||||
width: 218px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-table th p {
|
||||
@@ -286,6 +304,10 @@ body.rtl,
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#pwd {
|
||||
padding-right: 2.5rem;
|
||||
}
|
||||
|
||||
.wp-pwd #pass1 {
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user