Merge commit 'origin/master' into fusionax
[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 div.titre {
219 color: #000000;
220 background: inherit;
221 font-weight: bold;
222 }
223
224 span.titre {
225 color: #000000;
226 background: inherit;
227 font-weight: bold;
228 }
229
230 /*******************************************************************************
231 4 Tableau de choix de skins
232 [ Styles pour les tableaux de types de ceux des skins ]
233 *******************************************************************************/
234
235 #skin {
236 border-bottom: 1px solid #a2c2e1;
237 border-top: 1px solid #a2c2e1;
238 width: 98%;
239 margin-left: 1%;
240 }
241 #skin td {
242 border-top: 1px solid #a2c2e1;
243 border-bottom: 1px solid #a2c2e1;
244 }
245 #skin td.skigauche {
246 background: #d6e1ec;
247 color: inherit;
248 }
249 #skin td.skimilieu {
250 padding-left: 1em;
251 width: 100%;
252 }
253 #skin td.skidroite { padding: 0; }
254
255 /*******************************************************************************
256 5 Contacts
257 [ Styles liés à l'affichage de contacts ]
258 *******************************************************************************/
259
260 div.contact-list {
261 width: 98%;
262 margin-left: 1%;
263 border: 1px dotted #a2c2e1;
264 }
265
266 div.contact-list div.contact {
267 width: 100%;
268 text-align: left;
269 background: #ffecce;
270 border-top: 1px dotted black;
271 color: inherit;
272 }
273
274 div.contact-list div.grayed {
275 color: #444444;
276 background: #eee;
277 font-style: italic;
278 }
279
280 div.contact div.photo {
281 float: left;
282 }
283
284 div.contact div.photo img {
285 width: 60px;
286 margin-right: 4px;
287 }
288
289 div.contact div.identity {
290 float: left;
291 width: 85%;
292 }
293
294 div.contact div.nom {
295 font-weight: bold;
296 }
297
298 div.contact div.bits {
299 text-align: right;
300 float: right;
301 width: 14%;
302 }
303
304 div.contact div.long {
305 width: 100%;
306 clear: both;
307 background: #fff;
308 color: inherit;
309 padding: 1px 0px;
310 }
311
312
313 div.long table { width: 100%; }
314 div.long td.lt { width: 35%; padding-left: 4px; }
315 div.long td.rt { width: 65%; }
316
317 /*******************************************************************************
318 6 Profil
319 [ onglets des profils ]
320 *******************************************************************************/
321
322 .wizard {
323 margin-left: -1em;
324 margin-right: -1em;
325 }
326
327 .wizard .wiz_header {
328 height: 32px;
329 width: 100%;
330 background: url('../images/skins/wiz_normal.png') top right repeat-x;
331 margin-bottom: 1em;
332 }
333
334 .wizard .wiz_header .wiz_tab {
335 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
336 height: 100%;
337 text-align: center;
338 font-size: 75%;
339 border-right: 1px solid #888;
340 }
341
342 .wizard .wiz_header .wiz_tab:hover {
343 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
344 color: #fff;
345 }
346
347 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
348 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
349 color: #fff;
350 }
351
352 .wizard .wiz_header a {
353 color: #000;
354 text-decoration: none;
355 }
356
357 .wizard .wiz_header a.active {
358 color: #fff;
359 }
360
361 .wizard .wiz_content {
362 margin-left: 1em;
363 margin-right: 1em;
364 }
365
366 .flags .texte {
367 font-size: smaller;
368 font-weight: bold;
369 margin-left: -6px;
370 padding: 0 12px 0 0;
371 }
372 .flags img {
373 padding: 0 6px 0 0;
374 }
375
376 /*******************************************************************************
377 7 fiche.php & fiche_referent.php
378 [ cas de la fiche ]
379 *******************************************************************************/
380
381 em.intitule {
382 color: purple;
383 font-size: 90%;
384 }
385
386 div#body {
387 color: #000;
388 background: #fff;
389 border: 3px solid #000;
390
391 width: 800px;
392 margin: 7px;
393 }
394
395 #fiche {
396 width: 760px;
397 font-size: 100%;
398 vertical-align: top;
399
400 background: #f5f8fc;
401 border: 1px solid #69c;
402 margin: 20px;
403 }
404
405 #fiche em { color: purple; }
406
407 #fiche .part {
408 float: left;
409 clear: left;
410 width: 70%;
411 padding: 0em;
412 margin: 0em;
413 }
414
415 #fiche #photo {
416 float: right;
417 padding-left: 0;
418 padding; 0;
419 margin: 0;
420 clear: right;
421 width: 30%;
422 }
423
424 #fiche #photo img {
425 width: 100%;
426 }
427
428 #fiche_identite {
429 padding: 5px;
430 }
431
432 #photo {
433 vertical-align: top;
434 padding-left: 1em;
435 }
436
437 #fiche_identite div.civilite {
438 text-align: center;
439 font-weight: bold;
440 width: 80%;
441 float: left;
442 }
443
444 #fiche_identite div.maj {
445 float: left;
446 width: 20%;
447 font-size: 80%;
448 text-align: right;
449 clear: right;
450 }
451
452 #fiche_identite div.contact {
453 clear: both;
454 margin: 1em;
455 padding: 1ex;
456 background: #fff;
457 border: 1px dotted #69c;
458 }
459 #fiche_identite div.email {
460 clear: left;
461 float: left;
462 }
463 #fiche_identite div.mob {
464 float: right;
465 clear: right;
466 text-align: right;
467 }
468
469 #fiche_identite div.formation {
470 margin: 0em 1em;
471 }
472
473 div.adresse {
474 min-width: 30%;
475 padding: 0px;
476 margin: 0px 2% 2ex 1%;
477 }
478
479 div.adresse div.titre { color: purple; }
480
481 #fiche .medal_frame {
482 float: left;
483 width: 33%;
484 }
485
486 #fiche .medal_frame img {
487 float: left:
488 padding: 0ex 1ex;
489 }
490
491 #fiche .medal_text {
492 vertical-align: middle;
493 font-weight: bold;
494 }
495
496 /* only for fiche_referent.php*/
497
498 #fiche_referent{
499 padding: 10px;
500 width: 100%;
501 }
502
503 #fiche_referent div.rubrique_referent{
504 float: left;
505 width: 31%;
506 padding: 0px;
507 margin: 0px 1% 1ex 1%;
508 }
509
510 #fiche_referent em{color: purple;}
511 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
512 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
513
514 /*******************************************************************************
515 A SKIN
516 [ choix de classes faites par le skinneur
517 *******************************************************************************/
518
519 .phperror {
520 color: red;
521 background: white;
522 margin: 2px auto;
523 padding: 4px 2px;
524 border: 1px solid black;
525 width: 80%;
526 white-space: pre;
527 }
528
529 #dev {
530 width: auto;
531 text-align: center;
532 padding: 1px;
533
534 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
535 font-size: 10pt;
536 font-weight: bold;
537 color: #000;
538 background: #f5f8fc;
539 }
540
541 .backtrace div.hide { display: none; }
542 .backtrace:hover div.hide { display: block }
543 .backtrace h1 { margin: 0px; }
544
545 #suid {
546 color: red;
547 background: #ffc0cb;
548 width: auto;
549 font-weight: bold;
550 text-align: center;
551 }
552 #suid a {
553 color: red;
554 background: inherit;
555 text-decoration: none;
556 display: block;
557 }
558 #suid:hover {
559 color: red;
560 background: #ffffcb;
561 }
562 #suid a:hover {
563 color: #ff7000;
564 background: inherit;
565 }
566
567 table#body {
568 color: #000;
569 background: #fff;
570 border: 3px solid #000;
571
572 width: 900px;
573 margin: 1em auto;
574 }
575
576 #body-logo {
577 text-align: center;
578 padding: 2em 0em 0em 0em;
579 }
580
581 #body-top {
582 text-align: center;
583 font-size: 94%;
584 padding: 2em 2em 0em 2em;
585 padding-bottom: 16px;
586 font-family: Georgia,serif;
587 }
588
589 #body-top table { width: 100%; padding: 4px; }
590 #body-top .date-heure { text-align: left; }
591 #body-top .inscrits { text-align: right; }
592
593 #body-bottom { text-align: center;}
594
595 #body-menu {
596 vertical-align: top;
597 padding: 1em 0em 2em 2em;
598 border: 0px;
599 width: 140px;
600 font-weight: bold;
601 white-space: nowrap;
602 line-height: 100%;
603 }
604
605 #body-menu a {
606 color: #690;
607 background: #fff;
608 border: 1px dotted #fff;
609 display: block;
610 padding: 1px 4px;
611 text-align: left;
612 font-size: 85%;
613 font-family: Bitstream Vera Sans,Verdana,sans-serif;
614 text-decoration: none;
615 }
616
617 #body-menu a:hover {
618 color: #690;
619 background: #eaf2db;
620 border: 1px dotted #690;
621 }
622
623 #body-menu .menu_title {
624 color: #f90;
625 background: #fff;
626 border-top: none;
627 border-bottom: 3px solid #f90;
628 padding: 1px;
629 text-transform: uppercase;
630 text-align: left;
631 margin: 1ex 0ex;
632 }
633
634 #content {
635 width: auto;
636 font-size: 100%;
637 vertical-align: top;
638
639 background: #f5f8fc;
640 border: 1px solid #69c;
641 line-height:125%;
642 padding: 0em 1em 1em 1em;
643 margin: 1em 2em 2em 2em;
644 }
645
646 #content-margin { width: 2em; }
647
648 #content input {
649 font-size: 95%;
650 }
651
652 /* vim: set et ts=4 sts=4 sw=4: */