some comments for CSS documentation

This commit is contained in:
Jan-Christoph Borchardt 2013-02-07 17:02:43 +01:00
parent 867dc8e6dc
commit ae7a80ede3

View file

@ -166,7 +166,6 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
#login #datadirContent label { display:block; margin:0; color:#999; }
#login form #datadirField legend { margin-bottom:15px; }
/* Icons for username and password fields to better recognize them */
#adminlogin, #adminpass, #user, #password { width:11.7em!important; padding-left:1.8em; }
#adminlogin+label+img, #adminpass+label+img, #user+label+img, #password+label+img {
@ -177,7 +176,6 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
#pass_image { position: absolute; top: 1.2em; left: 1.4em; opacity: 0.3; }
/* Nicely grouping input field sets */
.grouptop input {
margin-bottom:0;
@ -194,9 +192,9 @@ input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
box-shadow:0 1px 1px #fff,0 1px 0 #ddd inset;
}
/* In field labels. No, HTML placeholder does not work as well. */
#login form label { color:#666; }
#login .groupmiddle label, #login .groupbottom label { top:.65em; }
/* NEEDED FOR INFIELD LABELS */
p.infield { position:relative; }
label.infield { cursor:text !important; top:1.05em; left:.85em; }
#login form label.infield { position:absolute; font-size:19px; color:#aaa; white-space:nowrap; padding-left:1.4em; }
@ -204,6 +202,7 @@ 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; }
/* Database selector */
#login form #selectDbType { text-align:center; }
#login form #selectDbType label {
position:static; margin:0 -3px 5px; padding:.4em;
@ -213,6 +212,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
}
#login form #selectDbType label.ui-state-hover, #login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; }
/* Warnings */
fieldset.warning {
padding:8px;
color:#b94a48; background-color:#f2dede; border:1px solid #eed3d7;