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