PlWizard tabs are fully clickable
[platal.git] / htdocs / css / default.css
1 /***************************************************************************
2 * Copyright (C) 2003-2007 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 .erreur {
77 font-weight: bold;
78 color: #ff0000;
79 background: inherit;
80 margin-top: 0.5em;
81 margin-bottom: 0.5em;
82 }
83
84 .erreur a:link, .erreur a:visited, .erreur a:active, .erreur a:hover {
85 color: #ff3333;
86 background: inherit;
87 }
88
89 input.error, textarea.error {
90 background-color: #faa;
91 }
92
93 input.valid, textarea.valid {
94 background-color: #afa;
95 }
96
97 input.warning, textarea.warning {
98 background-color: #fda;
99 }
100
101 h1 {
102 color: #555555;
103 background: url('../images/skins/default_titre.gif');
104 background-repeat: no-repeat;
105
106 text-indent: 0.2em;
107 text-align: left;
108 font-size: 120%;
109 font-family: "helvetica", sans-serif;
110 font-weight: bolder;
111
112 margin: 1em 0em 1em 0em;
113 padding: 0em 0em 0em 0.5em;
114 }
115
116 h2 {
117 padding: 0.5em 0em 0em 0em;
118 margin: 0em;
119 font-size: 100%;
120 font-weight: bold;
121 }
122
123 h3 {
124 margin: 0em;
125 font-weight: bold;
126 padding: 0.25em;
127 font-size: 100%;
128 }
129
130 p.explication, div.explication {
131 font-style: italic;
132 padding: 0em 1ex 1ex 1ex;
133 }
134
135 li.spaced {
136 padding-top: 0.5em;
137 padding-bottom: 0.5em;
138 text-align: justify;
139 }
140
141 /*******************************************************************************
142 3 Tableaux bicolores + classes utiles
143 [ Tableaux à lignes alternées, en taille normale, ou tiny ]
144 *******************************************************************************/
145
146 table.bicol {
147 color: inherit;
148 background: #eeeeee;
149 border: 1px solid #336699;
150 border-collapse: collapse;
151 width: 100%;
152 margin-left: 0;
153 }
154 table.tinybicol {
155 color: inherit;
156 background: #eeeeee;
157 border: 1px solid #336699;
158 border-collapse: collapse;
159 width: 70%;
160 margin-left: 15%;
161 }
162
163 table.tinybicol tr.impair, table.bicol tr.impair {}
164 table.tinybicol tr.pair, table.bicol tr.pair {
165 color: inherit;
166 background: #eeeed0;
167 }
168
169 table.tinybicol th, table.bicol th {
170 color: #ffffff;
171 background: #336699;
172 font-weight: bold;
173 text-align: center;
174 vertical-align: middle;
175 }
176
177 table.tinybicol th a:link, table.tinybicol th a:visited,
178 table.tinybicol th a:active, table.tinybicol th a:hover,
179 table.bicol th a:link, table.bicol th a:visited,
180 table.bicol th a:active, table.bicol th a:hover {
181 color: #9999FF;
182 background: inherit;
183 }
184
185 table.tinybicol td, table.bicol td {
186 color: #000000;
187 background: inherit;
188 }
189
190 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
191
192 td.half { width: 50%; padding: 4px; }
193 td.titre {
194 color: #000000;
195 background: inherit;
196 font-weight: bold;
197 }
198 td.action {
199 white-space: nowrap;
200 text-align: right;
201 font-weight: bold;
202 vertical-align: middle;
203 }
204 td.action a { padding: 0px 2px 0px 2px; }
205
206 /*******************************************************************************
207 4 Tableau de choix de skins
208 [ Styles pour les tableaux de types de ceux des skins ]
209 *******************************************************************************/
210
211 #skin {
212 border-bottom: 1px solid #003399;
213 border-top: 1px solid #003399;
214 width: 98%;
215 margin-left: 1%;
216 }
217 #skin td {
218 border-bottom: 2px solid #003399;
219 border-top: 1px solid #003499;
220 vertical-align: middle;
221 }
222 #skin td.skigauche {
223 background: #eeeeee;
224 color: inherit;
225 vertical-align: middle;
226 }
227 #skin td.skimilieu {
228 padding-left: 1em;
229 width: 100%;
230 }
231 #skin td.skidroite { padding: 0; }
232
233 /*******************************************************************************
234 5 Contacts
235 [ Styles liés à l'affichage de contacts ]
236 *******************************************************************************/
237
238 div.contact-list {
239 width: 98%;
240 margin-left: 1%;
241 }
242
243 div.contact-list div.contact {
244 width: 100%;
245 text-align: left;
246 border-top: 1px solid #003399;
247 background: #F4D09C;
248 color: inherit;
249 }
250
251 div.grayed {
252 color: #444444;
253 font-style: italic;
254 }
255
256 div.grayed div.contact {
257 background: #eee;
258 }
259
260 div.contact div.nom {
261 font-weight: bold;
262 width: 35%;
263 float: left;
264 }
265
266 div.contact div.appli {
267 float: left;
268 }
269
270 div.contact div.bits {
271 text-align: right;
272 float: right;
273 }
274
275 div.contact div.long {
276 width: 100%;
277 clear: both;
278 background: white;
279 color: inherit;
280 padding-top: 1px;
281 padding-bottom: 1px;
282 }
283
284 div.long table { width: 100%; }
285 div.long td.lt { width: 35%; }
286 div.long td.rt { width: 65%; }
287
288 /*******************************************************************************
289 6 Profil
290 [ onglets des profils ]
291 *******************************************************************************/
292
293 .wizard {
294 margin-top: -4px;
295 margin-left: -16px;
296 }
297
298 .wizard .wiz_header {
299 height: 32px;
300 width: 100%;
301 background-color: #aaa;
302 margin-bottom: 1em;
303 }
304
305 .wizard .wiz_header .wiz_tab {
306 background-color: #aaa;
307 vertical-align: middle;
308 height: 100%;
309 text-align: center;
310 font-size: 75%;
311 border-right: 1px solid #888;
312 }
313
314 .wizard .wiz_header .active {
315 background-color: #444;
316 color: #fff;
317 }
318
319 .wizard .wiz_header .wiz_tab:hover {
320 background-color: #777;
321 }
322
323 .wizard .wiz_header a {
324 color: #000;
325 text-decoration: none;
326 vertical-align: middle;
327 }
328
329 .wizard .wiz_header a.active {
330 color: #fff;
331 }
332
333 .wizard .wiz_content {
334 margin-left: 16px;
335 }
336
337 .flags {
338 margin: 0.5em 0 0 0;
339 padding: 0;
340 }
341 .flags input {
342 margin: 0px 2px;
343 padding: 0px;
344 }
345 .flags .texte {
346 font-size: smaller;
347 font-weight: bold;
348 padding: 0 8px 0 0;
349 }
350 .flags .vert {
351 background: url('../images/icons/flag_green.gif') top right no-repeat;
352 padding: 0 16px 0 0;
353 margin-left: 16px;
354 }
355 .flags .orange {
356 background: url('../images/icons/flag_orange.gif') top right no-repeat;
357 padding: 0 16px 0 0;
358 margin-left: 16px;
359 }
360 .flags .rouge {
361 background: url('../images/icons/flag_red.gif') top right no-repeat;
362 padding: 0 16px 0 0;
363 margin-left: 16px;
364 }
365
366 table.cadre_a_onglet{
367 border-width: 0;
368 padding : 0;
369 margin: 0;
370 }
371
372 td.conteneur_tab {
373 border-width : 1px 2px 2px 1px;
374 border-style : solid;
375 border-color : #999;
376 padding : 4px 4px 4px 4px;
377 background : #eceade;
378 }
379
380 #onglet {
381 display : block;
382 margin : 0;
383 padding : 0;
384 }
385
386 #onglet li {
387 display : block;
388 float : left;
389 padding : 0.4ex;
390 margin : 0 0.3ex -1px 0;
391 background : #D2E0E6 repeat-x 0 100%;
392 border-width : 1px 1px 0px 1px;
393 border-style : solid;
394 border-color : #999;
395 border-bottom-color : #999;
396 width: auto;
397 height: 5ex;
398 text-align: center;
399 }
400
401 #onglet li:hover { background : #fc3 repeat-x 0 100%; }
402
403 #onglet li.actif {
404 background : #eceade;
405 border-bottom-color : #eceade;
406 font-weight: bold;
407 }
408
409 #onglet li a {
410 font-size: 80%;
411 font-weight : normal;
412 text-decoration : none;
413 color : #000;
414 }
415
416 #onglet li a:hover { text-decoration: underline; }
417 #onglet li img { margin-right : 2px; }
418
419 /*******************************************************************************
420 7 fiche.php & fiche_referent.php
421 [ cas de la fiche ]
422 *******************************************************************************/
423
424 #fiche {
425 width: 760px;
426 font-size: 100%;
427 vertical-align: top;
428
429 border: 1px solid #369;
430 }
431
432 #fiche em { color: purple; }
433
434 #fiche h2 {
435 color: #369;
436 padding: 0px 4px;
437 margin: 0.5em 0em;
438 font-weight: bold;
439 border-bottom: 1px dotted #369;
440 }
441
442 #fiche .part {
443 float: left;
444 clear: left;
445 width: 70%;
446 padding-left: 0;
447 padding-right: 0;
448 margin-left: 0;
449 margin-right: 0;
450 }
451
452 #fiche #photo {
453 float: right;
454 width: 30%;
455 padding-left: 0;
456 margin-left: 0;
457 clear: right;
458 }
459
460 #fiche #photo img {
461 width: 100%;
462 }
463
464 #fiche_identite {
465 padding: 5px;
466 }
467
468 #fiche_identite div.civilite {
469 text-align: center;
470 font-weight: bold;
471 width: 80%;
472 float: left;
473 }
474
475 #fiche_identite div.maj {
476 float: left;
477 width: 20%;
478 font-size: 75%;
479 text-align: right;
480 clear: right;
481 padding-bottom: 1ex;
482 }
483
484 #fiche_identite div.contact {
485 clear: both;
486 margin: 1em;
487 padding: 1ex;
488 background: #fff;
489 border: 1px dotted #69c;
490 }
491 #fiche_identite div.email {
492 clear: left;
493 float: left;
494 }
495 #fiche_identite div.mob {
496 float: right;
497 clear: right;
498 text-align: right;
499 }
500
501 #fiche_identite div.formation {
502 margin: 0em 1em;
503 clear: both;
504 }
505
506 div.adresse {
507 min-width: 30%;
508 padding: 0px;
509 margin: 0px 2% 1ex 1%;
510 }
511
512 div.adresse strong {
513 font-size: 90%;
514 }
515
516 #fiche .medal_frame {
517 float: left;
518 width: 33%;
519 }
520
521 #fiche .medal_frame img {
522 float: left;
523 padding: 0ex 1ex;
524 }
525
526 /* only for fiche_referent.php*/
527
528 #fiche_referent .part {
529 width: 100%;
530 }
531
532 #fiche_referent #fiche_identite div.civilite {
533 width: 100%;
534 }
535
536 #fiche_referent{
537 width: 100%;
538 }
539
540 #fiche_referent div.rubrique_referent{
541 float: left;
542 width: 31%;
543 padding: 0px;
544 margin: 0px 1% 1ex 1%;
545 text-align: justify;
546 }
547
548 #fiche_referent em{color: purple;}
549 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
550 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
551
552 /*******************************************************************************
553 A SKIN
554 [ choix de classes faites par le skinneur
555 *******************************************************************************/
556
557 #dev {
558 width: auto;
559 text-align: center;
560 padding: 1px;
561
562 color: #003399;
563 background: #e0ffff;
564
565 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
566 font-size: 10pt;
567 font-weight: bold;
568 }
569
570 #dev a { text-decoration: underline; }
571 #dev a:hover { color: #003399; background: #c0e0e0; }
572
573 .backtrace div.hide { display: none; }
574 .backtrace:hover div.hide { display: block }
575
576 #suid {
577 color: red;
578 background: #ffc0cb;
579 width: auto;
580 font-weight: bold;
581 text-align: center;
582 }
583 #suid a {
584 color: red;
585 background: inherit;
586 text-decoration: none;
587 display: block;
588 }
589 #suid:hover {
590 color: red;
591 background: #ffffcb;
592 }
593 #suid a:hover {
594 color: #ff7000;
595 background: inherit;
596 }
597
598 #body {
599 width: 740px;
600 margin-left: auto;
601 margin-right: auto;
602 }
603
604 #body-logo {
605 width: 140px;
606 border-right: 1px solid gray;
607 text-align: center;
608 font-family: "MS Sans Serif", sans-serif;
609 padding-top: 4px;
610 border-bottom: 1px solid gray;
611 }
612
613 #body-top {
614 border-bottom: 1px solid gray;
615 text-align: center;
616 font-size: 95%;
617 padding: 4px;
618 padding-bottom: 16px;
619 font-family: "Arial", sans-serif;
620 }
621
622 #body-top table { width: 100%; padding: 4px; }
623 #body-top .date-heure { text-align: left; }
624 #body-top .inscrits { text-align: right; }
625
626 #body-bottom {
627 border-top: 1px solid gray;
628 text-align: center;
629 padding: 4px;
630 font-size: 75%;
631 font-family: "MS Sans Serif", sans-serif;
632 }
633
634 #body-menu {
635 width: 140px;
636 border-right: 1px solid gray;
637 text-align: center;
638 font-family: "MS Sans Serif", sans-serif;
639 font-size: 75%;
640 font-weight: bold;
641 white-space: nowrap;
642 }
643
644 #body-menu .menu_item {
645 padding-left: 4px;
646 padding: 2px;
647 text-align: left;
648 }
649
650 #body-menu .menu_item a {
651 text-decoration:none;
652 }
653
654 #body-menu .menu_title {
655 color: gray;
656 background: #eeeeee;
657 border-top: 1px solid gray;
658 border-bottom: 1px solid gray;
659 padding: 1px;
660 margin-top: 4px;
661 text-align: center;
662 }
663
664 #content {
665 width: 600px;
666 padding: 4px 0px 4px 16px;
667 font-size: 95%;
668 vertical-align: top;
669 }
670
671 .quick_search {
672 color: gray;
673 text-align: right;
674 }
675
676 div#content {
677 padding: 1em;
678 margin: 0em;
679 }
680
681 #content input {
682 font-size: 95%;
683 }
684
685 #menu-evts {
686 font-size: 85%;
687 }
688
689 /* vim: set et ts=4 sts=4 sw=4: */