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