Fix some layout issues
[platal.git] / htdocs / css / keynote.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 font-family: "Arial", sans-serif;
28 font-size: 90%;
29 background: url('../images/skins/keynote_bg.png') #4f4e63 top left repeat-x fixed;
30 color: #fff;
31 }
32
33 a:link, a:visited, a:active, a:hover {
34 color: #ddd;
35 background: inherit;
36 }
37 a:hover { color: #999; }
38
39 img { vertical-align: middle; }
40 a img { border: 0px; }
41 td { vertical-align: top; }
42 li { padding-left: 3px; padding-right: 3px;
43 text-align: justify; }
44 hr { text-align: center; }
45
46 fieldset {
47 border-top: 1px solid #fff;
48 border-left: 1px solid #fff;
49 background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
50 color: #000;
51 margin: 1em 0 1em 0;
52 }
53 legend {
54 border: 1px solid #fff;
55 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed;
56 color: #000;
57
58 padding-left: 4px;
59 padding-right: 4px;
60 }
61
62 .center { text-align: center; }
63 .right { text-align: right; }
64 .middle { vertical-align: middle; }
65 .smaller { font-size: smaller; font-style: italic; }
66 .spacer { clear: both; }
67
68 .float2 { float: left; width: 49%; }
69 .float3 { float: left; width: 33%; }
70
71 /*******************************************************************************
72 2 Styles <p>, <div>, <span>, <li>
73 [ styles classiques d'effets de texte ]
74 *******************************************************************************/
75
76 p {
77 margin-bottom: 0.4em;
78 text-align: justify;
79 }
80
81 .erreur {
82 font-weight: bold;
83 color: #d00;
84 background: inherit;
85 margin-top: 0.5em;
86 margin-bottom: 0.5em;
87 }
88
89 .erreur a:link, .erreur a:visited, .erreur a:active, .erreur a:hover {
90 color: #ff3333;
91 background: inherit;
92 }
93
94 h1 {
95 background: url('../images/skins/keynote_titlepuce2.gif') top left no-repeat;
96 background-color: inherit;
97 margin: 0.5em 0 0.5em 0;
98 text-indent: 0.2em;
99 padding: 6px 0 0 24px;
100
101 font-size: 120%;
102 font-family: "helvetica", sans-serif;
103 font-weight: bolder;
104 text-align: left;
105
106 color: #bbf;
107 }
108
109 h2 {
110 padding: 0.5em 0em 0em 0em;
111 margin: 0;
112 font-size: 100%;
113 font-weight: bold;
114 background: inherit;
115 color: #77c;
116 }
117
118 h3 {
119 margin: 0em;
120 font-weight: bold;
121 padding: 0.25em;
122 font-size: 100%;
123 }
124
125 p.explication, div.explication {
126 font-style: italic;
127 padding: 0em 1ex 1ex 1ex;
128 }
129
130 li.spaced {
131 padding-top: 0.2em;
132 padding-bottom: 0.3em;
133 text-align: justify;
134 }
135
136 /*******************************************************************************
137 3 Tableaux bicolores + classes utiles
138 [ Tableaux à lignes alternées, en taille normale, ou tiny ]
139 *******************************************************************************/
140 table.bicol, table.tinybicol {
141 color: inherit;
142 background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
143 border-width: 1px 0 0 1px;
144 border-style: solid;
145 border-color: #fff;
146 border-collapse: collapse;
147 }
148 table.bicol { width: 98%; margin-left: 1%; }
149 table.tinybicol { width: 70%; margin-left: 15%; }
150
151 table.tinybicol tr.pair, table.bicol tr.pair {
152 color: inherit;
153 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
154 }
155
156 table.tinybicol th, table.bicol th {
157 color: #fff;
158 font-weight: bold;
159 text-align: center;
160 vertical-align: middle;
161 background: url('../images/skins/keynote_title.gif') #000 top left repeat-x;
162 }
163 table.tinybicol td, table.bicol td {
164 color: #000000;
165 background: inherit;
166 }
167
168 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
169
170 td.half { width: 50%; padding: 4px; }
171 td.titre {
172 color: #000000;
173 background: inherit;
174 font-weight: bold;
175 }
176 td.action {
177 white-space: nowrap;
178 text-align: right;
179 font-weight: bold;
180 vertical-align: middle;
181 }
182 td.action a { padding: 0px 2px 0px 2px; }
183
184 /*******************************************************************************
185 4 Tableau de choix de skins
186 [ Styles pour les tableaux de types de ceux des skins ]
187 *******************************************************************************/
188
189 #skin {
190 background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
191 color: #000;
192 border-top: 1px solid #fff;
193 width: 98%;
194 margin-left: 1%;
195 }
196 #skin td {
197 border-bottom: 1px solid #fff;
198 vertical-align: middle;
199 }
200 #skin td.skigauche {
201 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
202 color: inherit;
203 vertical-align: middle;
204 }
205 #skin td.skimilieu {
206 padding-left: 1em;
207 width: 100%;
208 }
209 #skin td.skidroite { padding: 0; }
210
211 /*******************************************************************************
212 5 Contacts
213 [ Styles liés à l'affichage de contacts ]
214 *******************************************************************************/
215
216 div.contact-list {
217 width: 98%;
218 margin-left: 1%;
219 }
220 div.contact-list div.contact {
221 border-top: 1px solid #fff;
222 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
223 color: #000;
224 }
225
226 div.grayed {
227 font-style: italic;
228 }
229 div.grayed div.contact {
230 color: #444;
231 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
232 }
233
234 div.contact div.nom {
235 font-weight: bold;
236 width: 35%;
237 float: left;
238 padding-left: 2px;
239 }
240
241 div.contact div.appli {
242 float: left;
243 }
244
245 div.contact div.bits {
246 text-align: right;
247 float: right;
248 }
249
250 div.contact div.long {
251 background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
252 width: 100%;
253 clear: both;
254 color: inherit;
255 padding: 1px 0px;
256 }
257
258 div.long table { width: 100%; }
259 div.long td.lt { width: 35%; }
260 div.long td.rt { width: 65%; }
261
262 /*******************************************************************************
263 6 Profil
264 [ onglets des profils ]
265 *******************************************************************************/
266
267 table.flags, tr.flags {
268 margin: 0.5em 0 0 0;
269 padding: 0;
270 }
271 table.flags input { margin: 0px 2px; padding: 0px; }
272
273 table.flags td.texte, tr.flags td.texte {
274 font-size: smaller;
275 font-weight: bold;
276 padding: 0 8px 0 0;
277 }
278 table.flags td.vert, tr.flags td.vert {
279 background: url('../images/icons/flag_green.gif') top right no-repeat;
280 padding: 0 16px 0 0;
281 }
282 table.flags td.orange, tr.flags td.orange {
283 background: url('../images/icons/flag_orange.gif') top right no-repeat;
284 padding: 0 16px 0 0;
285 }
286 table.flags td.rouge, tr.flags td.rouge {
287 background: url('../images/icons/flag_red.gif') top right no-repeat;
288 padding: 0 16px 0 0;
289 }
290
291 table.cadre_a_onglet{
292 border-width: 0;
293 padding : 0;
294 margin: 0;
295 }
296
297 td.conteneur_tab {
298 border: 1px solid #9c9c9c;
299 border-left-color: #eee;
300 padding: 8px 4px 4px 4px;
301 background : url('../images/skins/keynote_topborder.png') top repeat-x;
302 }
303
304 #onglet {
305 display : block;
306 margin : 0;
307 padding : 0;
308 }
309
310 #onglet li {
311 display : block;
312 float : left;
313 padding : 0.4ex;
314 margin : 0 0.3ex -1px 3px;
315 border: 1px solid #9c9c9c;
316 border-right: none;
317 background: #cecece;
318 width: auto;
319 height: 5ex;
320 text-align: center;
321 color: #000;
322 font-size: 80%;
323 }
324
325 #onglet li:hover {
326 color: #000;
327 background : #adadad;
328 }
329
330 #onglet li.actif {
331 color: #000;
332 background : #dedede;
333 border: 1px solid #f0f0f0;
334 border-right: none;
335 border-bottom-color: #dedede;
336 font-weight: bold;
337 }
338
339 #onglet li a {
340 font-weight: normal;
341 text-decoration: none;
342 color: #000;
343 background: inherit;
344 }
345 #onglet li a:hover {
346 text-decoration: underline;
347 }
348 #onglet li img { margin-right: 2px; }
349
350 /*******************************************************************************
351 7 fiche.php & fiche_referent.php
352 [ cas de la fiche ]
353 *******************************************************************************/
354
355 #fiche {
356 width: 740px;
357 color: #000;
358 border-top: 1px solid #fff;
359 border-left: 1px solid #fff;
360 background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
361 vertical-align: top;
362 }
363
364 #fiche em {
365 color: #777;
366 background: inherit;
367 font-weight: bolder;
368 }
369
370 #fiche h2 {
371 background: url('../images/skins/keynote_title.gif') bottom repeat-x;
372 background-color: inherit;
373 border-bottom: 1px solid #202020;
374 color: #fff;
375 height: 17px;
376 margin: 0.5em 0;
377 padding-left: 0.5em;
378 font-weight: bold;
379 }
380
381 #fiche_identite {
382 padding: 5px;
383 width: 600px;
384 }
385
386 #photo { padding-left: 0em; }
387
388 #fiche_identite div.civilite {
389 text-align: center;
390 font-weight: bold;
391 width: 80%;
392 float: left;
393 color: #fff;
394 background: inherit;
395 }
396
397 #fiche_identite div.maj {
398 float: left;
399 width: 20%;
400 font-size: 75%;
401 text-align: right;
402 vertical-align: top;
403 clear: right;
404 }
405
406 #fiche_identite div.contact {
407 clear: both;
408 margin: 1em;
409 padding: 1ex;
410 border-width: 1px 0 0 1px;
411 border-style: dotted;
412 border-color: #fff;
413 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
414 color: inherit;
415 }
416
417 #fiche_identite div.contact em {
418 color: #aaa;
419 background: inherit;
420 }
421
422 #fiche_identite div.email {
423 clear: left;
424 float: left;
425 }
426 #fiche_identite div.mob {
427 float: right;
428 clear: right;
429 text-align: right;
430 }
431
432 #fiche_identite div.formation {
433 margin: 0em 1em;
434 clear: both;
435 }
436
437 div.adresse {
438 float: left;
439 width: 46%;
440 padding: 0px;
441 margin: 0px 1% 1ex 1%;
442 }
443
444 /* only for fiche_referent.php*/
445
446 #fiche_referent{
447 padding: 10px;
448 width: 100%;
449 }
450
451 #fiche_referent div.rubrique_referent{
452 float: left;
453 width: 31%;
454 padding: 0px;
455 margin: 0px 1% 1ex 1%;
456
457 }
458
459 #fiche_referent em {
460 color: #777;
461 background: inherit;
462 font-weight: bolder;
463 }
464 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
465 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
466
467 /*******************************************************************************
468 A SKIN
469 [ choix de classes faites par le skinneur
470 *******************************************************************************/
471
472 #dev {
473 width: auto;
474 text-align: center;
475 padding: 1px;
476
477 background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed;
478
479 color: #000;
480 font-weight: bold;
481 }
482
483 #dev a { text-decoration: none; }
484
485 #db-trace div.hide { display: none; }
486 #db-trace:hover div.hide { display: block }
487
488 #suid {
489 color: red;
490 background: #ffc0cb;
491 width: auto;
492 font-weight: bold;
493 }
494 #suid td { padding: 2px; }
495 #suid a { color: red; background: inherit; }
496
497 #body {
498 width: 740px;
499 margin-left: auto;
500 margin-right: auto;
501 }
502
503 #body-logo {
504 width: 140px;
505 padding-top: 0;
506 text-align: center;
507 }
508
509 #body-top {
510 padding: 0 0 16px 0;
511 text-align: center;
512 font-size: 85%;
513 border-bottom: 1px solid #fff;
514 }
515 #body-top table { width: 100%; padding: 4px; }
516 #body-top .date-heure { text-align: left; }
517 #body-top .inscrits { text-align: right; }
518
519
520 #body-bottom {
521 border-top: 1px solid #fff;
522 text-align: center;
523 padding: 4px;
524 font-size: 75%;
525 font-family: "MS Sans Serif", sans-serif;
526 }
527
528 #body-menu {
529 width: 140px;
530 text-align: center;
531 font-size: 78%;
532 font-weight: bold;
533 white-space: nowrap;
534 border-right: 1px solid #fff;
535 }
536
537 #body-menu .menu_item {
538 text-align: left;
539 padding: 2px;
540 }
541
542 #body-menu a:link, #body-menu a:visited, #body-menu a:active, #body-meny a:hover {
543 color: #fff;
544 background: inherit;
545 text-decoration: none;
546 }
547
548 #body-menu .menu_item:hover {
549 color: inherit;
550 background-color: #556;
551 }
552
553 #body-menu .menu_title {
554 color: #fff;
555 height: 17px;
556 background: url('../images/skins/keynote_title.gif') bottom repeat-x;
557 background-color: inherit;
558 border-bottom: 1px solid #202020;
559 padding: 4px 0 0 0;
560 text-align: center;
561 vertical-align: bottom;
562 }
563
564 #content {
565 width: 600px;
566 padding: 0 0 4px 16px;
567 vertical-align: top;
568 font-size: 95%;
569 }
570
571 #quick_search {
572 color: gray;
573 background: #fff;
574 text-align: right;
575 }
576
577 div#content {
578 padding: 1em;
579 margin: 0em;
580 }
581
582 #content input {
583 font-size: 95%;
584 }
585
586 /* vim: set et ts=4 sts=4 sw=4: */