Rename soc-090421.css and update base.html template.
[Melange.git] / app / soc / content / css / soc-090602.css
blobb76aa10f416ccd5266f5f289c330f9cfbcff9f29
1 /*
2 Copyright 2009 the Melange authors.
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
18 * STANDARD HTML TAGS
21 body {
22 background-color: white;
23 color: black;
25 font-family: Arial, sans-serif;
26 font-size: medium;
28 margin: 8px;
29 margin-top: 3px;
32 img {
33 border: 0;
36 form {
37 margin: 0;
38 padding: 0;
41 li {
42 margin-bottom: 0.25em;
45 /* HEADERS */
46 h1 {
47 font-size: x-large;
48 margin-top: 0px;
51 h2 {
52 font-size: large;
55 h3 {
56 font-size: medium;
59 h4 {
60 font-size: small;
63 /* PRE-FORMATTED TEXT */
64 pre, code {
65 color: #007000;
66 font-family: "bogus font here", monospace;
67 font-size: 100%;
70 pre {
71 border: 1px solid silver;
72 background-color: #f5f5f5;
73 padding: 0.5em;
74 overflow: auto;
75 margin: 2em;
78 pre ins {
79 color: #cc0000;
80 font-weight: bold;
81 text-decoration: none;
84 /* LINKS AND ANCHORS */
85 a:link {
86 color: #0000cc;
89 a:active {
90 color: #cc0000;
93 a:visited {
94 color: #551a8b;
97 a.selected, .selected a, .selected {
98 color: black;
99 font-weight: bold;
100 text-decoration: none;
103 a.novisit {
104 color: #2a55a3;
107 a.noul, a.noulv {
108 color: #4182fa; /* #93b7fa; */
109 text-decoration: none;
112 a:hover.noul {
113 text-decoration: underline;
116 a:visited.noul {
117 color: #a32a91; /* #2a55a3; */
121 /* Styles used by Django Forms */
122 ul.errorlist {
123 color: #FF0000;
124 font-size: small;
128 /* TABLES */
129 table {
130 border-collapse: collapse;
133 th, td {
134 /*padding: 0;*/
135 padding:2px 5px;
136 vertical-align: top;
137 text-align: left;
140 /* FORM FIELDS */
141 td.formfieldrequired {
142 font-style: italic;
143 font-size: small;
144 text-align: center;
147 td.formfieldhelptext {
148 font-style: italic;
149 font-size: small;
150 padding: 5px;
153 td.formfielderror {
154 color: #FF0000;
155 font-size: small;
158 td.formfieldheading {
159 font-weight: bold;
160 font-size: small;
163 td.formfieldlabel {
164 font-weight: bold;
165 font-size: small;
166 text-align: right;
169 td.twolineformfieldlabel {
170 font-weight: bold;
171 font-size: small;
172 text-align: left;
175 td.twolineformfieldlabel {
176 font-weight: bold;
177 font-size: small;
180 td.twolineformfielderrorlabel {
181 font-weight: bold;
182 color: #FF0000;
183 font-size: small;
186 td.formfieldvalue {
187 text-align: left;
190 td.formfieldvalue input {
191 width: 100%;
194 td.formfieldvalue input[type=checkbox] {
195 width: auto;
198 td.formfieldvalue input:focus {
199 background-color: #FFFF99;
200 font-weight: bold;
203 td.formfieldvalue textarea {
204 width: 100%;
207 td.formfieldvalue select {
208 width: 100%;
211 td.formfielderrorlabel, td.warning, span.formfielderrorlabel {
212 font-weight: bold;
213 color: #FF0000;
214 font-size: small;
215 text-align: right;
218 /* TABLE QUEUES (used with .list) */
219 table#queues {
220 border-collapse: collapse;
221 width: 100%;
224 table#queues tr {
225 border-bottom: thin solid lightgray;
228 table#queues td {
229 padding: 2px;
232 /* TOOLTIPS */
234 #purr-container {
235 position: fixed;
236 bottom: 0;
237 right: 0;
240 .tooltip {
241 position: relative;
242 width: 300px;
245 .tooltip .close {
246 position: absolute;
247 top: 12px;
248 right: 12px;
249 display: block;
250 width: 18px;
251 height: 17px;
252 text-indent: -9999px;
253 background: url('/soc/content/images/purrClose.png') no-repeat 0 10px;
256 .tooltip-body {
257 min-height: 50px;
258 padding: 22px 22px 0 22px;
259 background: url('/soc/content/images/purrTop.png') no-repeat left top;
260 color: #f9f9f9;
263 .tooltip-body img {
264 width: 50px;
265 margin: 0 10px 0 0;
266 float: left;
269 .tooltip-body h3 {
270 margin: 0;
271 font-size: 1.1em;
274 .tooltip-body p {
275 margin: 5px 0 0 60px;
276 font-size: 0.8em;
277 line-height: 1.4em;
280 .tooltip-bottom {
281 height: 22px;
282 background: url('/soc/content/images/purrBottom.png') no-repeat left top;
286 * PAGE ELEMENTS
289 #title {
290 border-top: 1px solid #3366cc;
291 background-color: #e5ecf9;
292 font-size: large;
293 font-weight: bold;
294 margin: 0;
295 padding: 0;
296 padding-top: 1px;
297 padding-bottom: 1px;
298 margin-top: 5px;
299 margin-left: 200px;
300 padding-left: 3px;
303 #notice {
304 margin-left: 200px;
305 padding: 3px;
308 #logo {
309 padding-right: 18px;
310 position: absolute;
311 left: 0;
312 top: -5px;
315 #login {
316 text-align: right;
319 #badge {
320 clear: both;
321 margin-top: 3.5em;
322 margin-bottom: 1em;
323 height: 53px;
324 font-style: italic;
327 #body {
328 border-left: 1px dotted silver;
329 margin-left: 200px;
330 margin-right: 25px;
331 padding-left: 18px;
332 padding-bottom: 25px;
335 #body .buttons {
336 margin-right: 4px;
337 margin-top: 20px;
340 #body a.button, input[type^="submit"], input[type^="button"] {
341 margin: 0;
342 padding: 2px 5px 2px 5px;
343 font-family: Arial, Sans-serif;
344 font-size: 12px;
345 text-decoration: none;
346 color: #222;
347 cursor: default;
348 background: #ddd url("/soc/content/images/button-background.gif") repeat-x 0 0;
349 border: 1px solid #aaa;
352 #body a.button:hover, input[type^="submit"]:hover, input[type^="button"]:hover {
353 border-color: #9cf #69e #69e #7af;
356 #header {
357 height: 50px;
358 margin-bottom: 11px;
359 position: relative;
362 #footer {
363 clear: both;
364 text-align: center;
365 margin-top: 3.5em;
366 margin-bottom: 1em;
367 background-image: url("http://www.google.com/images/art.gif");
368 height: 53px;
369 background-repeat: no-repeat;
370 background-position: left center;
371 padding-left: 125px;
374 #footer .text {
375 padding-top: 20px;
378 #created {
379 font-size: x-small;
380 color:#C0C0C0;
381 text-align: right;
384 /* Google Map */
385 #role_profile_map {
386 height: 240px;
387 width: 320px;
390 #org_home_extras {
391 margin:2em 0em 2em;
392 min-height:500px;
395 #extras_left {
396 width: 55%;
397 left: 0px;
398 float: left;
401 #extras_right {
402 width: 43%;
403 right: 0px;
404 float: right;
407 /* Organization home gmap */
408 #org_home_map {
409 height: 500px;
410 width: 500px;
413 /* SIDEBAR MENU */
414 #side {
415 width: 200px;
416 margin-bottom: 3em;
417 float: left;
418 font-size: small;
421 #menu ul {
422 margin: 0;
423 padding: 0;
424 list-style-type: none;
425 margin-bottom: 1em;
426 font-size: 95%;
429 #menu ul ul {
430 margin-left: 10px;
431 margin-bottom: 0;
434 #menu li {
435 margin-top: 4px;
436 list-style-type: none;
437 list-style-image: none;
440 #menu img {
441 margin-right: 4px;
444 #menu li.leaf {
445 padding-left: 14px;
448 #menu h4 {
449 margin: 0;
450 padding: 0;
451 margin-bottom: 1em;
454 /* */
456 span.unread {
457 font-weight: bold;
458 color: #FF0000;
461 span.edited {
462 color: #808080;
465 /* SEARCH FIELD */
466 #search {
467 margin-top: 2em;
470 #search .header {
471 font-weight: bold;
472 font-size: 90%;
473 margin-bottom: 1px;
476 #search .button {
477 margin-top: 1px;
480 #search .input input {
481 width: 125px;
484 /* BLOG FEEDS */
485 .blog {
486 border: 10px solid #e5ecf9;
487 border-top: 1px solid #3366cc;
490 .blog h2 {
491 margin-top: 0.1em;
492 background-color: #e5ecf9;
495 .blog h2 a {
496 text-decoration: none;
497 color: black;
500 .blog h2 a:visited {
501 text-decoration: none;
502 color: black;
506 .blog .entry {
507 margin-bottom: 1em;
510 .blog .title {
511 font-size: medium;
514 .blog .author {
515 color: gray;
516 margin-bottom: 0.5em;
519 .blog .snippet {
520 background-color: white;
523 /* LIST */
524 .list {
525 background-color: #E5ECF9;
526 border: 1px solid #93b7fa;
527 border-bottom: 2px solid #93b7fa;
528 padding: 3px;
529 -moz-border-radius: 5px 5px 0px 0px;
532 .list .pagination {
533 text-align: right;
534 padding: 3px;
537 .list table{
538 background-color: white;
541 .list table th {
542 background-color: #eeeeec;
543 border-right: 1px solid lightgray;
544 border-top: 1px solid lightgray;
547 .list table tr.on {
548 background-color: #ff9;
549 cursor: hand;
550 cursor: pointer;
553 .list table tr.off {
554 background-color: #fff;
557 .list table td.last {
558 border-right: 1px solid lightgray;
561 .list table .first {
562 border-left: 1px solid lightgray;
565 .list table td.no_hand {
566 cursor: default;
570 * STUDENT PROPOSAL REVIEWS
572 .studentproposalreview {
573 font-size: small;
576 .studentproposalreview .title {
577 background-color: #e5ecf9;
580 .studentproposalreview .student{
581 background: #d0f5a9;
584 .studentproposalcomment-public,
585 .studentproposalreview-public .other {
586 background: #f5f6ce;
589 .studentproposalcomment-private,
590 .studentproposalreview-private .other {
591 background: #D2EDF6;
595 * CUSTOM CLASSES
598 .assignedslot {
599 background-color: #d0f5a9;
602 .todo {
603 color: #cc0000;
604 font-size: 80%;
607 .newmark {
608 color: red;
609 font-size: 80%;
610 vertical-align: top;
613 .error {
614 color: red;
617 .notice {
618 background:#fad163;
619 font-size: small;
620 font-weight: bold;
623 .fieldhelptext {
624 width: 450px;
625 background:#fad163;
626 font-size: small;
627 border: 1px solid black;
630 .rounded_ul { background: url(/soc/content/images/ul.gif) no-repeat top left; }
631 .rounded_ur { background: url(/soc/content/images/ur.gif) no-repeat top right; }
632 .rounded_ll { background: url(/soc/content/images/ll.gif) no-repeat bottom left; }
633 .rounded_lr { background: url(/soc/content/images/lr.gif) no-repeat bottom right; }
635 /* Disabled text. */
636 .disabled {
637 color: gray;
640 .plaintext {
641 background:transparent none repeat scroll 0 0;
642 border:0 none;
643 color:black;