remove duplicate show password toggle code, move current one to proper location

This commit is contained in:
Jan-Christoph Borchardt 2013-02-07 17:04:03 +01:00
parent ae7a80ede3
commit ee6884e336
1 changed files with 11 additions and 19 deletions

View File

@ -59,25 +59,6 @@ input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#
::-webkit-scrollbar-thumb { background:#ddd; }
#show { float: right; position: absolute; right: 1em; top: 0.8em; display:none; }
#login form input[name="show"] + label { background: url("../img/actions/toggle.png") no-repeat; opacity:0.3;
float: right; width: 24px; position: absolute !important; height: 14px; right: 1em; top: 1.25em;}
#login form input[name="show"]:checked + label { background:url("../img/actions/toggle.png") no-repeat; opacity:0.8; }
/* SHOW PASSWORD TOGGLE */
#show {
position:absolute; right:1em; top:.8em; float:right;
display:none;
}
#login form input[name="show"] + label {
position:absolute !important; height:14px; width:24px; right:1em; top:1.25em; float:right;
background-image:url("../img/actions/toggle.png"); background-repeat:no-repeat; opacity:.3;
}
#login form input[name="show"]:checked + label { opacity:.8; }
/* BUTTONS */
input[type="submit"], input[type="button"], button, .button, #quota, div.jp-progress, select, .pager li a {
width:auto; padding:.4em;
@ -202,6 +183,17 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
#login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; }
#login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
/* Show password toggle */
#show {
position:absolute; right:1em; top:.8em; float:right;
display:none;
}
#login form input[name="show"] + label {
position:absolute !important; height:14px; width:24px; right:1em; top:1.25em; float:right;
background-image:url("../img/actions/toggle.png"); background-repeat:no-repeat; opacity:.3;
}
#login form input[name="show"]:checked + label { opacity:.8; }
/* Database selector */
#login form #selectDbType { text-align:center; }
#login form #selectDbType label {