Fix deco javascript: current grade was not properly selected
[platal.git] / htdocs / css / openweb.css
CommitLineData
0337d704 1/***************************************************************************
5ddeb07c 2 * Copyright (C) 2003-2007 Polytechnique.org *
0337d704 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
26body {
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
35a:link, a:visited { color: #f60; background: transparent; }
36a:active, a:hover { color: #369; background: transparent; }
37
521e11b4 38img { vertical-align: middle; }
0337d704 39a img { border: 0px; }
0337d704 40li { padding: 0em 1em; text-align: justify; }
41hr { width: 90%; margin: 1em 5%; border: 1px dotted #369; border-bottom: none; }
42
43fieldset {
44 border: 1px dotted #69c;
45 background: #fff;
46 color: inherit;
47
48 margin: 1em 0em;
49 padding: 1em;
50}
51
52legend {
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; }
0337d704 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
73p {
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
7f4a724e
FB
92input.error, textarea.error {
93 background-color: #faa;
94}
95
96input.valid, textarea.valid {
97 background-color: #afa;
98}
99
100input.warning, textarea.warning {
101 background-color: #fda;
102}
103
0337d704 104h1 {
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
114h2 {
115 color: #369;
b4ff142e 116 font-size: 115%;
0337d704 117 padding: 0px 4px;
b4ff142e 118 margin: 1em 0em 0.5em 0em;
0337d704 119 font-weight: bold;
120 border-bottom: 1px dotted #369;
121}
122
123h3 {
124 margin: 0em;
125 font-weight: bold;
126 padding: 0.5em 0em;
127 font-size: 100%;
128}
129
130
131p.explication, div.explication {
132 font-style: italic;
133 padding: 0em 1ex 1ex 1ex;
134}
135
136li.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
147table.bicol {
148 border-collapse: collapse;
149 color: inherit;
150 background: #fff;
151 border: 1px solid #a2c2e1;
152 width: 98%;
153 margin-left: 1%;
154}
155table.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
164table.tinybicol tr.impair, table.bicol tr.impair {}
165table.tinybicol tr.pair, table.bicol tr.pair {
166 color: inherit;
167 background: #eee;
168}
169
170table.tinybicol th, table.bicol th {
171 color: #369;
172 background: #d6e1ec;
173 font-weight: bold;
174 text-align: center;
0337d704 175 padding: 0px 4px;
176}
177table.tinybicol td, table.bicol td {
178 color: #000000;
179 background: inherit;
180 padding: 0px 4px;
181}
182
183td.half { width: 50%; padding: 4px; }
184
185td.titre {
186 color: #000000;
187 background: inherit;
188 font-weight: bold;
189}
190td.action {
191 white-space: nowrap;
192 text-align: right;
193 font-weight: bold;
0337d704 194}
195td.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;
0337d704 211}
212#skin td.skigauche {
213 background: #d6e1ec;
214 color: inherit;
0337d704 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
227div.contact-list {
228 width: 98%;
229 margin-left: 1%;
230 border: 1px dotted #a2c2e1;
231}
232
233div.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
241div.grayed {
242 color: #444444;
243 font-style: italic;
244}
245
246div.grayed div.contact {
247 background: #eee;
248}
249
250div.contact div.nom {
251 font-weight: bold;
252 width: 35%;
253 float: left;
254 padding-left: 2px;
255}
256
257div.contact div.appli {
258 float: left;
259}
260
261div.contact div.bits {
262 text-align: right;
263 float: right;
264}
265
266div.contact div.long {
267 width: 100%;
268 clear: both;
269 background: #fff;
270 color: inherit;
271 padding: 1px 0px;
272}
273
274
275div.long table { width: 100%; }
276div.long td.lt { width: 35%; padding-left: 4px; }
277div.long td.rt { width: 65%; }
278
279/*******************************************************************************
280 6 Profil
281 [ onglets des profils ]
282*******************************************************************************/
787bb3d7 283
16ace403
FB
284.wizard {
285 margin-left: -1em;
286 margin-right: -1em;
0337d704 287}
0337d704 288
16ace403
FB
289.wizard .wiz_header {
290 height: 32px;
291 width: 100%;
292 background-color: #aaa;
293 margin-bottom: 1em;
0337d704 294}
16ace403
FB
295
296.wizard .wiz_header .wiz_tab {
297 background-color: #aaa;
298 vertical-align: middle;
299 height: 100%;
0337d704 300 text-align: center;
16ace403
FB
301 font-size: 75%;
302 border-right: 1px solid #888;
0337d704 303}
16ace403
FB
304
305.wizard .wiz_header .active {
306 background-color: #444;
307 color: #fff;
0337d704 308}
16ace403
FB
309
310.wizard .wiz_header .wiz_tab:hover {
311 background-color: #777;
312}
313
908db125 314.wizard .wiz_header a {
16ace403
FB
315 color: #000;
316 text-decoration: none;
317 vertical-align: middle;
318}
319
908db125 320.wizard .wiz_header a.active {
16ace403
FB
321 color: #fff;
322}
323
324.wizard .wiz_content {
325 margin-left: 1em;
326 margin-right: 1em;
327}
328
329.flags {
330 margin: 0.5em 0 0 0;
331 padding: 0;
332}
333.flags input {
334 margin: 0px 2px;
335 padding: 0px;
336}
337.flags .texte {
338 font-size: smaller;
339 font-weight: bold;
340 padding: 0 8px 0 0;
341}
342.flags .vert {
343 background: url('../images/icons/flag_green.gif') top right no-repeat;
344 padding: 0 16px 0 0;
345 margin-left: 16px;
346}
347.flags .orange {
348 background: url('../images/icons/flag_orange.gif') top right no-repeat;
349 padding: 0 16px 0 0;
350 margin-left: 16px;
351}
352.flags .rouge {
353 background: url('../images/icons/flag_red.gif') top right no-repeat;
354 padding: 0 16px 0 0;
355 margin-left: 16px;
0337d704 356}
357
358table.cadre_a_onglet{
359 border-width: 0px;
360 padding : 0px;
361 margin: 0px;
362}
363
364td.conteneur_tab {
365 border-width : 1px 2px 2px 1px;
366 border-style : solid;
367 border-color : #999;
368 padding : 4px 0px 0px 4px;
369 background : #fff;
370}
371
372#onglet { display : block; margin : 0px; padding : 0px; }
373
374#onglet li {
375 display : block;
376 float : left;
377 padding : 0.5ex;
378 margin : 0px 4px -1px 0px;
379 background : #d2e0e6;
380 width: auto;
381 height: 6ex;
382 text-align: center;
383 border: 1px solid #999;
384}
385
386#onglet li:hover { background : #ffecce; }
387
388#onglet li.actif {
389 background : #fff;
390 font-weight: bold;
391 border-bottom: 1px solid #fff;
392}
393
394#onglet li a {
395 font-size: 90%;
396 font-weight : normal;
397 text-decoration : none;
398 color : #000;
399}
400
401/*******************************************************************************
402 7 fiche.php & fiche_referent.php
403 [ cas de la fiche ]
404*******************************************************************************/
405
406em.intitule {
407 color: purple;
408 font-size: 90%;
409}
410
411div#body {
412 color: #000;
413 background: #fff;
414 border: 3px solid #000;
521e11b4 415
0337d704 416 width: 800px;
417 margin: 7px;
418}
419
420#fiche {
421 width: 760px;
422 font-size: 100%;
423 vertical-align: top;
424
425 background: #f5f8fc;
426 border: 1px solid #69c;
427 margin: 20px;
428}
429
430#fiche em { color: purple; }
431
16f20f22 432#fiche .part {
433 float: left;
434 clear: left;
435 width: 70%;
436 padding: 0em;
437 margin: 0em;
438}
439
440#fiche #photo {
441 float: right;
442 padding-left: 0;
443 padding; 0;
444 margin: 0;
445 clear: right;
446 width: 30%;
447}
448
449#fiche #photo img {
450 width: 100%;
451}
452
0337d704 453#fiche_identite {
454 padding: 5px;
0337d704 455}
456
1b8da1f4 457#photo {
458 vertical-align: top;
459 padding-left: 1em;
460}
0337d704 461
462#fiche_identite div.civilite {
463 text-align: center;
464 font-weight: bold;
465 width: 80%;
466 float: left;
467}
468
469#fiche_identite div.maj {
470 float: left;
471 width: 20%;
472 font-size: 80%;
473 text-align: right;
474 clear: right;
475}
476
477#fiche_identite div.contact {
478 clear: both;
479 margin: 1em;
480 padding: 1ex;
481 background: #fff;
482 border: 1px dotted #69c;
483}
484#fiche_identite div.email {
485 clear: left;
486 float: left;
487}
488#fiche_identite div.mob {
489 float: right;
490 clear: right;
491 text-align: right;
492}
493
494#fiche_identite div.formation {
495 margin: 0em 1em;
496}
497
498div.adresse {
16f20f22 499 min-width: 30%;
0337d704 500 padding: 0px;
16f20f22 501 margin: 0px 2% 2ex 1%;
0337d704 502}
503
504div.adresse div.titre { color: purple; }
505
16f20f22 506#fiche .medal_frame {
507 float: left;
508 width: 33%;
509}
510
511#fiche .medal_frame img {
512 float: left:
513 padding: 0ex 1ex;
514}
515
516#fiche .medal_text {
517 vertical-align: middle;
518 font-weight: bold;
519}
520
0337d704 521/* only for fiche_referent.php*/
522
523#fiche_referent{
524 padding: 10px;
525 width: 100%;
526}
527
528#fiche_referent div.rubrique_referent{
529 float: left;
530 width: 31%;
531 padding: 0px;
532 margin: 0px 1% 1ex 1%;
533}
534
535#fiche_referent em{color: purple;}
536#fiche_referent ul { margin: 0px; padding: 0px 1em; }
537#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
538
539/*******************************************************************************
540 A SKIN
541 [ choix de classes faites par le skinneur
542*******************************************************************************/
543
6995a9b9 544.phperror {
545 color: red;
546 background: white;
547 margin: 2px auto;
548 padding: 4px 2px;
549 border: 1px solid black;
550 width: 80%;
82cfeae5 551 white-space: pre;
6995a9b9 552}
553
0337d704 554#dev {
e3476bd4 555 width: auto;
0337d704 556 text-align: center;
557 padding: 1px;
558
559 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
560 font-size: 10pt;
561 font-weight: bold;
562 color: #000;
563 background: #f5f8fc;
564}
565
9b2e77de 566.backtrace div.hide { display: none; }
567.backtrace:hover div.hide { display: block }
568.backtrace h1 { margin: 0px; }
0337d704 569
787bb3d7
FB
570#suid {
571 color: red;
572 background: #ffc0cb;
573 width: auto;
574 font-weight: bold;
575 text-align: center;
576}
577#suid a {
578 color: red;
579 background: inherit;
580 text-decoration: none;
581 display: block;
582}
583#suid:hover {
584 color: red;
585 background: #ffffcb;
586}
587#suid a:hover {
588 color: #ff7000;
589 background: inherit;
590}
0337d704 591
592table#body {
593 color: #000;
594 background: #fff;
595 border: 3px solid #000;
787bb3d7 596
0337d704 597 width: 900px;
598 margin: 1em auto;
599}
600
601#body-logo {
602 text-align: center;
603 padding: 2em 0em 0em 0em;
604}
605
606#body-top {
607 text-align: center;
608 font-size: 94%;
609 padding: 2em 2em 0em 2em;
610 padding-bottom: 16px;
611 font-family: Georgia,serif;
612}
613
614#body-top table { width: 100%; padding: 4px; }
615#body-top .date-heure { text-align: left; }
616#body-top .inscrits { text-align: right; }
617
618#body-bottom { text-align: center;}
619
620#body-menu {
521e11b4 621 vertical-align: top;
0337d704 622 padding: 1em 0em 2em 2em;
623 border: 0px;
624 width: 140px;
625 font-weight: bold;
626 white-space: nowrap;
627 line-height: 100%;
628}
629
630#body-menu a {
631 color: #690;
632 background: #fff;
633 border: 1px dotted #fff;
634 display: block;
635 padding: 1px 4px;
636 text-align: left;
637 font-size: 85%;
638 font-family: Bitstream Vera Sans,Verdana,sans-serif;
639 text-decoration: none;
640}
641
642#body-menu a:hover {
643 color: #690;
644 background: #eaf2db;
645 border: 1px dotted #690;
646}
647
648#body-menu .menu_title {
649 color: #f90;
650 background: #fff;
651 border-top: none;
652 border-bottom: 3px solid #f90;
653 padding: 1px;
654 text-transform: uppercase;
655 text-align: left;
656 margin: 1ex 0ex;
657}
658
659#content {
660 width: auto;
661 font-size: 100%;
662 vertical-align: top;
663
664 background: #f5f8fc;
665 border: 1px solid #69c;
666 line-height:125%;
667 padding: 0em 1em 1em 1em;
668 margin: 1em 2em 2em 2em;
669}
670
671#content-margin { width: 2em; }
672
673#content input {
674 font-size: 95%;
675}
676
677/* vim: set et ts=4 sts=4 sw=4: */