Happy New Year!
[platal.git] / htdocs / css / openweb.css
1 /***************************************************************************
2 * Copyright (C) 2003-2009 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 /*******************************************************************************
219 4 Tableau de choix de skins
220 [ Styles pour les tableaux de types de ceux des skins ]
221 *******************************************************************************/
222
223 #skin {
224 border-bottom: 1px solid #a2c2e1;
225 border-top: 1px solid #a2c2e1;
226 width: 98%;
227 margin-left: 1%;
228 }
229 #skin td {
230 border-top: 1px solid #a2c2e1;
231 border-bottom: 1px solid #a2c2e1;
232 }
233 #skin td.skigauche {
234 background: #d6e1ec;
235 color: inherit;
236 }
237 #skin td.skimilieu {
238 padding-left: 1em;
239 width: 100%;
240 }
241 #skin td.skidroite { padding: 0; }
242
243 /*******************************************************************************
244 5 Contacts
245 [ Styles liés à l'affichage de contacts ]
246 *******************************************************************************/
247
248 div.contact-list {
249 width: 98%;
250 margin-left: 1%;
251 border: 1px dotted #a2c2e1;
252 }
253
254 div.contact-list div.contact {
255 width: 100%;
256 text-align: left;
257 background: #ffecce;
258 border-top: 1px dotted black;
259 color: inherit;
260 }
261
262 div.contact-list div.grayed {
263 color: #444444;
264 background: #eee;
265 font-style: italic;
266 }
267
268 div.contact div.photo {
269 float: left;
270 }
271
272 div.contact div.photo img {
273 width: 60px;
274 margin-right: 4px;
275 }
276
277 div.contact div.identity {
278 float: left;
279 width: 85%;
280 }
281
282 div.contact div.nom {
283 font-weight: bold;
284 }
285
286 div.contact div.bits {
287 text-align: right;
288 float: right;
289 width: 14%;
290 }
291
292 div.contact div.long {
293 width: 100%;
294 clear: both;
295 background: #fff;
296 color: inherit;
297 padding: 1px 0px;
298 }
299
300
301 div.long table { width: 100%; }
302 div.long td.lt { width: 35%; padding-left: 4px; }
303 div.long td.rt { width: 65%; }
304
305 /*******************************************************************************
306 6 Profil
307 [ onglets des profils ]
308 *******************************************************************************/
309
310 .wizard {
311 margin-left: -1em;
312 margin-right: -1em;
313 }
314
315 .wizard .wiz_header {
316 height: 32px;
317 width: 100%;
318 background: url('../images/skins/wiz_normal.png') top right repeat-x;
319 margin-bottom: 1em;
320 }
321
322 .wizard .wiz_header .wiz_tab {
323 background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
324 height: 100%;
325 text-align: center;
326 font-size: 75%;
327 border-right: 1px solid #888;
328 }
329
330 .wizard .wiz_header .wiz_tab:hover {
331 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
332 color: #fff;
333 }
334
335 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
336 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
337 color: #fff;
338 }
339
340 .wizard .wiz_header a {
341 color: #000;
342 text-decoration: none;
343 }
344
345 .wizard .wiz_header a.active {
346 color: #fff;
347 }
348
349 .wizard .wiz_content {
350 margin-left: 1em;
351 margin-right: 1em;
352 }
353
354 .flags .texte {
355 font-size: smaller;
356 font-weight: bold;
357 margin-left: -6px;
358 padding: 0 12px 0 0;
359 }
360 .flags img {
361 padding: 0 6px 0 0;
362 }
363
364 /*******************************************************************************
365 7 fiche.php & fiche_referent.php
366 [ cas de la fiche ]
367 *******************************************************************************/
368
369 em.intitule {
370 color: purple;
371 font-size: 90%;
372 }
373
374 div#body {
375 color: #000;
376 background: #fff;
377 border: 3px solid #000;
378
379 width: 800px;
380 margin: 7px;
381 }
382
383 #fiche {
384 width: 760px;
385 font-size: 100%;
386 vertical-align: top;
387
388 background: #f5f8fc;
389 border: 1px solid #69c;
390 margin: 20px;
391 }
392
393 #fiche em { color: purple; }
394
395 #fiche .part {
396 float: left;
397 clear: left;
398 width: 70%;
399 padding: 0em;
400 margin: 0em;
401 }
402
403 #fiche #photo {
404 float: right;
405 padding-left: 0;
406 padding; 0;
407 margin: 0;
408 clear: right;
409 width: 30%;
410 }
411
412 #fiche #photo img {
413 width: 100%;
414 }
415
416 #fiche_identite {
417 padding: 5px;
418 }
419
420 #photo {
421 vertical-align: top;
422 padding-left: 1em;
423 }
424
425 #fiche_identite div.civilite {
426 text-align: center;
427 font-weight: bold;
428 width: 80%;
429 float: left;
430 }
431
432 #fiche_identite div.maj {
433 float: left;
434 width: 20%;
435 font-size: 80%;
436 text-align: right;
437 clear: right;
438 }
439
440 #fiche_identite div.contact {
441 clear: both;
442 margin: 1em;
443 padding: 1ex;
444 background: #fff;
445 border: 1px dotted #69c;
446 }
447 #fiche_identite div.email {
448 clear: left;
449 float: left;
450 }
451 #fiche_identite div.mob {
452 float: right;
453 clear: right;
454 text-align: right;
455 }
456
457 #fiche_identite div.formation {
458 margin: 0em 1em;
459 }
460
461 div.adresse {
462 min-width: 30%;
463 padding: 0px;
464 margin: 0px 2% 2ex 1%;
465 }
466
467 div.adresse div.titre { color: purple; }
468
469 #fiche .medal_frame {
470 float: left;
471 width: 33%;
472 }
473
474 #fiche .medal_frame img {
475 float: left:
476 padding: 0ex 1ex;
477 }
478
479 #fiche .medal_text {
480 vertical-align: middle;
481 font-weight: bold;
482 }
483
484 /* only for fiche_referent.php*/
485
486 #fiche_referent{
487 padding: 10px;
488 width: 100%;
489 }
490
491 #fiche_referent div.rubrique_referent{
492 float: left;
493 width: 31%;
494 padding: 0px;
495 margin: 0px 1% 1ex 1%;
496 }
497
498 #fiche_referent em{color: purple;}
499 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
500 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
501
502 /*******************************************************************************
503 A SKIN
504 [ choix de classes faites par le skinneur
505 *******************************************************************************/
506
507 .phperror {
508 color: red;
509 background: white;
510 margin: 2px auto;
511 padding: 4px 2px;
512 border: 1px solid black;
513 width: 80%;
514 white-space: pre;
515 }
516
517 #dev {
518 width: auto;
519 text-align: center;
520 padding: 1px;
521
522 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
523 font-size: 10pt;
524 font-weight: bold;
525 color: #000;
526 background: #f5f8fc;
527 }
528
529 .backtrace div.hide { display: none; }
530 .backtrace:hover div.hide { display: block }
531 .backtrace h1 { margin: 0px; }
532
533 #suid {
534 color: red;
535 background: #ffc0cb;
536 width: auto;
537 font-weight: bold;
538 text-align: center;
539 }
540 #suid a {
541 color: red;
542 background: inherit;
543 text-decoration: none;
544 display: block;
545 }
546 #suid:hover {
547 color: red;
548 background: #ffffcb;
549 }
550 #suid a:hover {
551 color: #ff7000;
552 background: inherit;
553 }
554
555 table#body {
556 color: #000;
557 background: #fff;
558 border: 3px solid #000;
559
560 width: 900px;
561 margin: 1em auto;
562 }
563
564 #body-logo {
565 text-align: center;
566 padding: 2em 0em 0em 0em;
567 }
568
569 #body-top {
570 text-align: center;
571 font-size: 94%;
572 padding: 2em 2em 0em 2em;
573 padding-bottom: 16px;
574 font-family: Georgia,serif;
575 }
576
577 #body-top table { width: 100%; padding: 4px; }
578 #body-top .date-heure { text-align: left; }
579 #body-top .inscrits { text-align: right; }
580
581 #body-bottom { text-align: center;}
582
583 #body-menu {
584 vertical-align: top;
585 padding: 1em 0em 2em 2em;
586 border: 0px;
587 width: 140px;
588 font-weight: bold;
589 white-space: nowrap;
590 line-height: 100%;
591 }
592
593 #body-menu a {
594 color: #690;
595 background: #fff;
596 border: 1px dotted #fff;
597 display: block;
598 padding: 1px 4px;
599 text-align: left;
600 font-size: 85%;
601 font-family: Bitstream Vera Sans,Verdana,sans-serif;
602 text-decoration: none;
603 }
604
605 #body-menu a:hover {
606 color: #690;
607 background: #eaf2db;
608 border: 1px dotted #690;
609 }
610
611 #body-menu .menu_title {
612 color: #f90;
613 background: #fff;
614 border-top: none;
615 border-bottom: 3px solid #f90;
616 padding: 1px;
617 text-transform: uppercase;
618 text-align: left;
619 margin: 1ex 0ex;
620 }
621
622 #content {
623 width: auto;
624 font-size: 100%;
625 vertical-align: top;
626
627 background: #f5f8fc;
628 border: 1px solid #69c;
629 line-height:125%;
630 padding: 0em 1em 1em 1em;
631 margin: 1em 2em 2em 2em;
632 }
633
634 #content-margin { width: 2em; }
635
636 #content input {
637 font-size: 95%;
638 }
639
640 /* vim: set et ts=4 sts=4 sw=4: */