Merge remote branch 'origin/xorg/maint' into xorg/master
[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.error, table.bicol td.error {
216 background: #faa;
217 }
218
219 table.tinybicol td.warning, table.bicol td.warning {
220 background: #fda;
221 }
222
223 table.tinybicol td.valid, table.bicol td.valid {
224 background: #afa;
225 }
226
227 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
228
229 td.half { width: 50%; padding: 4px; }
230 td.titre {
231 color: #000000;
232 background: inherit;
233 font-weight: bold;
234 }
235 td.action {
236 white-space: nowrap;
237 text-align: right;
238 font-weight: bold;
239 vertical-align: middle;
240 }
241 td.action a { padding: 0px 2px 0px 2px; }
242
243 div.titre {
244 color: #000000;
245 background: inherit;
246 font-weight: bold;
247 }
248
249 span.titre {
250 color: #000000;
251 background: inherit;
252 font-weight: bold;
253 }
254
255 /*******************************************************************************
256 4 Tableau de choix de skins
257 [ Styles pour les tableaux de types de ceux des skins ]
258 *******************************************************************************/
259
260 #skin {
261 border-bottom: 1px solid #003399;
262 border-top: 1px solid #003399;
263 width: 98%;
264 margin-left: 1%;
265 }
266 #skin td {
267 border-bottom: 2px solid #003399;
268 border-top: 1px solid #003499;
269 vertical-align: middle;
270 }
271 #skin td.skigauche {
272 background: #eeeeee;
273 color: inherit;
274 vertical-align: middle;
275 }
276 #skin td.skimilieu {
277 padding-left: 1em;
278 width: 100%;
279 }
280 #skin td.skidroite { padding: 0; }
281
282 /*******************************************************************************
283 5 Contacts
284 [ Styles liés à l'affichage de contacts ]
285 *******************************************************************************/
286
287 div.contact-list {
288 width: 98%;
289 margin-left: 5px;
290 }
291
292 div.contact-list div.contact {
293 width: 100%;
294 text-align: left;
295 border-top: 1px solid #003399;
296 background: #F4D09C;
297 color: inherit;
298 }
299
300 div.contact-list div.grayed {
301 color: #444444;
302 font-style: italic;
303 background: #eee;
304 }
305
306 .contact .photo {
307 float: left;
308 }
309
310 .contact .photo img {
311 width: 40px;
312 margin-right: 4px;
313 }
314
315 div.contact div.identity {
316 float: left;
317 width: 85%;
318 }
319
320 div.contact div.nom {
321 font-weight: bold;
322 }
323
324 div.contact div.bits {
325 text-align: right;
326 float: right;
327 width: 14%;
328 }
329
330 div.contact div.long {
331 width: 100%;
332 clear: both;
333 background: white;
334 color: inherit;
335 padding-top: 1px;
336 padding-bottom: 1px;
337 }
338
339 div.long table { width: 100%; }
340 div.long td.lt { width: 18%; font-style: italic; }
341 div.long td.rt { width: 82%; }
342
343 /*******************************************************************************
344 6 Profil
345 [ onglets des profils ]
346 *******************************************************************************/
347
348 .wizard {
349 margin-top: -4px;
350 margin-left: -16px;
351 }
352
353 .wizard .wiz_header {
354 height: 32px;
355 width: 100%;
356 background: url('../images/skins/wiz_background.png') top right repeat-x;
357 margin-bottom: 1em;
358 }
359
360 .wizard .wiz_header .wiz_tab {
361 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
362 height: 100%;
363 text-align: center;
364 font-size: 75%;
365 border-right: 1px solid #888;
366 }
367
368 .wizard .wiz_header .wiz_tab:hover {
369 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
370 color: #fff;
371 }
372
373 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
374 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
375 color: #fff;
376 }
377
378 .wizard .wiz_header a {
379 color: #000;
380 text-decoration: none;
381 }
382
383 .wizard .wiz_header a.active {
384 color: #fff;
385 }
386
387 .wizard .wiz_content {
388 margin-left: 16px;
389 }
390
391 .flags .texte {
392 font-size: smaller;
393 font-weight: bold;
394 margin-left: -6px;
395 padding: 0 12px 0 0;
396 }
397 .flags img {
398 padding: 0 6px 0 0;
399 }
400
401
402 /*******************************************************************************
403 7 fiche.php & fiche_referent.php
404 [ cas de la fiche ]
405 *******************************************************************************/
406
407 #fiche {
408 width: 760px;
409 font-size: 100%;
410 vertical-align: top;
411
412 border: 1px solid #369;
413 }
414
415 #fiche em { color: purple; }
416
417 #fiche h2 {
418 color: #369;
419 padding: 0px 4px;
420 margin: 0.5em 0em;
421 font-weight: bold;
422 border-bottom: 1px dotted #369;
423 }
424
425 #fiche .part {
426 float: left;
427 clear: left;
428 width: 70%;
429 padding-left: 0;
430 padding-right: 0;
431 margin-left: 0;
432 margin-right: 0;
433 }
434
435 #fiche #photo {
436 float: right;
437 width: 30%;
438 padding-left: 0;
439 margin-left: 0;
440 clear: right;
441 }
442
443 #fiche #photo img {
444 width: 100%;
445 }
446
447 #fiche_identite {
448 padding: 5px;
449 }
450
451 #fiche_identite div.civilite {
452 text-align: center;
453 font-weight: bold;
454 width: 80%;
455 float: left;
456 }
457
458 #fiche_identite div.maj {
459 float: left;
460 width: 20%;
461 font-size: 75%;
462 text-align: right;
463 clear: right;
464 padding-bottom: 1ex;
465 }
466
467 #fiche_identite div.contact {
468 clear: both;
469 margin: 1em;
470 padding: 1ex;
471 background: #fff;
472 border: 1px dotted #69c;
473 }
474 #fiche_identite div.email {
475 clear: left;
476 float: left;
477 }
478 #fiche_identite div.mob {
479 float: right;
480 clear: right;
481 text-align: right;
482 }
483
484 #fiche_identite div.formation {
485 margin: 0em 1em;
486 clear: both;
487 }
488
489 div.adresse {
490 min-width: 30%;
491 padding: 0px;
492 margin: 0px 2% 1ex 1%;
493 }
494
495 div.adresse strong {
496 font-size: 90%;
497 }
498
499 div.adresse ul {
500 margin-top: 0px;
501 margin-bottom: 0px;
502 list-style-type: none;
503 padding-left: 0px;
504 }
505
506 #fiche .medal_frame {
507 float: left;
508 width: 33%;
509 }
510
511 #fiche .medal_frame img {
512 float: left;
513 padding: 0ex 1ex;
514 }
515
516 /* only for fiche_referent.php*/
517
518 #fiche_referent .part {
519 width: 100%;
520 }
521
522 #fiche_referent #fiche_identite div.civilite {
523 width: 100%;
524 }
525
526 #fiche_referent{
527 width: 100%;
528 }
529
530 #fiche_referent div.rubrique_referent{
531 float: left;
532 width: 31%;
533 padding: 0px;
534 margin: 0px 1% 1ex 1%;
535 text-align: justify;
536 }
537
538 #fiche_referent em{color: purple;}
539 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
540 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
541
542 /*******************************************************************************
543 A SKIN
544 [ choix de classes faites par le skinneur
545 *******************************************************************************/
546
547 #dev {
548 width: auto;
549 text-align: center;
550 padding: 1px;
551
552 color: #003399;
553 background: #e0ffff;
554
555 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
556 font-size: 10pt;
557 font-weight: bold;
558 }
559
560 #dev a { text-decoration: underline; }
561 #dev a:hover { color: #003399; background: #c0e0e0; }
562
563 .backtrace div.hide { display: none; }
564 .backtrace:hover div.hide { display: block }
565
566 #suid {
567 color: red;
568 background: #ffc0cb;
569 width: auto;
570 font-weight: bold;
571 text-align: center;
572 }
573 #suid a {
574 color: red;
575 background: inherit;
576 text-decoration: none;
577 display: block;
578 }
579 #suid:hover {
580 color: red;
581 background: #ffffcb;
582 }
583 #suid a:hover {
584 color: #ff7000;
585 background: inherit;
586 }
587
588 #body {
589 width: 740px;
590 margin-left: auto;
591 margin-right: auto;
592 }
593
594 #body-logo {
595 width: 140px;
596 border-right: 1px solid gray;
597 text-align: center;
598 font-family: "MS Sans Serif", sans-serif;
599 padding-top: 4px;
600 border-bottom: 1px solid gray;
601 }
602
603 #body-top {
604 border-bottom: 1px solid gray;
605 text-align: center;
606 font-size: 95%;
607 padding: 4px;
608 padding-bottom: 16px;
609 font-family: "Arial", sans-serif;
610 }
611
612 #body-top table { width: 100%; padding: 4px; }
613 #body-top .date-heure { text-align: left; }
614 #body-top .inscrits { text-align: right; }
615
616 #body-bottom {
617 border-top: 1px solid gray;
618 text-align: center;
619 padding: 4px;
620 font-size: 75%;
621 font-family: "MS Sans Serif", sans-serif;
622 }
623
624 #body-menu {
625 width: 140px;
626 border-right: 1px solid gray;
627 text-align: center;
628 font-family: "MS Sans Serif", sans-serif;
629 font-size: 75%;
630 font-weight: bold;
631 white-space: nowrap;
632 }
633
634 #body-menu .menu_item {
635 padding-left: 4px;
636 padding: 2px;
637 text-align: left;
638 }
639
640 #body-menu .menu_item a {
641 text-decoration:none;
642 }
643
644 #body-menu .menu_title {
645 color: gray;
646 background: #eeeeee;
647 border-top: 1px solid gray;
648 border-bottom: 1px solid gray;
649 padding: 1px;
650 margin-top: 4px;
651 text-align: center;
652 }
653
654 #content {
655 width: 600px;
656 padding: 4px 0px 4px 16px;
657 font-size: 95%;
658 vertical-align: top;
659 }
660
661 .quick_search {
662 color: gray;
663 text-align: right;
664 }
665
666 div#content {
667 padding: 1em;
668 margin: 0em;
669 }
670
671 #content input {
672 font-size: 95%;
673 }
674
675 #menu-evts {
676 font-size: 85%;
677 }
678
679 /* vim: set et ts=4 sts=4 sw=4: */