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