Fixes minifiche width in IE8.
[platal.git] / htdocs / css / openweb.css
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
26 body {
27 background:#369;
28 color: #096;
29 font-family:"Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
30 margin:2em 1%;
31 padding:0;
32 font-size: 9pt;
33 }
34
35 a:link, a:visited { color: #f60; background: transparent; }
36 a:active, a:hover { color: #369; background: transparent; }
37
38 img { vertical-align: middle; }
39 a img { border: 0px; }
40 li { padding: 0em 1em; text-align: justify; }
41 hr { width: 90%; margin: 1em 5%; border: 1px dotted #369; border-bottom: none; }
42
43 fieldset {
44 border: 1px dotted #69c;
45 background: #fff;
46 color: inherit;
47
48 margin: 1em 0em;
49 padding: 1em;
50 }
51
52 legend {
53 border: 1px dotted #69c;
54 background: #d6e1ec;
55 color: inherit;
56
57 padding: 0em 1em;
58 }
59
60 .center { text-align: center; }
61 .right { text-align: right; }
62 .smaller { font-size: smaller; font-style: italic; }
63 .spacer { clear: both; }
64
65 .float2 { float: left; width: 48%; margin: 2px; }
66 .float3 { float: left; width: 33%; }
67
68 /*******************************************************************************
69 2 Styles <p>, <div>, <span>, <li>
70 [ styles classiques d'effets de texte ]
71 *******************************************************************************/
72
73 p {
74 padding: 0em 1em;
75 margin-bottom: 0.5em;
76 text-align: justify;
77 }
78
79 .errors {
80 margin-top: 10px;
81 border: 1px solid #f00;
82 background-color: #fcc;
83 width: 98%;
84 }
85
86 .warnings {
87 margin-top: 10px;
88 border: 1px solid #ed0;
89 background-color: #ffc;
90 width: 98%;
91 }
92
93 .success {
94 margin-top: 10px;
95 border: 1px solid #0d2;
96 background-color: #cfd;
97 width: 98%;
98 }
99
100 .erreur {
101 font-weight: bold;
102 color: #ff0000;
103 background: inherit;
104 margin-top: 0.5em;
105 margin-bottom: 0.5em;
106 }
107
108 .erreur a:link, .erreur a:visited, .erreur a:active, .erreur a:hover {
109 color: #ff3333;
110 background: inherit;
111 }
112
113 input.error, textarea.error {
114 background-color: #faa;
115 }
116
117 input.valid, textarea.valid {
118 background-color: #afa;
119 }
120
121 input.warning, textarea.warning {
122 background-color: #fda;
123 }
124
125 h1 {
126 color: #369;
127 font-size: 140%;
128 background: #f5f8fc;
129 margin: 0em;
130 border-bottom: 2px solid #369;
131 padding: 4px;
132 margin: 1em 0em;
133 }
134
135 h2 {
136 color: #369;
137 font-size: 115%;
138 padding: 0px 4px;
139 margin: 1em 0em 0.5em 0em;
140 font-weight: bold;
141 border-bottom: 1px dotted #369;
142 }
143
144 h3 {
145 margin: 0em;
146 font-weight: bold;
147 padding: 0.5em 0em;
148 font-size: 100%;
149 }
150
151
152 p.explication, div.explication {
153 font-style: italic;
154 padding: 0em 1ex 1ex 1ex;
155 }
156
157 li.spaced {
158 padding-top: 0.5em;
159 padding-bottom: 0.5em;
160 text-align: justify;
161 }
162
163 /*******************************************************************************
164 3 Tableaux bicolores + classes utiles
165 [ Tableaux à lignes alternées, en taille normale, ou tiny ]
166 *******************************************************************************/
167
168 table.bicol {
169 border-collapse: collapse;
170 color: inherit;
171 background: #fff;
172 border: 1px solid #a2c2e1;
173 width: 98%;
174 margin-left: 1%;
175 }
176 table.tinybicol {
177 border-collapse: collapse;
178 color: inherit;
179 background: #fff;
180 border: 1px solid #a2c2e1;
181 width: 70%;
182 margin-left: 15%;
183 }
184
185 table.tinybicol tr.impair, table.bicol tr.impair {}
186 table.tinybicol tr.pair, table.bicol tr.pair {
187 color: inherit;
188 background: #eee;
189 }
190
191 table.tinybicol th, table.bicol th {
192 color: #369;
193 background: #d6e1ec;
194 font-weight: bold;
195 text-align: center;
196 padding: 0px 4px;
197 }
198 table.tinybicol td, table.bicol td {
199 color: #000000;
200 background: inherit;
201 padding: 0px 4px;
202 }
203
204 td.half { width: 50%; padding: 4px; }
205
206 td.titre {
207 color: #000000;
208 background: inherit;
209 font-weight: bold;
210 }
211 td.action {
212 white-space: nowrap;
213 text-align: right;
214 font-weight: bold;
215 }
216 td.action a { padding: 0px 2px; }
217
218 /*******************************************************************************
219 4 Tableau de choix de skins
220 [ Styles pour les tableaux de types de ceux des skins ]
221 *******************************************************************************/
222
223 #skin {
224 border-bottom: 1px solid #a2c2e1;
225 border-top: 1px solid #a2c2e1;
226 width: 98%;
227 margin-left: 1%;
228 }
229 #skin td {
230 border-top: 1px solid #a2c2e1;
231 border-bottom: 1px solid #a2c2e1;
232 }
233 #skin td.skigauche {
234 background: #d6e1ec;
235 color: inherit;
236 }
237 #skin td.skimilieu {
238 padding-left: 1em;
239 width: 100%;
240 }
241 #skin td.skidroite { padding: 0; }
242
243 /*******************************************************************************
244 5 Contacts
245 [ Styles liés à l'affichage de contacts ]
246 *******************************************************************************/
247
248 div.contact-list {
249 width: 98%;
250 margin-left: 5px;
251 border: 1px dotted #a2c2e1;
252 }
253
254 div.contact-list div.contact {
255 width: 100%;
256 text-align: left;
257 background: #ffecce;
258 border-top: 1px dotted black;
259 color: inherit;
260 }
261
262 div.contact-list div.grayed {
263 color: #444444;
264 background: #eee;
265 font-style: italic;
266 }
267
268 div.contact div.photo {
269 float: left;
270 }
271
272 div.contact div.photo img {
273 width: 60px;
274 margin-right: 4px;
275 }
276
277 div.contact div.identity {
278 float: left;
279 width: 85%;
280 }
281
282 div.contact div.nom {
283 font-weight: bold;
284 }
285
286 div.contact div.bits {
287 text-align: right;
288 float: right;
289 width: 14%;
290 }
291
292 div.contact div.long {
293 width: 100%;
294 clear: both;
295 background: #fff;
296 color: inherit;
297 padding: 1px 0px;
298 }
299
300
301 div.long table { width: 100%; }
302 div.long td.lt { width: 35%; padding-left: 4px; }
303 div.long td.rt { width: 65%; }
304
305 /*******************************************************************************
306 6 Profil
307 [ onglets des profils ]
308 *******************************************************************************/
309
310 .wizard {
311 margin-left: -1em;
312 margin-right: -1em;
313 }
314
315 .wizard .wiz_header {
316 height: 32px;
317 width: 100%;
318 background: url('../images/skins/wiz_normal.png') top right repeat-x;
319 margin-bottom: 1em;
320 }
321
322 .wizard .wiz_header .wiz_tab {
323 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
324 height: 100%;
325 text-align: center;
326 font-size: 75%;
327 border-right: 1px solid #888;
328 }
329
330 .wizard .wiz_header .wiz_tab:hover {
331 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
332 color: #fff;
333 }
334
335 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
336 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
337 color: #fff;
338 }
339
340 .wizard .wiz_header a {
341 color: #000;
342 text-decoration: none;
343 }
344
345 .wizard .wiz_header a.active {
346 color: #fff;
347 }
348
349 .wizard .wiz_content {
350 margin-left: 1em;
351 margin-right: 1em;
352 }
353
354 .flags .texte {
355 font-size: smaller;
356 font-weight: bold;
357 margin-left: -6px;
358 padding: 0 12px 0 0;
359 }
360 .flags img {
361 padding: 0 6px 0 0;
362 }
363
364 /*******************************************************************************
365 7 fiche.php & fiche_referent.php
366 [ cas de la fiche ]
367 *******************************************************************************/
368
369 em.intitule {
370 color: purple;
371 font-size: 90%;
372 }
373
374 div#body {
375 color: #000;
376 background: #fff;
377 border: 3px solid #000;
378
379 width: 800px;
380 margin: 7px;
381 }
382
383 #fiche {
384 width: 760px;
385 font-size: 100%;
386 vertical-align: top;
387
388 background: #f5f8fc;
389 border: 1px solid #69c;
390 margin: 20px;
391 }
392
393 #fiche em { color: purple; }
394
395 #fiche .part {
396 float: left;
397 clear: left;
398 width: 70%;
399 padding: 0em;
400 margin: 0em;
401 }
402
403 #fiche #photo {
404 float: right;
405 padding: 0;
406 margin: 0;
407 clear: right;
408 width: 30%;
409 }
410
411 #fiche #photo img {
412 width: 100%;
413 }
414
415 #fiche_identite {
416 padding: 5px;
417 }
418
419 #photo {
420 vertical-align: top;
421 padding-left: 1em;
422 }
423
424 #fiche_identite div.civilite {
425 text-align: center;
426 font-weight: bold;
427 width: 80%;
428 float: left;
429 }
430
431 #fiche_identite div.maj {
432 float: left;
433 width: 20%;
434 font-size: 80%;
435 text-align: right;
436 clear: right;
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 }
459
460 div.adresse {
461 min-width: 30%;
462 padding: 0px;
463 margin: 0px 2% 2ex 1%;
464 }
465
466 div.adresse div.titre { color: purple; }
467
468 #fiche .medal_frame {
469 float: left;
470 width: 33%;
471 }
472
473 #fiche .medal_frame img {
474 float: left;
475 padding: 0ex 1ex;
476 }
477
478 #fiche .medal_text {
479 vertical-align: middle;
480 font-weight: bold;
481 }
482
483 /* only for fiche_referent.php*/
484
485 #fiche_referent{
486 padding: 10px;
487 width: 100%;
488 }
489
490 #fiche_referent div.rubrique_referent{
491 float: left;
492 width: 31%;
493 padding: 0px;
494 margin: 0px 1% 1ex 1%;
495 }
496
497 #fiche_referent em{color: purple;}
498 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
499 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
500
501 /*******************************************************************************
502 A SKIN
503 [ choix de classes faites par le skinneur
504 *******************************************************************************/
505
506 .phperror {
507 color: red;
508 background: white;
509 margin: 2px auto;
510 padding: 4px 2px;
511 border: 1px solid black;
512 width: 80%;
513 white-space: pre;
514 }
515
516 #dev {
517 width: auto;
518 text-align: center;
519 padding: 1px;
520
521 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
522 font-size: 10pt;
523 font-weight: bold;
524 color: #000;
525 background: #f5f8fc;
526 }
527
528 .backtrace div.hide { display: none; }
529 .backtrace:hover div.hide { display: block }
530 .backtrace h1 { margin: 0px; }
531
532 #suid {
533 color: red;
534 background: #ffc0cb;
535 width: auto;
536 font-weight: bold;
537 text-align: center;
538 }
539 #suid a {
540 color: red;
541 background: inherit;
542 text-decoration: none;
543 display: block;
544 }
545 #suid:hover {
546 color: red;
547 background: #ffffcb;
548 }
549 #suid a:hover {
550 color: #ff7000;
551 background: inherit;
552 }
553
554 table#body {
555 color: #000;
556 background: #fff;
557 border: 3px solid #000;
558
559 width: 900px;
560 margin: 1em auto;
561 }
562
563 #body-logo {
564 text-align: center;
565 padding: 2em 0em 0em 0em;
566 }
567
568 #body-top {
569 text-align: center;
570 font-size: 94%;
571 padding: 2em 2em 0em 2em;
572 padding-bottom: 16px;
573 font-family: Georgia,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 { text-align: center;}
581
582 #body-menu {
583 vertical-align: top;
584 padding: 1em 0em 2em 2em;
585 border: 0px;
586 width: 140px;
587 font-weight: bold;
588 white-space: nowrap;
589 line-height: 100%;
590 }
591
592 #body-menu a {
593 color: #690;
594 background: #fff;
595 border: 1px dotted #fff;
596 display: block;
597 padding: 1px 4px;
598 text-align: left;
599 font-size: 85%;
600 font-family: Bitstream Vera Sans,Verdana,sans-serif;
601 text-decoration: none;
602 }
603
604 #body-menu a:hover {
605 color: #690;
606 background: #eaf2db;
607 border: 1px dotted #690;
608 }
609
610 #body-menu .menu_title {
611 color: #f90;
612 background: #fff;
613 border-top: none;
614 border-bottom: 3px solid #f90;
615 padding: 1px;
616 text-transform: uppercase;
617 text-align: left;
618 margin: 1ex 0ex;
619 }
620
621 #content {
622 width: auto;
623 font-size: 100%;
624 vertical-align: top;
625
626 background: #f5f8fc;
627 border: 1px solid #69c;
628 line-height:125%;
629 padding: 0em 1em 1em 1em;
630 margin: 1em 2em 2em 2em;
631 }
632
633 #content-margin { width: 2em; }
634
635 #content input {
636 font-size: 95%;
637 }
638
639 /* vim: set et ts=4 sts=4 sw=4: */