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