Merge remote branch 'origin/xorg/maint' into xorg/master
[platal.git] / htdocs / css / default.css
CommitLineData
0337d704 1/***************************************************************************
5e1513f6 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
2234ecd2
SJ
215table.tinybicol td.error, table.bicol td.error {
216 background: #faa;
217}
218
219table.tinybicol td.warning, table.bicol td.warning {
220 background: #fda;
221}
222
223table.tinybicol td.valid, table.bicol td.valid {
224 background: #afa;
225}
226
bf98922c 227table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
0337d704 228
229td.half { width: 50%; padding: 4px; }
230td.titre {
231 color: #000000;
232 background: inherit;
233 font-weight: bold;
234}
235td.action {
236 white-space: nowrap;
237 text-align: right;
238 font-weight: bold;
239 vertical-align: middle;
240}
241td.action a { padding: 0px 2px 0px 2px; }
242
c7139c07
SJ
243div.titre {
244 color: #000000;
245 background: inherit;
246 font-weight: bold;
247}
248
249span.titre {
250 color: #000000;
251 background: inherit;
252 font-weight: bold;
253}
254
0337d704 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
287div.contact-list {
288 width: 98%;
d6cf4ac1 289 margin-left: 5px;
0337d704 290}
291
292div.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
6060494c
FB
300div.contact-list div.grayed {
301 color: #444444;
302 font-style: italic;
303 background: #eee;
0337d704 304}
305
6060494c
FB
306.contact .photo {
307 float: left;
0337d704 308}
309
6060494c
FB
310.contact .photo img {
311 width: 40px;
312 margin-right: 4px;
0337d704 313}
314
6060494c 315div.contact div.identity {
0337d704 316 float: left;
fd9a8382 317 width: 85%;
6060494c
FB
318}
319
320div.contact div.nom {
321 font-weight: bold;
0337d704 322}
323
324div.contact div.bits {
325 text-align: right;
326 float: right;
fd9a8382 327 width: 14%;
0337d704 328}
329
330div.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
339div.long table { width: 100%; }
ed260de1
SJ
340div.long td.lt { width: 18%; font-style: italic; }
341div.long td.rt { width: 82%; }
0337d704 342
343/*******************************************************************************
344 6 Profil
345 [ onglets des profils ]
346*******************************************************************************/
787bb3d7 347
16ace403
FB
348.wizard {
349 margin-top: -4px;
350 margin-left: -16px;
0337d704 351}
0337d704 352
16ace403
FB
353.wizard .wiz_header {
354 height: 32px;
355 width: 100%;
d3dbea90 356 background: url('../images/skins/wiz_background.png') top right repeat-x;
16ace403 357 margin-bottom: 1em;
0337d704 358}
16ace403
FB
359
360.wizard .wiz_header .wiz_tab {
edbf7d44 361 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
16ace403 362 height: 100%;
0337d704 363 text-align: center;
16ace403
FB
364 font-size: 75%;
365 border-right: 1px solid #888;
0337d704 366}
16ace403 367
58faadd0
FB
368.wizard .wiz_header .wiz_tab:hover {
369 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
16ace403 370 color: #fff;
0337d704 371}
16ace403 372
3be64a15 373.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
58faadd0 374 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
d3dbea90 375 color: #fff;
16ace403
FB
376}
377
908db125 378.wizard .wiz_header a {
16ace403
FB
379 color: #000;
380 text-decoration: none;
16ace403
FB
381}
382
908db125 383.wizard .wiz_header a.active {
16ace403
FB
384 color: #fff;
385}
386
387.wizard .wiz_content {
388 margin-left: 16px;
389}
390
16ace403
FB
391.flags .texte {
392 font-size: smaller;
393 font-weight: bold;
ee12da4e
FB
394 margin-left: -6px;
395 padding: 0 12px 0 0;
16ace403 396}
ee12da4e
FB
397.flags img {
398 padding: 0 6px 0 0;
0337d704 399}
400
0337d704 401
402/*******************************************************************************
403 7 fiche.php & fiche_referent.php
404 [ cas de la fiche ]
405*******************************************************************************/
406
407#fiche {
408 width: 760px;
409 font-size: 100%;
410 vertical-align: top;
411
412 border: 1px solid #369;
413}
414
415#fiche em { color: purple; }
416
417#fiche h2 {
418 color: #369;
419 padding: 0px 4px;
420 margin: 0.5em 0em;
421 font-weight: bold;
422 border-bottom: 1px dotted #369;
423}
424
16f20f22 425#fiche .part {
426 float: left;
427 clear: left;
428 width: 70%;
429 padding-left: 0;
430 padding-right: 0;
431 margin-left: 0;
432 margin-right: 0;
433}
434
435#fiche #photo {
436 float: right;
437 width: 30%;
438 padding-left: 0;
439 margin-left: 0;
440 clear: right;
441}
442
443#fiche #photo img {
444 width: 100%;
445}
446
0337d704 447#fiche_identite {
448 padding: 5px;
0337d704 449}
450
0337d704 451#fiche_identite div.civilite {
452 text-align: center;
453 font-weight: bold;
454 width: 80%;
455 float: left;
456}
457
458#fiche_identite div.maj {
459 float: left;
460 width: 20%;
461 font-size: 75%;
462 text-align: right;
463 clear: right;
16f20f22 464 padding-bottom: 1ex;
0337d704 465}
466
467#fiche_identite div.contact {
468 clear: both;
469 margin: 1em;
470 padding: 1ex;
471 background: #fff;
472 border: 1px dotted #69c;
473}
474#fiche_identite div.email {
475 clear: left;
476 float: left;
477}
478#fiche_identite div.mob {
479 float: right;
480 clear: right;
481 text-align: right;
482}
483
484#fiche_identite div.formation {
485 margin: 0em 1em;
486 clear: both;
487}
488
489div.adresse {
16f20f22 490 min-width: 30%;
0337d704 491 padding: 0px;
16f20f22 492 margin: 0px 2% 1ex 1%;
868e1370 493}
494
495div.adresse strong {
496 font-size: 90%;
0337d704 497}
498
3ac45f10
PC
499div.adresse ul {
500 margin-top: 0px;
501 margin-bottom: 0px;
502 list-style-type: none;
503 padding-left: 0px;
504}
505
16f20f22 506#fiche .medal_frame {
507 float: left;
508 width: 33%;
509}
510
511#fiche .medal_frame img {
512 float: left;
513 padding: 0ex 1ex;
514}
515
0337d704 516/* only for fiche_referent.php*/
517
16f20f22 518#fiche_referent .part {
519 width: 100%;
520}
521
522#fiche_referent #fiche_identite div.civilite {
523 width: 100%;
524}
525
0337d704 526#fiche_referent{
0337d704 527 width: 100%;
528}
529
530#fiche_referent div.rubrique_referent{
531 float: left;
532 width: 31%;
533 padding: 0px;
534 margin: 0px 1% 1ex 1%;
16f20f22 535 text-align: justify;
0337d704 536}
537
538#fiche_referent em{color: purple;}
539#fiche_referent ul { margin: 0px; padding: 0px 1em; }
540#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
541
542/*******************************************************************************
543 A SKIN
544 [ choix de classes faites par le skinneur
545*******************************************************************************/
546
547#dev {
3336093a 548 width: auto;
0337d704 549 text-align: center;
550 padding: 1px;
551
552 color: #003399;
553 background: #e0ffff;
554
555 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
556 font-size: 10pt;
557 font-weight: bold;
558}
559
560#dev a { text-decoration: underline; }
561#dev a:hover { color: #003399; background: #c0e0e0; }
562
9b2e77de 563.backtrace div.hide { display: none; }
564.backtrace:hover div.hide { display: block }
0337d704 565
566#suid {
567 color: red;
568 background: #ffc0cb;
a3afa47c 569 width: auto;
0337d704 570 font-weight: bold;
a3afa47c 571 text-align: center;
572}
573#suid a {
574 color: red;
575 background: inherit;
576 text-decoration: none;
577 display: block;
578}
579#suid:hover {
580 color: red;
581 background: #ffffcb;
582}
583#suid a:hover {
584 color: #ff7000;
585 background: inherit;
0337d704 586}
0337d704 587
588#body {
589 width: 740px;
590 margin-left: auto;
591 margin-right: auto;
592}
593
594#body-logo {
595 width: 140px;
596 border-right: 1px solid gray;
597 text-align: center;
598 font-family: "MS Sans Serif", sans-serif;
599 padding-top: 4px;
600 border-bottom: 1px solid gray;
601}
602
603#body-top {
604 border-bottom: 1px solid gray;
605 text-align: center;
606 font-size: 95%;
607 padding: 4px;
608 padding-bottom: 16px;
609 font-family: "Arial", sans-serif;
610}
611
612#body-top table { width: 100%; padding: 4px; }
613#body-top .date-heure { text-align: left; }
614#body-top .inscrits { text-align: right; }
615
616#body-bottom {
617 border-top: 1px solid gray;
618 text-align: center;
619 padding: 4px;
620 font-size: 75%;
621 font-family: "MS Sans Serif", sans-serif;
622}
623
624#body-menu {
625 width: 140px;
626 border-right: 1px solid gray;
627 text-align: center;
628 font-family: "MS Sans Serif", sans-serif;
629 font-size: 75%;
630 font-weight: bold;
631 white-space: nowrap;
632}
633
634#body-menu .menu_item {
635 padding-left: 4px;
636 padding: 2px;
637 text-align: left;
638}
639
882ff3a3 640#body-menu .menu_item a {
641 text-decoration:none;
642}
643
0337d704 644#body-menu .menu_title {
645 color: gray;
646 background: #eeeeee;
647 border-top: 1px solid gray;
648 border-bottom: 1px solid gray;
649 padding: 1px;
650 margin-top: 4px;
651 text-align: center;
652}
653
654#content {
655 width: 600px;
656 padding: 4px 0px 4px 16px;
657 font-size: 95%;
658 vertical-align: top;
659}
660
3b2f9d11 661.quick_search {
6e1e795f 662 color: gray;
663 text-align: right;
664}
665
0337d704 666div#content {
667 padding: 1em;
668 margin: 0em;
669}
670
671#content input {
672 font-size: 95%;
673}
674
02838718 675#menu-evts {
676 font-size: 85%;
677}
678
0337d704 679/* vim: set et ts=4 sts=4 sw=4: */