Merge branch 'platal-0.9.16'
[platal.git] / htdocs / css / default.css
1 /***************************************************************************
2 * Copyright (C) 2003-2008 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
26 body {
27 font-family: "Arial", sans-serif;
28 color: #000000;
29 background: #ffffff;
30 }
31
32 a:link, a:visited, a:active, a:hover { color: #003399; background: none; }
33 img { vertical-align: middle; }
34 a img { border: 0px; }
35 td { vertical-align: top; }
36 li { padding-left: 3px; padding-right: 3px; text-align: justify; }
37 hr { width: 90%; text-align: center }
38 dt { font-weight: bold; }
39
40 fieldset {
41 border: 1px #336699 solid;
42 background: #eeeeee;
43 color: inherit;
44
45 margin: 1em 0 1em 0;
46 }
47
48 legend {
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
71 p {
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
89 input.error, textarea.error {
90 background-color: #faa;
91 }
92
93 input.valid, textarea.valid {
94 background-color: #afa;
95 }
96
97 input.warning, textarea.warning {
98 background-color: #fda;
99 }
100
101 h1 {
102 color: #555555;
103 background: url('../images/skins/default_titre.gif');
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
116 h2 {
117 padding: 0.5em 0em 0em 0em;
118 margin: 0em;
119 font-size: 100%;
120 font-weight: bold;
121 }
122
123 h3 {
124 margin: 0em;
125 font-weight: bold;
126 padding: 0.25em;
127 font-size: 100%;
128 }
129
130 p.explication, div.explication {
131 font-style: italic;
132 padding: 0em 1ex 1ex 1ex;
133 }
134
135 li.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
146 table.bicol {
147 color: inherit;
148 background: #eeeeee;
149 border: 1px solid #336699;
150 border-collapse: collapse;
151 width: 100%;
152 margin-left: 0;
153 }
154 table.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
163 table.tinybicol tr.impair, table.bicol tr.impair {}
164 table.tinybicol tr.pair, table.bicol tr.pair {
165 color: inherit;
166 background: #eeeed0;
167 }
168
169 table.tinybicol th, table.bicol th {
170 color: #ffffff;
171 background: #336699;
172 font-weight: bold;
173 text-align: center;
174 vertical-align: middle;
175 }
176
177 table.tinybicol th a:link, table.tinybicol th a:visited,
178 table.tinybicol th a:active, table.tinybicol th a:hover,
179 table.bicol th a:link, table.bicol th a:visited,
180 table.bicol th a:active, table.bicol th a:hover {
181 color: #9999FF;
182 background: inherit;
183 }
184
185 table.tinybicol td, table.bicol td {
186 color: #000000;
187 background: inherit;
188 }
189
190 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
191
192 td.half { width: 50%; padding: 4px; }
193 td.titre {
194 color: #000000;
195 background: inherit;
196 font-weight: bold;
197 }
198 td.action {
199 white-space: nowrap;
200 text-align: right;
201 font-weight: bold;
202 vertical-align: middle;
203 }
204 td.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
238 div.contact-list {
239 width: 98%;
240 margin-left: 1%;
241 }
242
243 div.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
251 div.contact-list div.grayed {
252 color: #444444;
253 font-style: italic;
254 background: #eee;
255 }
256
257 .contact .photo {
258 float: left;
259 }
260
261 .contact .photo img {
262 width: 40px;
263 margin-right: 4px;
264 }
265
266 div.contact div.identity {
267 float: left;
268 width: 90%;
269 }
270
271 div.contact div.nom {
272 font-weight: bold;
273 }
274
275 div.contact div.bits {
276 text-align: right;
277 float: right;
278 }
279
280 div.contact div.long {
281 width: 100%;
282 clear: both;
283 background: white;
284 color: inherit;
285 padding-top: 1px;
286 padding-bottom: 1px;
287 }
288
289 div.long table { width: 100%; }
290 div.long td.lt { width: 35%; font-style: italic; }
291 div.long td.rt { width: 65%; }
292
293 /*******************************************************************************
294 6 Profil
295 [ onglets des profils ]
296 *******************************************************************************/
297
298 .wizard {
299 margin-top: -4px;
300 margin-left: -16px;
301 }
302
303 .wizard .wiz_header {
304 height: 32px;
305 width: 100%;
306 background: url('../images/skins/wiz_background.png') top right repeat-x;
307 margin-bottom: 1em;
308 }
309
310 .wizard .wiz_header .wiz_tab {
311 background; url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
312 height: 100%;
313 text-align: center;
314 font-size: 75%;
315 border-right: 1px solid #888;
316 }
317
318 .wizard .wiz_header .wiz_tab:hover {
319 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
320 color: #fff;
321 }
322
323 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
324 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
325 color: #fff;
326 }
327
328 .wizard .wiz_header a {
329 color: #000;
330 text-decoration: none;
331 }
332
333 .wizard .wiz_header a.active {
334 color: #fff;
335 }
336
337 .wizard .wiz_content {
338 margin-left: 16px;
339 }
340
341 .flags .texte {
342 font-size: smaller;
343 font-weight: bold;
344 margin-left: -6px;
345 padding: 0 12px 0 0;
346 }
347 .flags img {
348 padding: 0 6px 0 0;
349 }
350
351
352 /*******************************************************************************
353 7 fiche.php & fiche_referent.php
354 [ cas de la fiche ]
355 *******************************************************************************/
356
357 #fiche {
358 width: 760px;
359 font-size: 100%;
360 vertical-align: top;
361
362 border: 1px solid #369;
363 }
364
365 #fiche em { color: purple; }
366
367 #fiche h2 {
368 color: #369;
369 padding: 0px 4px;
370 margin: 0.5em 0em;
371 font-weight: bold;
372 border-bottom: 1px dotted #369;
373 }
374
375 #fiche .part {
376 float: left;
377 clear: left;
378 width: 70%;
379 padding-left: 0;
380 padding-right: 0;
381 margin-left: 0;
382 margin-right: 0;
383 }
384
385 #fiche #photo {
386 float: right;
387 width: 30%;
388 padding-left: 0;
389 margin-left: 0;
390 clear: right;
391 }
392
393 #fiche #photo img {
394 width: 100%;
395 }
396
397 #fiche_identite {
398 padding: 5px;
399 }
400
401 #fiche_identite div.civilite {
402 text-align: center;
403 font-weight: bold;
404 width: 80%;
405 float: left;
406 }
407
408 #fiche_identite div.maj {
409 float: left;
410 width: 20%;
411 font-size: 75%;
412 text-align: right;
413 clear: right;
414 padding-bottom: 1ex;
415 }
416
417 #fiche_identite div.contact {
418 clear: both;
419 margin: 1em;
420 padding: 1ex;
421 background: #fff;
422 border: 1px dotted #69c;
423 }
424 #fiche_identite div.email {
425 clear: left;
426 float: left;
427 }
428 #fiche_identite div.mob {
429 float: right;
430 clear: right;
431 text-align: right;
432 }
433
434 #fiche_identite div.formation {
435 margin: 0em 1em;
436 clear: both;
437 }
438
439 div.adresse {
440 min-width: 30%;
441 padding: 0px;
442 margin: 0px 2% 1ex 1%;
443 }
444
445 div.adresse strong {
446 font-size: 90%;
447 }
448
449 #fiche .medal_frame {
450 float: left;
451 width: 33%;
452 }
453
454 #fiche .medal_frame img {
455 float: left;
456 padding: 0ex 1ex;
457 }
458
459 /* only for fiche_referent.php*/
460
461 #fiche_referent .part {
462 width: 100%;
463 }
464
465 #fiche_referent #fiche_identite div.civilite {
466 width: 100%;
467 }
468
469 #fiche_referent{
470 width: 100%;
471 }
472
473 #fiche_referent div.rubrique_referent{
474 float: left;
475 width: 31%;
476 padding: 0px;
477 margin: 0px 1% 1ex 1%;
478 text-align: justify;
479 }
480
481 #fiche_referent em{color: purple;}
482 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
483 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
484
485 /*******************************************************************************
486 A SKIN
487 [ choix de classes faites par le skinneur
488 *******************************************************************************/
489
490 #dev {
491 width: auto;
492 text-align: center;
493 padding: 1px;
494
495 color: #003399;
496 background: #e0ffff;
497
498 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
499 font-size: 10pt;
500 font-weight: bold;
501 }
502
503 #dev a { text-decoration: underline; }
504 #dev a:hover { color: #003399; background: #c0e0e0; }
505
506 .backtrace div.hide { display: none; }
507 .backtrace:hover div.hide { display: block }
508
509 #suid {
510 color: red;
511 background: #ffc0cb;
512 width: auto;
513 font-weight: bold;
514 text-align: center;
515 }
516 #suid a {
517 color: red;
518 background: inherit;
519 text-decoration: none;
520 display: block;
521 }
522 #suid:hover {
523 color: red;
524 background: #ffffcb;
525 }
526 #suid a:hover {
527 color: #ff7000;
528 background: inherit;
529 }
530
531 #body {
532 width: 740px;
533 margin-left: auto;
534 margin-right: auto;
535 }
536
537 #body-logo {
538 width: 140px;
539 border-right: 1px solid gray;
540 text-align: center;
541 font-family: "MS Sans Serif", sans-serif;
542 padding-top: 4px;
543 border-bottom: 1px solid gray;
544 }
545
546 #body-top {
547 border-bottom: 1px solid gray;
548 text-align: center;
549 font-size: 95%;
550 padding: 4px;
551 padding-bottom: 16px;
552 font-family: "Arial", sans-serif;
553 }
554
555 #body-top table { width: 100%; padding: 4px; }
556 #body-top .date-heure { text-align: left; }
557 #body-top .inscrits { text-align: right; }
558
559 #body-bottom {
560 border-top: 1px solid gray;
561 text-align: center;
562 padding: 4px;
563 font-size: 75%;
564 font-family: "MS Sans Serif", sans-serif;
565 }
566
567 #body-menu {
568 width: 140px;
569 border-right: 1px solid gray;
570 text-align: center;
571 font-family: "MS Sans Serif", sans-serif;
572 font-size: 75%;
573 font-weight: bold;
574 white-space: nowrap;
575 }
576
577 #body-menu .menu_item {
578 padding-left: 4px;
579 padding: 2px;
580 text-align: left;
581 }
582
583 #body-menu .menu_item a {
584 text-decoration:none;
585 }
586
587 #body-menu .menu_title {
588 color: gray;
589 background: #eeeeee;
590 border-top: 1px solid gray;
591 border-bottom: 1px solid gray;
592 padding: 1px;
593 margin-top: 4px;
594 text-align: center;
595 }
596
597 #content {
598 width: 600px;
599 padding: 4px 0px 4px 16px;
600 font-size: 95%;
601 vertical-align: top;
602 }
603
604 .quick_search {
605 color: gray;
606 text-align: right;
607 }
608
609 div#content {
610 padding: 1em;
611 margin: 0em;
612 }
613
614 #content input {
615 font-size: 95%;
616 }
617
618 #menu-evts {
619 font-size: 85%;
620 }
621
622 /* vim: set et ts=4 sts=4 sw=4: */