Replace BeautyTips tooltips with purr info box for all form fields with help text.
[Melange.git] / app / soc / content / css / soc-090421.css
blob4708382c7768deb9676d50ce4f71405a1f6c152d
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 position: relative;
392 margin:2em 0em 2em;
393 min-height:500px;
396 #extras_left {
397 position: absolute;
398 width: 55%;
399 left: 0px;
402 #extras_right {
403 position: absolute;
404 width: 43%;
405 right: 0px;
406 float: right;
409 /* Organization home gmap */
410 #org_home_map {
411 height: 500px;
412 width: 500px;
415 /* SIDEBAR MENU */
416 #side {
417 width: 200px;
418 margin-bottom: 3em;
419 float: left;
420 font-size: small;
423 #menu ul {
424 margin: 0;
425 padding: 0;
426 list-style-type: none;
427 margin-bottom: 1em;
428 font-size: 95%;
431 #menu ul ul {
432 margin-left: 10px;
433 margin-bottom: 0;
436 #menu li {
437 margin-top: 4px;
438 list-style-type: none;
439 list-style-image: none;
442 #menu img {
443 margin-right: 4px;
446 #menu li.leaf {
447 padding-left: 14px;
450 #menu h4 {
451 margin: 0;
452 padding: 0;
453 margin-bottom: 1em;
456 /* */
458 span.unread {
459 font-weight: bold;
460 color: #FF0000;
463 span.edited {
464 color: #808080;
467 /* SEARCH FIELD */
468 #search {
469 margin-top: 2em;
472 #search .header {
473 font-weight: bold;
474 font-size: 90%;
475 margin-bottom: 1px;
478 #search .button {
479 margin-top: 1px;
482 #search .input input {
483 width: 125px;
486 /* BLOG FEEDS */
487 .blog {
488 border: 10px solid #e5ecf9;
489 border-top: 1px solid #3366cc;
492 .blog h2 {
493 margin-top: 0.1em;
494 background-color: #e5ecf9;
497 .blog h2 a {
498 text-decoration: none;
499 color: black;
502 .blog h2 a:visited {
503 text-decoration: none;
504 color: black;
508 .blog .entry {
509 margin-bottom: 1em;
512 .blog .title {
513 font-size: medium;
516 .blog .author {
517 color: gray;
518 margin-bottom: 0.5em;
521 .blog .snippet {
522 background-color: white;
525 /* LIST */
526 .list {
527 background-color: #E5ECF9;
528 border: 1px solid #93b7fa;
529 border-bottom: 2px solid #93b7fa;
530 padding: 3px;
531 -moz-border-radius: 5px 5px 0px 0px;
534 .list .pagination {
535 text-align: right;
536 padding: 3px;
539 .list table{
540 background-color: white;
543 .list table th {
544 background-color: #eeeeec;
545 border-right: 1px solid lightgray;
546 border-top: 1px solid lightgray;
549 .list table tr.on {
550 background-color: #ff9;
551 cursor: hand;
552 cursor: pointer;
555 .list table tr.off {
556 background-color: #fff;
559 .list table td.last {
560 border-right: 1px solid lightgray;
563 .list table .first {
564 border-left: 1px solid lightgray;
567 .list table td.no_hand {
568 cursor: default;
572 * STUDENT PROPOSAL REVIEWS
574 .studentproposalreview {
575 font-size: small;
578 .studentproposalreview .title {
579 background-color: #e5ecf9;
582 .studentproposalreview .student{
583 background: #d0f5a9;
586 .studentproposalcomment-public,
587 .studentproposalreview-public .other {
588 background: #f5f6ce;
591 .studentproposalcomment-private,
592 .studentproposalreview-private .other {
593 background: #D2EDF6;
597 * CUSTOM CLASSES
600 .assignedslot {
601 background-color: #d0f5a9;
604 .todo {
605 color: #cc0000;
606 font-size: 80%;
609 .newmark {
610 color: red;
611 font-size: 80%;
612 vertical-align: top;
615 .error {
616 color: red;
619 .notice {
620 background:#fad163;
621 font-size: small;
622 font-weight: bold;
625 .fieldhelptext {
626 width: 450px;
627 background:#fad163;
628 font-size: small;
629 border: 1px solid black;
632 .rounded_ul { background: url(/soc/content/images/ul.gif) no-repeat top left; }
633 .rounded_ur { background: url(/soc/content/images/ur.gif) no-repeat top right; }
634 .rounded_ll { background: url(/soc/content/images/ll.gif) no-repeat bottom left; }
635 .rounded_lr { background: url(/soc/content/images/lr.gif) no-repeat bottom right; }
637 /* Disabled text. */
638 .disabled {
639 color: gray;
642 .plaintext {
643 background:transparent none repeat scroll 0 0;
644 border:0 none;
645 color:black;