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