root / snf-astakos-app / astakos / im / static / im / css / forms.css @ e7a2ac21
History | View | Annotate | Download (6.8 kB)
1 |
/* generic form styles */
|
---|---|
2 |
input, textarea, .form-widget { background-color: #ffffff; color: #000;border-color: #000000; } |
3 |
#forms .input, #forms input { font-family: 'Antic', sans-serif; font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; } |
4 |
#forms .input:focus, |
5 |
#forms input:focus { position: relative; border: 1px solid #000; z-index: 100; } |
6 |
#forms .input:focus label, |
7 |
#forms input:focus label { z-index: 300; } |
8 |
.altcol { background-color: #c3c3b9 !important; } |
9 |
.altcol:hover { background-color: #f89a1c !important; } |
10 |
form.withlabels label { width: 224px; display: block; float: left; padding-top: 1em; } |
11 |
form.withlabels input[type=text], |
12 |
form.withlabels input[type=password] { width: 224px; } |
13 |
form.withlabels input[type=text].long, |
14 |
form.withlabels input[type=password].long, |
15 |
form.withlabels textarea.long { width: 224px; } |
16 |
.login-section a.button { margin-bottom: 12px; } |
17 |
.login-section a.button:last-child { margin-bottom: none;} |
18 |
.login-section a.button.withicon { background-repeat: no-repeat; background-position: 15px 50%; padding-left: 40px; } |
19 |
.login-section.loggedin { padding-bottom: 0 !important; background-image: none !important; } |
20 |
form.login { margin-bottom: 22px; width:340px; } |
21 |
form h2 span { padding-bottom: 3px; } |
22 |
form .form-row { min-height: 30px; position: relative;} |
23 |
form .form-row.submit { margin: 22px 0 ;} |
24 |
form .form-row .extra-link { color: #808080; text-decoration: none; border: none; margin-top:15px; line-height:42px; float: right; } |
25 |
form .form-row .extra-link:hover { text-decoration:underline;} |
26 |
form .form-row label { font-size: 1.1em; } |
27 |
form.innerlabels label { position: absolute; top: 12px; left: 1.5em; color: #808080 ; } |
28 |
form.innerlabels p { margin:0; position: relative;} |
29 |
form.innerlabels p.p15px { font-size:1.154em;} |
30 |
form.innerlabels p.p15px a { margin:0 5px;} |
31 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
32 |
form.innerlabels a, |
33 |
form.innerlabels a:hover { border:0 none;} |
34 |
form textarea, |
35 |
form input.text, |
36 |
form input[type="text"], |
37 |
form input[type="password"] { color:#808080; font-family: 'Antic', sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px;border: 1px solid #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:300px; } |
38 |
form select { font-family: 'Antic', sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; display:block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:331px; } |
39 |
form textarea:focus, |
40 |
form input.text:focus, |
41 |
form input[type="text"]:focus, |
42 |
form input[type="password"]:focus {position: relative; border: 1px solid #000; z-index: 100;} |
43 |
form textarea:focus label, |
44 |
form input.text:focus label, |
45 |
form input[type="text"]:focus label, |
46 |
form input[type="password"]:focus label { z-index: 300;} |
47 |
form input.submit, |
48 |
form input[type="submit"] {font-family: 'Antic', sans-serif;font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing:1px; background-color: #3582ac; color: #ffffff; border: none; padding: 10px 22px;font-size: 1em; margin:15px 0 0 223px; height:43px; } |
49 |
form.innerlabels input.submit, |
50 |
form.innerlabels input[type="submit"] {margin-left:0;} |
51 |
form input.submit:hover, |
52 |
form input[type="submit"]:hover { background-color: #f89a1c;} |
53 |
form input.submit.back, |
54 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
55 |
form input.submit.back.right, |
56 |
form input[type="submit"].back.right {right: 0;} |
57 |
form input.submit:hover, |
58 |
form input[type="submit"]:hover { background-color: #f89a1c;} |
59 |
form input.submit.back, |
60 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
61 |
form input.submit.back.right, |
62 |
form input[type="submit"].back.right { right: 0; } |
63 |
form textarea { height: 150px; width: 350px; max-height:150px; max-width:350px;} |
64 |
form .with-errors input, |
65 |
form .with-errors textarea, |
66 |
form .with-errors select { color: #9d261d;} |
67 |
form .with-errors label { color: #e4776f; } |
68 |
.form-error { color:red; font-size: 0.8em; padding: 5px 5px; } |
69 |
.form-errors.all .form-error { position: relative; border-radius: 0; margin-bottom: 1.3em; padding: 0.5em; } |
70 |
div.form-stacked { margin-bottom: 4em; } |
71 |
.checkbox-widget.checked { background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; } |
72 |
.checkbox-widget { border: 1px solid #808080; cursor: pointer; display: block; float: left; height: 25px; margin:5px 20px 0 0 ; width: 25px; } |
73 |
form.withlabels .checkbox-widget { margin-top:20px; } |
74 |
form.innerlabels .checkbox-widget + label { position:static; line-height:36px; color:#808080; } |
75 |
form.innerlabels .checkbox-widget + label + a { border-bottom:1px solid #F89A1C; font-size: 1.1em; } |
76 |
form span.info { position:absolute;z-index:10; top:10px; left: 290px; } |
77 |
form span.info em { display:block; overflow:hidden; position:absolute; left:0; text-indent:-100px; top:0; height:21px; width:21px; background:url(../images/symbols.png) no-repeat -4px -31px;cursor:pointer; } |
78 |
form span.info:hover em { background-position:-4px -3px; } |
79 |
form span.info span { position:absolute; left:29px; top:-2px; width:120px; padding-left:30px; background:url(../images/black-line.jpg ) no-repeat left 12px; min-height:50px; display:none; font-size:0.846em;} |
80 |
form span.info:hover span { display:block; } |
81 |
form .with-errors span.info { display:none;} |
82 |
form p { margin-bottom:0;position:relative;} |
83 |
form input[readonly=true] { /*background-color: #ddd;*/ color: #5e5e5e; } |
84 |
#recaptcha_area { margin-top:20px; } |
85 |
form.innerlabels .with-checkbox .checkbox-widget { margin-top:15px; } |
86 |
form.innerlabels .with-checkbox .checkbox-label { left:2.5em; top:17px; } |
87 |
|
88 |
form .extra-img { display:block; width:21px; height:21px; overflow:hidden; position:absolute; left:440px;top:10px; z-index:101;} |
89 |
form .with-errors .extra-img { background:url(../images/symbols.png) no-repeat -58px -3px;} |
90 |
form .with-errors textarea+.extra-img, |
91 |
form .with-errors noscript+.extra-img { background:transparent;} |
92 |
form .with-errors input[type="text"], |
93 |
form .with-errors input[type="password"] { border:1px solid red;} |
94 |
form.innerlabels .with-errors .extra-img { left:290px;} |
95 |
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px;} |
96 |
.errorlist { margin:0; padding:0;} |
97 |
.errorlist li { list-style:none outside;} |
98 |
|
99 |
|