356ed423f62111dec58fa85c71e73ca90493da17
[platal.git] / htdocs / css / openweb.css
1 /***************************************************************************
2 * Copyright (C) 2003-2006 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 h1 {
93 color: #369;
94 font-size: 140%;
95 background: #f5f8fc;
96 margin: 0em;
97 border-bottom: 2px solid #369;
98 padding: 4px;
99 margin: 1em 0em;
100 }
101
102 h2 {
103 color: #369;
104 padding: 0px 4px;
105 margin: 0.5em 0em;
106 font-size: 110%;
107 font-weight: bold;
108 border-bottom: 1px dotted #369;
109 }
110
111 h3 {
112 margin: 0em;
113 font-weight: bold;
114 padding: 0.5em 0em;
115 font-size: 100%;
116 }
117
118
119 p.explication, div.explication {
120 font-style: italic;
121 padding: 0em 1ex 1ex 1ex;
122 }
123
124 li.spaced {
125 padding-top: 0.5em;
126 padding-bottom: 0.5em;
127 text-align: justify;
128 }
129
130 /*******************************************************************************
131 3 Tableaux bicolores + classes utiles
132 [ Tableaux à lignes alternées, en taille normale, ou tiny ]
133 *******************************************************************************/
134
135 table.bicol {
136 border-collapse: collapse;
137 color: inherit;
138 background: #fff;
139 border: 1px solid #a2c2e1;
140 width: 98%;
141 margin-left: 1%;
142 }
143 table.tinybicol {
144 border-collapse: collapse;
145 color: inherit;
146 background: #fff;
147 border: 1px solid #a2c2e1;
148 width: 70%;
149 margin-left: 15%;
150 }
151
152 table.tinybicol tr.impair, table.bicol tr.impair {}
153 table.tinybicol tr.pair, table.bicol tr.pair {
154 color: inherit;
155 background: #eee;
156 }
157
158 table.tinybicol th, table.bicol th {
159 color: #369;
160 background: #d6e1ec;
161 font-weight: bold;
162 text-align: center;
163 padding: 0px 4px;
164 }
165 table.tinybicol td, table.bicol td {
166 color: #000000;
167 background: inherit;
168 padding: 0px 4px;
169 }
170
171 td.half { width: 50%; padding: 4px; }
172
173 td.titre {
174 color: #000000;
175 background: inherit;
176 font-weight: bold;
177 }
178 td.action {
179 white-space: nowrap;
180 text-align: right;
181 font-weight: bold;
182 }
183 td.action a { padding: 0px 2px; }
184
185 /*******************************************************************************
186 4 Tableau de choix de skins
187 [ Styles pour les tableaux de types de ceux des skins ]
188 *******************************************************************************/
189
190 #skin {
191 border-bottom: 1px solid #a2c2e1;
192 border-top: 1px solid #a2c2e1;
193 width: 98%;
194 margin-left: 1%;
195 }
196 #skin td {
197 border-top: 1px solid #a2c2e1;
198 border-bottom: 1px solid #a2c2e1;
199 }
200 #skin td.skigauche {
201 background: #d6e1ec;
202 color: inherit;
203 }
204 #skin td.skimilieu {
205 padding-left: 1em;
206 width: 100%;
207 }
208 #skin td.skidroite { padding: 0; }
209
210 /*******************************************************************************
211 5 Contacts
212 [ Styles liés à l'affichage de contacts ]
213 *******************************************************************************/
214
215 div.contact-list {
216 width: 98%;
217 margin-left: 1%;
218 border: 1px dotted #a2c2e1;
219 }
220
221 div.contact-list div.contact {
222 width: 100%;
223 text-align: left;
224 background: #ffecce;
225 border-top: 1px dotted black;
226 color: inherit;
227 }
228
229 div.grayed {
230 color: #444444;
231 font-style: italic;
232 }
233
234 div.grayed div.contact {
235 background: #eee;
236 }
237
238 div.contact div.nom {
239 font-weight: bold;
240 width: 35%;
241 float: left;
242 padding-left: 2px;
243 }
244
245 div.contact div.appli {
246 float: left;
247 }
248
249 div.contact div.bits {
250 text-align: right;
251 float: right;
252 }
253
254 div.contact div.long {
255 width: 100%;
256 clear: both;
257 background: #fff;
258 color: inherit;
259 padding: 1px 0px;
260 }
261
262
263 div.long table { width: 100%; }
264 div.long td.lt { width: 35%; padding-left: 4px; }
265 div.long td.rt { width: 65%; }
266
267 /*******************************************************************************
268 6 Profil
269 [ onglets des profils ]
270 *******************************************************************************/
271
272 table.flags {
273 margin: 1em 0em 0em 0em;
274 }
275 table.flags input { margin: 0px 2px; padding: 0px; }
276
277 table.flags td.texte {
278 font-size: smaller;
279 font-weight: bold;
280 padding: 3px;
281 }
282 table.flags td.vert {
283 background: green;
284 padding: 3px;
285 text-align: center;
286 }
287 table.flags td.orange {
288 background: #ff9900;
289 padding: 3px;
290 text-align: center;
291 }
292 table.flags td.rouge {
293 background: red;
294 padding: 3px;
295 text-align: center;
296 }
297
298 table.cadre_a_onglet{
299 border-width: 0px;
300 padding : 0px;
301 margin: 0px;
302 }
303
304 td.conteneur_tab {
305 border-width : 1px 2px 2px 1px;
306 border-style : solid;
307 border-color : #999;
308 padding : 4px 0px 0px 4px;
309 background : #fff;
310 }
311
312 #onglet { display : block; margin : 0px; padding : 0px; }
313
314 #onglet li {
315 display : block;
316 float : left;
317 padding : 0.5ex;
318 margin : 0px 4px -1px 0px;
319 background : #d2e0e6;
320 width: auto;
321 height: 6ex;
322 text-align: center;
323 border: 1px solid #999;
324 }
325
326 #onglet li:hover { background : #ffecce; }
327
328 #onglet li.actif {
329 background : #fff;
330 font-weight: bold;
331 border-bottom: 1px solid #fff;
332 }
333
334 #onglet li a {
335 font-size: 90%;
336 font-weight : normal;
337 text-decoration : none;
338 color : #000;
339 }
340
341 /*******************************************************************************
342 7 fiche.php & fiche_referent.php
343 [ cas de la fiche ]
344 *******************************************************************************/
345
346 em.intitule {
347 color: purple;
348 font-size: 90%;
349 }
350
351 div#body {
352 color: #000;
353 background: #fff;
354 border: 3px solid #000;
355
356 width: 800px;
357 margin: 7px;
358 }
359
360 #fiche {
361 width: 760px;
362 font-size: 100%;
363 vertical-align: top;
364
365 background: #f5f8fc;
366 border: 1px solid #69c;
367 margin: 20px;
368 }
369
370 #fiche em { color: purple; }
371
372 #fiche_identite {
373 padding: 5px;
374 width: 600px;
375 }
376
377 #photo { padding-left: 1em; }
378
379 #fiche_identite div.civilite {
380 text-align: center;
381 font-weight: bold;
382 width: 80%;
383 float: left;
384 }
385
386 #fiche_identite div.maj {
387 float: left;
388 width: 20%;
389 font-size: 80%;
390 text-align: right;
391 clear: right;
392 }
393
394 #fiche_identite div.contact {
395 clear: both;
396 margin: 1em;
397 padding: 1ex;
398 background: #fff;
399 border: 1px dotted #69c;
400 }
401 #fiche_identite div.email {
402 clear: left;
403 float: left;
404 }
405 #fiche_identite div.mob {
406 float: right;
407 clear: right;
408 text-align: right;
409 }
410
411 #fiche_identite div.formation {
412 margin: 0em 1em;
413 }
414
415 div.adresse {
416 float: left;
417 width: 48%;
418 padding: 0px;
419 margin: 0px 1% 1ex 1%;
420 }
421
422 div.adresse div.titre { color: purple; }
423
424 /* only for fiche_referent.php*/
425
426 #fiche_referent{
427 padding: 10px;
428 width: 100%;
429 }
430
431 #fiche_referent div.rubrique_referent{
432 float: left;
433 width: 31%;
434 padding: 0px;
435 margin: 0px 1% 1ex 1%;
436 }
437
438 #fiche_referent em{color: purple;}
439 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
440 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
441
442 /*******************************************************************************
443 A SKIN
444 [ choix de classes faites par le skinneur
445 *******************************************************************************/
446
447 #dev {
448 width: 100%;
449 text-align: center;
450 padding: 1px;
451
452 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
453 font-size: 10pt;
454 font-weight: bold;
455 color: #000;
456 background: #f5f8fc;
457 }
458
459 #db-trace div.hide { display: none; }
460 #db-trace:hover div.hide { display: block }
461 #db-trace h1 { margin: 0px; }
462
463 #suid {
464 color: red;
465 background: #ffc0cb;
466 width: 100%;
467 font-weight: bold;
468 }
469 #suid td { padding: 2px; }
470 #suid a { color: red; }
471
472 table#body {
473 color: #000;
474 background: #fff;
475 border: 3px solid #000;
476
477 width: 900px;
478 margin: 1em auto;
479 }
480
481 #body-logo {
482 text-align: center;
483 padding: 2em 0em 0em 0em;
484 }
485
486 #body-top {
487 text-align: center;
488 font-size: 94%;
489 padding: 2em 2em 0em 2em;
490 padding-bottom: 16px;
491 font-family: Georgia,serif;
492 }
493
494 #body-top table { width: 100%; padding: 4px; }
495 #body-top .date-heure { text-align: left; }
496 #body-top .inscrits { text-align: right; }
497
498 #body-bottom { text-align: center;}
499
500 #body-menu {
501 vertical-align: top;
502 padding: 1em 0em 2em 2em;
503 border: 0px;
504 width: 140px;
505 font-weight: bold;
506 white-space: nowrap;
507 line-height: 100%;
508 }
509
510 #body-menu a {
511 color: #690;
512 background: #fff;
513 border: 1px dotted #fff;
514 display: block;
515 padding: 1px 4px;
516 text-align: left;
517 font-size: 85%;
518 font-family: Bitstream Vera Sans,Verdana,sans-serif;
519 text-decoration: none;
520 }
521
522 #body-menu a:hover {
523 color: #690;
524 background: #eaf2db;
525 border: 1px dotted #690;
526 }
527
528 #body-menu .menu_title {
529 color: #f90;
530 background: #fff;
531 border-top: none;
532 border-bottom: 3px solid #f90;
533 padding: 1px;
534 text-transform: uppercase;
535 text-align: left;
536 margin: 1ex 0ex;
537 }
538
539 #content {
540 width: auto;
541 font-size: 100%;
542 vertical-align: top;
543
544 background: #f5f8fc;
545 border: 1px solid #69c;
546 line-height:125%;
547 padding: 0em 1em 1em 1em;
548 margin: 1em 2em 2em 2em;
549 }
550
551 #content-margin { width: 2em; }
552
553 #content input {
554 font-size: 95%;
555 }
556
557 /* vim: set et ts=4 sts=4 sw=4: */