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