Happy New Year!
[platal.git] / htdocs / css / default.css
CommitLineData
0337d704 1/***************************************************************************
12262f13 2 * Copyright (C) 2003-2011 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%;
d6cf4ac1 277 margin-left: 5px;
0337d704 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
3ac45f10
PC
487div.adresse ul {
488 margin-top: 0px;
489 margin-bottom: 0px;
490 list-style-type: none;
491 padding-left: 0px;
492}
493
16f20f22 494#fiche .medal_frame {
495 float: left;
496 width: 33%;
497}
498
499#fiche .medal_frame img {
500 float: left;
501 padding: 0ex 1ex;
502}
503
0337d704 504/* only for fiche_referent.php*/
505
16f20f22 506#fiche_referent .part {
507 width: 100%;
508}
509
510#fiche_referent #fiche_identite div.civilite {
511 width: 100%;
512}
513
0337d704 514#fiche_referent{
0337d704 515 width: 100%;
516}
517
518#fiche_referent div.rubrique_referent{
519 float: left;
520 width: 31%;
521 padding: 0px;
522 margin: 0px 1% 1ex 1%;
16f20f22 523 text-align: justify;
0337d704 524}
525
526#fiche_referent em{color: purple;}
527#fiche_referent ul { margin: 0px; padding: 0px 1em; }
528#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
529
530/*******************************************************************************
531 A SKIN
532 [ choix de classes faites par le skinneur
533*******************************************************************************/
534
535#dev {
3336093a 536 width: auto;
0337d704 537 text-align: center;
538 padding: 1px;
539
540 color: #003399;
541 background: #e0ffff;
542
543 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
544 font-size: 10pt;
545 font-weight: bold;
546}
547
548#dev a { text-decoration: underline; }
549#dev a:hover { color: #003399; background: #c0e0e0; }
550
9b2e77de 551.backtrace div.hide { display: none; }
552.backtrace:hover div.hide { display: block }
0337d704 553
554#suid {
555 color: red;
556 background: #ffc0cb;
a3afa47c 557 width: auto;
0337d704 558 font-weight: bold;
a3afa47c 559 text-align: center;
560}
561#suid a {
562 color: red;
563 background: inherit;
564 text-decoration: none;
565 display: block;
566}
567#suid:hover {
568 color: red;
569 background: #ffffcb;
570}
571#suid a:hover {
572 color: #ff7000;
573 background: inherit;
0337d704 574}
0337d704 575
576#body {
577 width: 740px;
578 margin-left: auto;
579 margin-right: auto;
580}
581
582#body-logo {
583 width: 140px;
584 border-right: 1px solid gray;
585 text-align: center;
586 font-family: "MS Sans Serif", sans-serif;
587 padding-top: 4px;
588 border-bottom: 1px solid gray;
589}
590
591#body-top {
592 border-bottom: 1px solid gray;
593 text-align: center;
594 font-size: 95%;
595 padding: 4px;
596 padding-bottom: 16px;
597 font-family: "Arial", sans-serif;
598}
599
600#body-top table { width: 100%; padding: 4px; }
601#body-top .date-heure { text-align: left; }
602#body-top .inscrits { text-align: right; }
603
604#body-bottom {
605 border-top: 1px solid gray;
606 text-align: center;
607 padding: 4px;
608 font-size: 75%;
609 font-family: "MS Sans Serif", sans-serif;
610}
611
612#body-menu {
613 width: 140px;
614 border-right: 1px solid gray;
615 text-align: center;
616 font-family: "MS Sans Serif", sans-serif;
617 font-size: 75%;
618 font-weight: bold;
619 white-space: nowrap;
620}
621
622#body-menu .menu_item {
623 padding-left: 4px;
624 padding: 2px;
625 text-align: left;
626}
627
882ff3a3 628#body-menu .menu_item a {
629 text-decoration:none;
630}
631
0337d704 632#body-menu .menu_title {
633 color: gray;
634 background: #eeeeee;
635 border-top: 1px solid gray;
636 border-bottom: 1px solid gray;
637 padding: 1px;
638 margin-top: 4px;
639 text-align: center;
640}
641
642#content {
643 width: 600px;
644 padding: 4px 0px 4px 16px;
645 font-size: 95%;
646 vertical-align: top;
647}
648
3b2f9d11 649.quick_search {
6e1e795f 650 color: gray;
651 text-align: right;
652}
653
0337d704 654div#content {
655 padding: 1em;
656 margin: 0em;
657}
658
659#content input {
660 font-size: 95%;
661}
662
02838718 663#menu-evts {
664 font-size: 85%;
665}
666
0337d704 667/* vim: set et ts=4 sts=4 sw=4: */