Merge branch 'xorg/maint'
[platal.git] / htdocs / css / default.css
CommitLineData
0337d704 1/***************************************************************************
c441aabe 2 * Copyright (C) 2003-2014 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
dcc9c952
SJ
401.marker_label {
402 border: 1px solid black;
403 background-color: white;
404 white-space: nowrap;
405}
406
407.marker_label a {
408 color: black;
409}
0337d704 410
411/*******************************************************************************
412 7 fiche.php & fiche_referent.php
413 [ cas de la fiche ]
414*******************************************************************************/
415
416#fiche {
417 width: 760px;
418 font-size: 100%;
419 vertical-align: top;
420
421 border: 1px solid #369;
422}
423
424#fiche em { color: purple; }
425
426#fiche h2 {
427 color: #369;
428 padding: 0px 4px;
429 margin: 0.5em 0em;
430 font-weight: bold;
431 border-bottom: 1px dotted #369;
432}
433
16f20f22 434#fiche .part {
435 float: left;
436 clear: left;
437 width: 70%;
438 padding-left: 0;
439 padding-right: 0;
440 margin-left: 0;
441 margin-right: 0;
442}
443
444#fiche #photo {
445 float: right;
446 width: 30%;
447 padding-left: 0;
448 margin-left: 0;
449 clear: right;
450}
451
452#fiche #photo img {
453 width: 100%;
454}
455
0337d704 456#fiche_identite {
457 padding: 5px;
0337d704 458}
459
0337d704 460#fiche_identite div.civilite {
461 text-align: center;
462 font-weight: bold;
463 width: 80%;
464 float: left;
465}
466
467#fiche_identite div.maj {
468 float: left;
469 width: 20%;
470 font-size: 75%;
471 text-align: right;
472 clear: right;
16f20f22 473 padding-bottom: 1ex;
0337d704 474}
475
476#fiche_identite div.contact {
477 clear: both;
478 margin: 1em;
479 padding: 1ex;
480 background: #fff;
481 border: 1px dotted #69c;
482}
483#fiche_identite div.email {
484 clear: left;
485 float: left;
486}
487#fiche_identite div.mob {
488 float: right;
489 clear: right;
490 text-align: right;
491}
492
493#fiche_identite div.formation {
494 margin: 0em 1em;
495 clear: both;
496}
497
498div.adresse {
16f20f22 499 min-width: 30%;
0337d704 500 padding: 0px;
16f20f22 501 margin: 0px 2% 1ex 1%;
868e1370 502}
503
504div.adresse strong {
505 font-size: 90%;
0337d704 506}
507
3ac45f10
PC
508div.adresse ul {
509 margin-top: 0px;
510 margin-bottom: 0px;
511 list-style-type: none;
512 padding-left: 0px;
513}
514
16f20f22 515#fiche .medal_frame {
516 float: left;
517 width: 33%;
518}
519
520#fiche .medal_frame img {
521 float: left;
522 padding: 0ex 1ex;
523}
524
0337d704 525/* only for fiche_referent.php*/
526
16f20f22 527#fiche_referent .part {
528 width: 100%;
529}
530
531#fiche_referent #fiche_identite div.civilite {
532 width: 100%;
533}
534
0337d704 535#fiche_referent{
0337d704 536 width: 100%;
537}
538
539#fiche_referent div.rubrique_referent{
540 float: left;
541 width: 31%;
542 padding: 0px;
543 margin: 0px 1% 1ex 1%;
16f20f22 544 text-align: justify;
0337d704 545}
546
547#fiche_referent em{color: purple;}
548#fiche_referent ul { margin: 0px; padding: 0px 1em; }
549#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
550
551/*******************************************************************************
552 A SKIN
553 [ choix de classes faites par le skinneur
554*******************************************************************************/
555
556#dev {
3336093a 557 width: auto;
0337d704 558 text-align: center;
559 padding: 1px;
560
561 color: #003399;
562 background: #e0ffff;
563
564 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
565 font-size: 10pt;
566 font-weight: bold;
567}
568
569#dev a { text-decoration: underline; }
570#dev a:hover { color: #003399; background: #c0e0e0; }
571
9b2e77de 572.backtrace div.hide { display: none; }
573.backtrace:hover div.hide { display: block }
0337d704 574
575#suid {
576 color: red;
577 background: #ffc0cb;
a3afa47c 578 width: auto;
0337d704 579 font-weight: bold;
a3afa47c 580 text-align: center;
581}
582#suid a {
583 color: red;
584 background: inherit;
585 text-decoration: none;
586 display: block;
587}
588#suid:hover {
589 color: red;
590 background: #ffffcb;
591}
592#suid a:hover {
593 color: #ff7000;
594 background: inherit;
0337d704 595}
0337d704 596
597#body {
598 width: 740px;
599 margin-left: auto;
600 margin-right: auto;
601}
602
603#body-logo {
604 width: 140px;
605 border-right: 1px solid gray;
606 text-align: center;
607 font-family: "MS Sans Serif", sans-serif;
608 padding-top: 4px;
609 border-bottom: 1px solid gray;
610}
611
612#body-top {
613 border-bottom: 1px solid gray;
614 text-align: center;
615 font-size: 95%;
616 padding: 4px;
617 padding-bottom: 16px;
618 font-family: "Arial", sans-serif;
619}
620
621#body-top table { width: 100%; padding: 4px; }
622#body-top .date-heure { text-align: left; }
623#body-top .inscrits { text-align: right; }
624
625#body-bottom {
626 border-top: 1px solid gray;
627 text-align: center;
628 padding: 4px;
629 font-size: 75%;
630 font-family: "MS Sans Serif", sans-serif;
631}
632
633#body-menu {
634 width: 140px;
635 border-right: 1px solid gray;
636 text-align: center;
637 font-family: "MS Sans Serif", sans-serif;
638 font-size: 75%;
639 font-weight: bold;
640 white-space: nowrap;
641}
642
643#body-menu .menu_item {
644 padding-left: 4px;
645 padding: 2px;
646 text-align: left;
647}
648
882ff3a3 649#body-menu .menu_item a {
650 text-decoration:none;
651}
652
0337d704 653#body-menu .menu_title {
654 color: gray;
655 background: #eeeeee;
656 border-top: 1px solid gray;
657 border-bottom: 1px solid gray;
658 padding: 1px;
659 margin-top: 4px;
660 text-align: center;
661}
662
663#content {
664 width: 600px;
665 padding: 4px 0px 4px 16px;
666 font-size: 95%;
667 vertical-align: top;
668}
669
3b2f9d11 670.quick_search {
6e1e795f 671 color: gray;
672 text-align: right;
673}
674
0337d704 675div#content {
676 padding: 1em;
677 margin: 0em;
678}
679
680#content input {
681 font-size: 95%;
682}
683
02838718 684#menu-evts {
685 font-size: 85%;
686}
687
0337d704 688/* vim: set et ts=4 sts=4 sw=4: */