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