Update ChangeLog
[platal.git] / htdocs / css / default.css
... / ...
CommitLineData
1/***************************************************************************
2 * Copyright (C) 2003-2009 Polytechnique.org *
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 }
38dt { font-weight: bold; }
39
40fieldset {
41 border: 1px #336699 solid;
42 background: #eeeeee;
43 color: inherit;
44
45 margin: 1em 0 1em 0;
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.errors {
77 margin-top: 10px;
78 border: 1px solid #f00;
79 background-color: #fcc;
80 width: 98%;
81}
82
83.warnings {
84 margin-top: 10px;
85 border: 1px solid #ed0;
86 background-color: #ffc;
87 width: 98%;
88}
89
90.success {
91 margin-top: 10px;
92 border: 1px solid #0d2;
93 background-color: #cfd;
94 width: 98%;
95}
96
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
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
122h1 {
123 color: #555555;
124 background: url('../images/skins/default_titre.gif');
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;
172 width: 100%;
173 margin-left: 0;
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}
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
206table.tinybicol td, table.bicol td {
207 color: #000000;
208 background: inherit;
209}
210
211table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
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
272div.contact-list div.grayed {
273 color: #444444;
274 font-style: italic;
275 background: #eee;
276}
277
278.contact .photo {
279 float: left;
280}
281
282.contact .photo img {
283 width: 40px;
284 margin-right: 4px;
285}
286
287div.contact div.identity {
288 float: left;
289 width: 85%;
290}
291
292div.contact div.nom {
293 font-weight: bold;
294}
295
296div.contact div.bits {
297 text-align: right;
298 float: right;
299 width: 14%;
300}
301
302div.contact div.long {
303 width: 100%;
304 clear: both;
305 background: white;
306 color: inherit;
307 padding-top: 1px;
308 padding-bottom: 1px;
309}
310
311div.long table { width: 100%; }
312div.long td.lt { width: 18%; font-style: italic; }
313div.long td.rt { width: 82%; }
314
315/*******************************************************************************
316 6 Profil
317 [ onglets des profils ]
318*******************************************************************************/
319
320.wizard {
321 margin-top: -4px;
322 margin-left: -16px;
323}
324
325.wizard .wiz_header {
326 height: 32px;
327 width: 100%;
328 background: url('../images/skins/wiz_background.png') top right repeat-x;
329 margin-bottom: 1em;
330}
331
332.wizard .wiz_header .wiz_tab {
333 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
334 height: 100%;
335 text-align: center;
336 font-size: 75%;
337 border-right: 1px solid #888;
338}
339
340.wizard .wiz_header .wiz_tab:hover {
341 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
342 color: #fff;
343}
344
345.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
346 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
347 color: #fff;
348}
349
350.wizard .wiz_header a {
351 color: #000;
352 text-decoration: none;
353}
354
355.wizard .wiz_header a.active {
356 color: #fff;
357}
358
359.wizard .wiz_content {
360 margin-left: 16px;
361}
362
363.flags .texte {
364 font-size: smaller;
365 font-weight: bold;
366 margin-left: -6px;
367 padding: 0 12px 0 0;
368}
369.flags img {
370 padding: 0 6px 0 0;
371}
372
373
374/*******************************************************************************
375 7 fiche.php & fiche_referent.php
376 [ cas de la fiche ]
377*******************************************************************************/
378
379#fiche {
380 width: 760px;
381 font-size: 100%;
382 vertical-align: top;
383
384 border: 1px solid #369;
385}
386
387#fiche em { color: purple; }
388
389#fiche h2 {
390 color: #369;
391 padding: 0px 4px;
392 margin: 0.5em 0em;
393 font-weight: bold;
394 border-bottom: 1px dotted #369;
395}
396
397#fiche .part {
398 float: left;
399 clear: left;
400 width: 70%;
401 padding-left: 0;
402 padding-right: 0;
403 margin-left: 0;
404 margin-right: 0;
405}
406
407#fiche #photo {
408 float: right;
409 width: 30%;
410 padding-left: 0;
411 margin-left: 0;
412 clear: right;
413}
414
415#fiche #photo img {
416 width: 100%;
417}
418
419#fiche_identite {
420 padding: 5px;
421}
422
423#fiche_identite div.civilite {
424 text-align: center;
425 font-weight: bold;
426 width: 80%;
427 float: left;
428}
429
430#fiche_identite div.maj {
431 float: left;
432 width: 20%;
433 font-size: 75%;
434 text-align: right;
435 clear: right;
436 padding-bottom: 1ex;
437}
438
439#fiche_identite div.contact {
440 clear: both;
441 margin: 1em;
442 padding: 1ex;
443 background: #fff;
444 border: 1px dotted #69c;
445}
446#fiche_identite div.email {
447 clear: left;
448 float: left;
449}
450#fiche_identite div.mob {
451 float: right;
452 clear: right;
453 text-align: right;
454}
455
456#fiche_identite div.formation {
457 margin: 0em 1em;
458 clear: both;
459}
460
461div.adresse {
462 min-width: 30%;
463 padding: 0px;
464 margin: 0px 2% 1ex 1%;
465}
466
467div.adresse strong {
468 font-size: 90%;
469}
470
471#fiche .medal_frame {
472 float: left;
473 width: 33%;
474}
475
476#fiche .medal_frame img {
477 float: left;
478 padding: 0ex 1ex;
479}
480
481/* only for fiche_referent.php*/
482
483#fiche_referent .part {
484 width: 100%;
485}
486
487#fiche_referent #fiche_identite div.civilite {
488 width: 100%;
489}
490
491#fiche_referent{
492 width: 100%;
493}
494
495#fiche_referent div.rubrique_referent{
496 float: left;
497 width: 31%;
498 padding: 0px;
499 margin: 0px 1% 1ex 1%;
500 text-align: justify;
501}
502
503#fiche_referent em{color: purple;}
504#fiche_referent ul { margin: 0px; padding: 0px 1em; }
505#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
506
507/*******************************************************************************
508 A SKIN
509 [ choix de classes faites par le skinneur
510*******************************************************************************/
511
512#dev {
513 width: auto;
514 text-align: center;
515 padding: 1px;
516
517 color: #003399;
518 background: #e0ffff;
519
520 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
521 font-size: 10pt;
522 font-weight: bold;
523}
524
525#dev a { text-decoration: underline; }
526#dev a:hover { color: #003399; background: #c0e0e0; }
527
528.backtrace div.hide { display: none; }
529.backtrace:hover div.hide { display: block }
530
531#suid {
532 color: red;
533 background: #ffc0cb;
534 width: auto;
535 font-weight: bold;
536 text-align: center;
537}
538#suid a {
539 color: red;
540 background: inherit;
541 text-decoration: none;
542 display: block;
543}
544#suid:hover {
545 color: red;
546 background: #ffffcb;
547}
548#suid a:hover {
549 color: #ff7000;
550 background: inherit;
551}
552
553#body {
554 width: 740px;
555 margin-left: auto;
556 margin-right: auto;
557}
558
559#body-logo {
560 width: 140px;
561 border-right: 1px solid gray;
562 text-align: center;
563 font-family: "MS Sans Serif", sans-serif;
564 padding-top: 4px;
565 border-bottom: 1px solid gray;
566}
567
568#body-top {
569 border-bottom: 1px solid gray;
570 text-align: center;
571 font-size: 95%;
572 padding: 4px;
573 padding-bottom: 16px;
574 font-family: "Arial", sans-serif;
575}
576
577#body-top table { width: 100%; padding: 4px; }
578#body-top .date-heure { text-align: left; }
579#body-top .inscrits { text-align: right; }
580
581#body-bottom {
582 border-top: 1px solid gray;
583 text-align: center;
584 padding: 4px;
585 font-size: 75%;
586 font-family: "MS Sans Serif", sans-serif;
587}
588
589#body-menu {
590 width: 140px;
591 border-right: 1px solid gray;
592 text-align: center;
593 font-family: "MS Sans Serif", sans-serif;
594 font-size: 75%;
595 font-weight: bold;
596 white-space: nowrap;
597}
598
599#body-menu .menu_item {
600 padding-left: 4px;
601 padding: 2px;
602 text-align: left;
603}
604
605#body-menu .menu_item a {
606 text-decoration:none;
607}
608
609#body-menu .menu_title {
610 color: gray;
611 background: #eeeeee;
612 border-top: 1px solid gray;
613 border-bottom: 1px solid gray;
614 padding: 1px;
615 margin-top: 4px;
616 text-align: center;
617}
618
619#content {
620 width: 600px;
621 padding: 4px 0px 4px 16px;
622 font-size: 95%;
623 vertical-align: top;
624}
625
626.quick_search {
627 color: gray;
628 text-align: right;
629}
630
631div#content {
632 padding: 1em;
633 margin: 0em;
634}
635
636#content input {
637 font-size: 95%;
638}
639
640#menu-evts {
641 font-size: 85%;
642}
643
644/* vim: set et ts=4 sts=4 sw=4: */