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