1 /* |
|
2 Copyright 2009 the Melange authors. |
|
3 |
|
4 Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 you may not use this file except in compliance with the License. |
|
6 You may obtain a copy of the License at |
|
7 |
|
8 http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
|
10 Unless required by applicable law or agreed to in writing, software |
|
11 distributed under the License is distributed on an "AS IS" BASIS, |
|
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 See the License for the specific language governing permissions and |
|
14 limitations under the License. |
|
15 */ |
|
16 |
|
17 /* |
|
18 * STANDARD HTML TAGS |
|
19 */ |
|
20 |
|
21 body { |
|
22 background-color: white; |
|
23 color: black; |
|
24 |
|
25 font-family: Arial, sans-serif; |
|
26 font-size: medium; |
|
27 |
|
28 margin: 8px; |
|
29 margin-top: 3px; |
|
30 } |
|
31 |
|
32 img { |
|
33 border: 0; |
|
34 } |
|
35 |
|
36 form { |
|
37 margin: 0; |
|
38 padding: 0; |
|
39 } |
|
40 |
|
41 li { |
|
42 margin-bottom: 0.25em; |
|
43 } |
|
44 |
|
45 /* HEADERS */ |
|
46 h1 { |
|
47 font-size: x-large; |
|
48 margin-top: 0px; |
|
49 } |
|
50 |
|
51 h2 { |
|
52 font-size: large; |
|
53 } |
|
54 |
|
55 h3 { |
|
56 font-size: medium; |
|
57 } |
|
58 |
|
59 h4 { |
|
60 font-size: small; |
|
61 } |
|
62 |
|
63 /* PRE-FORMATTED TEXT */ |
|
64 pre, code { |
|
65 color: #007000; |
|
66 font-family: "bogus font here", monospace; |
|
67 font-size: 100%; |
|
68 } |
|
69 |
|
70 pre { |
|
71 border: 1px solid silver; |
|
72 background-color: #f5f5f5; |
|
73 padding: 0.5em; |
|
74 overflow: auto; |
|
75 margin: 2em; |
|
76 } |
|
77 |
|
78 pre ins { |
|
79 color: #cc0000; |
|
80 font-weight: bold; |
|
81 text-decoration: none; |
|
82 } |
|
83 |
|
84 /* LINKS AND ANCHORS */ |
|
85 a:link { |
|
86 color: #0000cc; |
|
87 } |
|
88 |
|
89 a:active { |
|
90 color: #cc0000; |
|
91 } |
|
92 |
|
93 a:visited { |
|
94 color: #551a8b; |
|
95 } |
|
96 |
|
97 a.selected, .selected a, .selected { |
|
98 color: black; |
|
99 font-weight: bold; |
|
100 text-decoration: none; |
|
101 } |
|
102 |
|
103 a.novisit { |
|
104 color: #2a55a3; |
|
105 } |
|
106 |
|
107 a.noul, a.noulv { |
|
108 color: #4182fa; /* #93b7fa; */ |
|
109 text-decoration: none; |
|
110 } |
|
111 |
|
112 a:hover.noul { |
|
113 text-decoration: underline; |
|
114 } |
|
115 |
|
116 a:visited.noul { |
|
117 color: #a32a91; /* #2a55a3; */ |
|
118 } |
|
119 |
|
120 |
|
121 /* Styles used by Django Forms */ |
|
122 ul.errorlist { |
|
123 color: #FF0000; |
|
124 font-size: small; |
|
125 } |
|
126 |
|
127 |
|
128 /* TABLES */ |
|
129 table { |
|
130 border-collapse: collapse; |
|
131 } |
|
132 |
|
133 th, td { |
|
134 /*padding: 0;*/ |
|
135 padding:2px 5px; |
|
136 vertical-align: top; |
|
137 text-align: left; |
|
138 } |
|
139 |
|
140 /* FORM FIELDS */ |
|
141 td.formfieldrequired { |
|
142 font-style: italic; |
|
143 font-size: small; |
|
144 text-align: center; |
|
145 } |
|
146 |
|
147 td.formfieldhelptext { |
|
148 font-style: italic; |
|
149 font-size: small; |
|
150 padding: 5px; |
|
151 } |
|
152 |
|
153 td.formfielderror { |
|
154 color: #FF0000; |
|
155 font-size: small; |
|
156 } |
|
157 |
|
158 td.formfieldheading { |
|
159 font-weight: bold; |
|
160 font-size: small; |
|
161 } |
|
162 |
|
163 td.formfieldlabel { |
|
164 font-weight: bold; |
|
165 font-size: small; |
|
166 text-align: right; |
|
167 } |
|
168 |
|
169 td.twolineformfieldlabel { |
|
170 font-weight: bold; |
|
171 font-size: small; |
|
172 text-align: left; |
|
173 } |
|
174 |
|
175 td.twolineformfieldlabel { |
|
176 font-weight: bold; |
|
177 font-size: small; |
|
178 } |
|
179 |
|
180 td.twolineformfielderrorlabel { |
|
181 font-weight: bold; |
|
182 color: #FF0000; |
|
183 font-size: small; |
|
184 } |
|
185 |
|
186 td.formfieldvalue { |
|
187 text-align: left; |
|
188 } |
|
189 |
|
190 td.formfieldvalue input { |
|
191 width: 200px; |
|
192 } |
|
193 |
|
194 td.formfieldvalue input:focus { |
|
195 background-color: #FFFF99; |
|
196 font-weight: bold; |
|
197 } |
|
198 |
|
199 td.formfieldvalue textarea { |
|
200 width: 100%; |
|
201 } |
|
202 |
|
203 td.formfieldvalue select { |
|
204 width: 100%; |
|
205 } |
|
206 |
|
207 td.formfielderrorlabel, td.warning, span.formfielderrorlabel { |
|
208 font-weight: bold; |
|
209 color: #FF0000; |
|
210 font-size: small; |
|
211 text-align: right; |
|
212 } |
|
213 |
|
214 /* TABLE QUEUES (used with .list) */ |
|
215 table#queues { |
|
216 border-collapse: collapse; |
|
217 width: 100%; |
|
218 } |
|
219 |
|
220 table#queues tr { |
|
221 border-bottom: thin solid lightgray; |
|
222 } |
|
223 |
|
224 table#queues td { |
|
225 padding: 2px; |
|
226 } |
|
227 |
|
228 /* |
|
229 * PAGE ELEMENTS |
|
230 */ |
|
231 |
|
232 #title { |
|
233 border-top: 1px solid #3366cc; |
|
234 background-color: #e5ecf9; |
|
235 font-size: large; |
|
236 font-weight: bold; |
|
237 margin: 0; |
|
238 padding: 0; |
|
239 padding-top: 1px; |
|
240 padding-bottom: 1px; |
|
241 margin-top: 5px; |
|
242 margin-left: 200px; |
|
243 padding-left: 3px; |
|
244 } |
|
245 |
|
246 #notice { |
|
247 margin-left: 200px; |
|
248 padding: 3px; |
|
249 } |
|
250 |
|
251 #logo { |
|
252 padding-right: 18px; |
|
253 position: absolute; |
|
254 left: 0; |
|
255 top: -5px; |
|
256 } |
|
257 |
|
258 #login { |
|
259 text-align: right; |
|
260 } |
|
261 |
|
262 #badge { |
|
263 clear: both; |
|
264 margin-top: 3.5em; |
|
265 margin-bottom: 1em; |
|
266 height: 53px; |
|
267 font-style: italic; |
|
268 } |
|
269 |
|
270 #body { |
|
271 border-left: 1px dotted silver; |
|
272 margin-left: 200px; |
|
273 margin-right: 25px; |
|
274 padding-left: 18px; |
|
275 padding-bottom: 25px; |
|
276 } |
|
277 |
|
278 #body .buttons { |
|
279 margin-right: 4px; |
|
280 margin-top: 20px; |
|
281 } |
|
282 |
|
283 #body a.button, input[type^="submit"], input[type^="button"] { |
|
284 margin: 0; |
|
285 padding: 2px 5px 2px 5px; |
|
286 font-family: Arial, Sans-serif; |
|
287 font-size: 12px; |
|
288 text-decoration: none; |
|
289 color: #222; |
|
290 cursor: default; |
|
291 background: #ddd url("/soc/content/images/button-background.gif") repeat-x 0 0; |
|
292 border: 1px solid #aaa; |
|
293 } |
|
294 |
|
295 #body a.button:hover, input[type^="submit"]:hover, input[type^="button"]:hover { |
|
296 border-color: #9cf #69e #69e #7af; |
|
297 } |
|
298 |
|
299 #header { |
|
300 height: 50px; |
|
301 margin-bottom: 11px; |
|
302 position: relative; |
|
303 } |
|
304 |
|
305 #footer { |
|
306 clear: both; |
|
307 text-align: center; |
|
308 margin-top: 3.5em; |
|
309 margin-bottom: 1em; |
|
310 background-image: url("http://www.google.com/images/art.gif"); |
|
311 height: 53px; |
|
312 background-repeat: no-repeat; |
|
313 background-position: left center; |
|
314 padding-left: 125px; |
|
315 } |
|
316 |
|
317 #footer .text { |
|
318 padding-top: 20px; |
|
319 } |
|
320 |
|
321 #created { |
|
322 font-size: x-small; |
|
323 color:#C0C0C0; |
|
324 text-align: right; |
|
325 } |
|
326 |
|
327 /* Google Map */ |
|
328 #role_profile_map { |
|
329 height: 240px; |
|
330 width: 320px; |
|
331 } |
|
332 |
|
333 /* SIDEBAR MENU */ |
|
334 #side { |
|
335 width: 200px; |
|
336 margin-bottom: 3em; |
|
337 float: left; |
|
338 font-size: small; |
|
339 } |
|
340 |
|
341 #menu ul { |
|
342 margin: 0; |
|
343 padding: 0; |
|
344 list-style-type: none; |
|
345 margin-bottom: 1em; |
|
346 font-size: 95%; |
|
347 } |
|
348 |
|
349 #menu ul ul { |
|
350 margin-left: 10px; |
|
351 margin-bottom: 0; |
|
352 } |
|
353 |
|
354 #menu li { |
|
355 margin-top: 4px; |
|
356 list-style-type: none; |
|
357 list-style-image: none; |
|
358 } |
|
359 |
|
360 #menu img { |
|
361 margin-right: 4px; |
|
362 } |
|
363 |
|
364 #menu li.leaf { |
|
365 padding-left: 14px; |
|
366 } |
|
367 |
|
368 #menu h4 { |
|
369 margin: 0; |
|
370 padding: 0; |
|
371 margin-bottom: 1em; |
|
372 } |
|
373 |
|
374 /* */ |
|
375 |
|
376 span.unread { |
|
377 font-weight: bold; |
|
378 color: #FF0000; |
|
379 } |
|
380 |
|
381 span.edited { |
|
382 color: #808080; |
|
383 } |
|
384 |
|
385 /* SEARCH FIELD */ |
|
386 #search { |
|
387 margin-top: 2em; |
|
388 } |
|
389 |
|
390 #search .header { |
|
391 font-weight: bold; |
|
392 font-size: 90%; |
|
393 margin-bottom: 1px; |
|
394 } |
|
395 |
|
396 #search .button { |
|
397 margin-top: 1px; |
|
398 } |
|
399 |
|
400 #search .input input { |
|
401 width: 125px; |
|
402 } |
|
403 |
|
404 /* BLOG FEEDS */ |
|
405 .blog { |
|
406 border: 10px solid #e5ecf9; |
|
407 border-top: 1px solid #3366cc; |
|
408 } |
|
409 |
|
410 .blog h2 { |
|
411 margin-top: 0.1em; |
|
412 background-color: #e5ecf9; |
|
413 } |
|
414 |
|
415 .blog h2 a { |
|
416 text-decoration: none; |
|
417 color: black; |
|
418 } |
|
419 |
|
420 .blog h2 a:visited { |
|
421 text-decoration: none; |
|
422 color: black; |
|
423 } |
|
424 |
|
425 |
|
426 .blog .entry { |
|
427 margin-bottom: 1em; |
|
428 } |
|
429 |
|
430 .blog .title { |
|
431 font-size: medium; |
|
432 } |
|
433 |
|
434 .blog .author { |
|
435 color: gray; |
|
436 margin-bottom: 0.5em; |
|
437 } |
|
438 |
|
439 .blog .snippet { |
|
440 background-color: white; |
|
441 } |
|
442 |
|
443 /* LIST */ |
|
444 .list { |
|
445 background-color: #E5ECF9; |
|
446 border: 1px solid #93b7fa; |
|
447 border-bottom: 2px solid #93b7fa; |
|
448 padding: 3px; |
|
449 -moz-border-radius: 5px 5px 0px 0px; |
|
450 } |
|
451 |
|
452 .list .pagination { |
|
453 text-align: right; |
|
454 padding: 3px; |
|
455 } |
|
456 |
|
457 .list table{ |
|
458 background-color: white; |
|
459 } |
|
460 |
|
461 .list table th { |
|
462 background-color: #eeeeec; |
|
463 border-right: 1px solid lightgray; |
|
464 border-top: 1px solid lightgray; |
|
465 } |
|
466 |
|
467 .list table tr.on { |
|
468 background-color: #ff9; |
|
469 } |
|
470 |
|
471 .list table tr.off { |
|
472 background-color: #fff; |
|
473 } |
|
474 |
|
475 .list table td.last { |
|
476 border-right: 1px solid lightgray; |
|
477 } |
|
478 |
|
479 .list table .first { |
|
480 border-left: 1px solid lightgray; |
|
481 } |
|
482 |
|
483 /* |
|
484 * STUDENT PROPOSAL REVIEWS |
|
485 */ |
|
486 .studentproposalreview { |
|
487 font-size: small; |
|
488 } |
|
489 |
|
490 .studentproposalreview .title { |
|
491 background-color: #e5ecf9; |
|
492 } |
|
493 |
|
494 .studentproposalreview .student{ |
|
495 background: #d0f5a9; |
|
496 } |
|
497 |
|
498 .studentproposalreview .other { |
|
499 background: #f5f6ce; |
|
500 } |
|
501 |
|
502 |
|
503 /* |
|
504 * CUSTOM CLASSES |
|
505 */ |
|
506 |
|
507 .todo { |
|
508 color: #cc0000; |
|
509 font-size: 80%; |
|
510 } |
|
511 |
|
512 .newmark { |
|
513 color: red; |
|
514 font-size: 80%; |
|
515 vertical-align: top; |
|
516 } |
|
517 |
|
518 .error { |
|
519 color: red; |
|
520 } |
|
521 |
|
522 .notice { |
|
523 background:#fad163; |
|
524 font-size: small; |
|
525 font-weight: bold; |
|
526 } |
|
527 |
|
528 .fieldhelptext { |
|
529 width: 450px; |
|
530 background:#fad163; |
|
531 font-size: small; |
|
532 border: 1px solid black; |
|
533 } |
|
534 |
|
535 .rounded_ul { background: url(/soc/content/images/ul.gif) no-repeat top left; } |
|
536 .rounded_ur { background: url(/soc/content/images/ur.gif) no-repeat top right; } |
|
537 .rounded_ll { background: url(/soc/content/images/ll.gif) no-repeat bottom left; } |
|
538 .rounded_lr { background: url(/soc/content/images/lr.gif) no-repeat bottom right; } |
|
539 |
|
540 /* Disabled text. */ |
|
541 .disabled { |
|
542 color: gray; |
|
543 } |
|
544 |
|
545 .plaintext { |
|
546 background:transparent none repeat scroll 0 0; |
|
547 border:0 none; |
|
548 color:black; |
|
549 } |
|