Happy New Year !
[platal.git] / htdocs / css / default.css
1 /***************************************************************************
2 * Copyright (C) 2003-2013 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 .marker_label {
402 border: 1px solid black;
403 background-color: white;
404 white-space: nowrap;
405 }
406
407 .marker_label a {
408 color: black;
409 }
410
411 /*******************************************************************************
412 7 fiche.php & fiche_referent.php
413 [ cas de la fiche ]
414 *******************************************************************************/
415
416 #fiche {
417 width: 760px;
418 font-size: 100%;
419 vertical-align: top;
420
421 border: 1px solid #369;
422 }
423
424 #fiche em { color: purple; }
425
426 #fiche h2 {
427 color: #369;
428 padding: 0px 4px;
429 margin: 0.5em 0em;
430 font-weight: bold;
431 border-bottom: 1px dotted #369;
432 }
433
434 #fiche .part {
435 float: left;
436 clear: left;
437 width: 70%;
438 padding-left: 0;
439 padding-right: 0;
440 margin-left: 0;
441 margin-right: 0;
442 }
443
444 #fiche #photo {
445 float: right;
446 width: 30%;
447 padding-left: 0;
448 margin-left: 0;
449 clear: right;
450 }
451
452 #fiche #photo img {
453 width: 100%;
454 }
455
456 #fiche_identite {
457 padding: 5px;
458 }
459
460 #fiche_identite div.civilite {
461 text-align: center;
462 font-weight: bold;
463 width: 80%;
464 float: left;
465 }
466
467 #fiche_identite div.maj {
468 float: left;
469 width: 20%;
470 font-size: 75%;
471 text-align: right;
472 clear: right;
473 padding-bottom: 1ex;
474 }
475
476 #fiche_identite div.contact {
477 clear: both;
478 margin: 1em;
479 padding: 1ex;
480 background: #fff;
481 border: 1px dotted #69c;
482 }
483 #fiche_identite div.email {
484 clear: left;
485 float: left;
486 }
487 #fiche_identite div.mob {
488 float: right;
489 clear: right;
490 text-align: right;
491 }
492
493 #fiche_identite div.formation {
494 margin: 0em 1em;
495 clear: both;
496 }
497
498 div.adresse {
499 min-width: 30%;
500 padding: 0px;
501 margin: 0px 2% 1ex 1%;
502 }
503
504 div.adresse strong {
505 font-size: 90%;
506 }
507
508 div.adresse ul {
509 margin-top: 0px;
510 margin-bottom: 0px;
511 list-style-type: none;
512 padding-left: 0px;
513 }
514
515 #fiche .medal_frame {
516 float: left;
517 width: 33%;
518 }
519
520 #fiche .medal_frame img {
521 float: left;
522 padding: 0ex 1ex;
523 }
524
525 /* only for fiche_referent.php*/
526
527 #fiche_referent .part {
528 width: 100%;
529 }
530
531 #fiche_referent #fiche_identite div.civilite {
532 width: 100%;
533 }
534
535 #fiche_referent{
536 width: 100%;
537 }
538
539 #fiche_referent div.rubrique_referent{
540 float: left;
541 width: 31%;
542 padding: 0px;
543 margin: 0px 1% 1ex 1%;
544 text-align: justify;
545 }
546
547 #fiche_referent em{color: purple;}
548 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
549 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
550
551 /*******************************************************************************
552 A SKIN
553 [ choix de classes faites par le skinneur
554 *******************************************************************************/
555
556 #dev {
557 width: auto;
558 text-align: center;
559 padding: 1px;
560
561 color: #003399;
562 background: #e0ffff;
563
564 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
565 font-size: 10pt;
566 font-weight: bold;
567 }
568
569 #dev a { text-decoration: underline; }
570 #dev a:hover { color: #003399; background: #c0e0e0; }
571
572 .backtrace div.hide { display: none; }
573 .backtrace:hover div.hide { display: block }
574
575 #suid {
576 color: red;
577 background: #ffc0cb;
578 width: auto;
579 font-weight: bold;
580 text-align: center;
581 }
582 #suid a {
583 color: red;
584 background: inherit;
585 text-decoration: none;
586 display: block;
587 }
588 #suid:hover {
589 color: red;
590 background: #ffffcb;
591 }
592 #suid a:hover {
593 color: #ff7000;
594 background: inherit;
595 }
596
597 #body {
598 width: 740px;
599 margin-left: auto;
600 margin-right: auto;
601 }
602
603 #body-logo {
604 width: 140px;
605 border-right: 1px solid gray;
606 text-align: center;
607 font-family: "MS Sans Serif", sans-serif;
608 padding-top: 4px;
609 border-bottom: 1px solid gray;
610 }
611
612 #body-top {
613 border-bottom: 1px solid gray;
614 text-align: center;
615 font-size: 95%;
616 padding: 4px;
617 padding-bottom: 16px;
618 font-family: "Arial", sans-serif;
619 }
620
621 #body-top table { width: 100%; padding: 4px; }
622 #body-top .date-heure { text-align: left; }
623 #body-top .inscrits { text-align: right; }
624
625 #body-bottom {
626 border-top: 1px solid gray;
627 text-align: center;
628 padding: 4px;
629 font-size: 75%;
630 font-family: "MS Sans Serif", sans-serif;
631 }
632
633 #body-menu {
634 width: 140px;
635 border-right: 1px solid gray;
636 text-align: center;
637 font-family: "MS Sans Serif", sans-serif;
638 font-size: 75%;
639 font-weight: bold;
640 white-space: nowrap;
641 }
642
643 #body-menu .menu_item {
644 padding-left: 4px;
645 padding: 2px;
646 text-align: left;
647 }
648
649 #body-menu .menu_item a {
650 text-decoration:none;
651 }
652
653 #body-menu .menu_title {
654 color: gray;
655 background: #eeeeee;
656 border-top: 1px solid gray;
657 border-bottom: 1px solid gray;
658 padding: 1px;
659 margin-top: 4px;
660 text-align: center;
661 }
662
663 #content {
664 width: 600px;
665 padding: 4px 0px 4px 16px;
666 font-size: 95%;
667 vertical-align: top;
668 }
669
670 .quick_search {
671 color: gray;
672 text-align: right;
673 }
674
675 div#content {
676 padding: 1em;
677 margin: 0em;
678 }
679
680 #content input {
681 font-size: 95%;
682 }
683
684 #menu-evts {
685 font-size: 85%;
686 }
687
688 /* vim: set et ts=4 sts=4 sw=4: */