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