]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove duplicate show password toggle code, move current one to proper location
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 7 Feb 2013 16:04:03 +0000 (17:04 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 7 Feb 2013 16:04:03 +0000 (17:04 +0100)
core/css/styles.css

index 9f673c41c309c32a3afaec33c2c9582fa5ca447a..18c41e93f4172e0ec281489f3fab2c3ed75d20b3 100644 (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 {