Because CSS sucks, I've been forced to hard code the flags for
[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%;
d3dbea90 292 background: url('../images/skins/wiz_normal.png') top right repeat-x;
16ace403 293 margin-bottom: 1em;
0337d704 294}
16ace403
FB
295
296.wizard .wiz_header .wiz_tab {
d3dbea90 297 background; url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
16ace403 298 height: 100%;
0337d704 299 text-align: center;
16ace403
FB
300 font-size: 75%;
301 border-right: 1px solid #888;
0337d704 302}
16ace403 303
58faadd0
FB
304.wizard .wiz_header .wiz_tab:hover {
305 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
16ace403 306 color: #fff;
0337d704 307}
16ace403 308
3be64a15 309.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
58faadd0 310 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
d3dbea90 311 color: #fff;
16ace403
FB
312}
313
908db125 314.wizard .wiz_header a {
16ace403
FB
315 color: #000;
316 text-decoration: none;
16ace403
FB
317}
318
908db125 319.wizard .wiz_header a.active {
16ace403
FB
320 color: #fff;
321}
322
323.wizard .wiz_content {
324 margin-left: 1em;
325 margin-right: 1em;
326}
327
16ace403
FB
328.flags .texte {
329 font-size: smaller;
330 font-weight: bold;
ee12da4e
FB
331 margin-left: -6px;
332 padding: 0 12px 0 0;
16ace403 333}
ee12da4e
FB
334.flags img {
335 padding: 0 6px 0 0;
0337d704 336}
337
338table.cadre_a_onglet{
339 border-width: 0px;
340 padding : 0px;
341 margin: 0px;
342}
343
344td.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
386em.intitule {
387 color: purple;
388 font-size: 90%;
389}
390
391div#body {
392 color: #000;
393 background: #fff;
394 border: 3px solid #000;
521e11b4 395
0337d704 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
16f20f22 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
0337d704 433#fiche_identite {
434 padding: 5px;
0337d704 435}
436
1b8da1f4 437#photo {
438 vertical-align: top;
439 padding-left: 1em;
440}
0337d704 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
478div.adresse {
16f20f22 479 min-width: 30%;
0337d704 480 padding: 0px;
16f20f22 481 margin: 0px 2% 2ex 1%;
0337d704 482}
483
484div.adresse div.titre { color: purple; }
485
16f20f22 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
0337d704 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
6995a9b9 524.phperror {
525 color: red;
526 background: white;
527 margin: 2px auto;
528 padding: 4px 2px;
529 border: 1px solid black;
530 width: 80%;
82cfeae5 531 white-space: pre;
6995a9b9 532}
533
0337d704 534#dev {
e3476bd4 535 width: auto;
0337d704 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
9b2e77de 546.backtrace div.hide { display: none; }
547.backtrace:hover div.hide { display: block }
548.backtrace h1 { margin: 0px; }
0337d704 549
787bb3d7
FB
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}
0337d704 571
572table#body {
573 color: #000;
574 background: #fff;
575 border: 3px solid #000;
787bb3d7 576
0337d704 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 {
521e11b4 601 vertical-align: top;
0337d704 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: */