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