mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-21 19:54:32 +00:00
Upgrade/Install: Bring some consistency to installation screen styles.
* Include `forms.css` and `l10n.css`, for consistency with login screen and other admin screens. * Remove redundant `@import` directives from `login.css` for files already declared as dependencies. * Adjust margin on password strength meter for consistency with other fields. * Increase font size for "You will need this password to log in" notice. * Fix misaligned icon on "Hide" button for the password. Props iseulde, dan@micamedia.com, bassgang, cdog, johnbillion, nmenescardi, mukesh27, SergeyBiryukov. Fixes #35776, #47757, #47758. git-svn-id: https://develop.svn.wordpress.org/trunk@45673 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -464,7 +464,7 @@ fieldset label,
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -1px 0 5px;
|
||||
margin: -1px 1px 5px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 25em;
|
||||
@@ -522,7 +522,7 @@ fieldset label,
|
||||
|
||||
.wp-pwd [type="text"],
|
||||
.wp-pwd [type="password"] {
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
/* Same height as the buttons */
|
||||
line-height: 20px;
|
||||
min-height: 28px;
|
||||
@@ -542,10 +542,6 @@ fieldset label,
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
p.search-box {
|
||||
float: right;
|
||||
margin: 0;
|
||||
|
||||
@@ -174,8 +174,9 @@ submit {
|
||||
.form-table input[type=text],
|
||||
.form-table input[type=email],
|
||||
.form-table input[type=url],
|
||||
.form-table input[type=password] {
|
||||
width: 206px;
|
||||
.form-table input[type=password],
|
||||
#pass-strength-result {
|
||||
width: 218px;
|
||||
}
|
||||
|
||||
.form-table th p {
|
||||
@@ -212,66 +213,6 @@ submit {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
.wp-hide-pw > .dashicons {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -2px 5px 5px 0px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 218px;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result.short {
|
||||
background-color: #f1adad;
|
||||
border-color: #e35b5b;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.bad {
|
||||
background-color: #fbc5a9;
|
||||
border-color: #f78b53;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.good {
|
||||
background-color: #ffe399;
|
||||
border-color: #ffc733;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.strong {
|
||||
background-color: #c1e1b9;
|
||||
border-color: #83c373;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass1.short, #pass1-text.short {
|
||||
border-color: #e35b5b;
|
||||
}
|
||||
|
||||
#pass1.bad, #pass1-text.bad {
|
||||
border-color: #f78b53;
|
||||
}
|
||||
|
||||
#pass1.good, #pass1-text.good {
|
||||
border-color: #ffc733;
|
||||
}
|
||||
|
||||
#pass1.strong, #pass1-text.strong {
|
||||
border-color: #83c373;
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-left: 4px solid #dc3232;
|
||||
padding: .7em .6em;
|
||||
@@ -291,20 +232,6 @@ submit {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#pass1-text,
|
||||
.show-password #pass1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.show-password #pass1-text
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
/* localization */
|
||||
body.rtl,
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
@import url(forms.css);
|
||||
@import url(l10n.css);
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user