aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-07 17:04:03 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-07 17:04:03 +0100
commitee6884e33649881731793b29e0605e0beb193c46 (patch)
tree3603e003044044e5902d55cd745296b093dced61 /core
parentae7a80ede3a27c9f77d163108592716dae9ea312 (diff)
downloadnextcloud-server-ee6884e33649881731793b29e0605e0beb193c46.tar.gz
nextcloud-server-ee6884e33649881731793b29e0605e0beb193c46.zip
remove duplicate show password toggle code, move current one to proper location
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css30
1 files changed, 11 insertions, 19 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 9f673c41c30..18c41e93f41 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -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 {