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