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