Happy New Year!
[platal.git] / htdocs / css / default.css
1 /***************************************************************************
2 * Copyright (C) 2003-2011 Polytechnique.org *
3 * http://opensource.polytechnique.org/ *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software *
17 * Foundation, Inc., *
18 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
19 ***************************************************************************/
20
21 /*******************************************************************************
22 1 Styles par défauts
23 [ balises sans attributs ou classes sans contexte ]
24 *******************************************************************************/
25
26 body {
27 font-family: "Arial", sans-serif;
28 color: #000000;
29 background: #ffffff;
30 }
31
32 a:link, a:visited, a:active, a:hover { color: #003399; background: none; }
33 img { vertical-align: middle; }
34 a img { border: 0px; }
35 td { vertical-align: top; }
36 li { padding-left: 3px; padding-right: 3px; text-align: justify; }
37 hr { width: 90%; text-align: center }
38 dt { font-weight: bold; }
39
40 fieldset {
41 border: 1px #336699 solid;
42 background: #eeeeee;
43 color: inherit;
44
45 margin: 1em 0 1em 0;
46 }
47
48 legend {
49 border: 1px #336699 solid;
50 background: #f4d09c;
51 color: inherit;
52
53 padding-left: 4px;
54 padding-right: 4px;
55 }
56
57 .center { text-align: center; }
58 .right { text-align: right; }
59 .middle { vertical-align: middle; }
60 .smaller { font-size: smaller; font-style: italic; }
61 .spacer { clear: both; }
62
63 .float2 { float: left; width: 49%; }
64 .float3 { float: left; width: 33%; }
65
66 /*******************************************************************************
67 2 Styles <p>, <div>, <span>, <li>
68 [ styles classiques d'effets de texte ]
69 *******************************************************************************/
70
71 p {
72 margin-bottom: 0.5em;
73 text-align: justify;
74 }
75
76 .errors {
77 margin-top: 10px;
78 border: 1px solid #f00;
79 background-color: #fcc;
80 width: 98%;
81 }
82
83 .warnings {
84 margin-top: 10px;
85 border: 1px solid #ed0;
86 background-color: #ffc;
87 width: 98%;
88 }
89
90 .success {
91 margin-top: 10px;
92 border: 1px solid #0d2;
93 background-color: #cfd;
94 width: 98%;
95 }
96
97 .erreur {
98 font-weight: bold;
99 color: #ff0000;
100 background: inherit;
101 margin-top: 0.5em;
102 margin-bottom: 0.5em;
103 }
104
105 .erreur a:link, .erreur a:visited, .erreur a:active, .erreur a:hover {
106 color: #ff3333;
107 background: inherit;
108 }
109
110 .hinted {
111 border-bottom: 1px dashed black;
112 }
113
114 input.error, textarea.error {
115 background-color: #faa;
116 }
117
118 input.valid, textarea.valid {
119 background-color: #afa;
120 }
121
122 input.warning, textarea.warning {
123 background-color: #fda;
124 }
125
126 h1 {
127 color: #555555;
128 background: url('../images/skins/default_titre.gif');
129 background-repeat: no-repeat;
130
131 text-indent: 0.2em;
132 text-align: left;
133 font-size: 120%;
134 font-family: "helvetica", sans-serif;
135 font-weight: bolder;
136
137 margin: 1em 0em 1em 0em;
138 padding: 0em 0em 0em 0.5em;
139 }
140
141 h2 {
142 padding: 0.5em 0em 0em 0em;
143 margin: 0em;
144 font-size: 100%;
145 font-weight: bold;
146 }
147
148 h3 {
149 margin: 0em;
150 font-weight: bold;
151 padding: 0.25em;
152 font-size: 100%;
153 }
154
155 p.explication, div.explication {
156 font-style: italic;
157 padding: 0em 1ex 1ex 1ex;
158 }
159
160 li.spaced {
161 padding-top: 0.5em;
162 padding-bottom: 0.5em;
163 text-align: justify;
164 }
165
166 /*******************************************************************************
167 3 Tableaux bicolores + classes utiles
168 [ Tableaux à lignes alternées, en taille normale, ou tiny ]
169 *******************************************************************************/
170
171 table.bicol {
172 color: inherit;
173 background: #eeeeee;
174 border: 1px solid #336699;
175 border-collapse: collapse;
176 width: 100%;
177 margin-left: 0;
178 }
179 table.tinybicol {
180 color: inherit;
181 background: #eeeeee;
182 border: 1px solid #336699;
183 border-collapse: collapse;
184 width: 70%;
185 margin-left: 15%;
186 }
187
188 table.tinybicol tr.impair, table.bicol tr.impair {}
189 table.tinybicol tr.pair, table.bicol tr.pair {
190 color: inherit;
191 background: #eeeed0;
192 }
193
194 table.tinybicol th, table.bicol th {
195 color: #ffffff;
196 background: #336699;
197 font-weight: bold;
198 text-align: center;
199 vertical-align: middle;
200 }
201
202 table.tinybicol th a:link, table.tinybicol th a:visited,
203 table.tinybicol th a:active, table.tinybicol th a:hover,
204 table.bicol th a:link, table.bicol th a:visited,
205 table.bicol th a:active, table.bicol th a:hover {
206 color: #9999FF;
207 background: inherit;
208 }
209
210 table.tinybicol td, table.bicol td {
211 color: #000000;
212 background: inherit;
213 }
214
215 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
216
217 td.half { width: 50%; padding: 4px; }
218 td.titre {
219 color: #000000;
220 background: inherit;
221 font-weight: bold;
222 }
223 td.action {
224 white-space: nowrap;
225 text-align: right;
226 font-weight: bold;
227 vertical-align: middle;
228 }
229 td.action a { padding: 0px 2px 0px 2px; }
230
231 div.titre {
232 color: #000000;
233 background: inherit;
234 font-weight: bold;
235 }
236
237 span.titre {
238 color: #000000;
239 background: inherit;
240 font-weight: bold;
241 }
242
243 /*******************************************************************************
244 4 Tableau de choix de skins
245 [ Styles pour les tableaux de types de ceux des skins ]
246 *******************************************************************************/
247
248 #skin {
249 border-bottom: 1px solid #003399;
250 border-top: 1px solid #003399;
251 width: 98%;
252 margin-left: 1%;
253 }
254 #skin td {
255 border-bottom: 2px solid #003399;
256 border-top: 1px solid #003499;
257 vertical-align: middle;
258 }
259 #skin td.skigauche {
260 background: #eeeeee;
261 color: inherit;
262 vertical-align: middle;
263 }
264 #skin td.skimilieu {
265 padding-left: 1em;
266 width: 100%;
267 }
268 #skin td.skidroite { padding: 0; }
269
270 /*******************************************************************************
271 5 Contacts
272 [ Styles liés à l'affichage de contacts ]
273 *******************************************************************************/
274
275 div.contact-list {
276 width: 98%;
277 margin-left: 5px;
278 }
279
280 div.contact-list div.contact {
281 width: 100%;
282 text-align: left;
283 border-top: 1px solid #003399;
284 background: #F4D09C;
285 color: inherit;
286 }
287
288 div.contact-list div.grayed {
289 color: #444444;
290 font-style: italic;
291 background: #eee;
292 }
293
294 .contact .photo {
295 float: left;
296 }
297
298 .contact .photo img {
299 width: 40px;
300 margin-right: 4px;
301 }
302
303 div.contact div.identity {
304 float: left;
305 width: 85%;
306 }
307
308 div.contact div.nom {
309 font-weight: bold;
310 }
311
312 div.contact div.bits {
313 text-align: right;
314 float: right;
315 width: 14%;
316 }
317
318 div.contact div.long {
319 width: 100%;
320 clear: both;
321 background: white;
322 color: inherit;
323 padding-top: 1px;
324 padding-bottom: 1px;
325 }
326
327 div.long table { width: 100%; }
328 div.long td.lt { width: 18%; font-style: italic; }
329 div.long td.rt { width: 82%; }
330
331 /*******************************************************************************
332 6 Profil
333 [ onglets des profils ]
334 *******************************************************************************/
335
336 .wizard {
337 margin-top: -4px;
338 margin-left: -16px;
339 }
340
341 .wizard .wiz_header {
342 height: 32px;
343 width: 100%;
344 background: url('../images/skins/wiz_background.png') top right repeat-x;
345 margin-bottom: 1em;
346 }
347
348 .wizard .wiz_header .wiz_tab {
349 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
350 height: 100%;
351 text-align: center;
352 font-size: 75%;
353 border-right: 1px solid #888;
354 }
355
356 .wizard .wiz_header .wiz_tab:hover {
357 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
358 color: #fff;
359 }
360
361 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
362 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
363 color: #fff;
364 }
365
366 .wizard .wiz_header a {
367 color: #000;
368 text-decoration: none;
369 }
370
371 .wizard .wiz_header a.active {
372 color: #fff;
373 }
374
375 .wizard .wiz_content {
376 margin-left: 16px;
377 }
378
379 .flags .texte {
380 font-size: smaller;
381 font-weight: bold;
382 margin-left: -6px;
383 padding: 0 12px 0 0;
384 }
385 .flags img {
386 padding: 0 6px 0 0;
387 }
388
389
390 /*******************************************************************************
391 7 fiche.php & fiche_referent.php
392 [ cas de la fiche ]
393 *******************************************************************************/
394
395 #fiche {
396 width: 760px;
397 font-size: 100%;
398 vertical-align: top;
399
400 border: 1px solid #369;
401 }
402
403 #fiche em { color: purple; }
404
405 #fiche h2 {
406 color: #369;
407 padding: 0px 4px;
408 margin: 0.5em 0em;
409 font-weight: bold;
410 border-bottom: 1px dotted #369;
411 }
412
413 #fiche .part {
414 float: left;
415 clear: left;
416 width: 70%;
417 padding-left: 0;
418 padding-right: 0;
419 margin-left: 0;
420 margin-right: 0;
421 }
422
423 #fiche #photo {
424 float: right;
425 width: 30%;
426 padding-left: 0;
427 margin-left: 0;
428 clear: right;
429 }
430
431 #fiche #photo img {
432 width: 100%;
433 }
434
435 #fiche_identite {
436 padding: 5px;
437 }
438
439 #fiche_identite div.civilite {
440 text-align: center;
441 font-weight: bold;
442 width: 80%;
443 float: left;
444 }
445
446 #fiche_identite div.maj {
447 float: left;
448 width: 20%;
449 font-size: 75%;
450 text-align: right;
451 clear: right;
452 padding-bottom: 1ex;
453 }
454
455 #fiche_identite div.contact {
456 clear: both;
457 margin: 1em;
458 padding: 1ex;
459 background: #fff;
460 border: 1px dotted #69c;
461 }
462 #fiche_identite div.email {
463 clear: left;
464 float: left;
465 }
466 #fiche_identite div.mob {
467 float: right;
468 clear: right;
469 text-align: right;
470 }
471
472 #fiche_identite div.formation {
473 margin: 0em 1em;
474 clear: both;
475 }
476
477 div.adresse {
478 min-width: 30%;
479 padding: 0px;
480 margin: 0px 2% 1ex 1%;
481 }
482
483 div.adresse strong {
484 font-size: 90%;
485 }
486
487 div.adresse ul {
488 margin-top: 0px;
489 margin-bottom: 0px;
490 list-style-type: none;
491 padding-left: 0px;
492 }
493
494 #fiche .medal_frame {
495 float: left;
496 width: 33%;
497 }
498
499 #fiche .medal_frame img {
500 float: left;
501 padding: 0ex 1ex;
502 }
503
504 /* only for fiche_referent.php*/
505
506 #fiche_referent .part {
507 width: 100%;
508 }
509
510 #fiche_referent #fiche_identite div.civilite {
511 width: 100%;
512 }
513
514 #fiche_referent{
515 width: 100%;
516 }
517
518 #fiche_referent div.rubrique_referent{
519 float: left;
520 width: 31%;
521 padding: 0px;
522 margin: 0px 1% 1ex 1%;
523 text-align: justify;
524 }
525
526 #fiche_referent em{color: purple;}
527 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
528 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
529
530 /*******************************************************************************
531 A SKIN
532 [ choix de classes faites par le skinneur
533 *******************************************************************************/
534
535 #dev {
536 width: auto;
537 text-align: center;
538 padding: 1px;
539
540 color: #003399;
541 background: #e0ffff;
542
543 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
544 font-size: 10pt;
545 font-weight: bold;
546 }
547
548 #dev a { text-decoration: underline; }
549 #dev a:hover { color: #003399; background: #c0e0e0; }
550
551 .backtrace div.hide { display: none; }
552 .backtrace:hover div.hide { display: block }
553
554 #suid {
555 color: red;
556 background: #ffc0cb;
557 width: auto;
558 font-weight: bold;
559 text-align: center;
560 }
561 #suid a {
562 color: red;
563 background: inherit;
564 text-decoration: none;
565 display: block;
566 }
567 #suid:hover {
568 color: red;
569 background: #ffffcb;
570 }
571 #suid a:hover {
572 color: #ff7000;
573 background: inherit;
574 }
575
576 #body {
577 width: 740px;
578 margin-left: auto;
579 margin-right: auto;
580 }
581
582 #body-logo {
583 width: 140px;
584 border-right: 1px solid gray;
585 text-align: center;
586 font-family: "MS Sans Serif", sans-serif;
587 padding-top: 4px;
588 border-bottom: 1px solid gray;
589 }
590
591 #body-top {
592 border-bottom: 1px solid gray;
593 text-align: center;
594 font-size: 95%;
595 padding: 4px;
596 padding-bottom: 16px;
597 font-family: "Arial", sans-serif;
598 }
599
600 #body-top table { width: 100%; padding: 4px; }
601 #body-top .date-heure { text-align: left; }
602 #body-top .inscrits { text-align: right; }
603
604 #body-bottom {
605 border-top: 1px solid gray;
606 text-align: center;
607 padding: 4px;
608 font-size: 75%;
609 font-family: "MS Sans Serif", sans-serif;
610 }
611
612 #body-menu {
613 width: 140px;
614 border-right: 1px solid gray;
615 text-align: center;
616 font-family: "MS Sans Serif", sans-serif;
617 font-size: 75%;
618 font-weight: bold;
619 white-space: nowrap;
620 }
621
622 #body-menu .menu_item {
623 padding-left: 4px;
624 padding: 2px;
625 text-align: left;
626 }
627
628 #body-menu .menu_item a {
629 text-decoration:none;
630 }
631
632 #body-menu .menu_title {
633 color: gray;
634 background: #eeeeee;
635 border-top: 1px solid gray;
636 border-bottom: 1px solid gray;
637 padding: 1px;
638 margin-top: 4px;
639 text-align: center;
640 }
641
642 #content {
643 width: 600px;
644 padding: 4px 0px 4px 16px;
645 font-size: 95%;
646 vertical-align: top;
647 }
648
649 .quick_search {
650 color: gray;
651 text-align: right;
652 }
653
654 div#content {
655 padding: 1em;
656 margin: 0em;
657 }
658
659 #content input {
660 font-size: 95%;
661 }
662
663 #menu-evts {
664 font-size: 85%;
665 }
666
667 /* vim: set et ts=4 sts=4 sw=4: */