Merge branch 'master' of /home/git/platal into profile_edit
[platal.git] / htdocs / css / openweb.css
1 /***************************************************************************
2 * Copyright (C) 2003-2007 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 font-size: 115%;
105 padding: 0px 4px;
106 margin: 1em 0em 0.5em 0em;
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 .part {
373 float: left;
374 clear: left;
375 width: 70%;
376 padding: 0em;
377 margin: 0em;
378 }
379
380 #fiche #photo {
381 float: right;
382 padding-left: 0;
383 padding; 0;
384 margin: 0;
385 clear: right;
386 width: 30%;
387 }
388
389 #fiche #photo img {
390 width: 100%;
391 }
392
393 #fiche_identite {
394 padding: 5px;
395 }
396
397 #photo {
398 vertical-align: top;
399 padding-left: 1em;
400 }
401
402 #fiche_identite div.civilite {
403 text-align: center;
404 font-weight: bold;
405 width: 80%;
406 float: left;
407 }
408
409 #fiche_identite div.maj {
410 float: left;
411 width: 20%;
412 font-size: 80%;
413 text-align: right;
414 clear: right;
415 }
416
417 #fiche_identite div.contact {
418 clear: both;
419 margin: 1em;
420 padding: 1ex;
421 background: #fff;
422 border: 1px dotted #69c;
423 }
424 #fiche_identite div.email {
425 clear: left;
426 float: left;
427 }
428 #fiche_identite div.mob {
429 float: right;
430 clear: right;
431 text-align: right;
432 }
433
434 #fiche_identite div.formation {
435 margin: 0em 1em;
436 }
437
438 div.adresse {
439 min-width: 30%;
440 padding: 0px;
441 margin: 0px 2% 2ex 1%;
442 }
443
444 div.adresse div.titre { color: purple; }
445
446 #fiche .medal_frame {
447 float: left;
448 width: 33%;
449 }
450
451 #fiche .medal_frame img {
452 float: left:
453 padding: 0ex 1ex;
454 }
455
456 #fiche .medal_text {
457 vertical-align: middle;
458 font-weight: bold;
459 }
460
461 /* only for fiche_referent.php*/
462
463 #fiche_referent{
464 padding: 10px;
465 width: 100%;
466 }
467
468 #fiche_referent div.rubrique_referent{
469 float: left;
470 width: 31%;
471 padding: 0px;
472 margin: 0px 1% 1ex 1%;
473 }
474
475 #fiche_referent em{color: purple;}
476 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
477 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
478
479 /*******************************************************************************
480 A SKIN
481 [ choix de classes faites par le skinneur
482 *******************************************************************************/
483
484 .phperror {
485 color: red;
486 background: white;
487 margin: 2px auto;
488 padding: 4px 2px;
489 border: 1px solid black;
490 width: 80%;
491 white-space: pre;
492 }
493
494 #dev {
495 width: auto;
496 text-align: center;
497 padding: 1px;
498
499 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
500 font-size: 10pt;
501 font-weight: bold;
502 color: #000;
503 background: #f5f8fc;
504 }
505
506 .backtrace div.hide { display: none; }
507 .backtrace:hover div.hide { display: block }
508 .backtrace h1 { margin: 0px; }
509
510 #suid {
511 color: red;
512 background: #ffc0cb;
513 width: auto;
514 font-weight: bold;
515 text-align: center;
516 }
517 #suid a {
518 color: red;
519 background: inherit;
520 text-decoration: none;
521 display: block;
522 }
523 #suid:hover {
524 color: red;
525 background: #ffffcb;
526 }
527 #suid a:hover {
528 color: #ff7000;
529 background: inherit;
530 }
531
532 table#body {
533 color: #000;
534 background: #fff;
535 border: 3px solid #000;
536
537 width: 900px;
538 margin: 1em auto;
539 }
540
541 #body-logo {
542 text-align: center;
543 padding: 2em 0em 0em 0em;
544 }
545
546 #body-top {
547 text-align: center;
548 font-size: 94%;
549 padding: 2em 2em 0em 2em;
550 padding-bottom: 16px;
551 font-family: Georgia,serif;
552 }
553
554 #body-top table { width: 100%; padding: 4px; }
555 #body-top .date-heure { text-align: left; }
556 #body-top .inscrits { text-align: right; }
557
558 #body-bottom { text-align: center;}
559
560 #body-menu {
561 vertical-align: top;
562 padding: 1em 0em 2em 2em;
563 border: 0px;
564 width: 140px;
565 font-weight: bold;
566 white-space: nowrap;
567 line-height: 100%;
568 }
569
570 #body-menu a {
571 color: #690;
572 background: #fff;
573 border: 1px dotted #fff;
574 display: block;
575 padding: 1px 4px;
576 text-align: left;
577 font-size: 85%;
578 font-family: Bitstream Vera Sans,Verdana,sans-serif;
579 text-decoration: none;
580 }
581
582 #body-menu a:hover {
583 color: #690;
584 background: #eaf2db;
585 border: 1px dotted #690;
586 }
587
588 #body-menu .menu_title {
589 color: #f90;
590 background: #fff;
591 border-top: none;
592 border-bottom: 3px solid #f90;
593 padding: 1px;
594 text-transform: uppercase;
595 text-align: left;
596 margin: 1ex 0ex;
597 }
598
599 #content {
600 width: auto;
601 font-size: 100%;
602 vertical-align: top;
603
604 background: #f5f8fc;
605 border: 1px solid #69c;
606 line-height:125%;
607 padding: 0em 1em 1em 1em;
608 margin: 1em 2em 2em 2em;
609 }
610
611 #content-margin { width: 2em; }
612
613 #content input {
614 font-size: 95%;
615 }
616
617 /* vim: set et ts=4 sts=4 sw=4: */