Make password field toggling work in IE8, and clean up a bunch of password CSS issues.

fixes #32886
props peterwilsoncc, adamsilverstein

git-svn-id: https://develop.svn.wordpress.org/trunk@33362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2015-07-22 16:55:17 +00:00
parent 7b41adf712
commit d1a1e77e40
4 changed files with 97 additions and 29 deletions

View File

@@ -205,13 +205,14 @@ submit {
background-color: #eee;
border: 1px solid #ddd;
color: #23282d;
margin: -2px 5px 5px 0px;
padding: 3px 5px;
text-align: center;
width: 218px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
padding: 3px 5px;
text-align: center;
width: 218px;
}
#pass-strength-result.short {
@@ -238,19 +239,19 @@ submit {
opacity: 1;
}
[name="admin_password"].short {
#pass1.short, #pass1-text.short {
border-color: #e35b5b;
}
[name="admin_password"].bad {
#pass1.bad, #pass1-text.bad {
border-color: #f78b53;
}
[name="admin_password"].good {
#pass1.good, #pass1-text.good {
border-color: #ffc733;
}
[name="admin_password"].strong {
#pass1.strong, #pass1-text.strong {
border-color: #83c373;
}
@@ -278,6 +279,20 @@ 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,