f0b689bd8f2e43d91f2f9d542075a8c51b1013ef
[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, tr.flags td.vert {
283 background: green;
284 padding: 3px;
285 text-align: center;
286 }
287 table.flags td.orange, tr.flags td.orange {
288 background: #ff9900;
289 padding: 3px;
290 text-align: center;
291 }
292 table.flags td.rouge, tr.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 {
378 vertical-align: top;
379 padding-left: 1em;
380 }
381
382 #fiche_identite div.civilite {
383 text-align: center;
384 font-weight: bold;
385 width: 80%;
386 float: left;
387 }
388
389 #fiche_identite div.maj {
390 float: left;
391 width: 20%;
392 font-size: 80%;
393 text-align: right;
394 clear: right;
395 }
396
397 #fiche_identite div.contact {
398 clear: both;
399 margin: 1em;
400 padding: 1ex;
401 background: #fff;
402 border: 1px dotted #69c;
403 }
404 #fiche_identite div.email {
405 clear: left;
406 float: left;
407 }
408 #fiche_identite div.mob {
409 float: right;
410 clear: right;
411 text-align: right;
412 }
413
414 #fiche_identite div.formation {
415 margin: 0em 1em;
416 }
417
418 div.adresse {
419 float: left;
420 width: 48%;
421 padding: 0px;
422 margin: 0px 1% 1ex 1%;
423 }
424
425 div.adresse div.titre { color: purple; }
426
427 /* only for fiche_referent.php*/
428
429 #fiche_referent{
430 padding: 10px;
431 width: 100%;
432 }
433
434 #fiche_referent div.rubrique_referent{
435 float: left;
436 width: 31%;
437 padding: 0px;
438 margin: 0px 1% 1ex 1%;
439 }
440
441 #fiche_referent em{color: purple;}
442 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
443 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
444
445 /*******************************************************************************
446 A SKIN
447 [ choix de classes faites par le skinneur
448 *******************************************************************************/
449
450 .phperror {
451 color: red;
452 background: white;
453 margin: 2px auto;
454 padding: 4px 2px;
455 border: 1px solid black;
456 width: 80%;
457 }
458
459 #dev {
460 width: auto;
461 text-align: center;
462 padding: 1px;
463
464 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
465 font-size: 10pt;
466 font-weight: bold;
467 color: #000;
468 background: #f5f8fc;
469 }
470
471 #db-trace div.hide { display: none; }
472 #db-trace:hover div.hide { display: block }
473 #db-trace h1 { margin: 0px; }
474
475 #suid {
476 color: red;
477 background: #ffc0cb;
478 width: 100%;
479 font-weight: bold;
480 }
481 #suid td { padding: 2px; }
482 #suid a { color: red; }
483
484 table#body {
485 color: #000;
486 background: #fff;
487 border: 3px solid #000;
488
489 width: 900px;
490 margin: 1em auto;
491 }
492
493 #body-logo {
494 text-align: center;
495 padding: 2em 0em 0em 0em;
496 }
497
498 #body-top {
499 text-align: center;
500 font-size: 94%;
501 padding: 2em 2em 0em 2em;
502 padding-bottom: 16px;
503 font-family: Georgia,serif;
504 }
505
506 #body-top table { width: 100%; padding: 4px; }
507 #body-top .date-heure { text-align: left; }
508 #body-top .inscrits { text-align: right; }
509
510 #body-bottom { text-align: center;}
511
512 #body-menu {
513 vertical-align: top;
514 padding: 1em 0em 2em 2em;
515 border: 0px;
516 width: 140px;
517 font-weight: bold;
518 white-space: nowrap;
519 line-height: 100%;
520 }
521
522 #body-menu a {
523 color: #690;
524 background: #fff;
525 border: 1px dotted #fff;
526 display: block;
527 padding: 1px 4px;
528 text-align: left;
529 font-size: 85%;
530 font-family: Bitstream Vera Sans,Verdana,sans-serif;
531 text-decoration: none;
532 }
533
534 #body-menu a:hover {
535 color: #690;
536 background: #eaf2db;
537 border: 1px dotted #690;
538 }
539
540 #body-menu .menu_title {
541 color: #f90;
542 background: #fff;
543 border-top: none;
544 border-bottom: 3px solid #f90;
545 padding: 1px;
546 text-transform: uppercase;
547 text-align: left;
548 margin: 1ex 0ex;
549 }
550
551 #content {
552 width: auto;
553 font-size: 100%;
554 vertical-align: top;
555
556 background: #f5f8fc;
557 border: 1px solid #69c;
558 line-height:125%;
559 padding: 0em 1em 1em 1em;
560 margin: 1em 2em 2em 2em;
561 }
562
563 #content-margin { width: 2em; }
564
565 #content input {
566 font-size: 95%;
567 }
568
569 /* vim: set et ts=4 sts=4 sw=4: */