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