Happy New Year!
[platal.git] / htdocs / css / openweb.css
1 /***************************************************************************
2 * Copyright (C) 2003-2011 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: 5px;
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: 0;
418 margin: 0;
419 clear: right;
420 width: 30%;
421 }
422
423 #fiche #photo img {
424 width: 100%;
425 }
426
427 #fiche_identite {
428 padding: 5px;
429 }
430
431 #photo {
432 vertical-align: top;
433 padding-left: 1em;
434 }
435
436 #fiche_identite div.civilite {
437 text-align: center;
438 font-weight: bold;
439 width: 80%;
440 float: left;
441 }
442
443 #fiche_identite div.maj {
444 float: left;
445 width: 20%;
446 font-size: 80%;
447 text-align: right;
448 clear: right;
449 }
450
451 #fiche_identite div.contact {
452 clear: both;
453 margin: 1em;
454 padding: 1ex;
455 background: #fff;
456 border: 1px dotted #69c;
457 }
458 #fiche_identite div.email {
459 clear: left;
460 float: left;
461 }
462 #fiche_identite div.mob {
463 float: right;
464 clear: right;
465 text-align: right;
466 }
467
468 #fiche_identite div.formation {
469 margin: 0em 1em;
470 }
471
472 div.adresse {
473 min-width: 30%;
474 padding: 0px;
475 margin: 0px 2% 2ex 1%;
476 }
477
478 div.adresse div.titre { color: purple; }
479
480 #fiche .medal_frame {
481 float: left;
482 width: 33%;
483 }
484
485 #fiche .medal_frame img {
486 float: left;
487 padding: 0ex 1ex;
488 }
489
490 #fiche .medal_text {
491 vertical-align: middle;
492 font-weight: bold;
493 }
494
495 /* only for fiche_referent.php*/
496
497 #fiche_referent{
498 padding: 10px;
499 width: 100%;
500 }
501
502 #fiche_referent div.rubrique_referent{
503 float: left;
504 width: 31%;
505 padding: 0px;
506 margin: 0px 1% 1ex 1%;
507 }
508
509 #fiche_referent em{color: purple;}
510 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
511 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
512
513 /*******************************************************************************
514 A SKIN
515 [ choix de classes faites par le skinneur
516 *******************************************************************************/
517
518 .phperror {
519 color: red;
520 background: white;
521 margin: 2px auto;
522 padding: 4px 2px;
523 border: 1px solid black;
524 width: 80%;
525 white-space: pre;
526 }
527
528 #dev {
529 width: auto;
530 text-align: center;
531 padding: 1px;
532
533 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
534 font-size: 10pt;
535 font-weight: bold;
536 color: #000;
537 background: #f5f8fc;
538 }
539
540 .backtrace div.hide { display: none; }
541 .backtrace:hover div.hide { display: block }
542 .backtrace h1 { margin: 0px; }
543
544 #suid {
545 color: red;
546 background: #ffc0cb;
547 width: auto;
548 font-weight: bold;
549 text-align: center;
550 }
551 #suid a {
552 color: red;
553 background: inherit;
554 text-decoration: none;
555 display: block;
556 }
557 #suid:hover {
558 color: red;
559 background: #ffffcb;
560 }
561 #suid a:hover {
562 color: #ff7000;
563 background: inherit;
564 }
565
566 table#body {
567 color: #000;
568 background: #fff;
569 border: 3px solid #000;
570
571 width: 900px;
572 margin: 1em auto;
573 }
574
575 #body-logo {
576 text-align: center;
577 padding: 2em 0em 0em 0em;
578 }
579
580 #body-top {
581 text-align: center;
582 font-size: 94%;
583 padding: 2em 2em 0em 2em;
584 padding-bottom: 16px;
585 font-family: Georgia,serif;
586 }
587
588 #body-top table { width: 100%; padding: 4px; }
589 #body-top .date-heure { text-align: left; }
590 #body-top .inscrits { text-align: right; }
591
592 #body-bottom { text-align: center;}
593
594 #body-menu {
595 vertical-align: top;
596 padding: 1em 0em 2em 2em;
597 border: 0px;
598 width: 140px;
599 font-weight: bold;
600 white-space: nowrap;
601 line-height: 100%;
602 }
603
604 #body-menu a {
605 color: #690;
606 background: #fff;
607 border: 1px dotted #fff;
608 display: block;
609 padding: 1px 4px;
610 text-align: left;
611 font-size: 85%;
612 font-family: Bitstream Vera Sans,Verdana,sans-serif;
613 text-decoration: none;
614 }
615
616 #body-menu a:hover {
617 color: #690;
618 background: #eaf2db;
619 border: 1px dotted #690;
620 }
621
622 #body-menu .menu_title {
623 color: #f90;
624 background: #fff;
625 border-top: none;
626 border-bottom: 3px solid #f90;
627 padding: 1px;
628 text-transform: uppercase;
629 text-align: left;
630 margin: 1ex 0ex;
631 }
632
633 #content {
634 width: auto;
635 font-size: 100%;
636 vertical-align: top;
637
638 background: #f5f8fc;
639 border: 1px solid #69c;
640 line-height:125%;
641 padding: 0em 1em 1em 1em;
642 margin: 1em 2em 2em 2em;
643 }
644
645 #content-margin { width: 2em; }
646
647 #content input {
648 font-size: 95%;
649 }
650
651 /* vim: set et ts=4 sts=4 sw=4: */