A small CSS tweak again
[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 vertical-align: middle;
299 height: 100%;
300 text-align: center;
301 font-size: 75%;
302 border-right: 1px solid #888;
303 }
304
305 .wizard .wiz_header .wiz_tab:hover {
306 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
307 color: #fff;
308 }
309
310 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
311 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
312 color: #fff;
313 }
314
315 .wizard .wiz_header a {
316 color: #000;
317 text-decoration: none;
318 vertical-align: middle;
319 }
320
321 .wizard .wiz_header a.active {
322 color: #fff;
323 }
324
325 .wizard .wiz_content {
326 margin-left: 1em;
327 margin-right: 1em;
328 }
329
330 .flags input {
331 padding: 0 0px 0 16px;
332 width: 32px;
333 }
334 .flags .texte {
335 font-size: smaller;
336 font-weight: bold;
337 padding: 0 8px 0 0;
338 }
339 .flags .vert {
340 background: url('../images/icons/flag_green.gif') top right no-repeat;
341 }
342 .flags .orange {
343 background: url('../images/icons/flag_orange.gif') top right no-repeat;
344 }
345 .flags .rouge {
346 background: url('../images/icons/flag_red.gif') top right no-repeat;
347 }
348
349 table.cadre_a_onglet{
350 border-width: 0px;
351 padding : 0px;
352 margin: 0px;
353 }
354
355 td.conteneur_tab {
356 border-width : 1px 2px 2px 1px;
357 border-style : solid;
358 border-color : #999;
359 padding : 4px 0px 0px 4px;
360 background : #fff;
361 }
362
363 #onglet { display : block; margin : 0px; padding : 0px; }
364
365 #onglet li {
366 display : block;
367 float : left;
368 padding : 0.5ex;
369 margin : 0px 4px -1px 0px;
370 background : #d2e0e6;
371 width: auto;
372 height: 6ex;
373 text-align: center;
374 border: 1px solid #999;
375 }
376
377 #onglet li:hover { background : #ffecce; }
378
379 #onglet li.actif {
380 background : #fff;
381 font-weight: bold;
382 border-bottom: 1px solid #fff;
383 }
384
385 #onglet li a {
386 font-size: 90%;
387 font-weight : normal;
388 text-decoration : none;
389 color : #000;
390 }
391
392 /*******************************************************************************
393 7 fiche.php & fiche_referent.php
394 [ cas de la fiche ]
395 *******************************************************************************/
396
397 em.intitule {
398 color: purple;
399 font-size: 90%;
400 }
401
402 div#body {
403 color: #000;
404 background: #fff;
405 border: 3px solid #000;
406
407 width: 800px;
408 margin: 7px;
409 }
410
411 #fiche {
412 width: 760px;
413 font-size: 100%;
414 vertical-align: top;
415
416 background: #f5f8fc;
417 border: 1px solid #69c;
418 margin: 20px;
419 }
420
421 #fiche em { color: purple; }
422
423 #fiche .part {
424 float: left;
425 clear: left;
426 width: 70%;
427 padding: 0em;
428 margin: 0em;
429 }
430
431 #fiche #photo {
432 float: right;
433 padding-left: 0;
434 padding; 0;
435 margin: 0;
436 clear: right;
437 width: 30%;
438 }
439
440 #fiche #photo img {
441 width: 100%;
442 }
443
444 #fiche_identite {
445 padding: 5px;
446 }
447
448 #photo {
449 vertical-align: top;
450 padding-left: 1em;
451 }
452
453 #fiche_identite div.civilite {
454 text-align: center;
455 font-weight: bold;
456 width: 80%;
457 float: left;
458 }
459
460 #fiche_identite div.maj {
461 float: left;
462 width: 20%;
463 font-size: 80%;
464 text-align: right;
465 clear: right;
466 }
467
468 #fiche_identite div.contact {
469 clear: both;
470 margin: 1em;
471 padding: 1ex;
472 background: #fff;
473 border: 1px dotted #69c;
474 }
475 #fiche_identite div.email {
476 clear: left;
477 float: left;
478 }
479 #fiche_identite div.mob {
480 float: right;
481 clear: right;
482 text-align: right;
483 }
484
485 #fiche_identite div.formation {
486 margin: 0em 1em;
487 }
488
489 div.adresse {
490 min-width: 30%;
491 padding: 0px;
492 margin: 0px 2% 2ex 1%;
493 }
494
495 div.adresse div.titre { color: purple; }
496
497 #fiche .medal_frame {
498 float: left;
499 width: 33%;
500 }
501
502 #fiche .medal_frame img {
503 float: left:
504 padding: 0ex 1ex;
505 }
506
507 #fiche .medal_text {
508 vertical-align: middle;
509 font-weight: bold;
510 }
511
512 /* only for fiche_referent.php*/
513
514 #fiche_referent{
515 padding: 10px;
516 width: 100%;
517 }
518
519 #fiche_referent div.rubrique_referent{
520 float: left;
521 width: 31%;
522 padding: 0px;
523 margin: 0px 1% 1ex 1%;
524 }
525
526 #fiche_referent em{color: purple;}
527 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
528 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
529
530 /*******************************************************************************
531 A SKIN
532 [ choix de classes faites par le skinneur
533 *******************************************************************************/
534
535 .phperror {
536 color: red;
537 background: white;
538 margin: 2px auto;
539 padding: 4px 2px;
540 border: 1px solid black;
541 width: 80%;
542 white-space: pre;
543 }
544
545 #dev {
546 width: auto;
547 text-align: center;
548 padding: 1px;
549
550 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
551 font-size: 10pt;
552 font-weight: bold;
553 color: #000;
554 background: #f5f8fc;
555 }
556
557 .backtrace div.hide { display: none; }
558 .backtrace:hover div.hide { display: block }
559 .backtrace h1 { margin: 0px; }
560
561 #suid {
562 color: red;
563 background: #ffc0cb;
564 width: auto;
565 font-weight: bold;
566 text-align: center;
567 }
568 #suid a {
569 color: red;
570 background: inherit;
571 text-decoration: none;
572 display: block;
573 }
574 #suid:hover {
575 color: red;
576 background: #ffffcb;
577 }
578 #suid a:hover {
579 color: #ff7000;
580 background: inherit;
581 }
582
583 table#body {
584 color: #000;
585 background: #fff;
586 border: 3px solid #000;
587
588 width: 900px;
589 margin: 1em auto;
590 }
591
592 #body-logo {
593 text-align: center;
594 padding: 2em 0em 0em 0em;
595 }
596
597 #body-top {
598 text-align: center;
599 font-size: 94%;
600 padding: 2em 2em 0em 2em;
601 padding-bottom: 16px;
602 font-family: Georgia,serif;
603 }
604
605 #body-top table { width: 100%; padding: 4px; }
606 #body-top .date-heure { text-align: left; }
607 #body-top .inscrits { text-align: right; }
608
609 #body-bottom { text-align: center;}
610
611 #body-menu {
612 vertical-align: top;
613 padding: 1em 0em 2em 2em;
614 border: 0px;
615 width: 140px;
616 font-weight: bold;
617 white-space: nowrap;
618 line-height: 100%;
619 }
620
621 #body-menu a {
622 color: #690;
623 background: #fff;
624 border: 1px dotted #fff;
625 display: block;
626 padding: 1px 4px;
627 text-align: left;
628 font-size: 85%;
629 font-family: Bitstream Vera Sans,Verdana,sans-serif;
630 text-decoration: none;
631 }
632
633 #body-menu a:hover {
634 color: #690;
635 background: #eaf2db;
636 border: 1px dotted #690;
637 }
638
639 #body-menu .menu_title {
640 color: #f90;
641 background: #fff;
642 border-top: none;
643 border-bottom: 3px solid #f90;
644 padding: 1px;
645 text-transform: uppercase;
646 text-align: left;
647 margin: 1ex 0ex;
648 }
649
650 #content {
651 width: auto;
652 font-size: 100%;
653 vertical-align: top;
654
655 background: #f5f8fc;
656 border: 1px solid #69c;
657 line-height:125%;
658 padding: 0em 1em 1em 1em;
659 margin: 1em 2em 2em 2em;
660 }
661
662 #content-margin { width: 2em; }
663
664 #content input {
665 font-size: 95%;
666 }
667
668 /* vim: set et ts=4 sts=4 sw=4: */