Revision 0c887794 snf-astakos-app/astakos/im/static/im/css/forms.css
b/snf-astakos-app/astakos/im/static/im/css/forms.css | ||
---|---|---|
1 | 1 |
/* generic form styles */ |
2 |
input, textarea, .form-widget { |
|
3 |
background-color: #ffffff; |
|
4 |
color: #000; |
|
5 |
border-color: #000000; |
|
6 |
} |
|
7 |
#forms .input, #forms input { |
|
8 |
font-family: 'Antic', sans-serif; |
|
9 |
font-size: 14px; |
|
10 |
font-weight: normal; |
|
11 |
line-height: 22px; |
|
12 |
letter-spacing: 1px; |
|
13 |
border: 1px solid #808080; |
|
14 |
height: 21px; |
|
15 |
display: inline-block; |
|
16 |
margin-bottom: -1px; |
|
17 |
padding: 0.8em; |
|
18 |
padding-left: 1.5em; |
|
19 |
z-index: 2; |
|
20 |
} |
|
21 |
#forms .input:focus, #forms input:focus { |
|
22 |
position: relative; |
|
23 |
border: 1px solid #000; |
|
24 |
z-index: 100; |
|
25 |
} |
|
26 |
#forms .input:focus label, #forms input:focus label { |
|
27 |
z-index: 300; |
|
28 |
} |
|
29 |
.altcol { |
|
30 |
background-color: #c3c3b9 !important; |
|
31 |
} |
|
32 |
.altcol:hover { |
|
33 |
background-color: #f89a1c !important; |
|
34 |
} |
|
35 |
|
|
36 |
form.withlabels label { |
|
37 |
width: 224px; |
|
38 |
display: block; |
|
39 |
float: left; |
|
40 |
padding-top: 1em; |
|
41 |
} |
|
42 |
form.withlabels input[type=text], form.withlabels input[type=password] { |
|
43 |
width: 224px; |
|
44 |
} |
|
45 |
form.withlabels input[type=text].long, form.withlabels input[type=password].long, form.withlabels textarea.long { |
|
46 |
width: 224px; |
|
47 |
} |
|
48 |
.login-section a.button { |
|
49 |
margin-bottom: 12px; |
|
50 |
} |
|
51 |
.login-section a.button:last-child { |
|
52 |
margin-bottom: none; |
|
53 |
} |
|
54 |
.login-section a.button.withicon { |
|
55 |
background-repeat: no-repeat; |
|
56 |
background-position: 15px 50%; |
|
57 |
padding-left: 40px; |
|
58 |
} |
|
59 |
.login-section.loggedin { |
|
60 |
padding-bottom: 0 !important; |
|
61 |
background-image: none !important; |
|
62 |
} |
|
63 |
form.login { |
|
64 |
margin-bottom: 22px; |
|
65 |
width:340px; |
|
66 |
} |
|
67 |
|
|
68 |
form h2 span { |
|
69 |
padding-bottom: 3px; |
|
70 |
} |
|
71 |
form .form-row { |
|
72 |
min-height: 29.333333333333332px; |
|
73 |
position: relative; |
|
74 |
} |
|
75 |
form .form-row.submit { |
|
76 |
margin: 22px 0 ; |
|
77 |
} |
|
78 |
form .form-row .extra-link { |
|
79 |
color: #808080; |
|
80 |
text-decoration: none; |
|
81 |
border: none; |
|
82 |
|
|
83 |
line-height:42px; |
|
84 |
float: right; |
|
85 |
} |
|
86 |
form .form-row .extra-link:hover { text-decoration:underline;} |
|
87 |
form .form-row label { |
|
88 |
font-size: 1.1em; |
|
89 |
} |
|
90 |
form.innerlabels label { |
|
91 |
position: absolute; |
|
92 |
top: 1.1em; |
|
93 |
left: 1.5em; |
|
94 |
color: #808080 ; |
|
95 |
} |
|
96 |
form.innerlabels p { |
|
97 |
margin:0; |
|
98 |
position: relative; |
|
99 |
} |
|
100 |
form.innerlabels p.p15px { font-size:1.154em;} |
|
101 |
form.innerlabels p.p15px a { margin:0 5px;} |
|
102 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
|
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: 1.1em; 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;} |
|
103 | 32 |
form.innerlabels a, |
104 |
form.innerlabels a:hover { border:0 none;} |
|
33 |
form.innerlabels a:hover { border:0 none;}
|
|
105 | 34 |
form textarea, |
106 | 35 |
form input.text, |
107 | 36 |
form input[type="text"], |
108 |
form input[type="password"] { |
|
109 |
color:#808080; |
|
110 |
font-family: 'Antic', sans-serif; |
|
111 |
font-weight: normal; |
|
112 |
line-height: 22px; |
|
113 |
letter-spacing: 1px; |
|
114 |
border: 1px solid #808080; |
|
115 |
height: 21px; |
|
116 |
display: inline-block; |
|
117 |
margin-bottom: -1px; |
|
118 |
padding: 0.8em; |
|
119 |
padding-left: 1.5em; |
|
120 |
z-index: 2; |
|
121 |
width:300px; |
|
122 |
} |
|
123 |
|
|
124 |
form select { |
|
125 |
font-family: 'Antic', sans-serif; |
|
126 |
font-weight: normal; |
|
127 |
line-height: 22px; |
|
128 |
letter-spacing: 1px; |
|
129 |
border: 1px solid #808080; |
|
130 |
display:block; |
|
131 |
margin-bottom: -1px; |
|
132 |
padding: 0.8em; |
|
133 |
padding-left: 1.5em; |
|
134 |
z-index: 2; |
|
135 |
width:331px; |
|
136 |
} |
|
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; } |
|
137 | 39 |
form textarea:focus, |
138 | 40 |
form input.text:focus, |
139 | 41 |
form input[type="text"]:focus, |
140 |
form input[type="password"]:focus { |
|
141 |
position: relative; |
|
142 |
border: 1px solid #000; |
|
143 |
z-index: 100; |
|
144 |
} |
|
42 |
form input[type="password"]:focus {position: relative; border: 1px solid #000; z-index: 100;} |
|
145 | 43 |
form textarea:focus label, |
146 | 44 |
form input.text:focus label, |
147 | 45 |
form input[type="text"]:focus label, |
148 |
form input[type="password"]:focus label { |
|
149 |
z-index: 300; |
|
150 |
} |
|
151 |
form input.submit, form input[type="submit"] { |
|
152 |
font-family: 'Antic', sans-serif; |
|
153 |
font-size: 14px; |
|
154 |
font-weight: normal; |
|
155 |
line-height: 22px; |
|
156 |
letter-spacing:1px; |
|
157 |
background-color: #3582ac; |
|
158 |
color: #ffffff; |
|
159 |
border: none; |
|
160 |
padding: 10px 22px; |
|
161 |
font-size: 1em; |
|
162 |
|
|
163 |
} |
|
164 |
form input.submit:hover, form input[type="submit"]:hover { |
|
165 |
background-color: #f89a1c; |
|
166 |
} |
|
167 |
form input.submit.back, form input[type="submit"].back { |
|
168 |
text-decoration: none; |
|
169 |
bottom: 0; |
|
170 |
float: right; |
|
171 |
z-index: 500; |
|
172 |
} |
|
173 |
form input.submit.back.right, form input[type="submit"].back.right { |
|
174 |
right: 0; |
|
175 |
} |
|
176 |
form input.submit:hover, form input[type="submit"]:hover { |
|
177 |
background-color: #f89a1c; |
|
178 |
} |
|
179 |
form input.submit.back, form input[type="submit"].back { |
|
180 |
text-decoration: none; |
|
181 |
bottom: 0; |
|
182 |
float: right; |
|
183 |
z-index: 500; |
|
184 |
} |
|
185 |
form input.submit.back.right, form input[type="submit"].back.right { |
|
186 |
right: 0; |
|
187 |
} |
|
188 |
form textarea { |
|
189 |
height: 150px; |
|
190 |
width: 350px; |
|
191 |
max-height:150px; |
|
192 |
max-width:350px; |
|
193 |
} |
|
194 |
form .with-errors input, form .with-errors textarea, form .with-errors select { |
|
195 |
color: #9d261d; |
|
196 |
} |
|
197 |
form .with-errors label { |
|
198 |
color: #e4776f; |
|
199 |
} |
|
200 |
.form-error { |
|
201 |
background-color: #9d261d; |
|
202 |
color: #fff; |
|
203 |
font-size: 0.8em; |
|
204 |
padding: 5px 5px; |
|
205 |
} |
|
206 |
.form-errors.all .form-error { |
|
207 |
position: relative; |
|
208 |
border-radius: 0; |
|
209 |
margin-bottom: 1.3em; |
|
210 |
padding: 0.5em; |
|
211 |
} |
|
212 |
div.form-stacked { |
|
213 |
margin-bottom: 4em; |
|
214 |
} |
|
215 |
|
|
216 |
.checkbox-widget.checked { |
|
217 |
background-color: #FF0000; |
|
218 |
background-image: url("../images/checkbox.png"); |
|
219 |
background-position: 50% 50%; |
|
220 |
} |
|
221 |
.checkbox-widget { |
|
222 |
border: 1px solid #808080; |
|
223 |
cursor: pointer; |
|
224 |
display: block; |
|
225 |
float: left; |
|
226 |
height: 25px; |
|
227 |
margin:5px 20px 0 0 ; |
|
228 |
width: 25px; |
|
229 |
|
|
230 |
} |
|
231 |
|
|
232 |
|
|
233 |
form.withlabels .checkbox-widget{ |
|
234 |
margin-top:20px; |
|
235 |
} |
|
236 |
|
|
237 |
form.innerlabels .checkbox-widget + label { |
|
238 |
position:static; |
|
239 |
line-height:36px; |
|
240 |
color:#808080; |
|
241 |
|
|
242 |
} |
|
243 |
|
|
244 |
form.innerlabels .checkbox-widget + label + a { |
|
245 |
border-bottom:1px solid #F89A1C; |
|
246 |
font-size: 1.1em; |
|
247 |
|
|
248 |
} |
|
249 |
|
|
250 |
form span.info{ |
|
251 |
position:absolute; |
|
252 |
z-index:10; |
|
253 |
top:8px; |
|
254 |
left: 260px; |
|
255 |
|
|
256 |
} |
|
257 |
form span.info em { |
|
258 |
display:block; |
|
259 |
overflow:hidden; |
|
260 |
position:absolute; |
|
261 |
left:0; |
|
262 |
text-indent:-100px; |
|
263 |
top:0; |
|
264 |
height:28px; |
|
265 |
width:28px; |
|
266 |
background:url(../images/question-mark.jpg) no-repeat left bottom; |
|
267 |
cursor:pointer; |
|
268 |
} |
|
269 |
|
|
270 |
form span.info:hover em { |
|
271 |
background-position:left top; |
|
272 |
} |
|
273 |
|
|
274 |
form span.info span { |
|
275 |
position:relative; |
|
276 |
left:42px; |
|
277 |
top:2px; |
|
278 |
width:150px; |
|
279 |
padding-left:55px; |
|
280 |
background:url(../images/black-line.jpg ) no-repeat left 12px; |
|
281 |
min-height:50px; |
|
282 |
display:none; |
|
283 |
color:#b3b3b3; |
|
284 |
} |
|
285 |
|
|
286 |
form span.info span a { |
|
287 |
color:#b3b3b3; |
|
288 |
border-bottom:1px solid #F89A1C; |
|
289 |
} |
|
290 |
|
|
291 |
form span.info:hover span { |
|
292 |
display:block; |
|
293 |
} |
|
294 |
|
|
295 |
form p { |
|
296 |
margin-bottom:0; |
|
297 |
} |
|
298 |
|
|
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-style:italic; 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:150px; padding-left:55px; background:url(../images/black-line.jpg ) no-repeat left 12px; min-height:50px; display:none; } |
|
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; } |
|
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;} |
|
299 | 98 |
|
300 |
form input[readonly=true] { |
|
301 |
background-color: #ddd; |
|
302 |
color: #5e5e5e; |
|
303 |
} |
|
304 | 99 |
|
305 |
#recaptcha_area { |
|
306 |
margin-top:20px; |
|
307 |
} |
|
308 |
|
Also available in: Unified diff