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