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