1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
|
/**
* Menubar
*/
#menubar {
float: left;
margin: 0 0 10px 1em;
padding: 0;
display: inline;
}
#menubar DL, #menubar DT, #menubar DD {
margin: 0; padding: 0; display: block;
}
#menubar .button {
margin: -2px 2px 2px;
width: auto;
padding: 0;
text-indent: 0;
list-style: none;
text-align: center;
float: right;
}
/* H2 properties copied here */
#menubar DT {
font-weight: bold;
padding: 5px 5px 5px 5px;
font-size: 120%;
text-align: center;
}
#menubar UL,
#menubar FORM,
#menubar P {
font-size: 92%;
margin: 10px 0 10px 5px;
}
#menubar UL {
list-style-type: square;
list-style-position: inside;
padding: 0 0 0 2px;
}
#menubar UL UL {
font-size: 100%;
margin-top: 0;
margin-bottom: 0;
}
#menubar LI.selected A {
font-weight: bold;
}
#menubar LI.selected LI A {
font-weight: normal;
}
#menubar .menuInfoCatByChild {
font-size: 80%;
font-style: italic;
}
#menubar INPUT {
text-indent: 2px;
}
/* quickconnect form */
FORM#quickconnect {
margin: 5px;
padding: 0;
}
FORM#quickconnect FIELDSET {
margin: 0;
padding: 0; /*IE6 requires padding 0*/
}
FORM#quickconnect FIELDSET DIV {
margin: 8px 5px;
padding: 0;
}
#menubar #menuTagCloud {
text-align: center;
margin: 5px 0;
}
#menubar #menuTagCloud SPAN {
white-space: nowrap;
}
/**
* Content
*/
.content {
margin-right: 1em;
margin-bottom: 1em; /* when it's longer than menu bar */
}
BODY#theCommentsPage .content,
BODY#theUploadPage .content,
BODY#theRegisterPage .content,
BODY#theIdentificationPage .content,
BODY#theProfilePage .content,
BODY#theSearchPage .content,
BODY#theAboutPage .content,
BODY#thePopuphelpPage .content,
BODY#thePasswordPage .content,
BODY#theNotificationPage .content,
BODY#theTagsPage .content,
BODY#theNBMPage .content
{
margin: 1em;
}
.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
.content .navigationBar, .content .additional_info, .content .calendarBar {
margin: 8px 4px;
text-align: center;
}
.content .pageNumberSelected {
font-style: italic;
font-weight: bold;
}
.content .additional_info {
font-size: 110%;
}
/* actions */
UL.categoryActions {
margin: 0 2px;
width: auto;
padding: 0;
text-indent: 0;
list-style: none;
text-align: center;
}
.content DIV.titrePage UL.categoryActions {
float: right;
text-align: center;
}
.content DIV.titrePage {
padding: 0 0 3px;
}
.content UL.categoryActions LI {
display: inline;
}
.content UL.categoryActions A IMG, UL.categoryActions A {
border: none;
margin-bottom: -5px;
}
/* begin chronology/calendar elements*/
.content DIV.calendarViews {
display: block;
float: right;
margin: 2px 0 0;
}
SPAN.calItem, SPAN.calItemEmpty {
font-weight: bold;
margin: 0 1px;
}
SPAN.calItem A { border:0 }
.content DIV.calendarCalBar {
margin: 10px 10px;
text-align: left;
}
SPAN.calCalHead {
font-weight: bold;
font-size: 110%;
margin: 0 2px;
}
SPAN.calCal { margin: 0 2px; }
/* nice looking month calendar*/
TABLE.calMonth {
border: none;
border-collapse: collapse;
margin-bottom: 10px; /*<-IE ignores this */
}
TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
vertical-align: top;
font-weight: bold;
font-size: 18px;
}
TD.calDayHead {
font-weight: bold;
font-size: 12px;
text-align: center;
}
DIV.calImg {
overflow: hidden;
vertical-align: bottom;
z-index: 1;
position: relative; /*<- this required by IE*/
}
.calImg img {
position: relative;
border: 0;
}
.calBackDate {
padding-left: 4px;
padding-top: 0px;
z-index: 2;
position: absolute;
vertical-align: top;
color: #000;
}
.calForeDate {
padding-left: 5px;
padding-top: 1px;
z-index: 3;
position: absolute;
vertical-align: top;
color: #fff;
}
/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
.content UL.thumbnailCategories {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
width: 100%;
}
.content UL.thumbnailCategories LI {
margin:0;
padding:0;
float:left;
}
.content DIV.thumbnailCategory {
display:block;
padding: 2px 0px 0px 2px;
margin: 5px;
}
.content DIV.thumbnailCategory DIV.description {
font-size: 90%;
overflow: auto;
/*width: inherit;*/
}
.content DIV.thumbnailCategory DIV.description H3 {
text-align: left;
background: transparent;
margin: 0;
padding: 0.1em;
font-size: 120%;
}
.content DIV.thumbnailCategory DIV.description P {
margin: 0;
}
.content DIV.thumbnailCategory DIV.illustration {
text-align: left;
margin: 2px 0 0 2px;
float: left;
}
/* User comments */
DIV#comments {
padding-left: 5px;
padding-right: 5px;
}
DIV#comments DIV.description {
font-size: 100%;
}
/* Thumbnails */
.content UL.thumbnails SPAN.thumbLegend {
font-size: 90%;
overflow: hidden;/* oversized legend is clipped */
}
/* Thumbnail "elastic" layout */
.content UL.thumbnails {
margin: 0;
padding: 0;
list-style: none;
text-align: center; /* to center the whole collection in .content */
}
.content UL.thumbnails LI { display: inline }
.content UL.thumbnails SPAN.wrap1 {
margin: 0 5px 5px 5px;
display: table-cell; display: inline-table;
display: inline-block;/* Why 3 display option ??? */
vertical-align: top; /* OK with Opera and IE6 not Geko */
text-align: center; /* to center the thumbnail and legend in Geko/Opera */
}
.content UL.thumbnails SPAN.wrap2 {
margin: 0; /* important reset the margins */
display: table-cell;/* block prevents vertical-align here */
vertical-align: middle;/* Ok with Opera and Geko not IE6 */
}
.content UL.thumbnails SPAN.wrap2 A,
.content UL.thumbnails LABEL {
display: block;
border-bottom: none;
}
.content UL.thumbnails IMG {
margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/
}
/**
* Picture
*/
#imageHeaderBar {
padding-top: 2px;
padding-bottom: 2px;
margin-top: 4px;
overflow: hidden;
width: 100%;
}
#imageHeaderBar .browsePath {
float: left;
margin-left: 10px;
}
#imageHeaderBar .imageNumber {
float: right;
margin-right: 10px;
}
#imageHeaderBar H2 {
text-align: center;
padding: 0;
clear: both;
}
#imageToolBar {
text-align: center;
position: relative;
clear: both;
margin-bottom: 4px;
padding: 0;
height: 28px;
}
#imageToolBar A, #imageToolBar IMG {
display: block;
border: none;
margin: 0; padding: 0;
}
#imageToolBar A { width: 48px; }
#imageToolBar IMG { margin: 2px auto; }
#imageToolBar .randomButtons A { float: left; }
#imageToolBar .navButtons A { float: right; }
#theImage {
clear: left;
text-align: center;
}
#theImage>IMG {
display: block;
margin: 0 auto;
border: none;
}
#linkPrev {
float: left;
margin-right: 10px;
margin-left: 5px;
}
#linkNext {
float: right;
margin-right: 5px;
margin-left: 10px;
}
TABLE.infoTable .label {
font-weight: bold;
text-align: right;
padding-right: 0.5em;
}
TABLE.infoTable TD.value UL {
margin: 0;
padding: 0 0 0 1.5em;
list-style-type: square;
}
.thumbnailCategories LI { list-style: none; }
.rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty {
padding:0;
border:0;
}
.rateButton, .rateButtonStarFull, .rateButtonStarEmpty {
cursor: pointer;
}
.rateButtonSelected {
font-weight:bold;
font-size:120%;
}
.rateButtonStarFull {
background: url('icon/rating-stars.gif') no-repeat scroll; background-position:-16px center; width:16px;
}
.rateButtonStarEmpty {
background: url('icon/rating-stars.gif') no-repeat scroll; background-position:0 center; width:16px;
}
/**
* Default Layout
*/
BODY {
margin: 5px;
padding: 0;
font-size: 0.8em;
font-family: Arial,Helvetica,sans-serif;
}
H1 {
text-align: center;
font-size: 150%;
font-weight: bold;
padding: 0;
margin: 0.5em 0 1em 0;
}
H2 {
margin: 0;
padding: 5px 0.5em 5px 0.5em;
text-align: left;
font-size: 120%;
}
A {
text-decoration:none;
border-bottom: 1px dotted #005e89;
}
A:hover {
border-bottom: 1px solid #858460;
}
IMG {
border: none;
}
HR.separation {
visibility: hidden;
clear: both;
}
#copyright {
clear: both;
font-size: 83%;
text-align: center;
margin: 0 0 10px 0;
}
INPUT, SELECT {
margin: 0;
font-size: 1em; /* <= some browsers don't set it correctly */
}
TABLE { /* horizontaly centered */
margin-left: auto;
margin-right: auto;
}
FORM { padding: 0; margin: 0; }
FORM P {
text-align: center;
margin-top: 2em;
margin-bottom: 2em;
}
FORM FIELDSET P {
margin-top: 1em;
margin-bottom: 0;
}
SELECT.categoryList {
height: 20em;
width: 500px;
}
/**
* Filter forms are displayed label by label with the input (or select...)
* below the label. Use an UL to make a group (radiobox for instance).
* Use a SPAN to group objects in line
*/
FIELDSET {
padding: 1em;
margin: 1em;
overflow: hidden; /* <- makes Opera happy */
}
FORM.filter FIELDSET UL {
margin: 0;
}
FORM.filter FIELDSET UL,
FORM.filter FIELDSET LABEL {
display: block;
float: left;
margin-right: 1em;
padding: 0;
}
FORM.filter FIELDSET LI {
list-style: none;
margin-bottom: 0.5em;
}
FORM.filter FIELDSET LI LABEL {
display: inline;
float: none;
}
FORM.filter FIELDSET UL.tagSelection LABEL {
display: inline;
float: none;
margin-right:0.5em;/*reduce from above*/
}
/* cannot use FIELDSET>LABEL because of IE<=6 */
FORM.filter FIELDSET LABEL INPUT,
FORM.filter FIELDSET LABEL SELECT,
FORM.filter FIELDSET LABEL SPAN,
FORM.filter FIELDSET LABEL TEXTAREA {
display: block;
margin: 0.5em 0;
}
FORM.filter FIELDSET * LABEL INPUT,
FORM.filter FIELDSET * LABEL SELECT,
FORM.filter FIELDSET * LABEL TEXTAREA,
FORM.filter FIELDSET LABEL SPAN INPUT,
FORM.filter FIELDSET LABEL SPAN SELECT,
FORM.filter FIELDSET LABEL SPAN TEXTAREA {
display: inline;
vertical-align: top;
margin: 0 0.5em 0 0;
}
FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
margin-right:0;
}
/* following declaration is important to avoid strange FF behaviour */
FORM.filter FIELDSET LABEL SPAN SELECT {
margin: 0;
}
FORM.filter FIELDSET P
{
clear: left;
display: block;
}
FORM.filter INPUT[type="submit"] {
margin-top: 1em;
}
FORM.properties UL {
list-style-type: none;
margin: 0;
padding: 0;
}
FORM.properties LI {
margin-bottom: 0.5em;
padding: 0;
line-height: 1.8em;
clear: left;
}
FORM.properties SPAN.property {
font-weight: bold;
float: left;
width: 50%;
text-align: right;
margin: 0;
padding: 0 0.5em 0 0;
}
/* button tools */
UL.actions {
text-indent: 0;
list-style: none;
}
UL.actions LI {
display: inline;
}
UL.actions A, UL.actions IMG {
border: none;
}
UL.tagSelection {
width: 99%;
margin: 1em 0 1em 0;
padding: 0;
}
UL.tagSelection LI {
display: inline;
white-space: nowrap;
}
#fullTagCloud {
font-size: 120%;
text-align: justify;
padding: 0;
margin: 1em 2em 1em 2em;
}
#fullTagCloud SPAN {
white-space: nowrap;
margin: 0 2px;
}
.tagLevel5 { font-size: 150%; }
.tagLevel4 { font-size: 140%; }
.tagLevel3 { font-size: 120%; }
.tagLevel2 { font-size: 100%; }
.tagLevel1 { font-size: 90%; }
/* Popup help page */
BODY#thePopuphelpPage #copyright {
display: none;
}
#theNotificationPage p { padding: 0.5em; }
BODY#thePopuphelpPage .content P {
text-align: justify;
padding: 0.5em;
}
BODY#thePopuphelpPage .content OL LI,
BODY#thePopuphelpPage .content UL LI
{
margin-bottom: 0.5em;
}
TR.tagLine {
border-bottom: 1px solid #ddd;
}
TD.nbEntries {
text-align: right;
font-style: italic;
font-size: 90%;
}
FIELDSET.tagLetter {
border: 1px solid #d3d3d3;
width: 200px;
margin: 0.5em;
padding: 10px;
}
LEGEND.tagLetterLegend {
border: 1px solid #d3d3d3;
font-size:120%;
font-weight: bold;
padding: 0 5px;
font-style: normal;
}
TABLE.tagLetterContent {
width:100%;
font-size:80%;
border-collapse : collapse;
}
#theHeader {text-align: center;}
#theNotificationPage DL,
#thePopuphelpPage DL { margin: 0 25px 25px; }
.content #comments UL.thumbnailCategories LI { width:99%; }
/* jQuery datepicker */
IMG.ui-datepicker-trigger {
cursor : pointer;
}
/* Set the width of the menubar for the galery */
#menubar {
width: 18em;
}
.content {
margin-left: 20em; /* = #menubar width + 2em */
}
/* Set minimum width of the page before getting a scrollbar */
/* IE5 and IE6 don't get that */
BODY {
min-width: 60em; /* ~ 3* #menubar width */
}
BODY#thePopuphelpPage {
min-width: 0;
}
/* Set some sizes according to your maximum thumbnail width and height */
.content UL.thumbnails SPAN,
.content UL.thumbnails SPAN.wrap2 A,
.content UL.thumbnails LABEL,
.content DIV.thumbnailCategory DIV.illustration {
width: 140px; /* max thumbnail width + 2px */
}
.content UL.thumbnails SPAN.wrap2,
.content DIV.thumbnailCategory DIV.description {
height: 140px; /* max thumbnail height + 2px */
}
/* Category thumbnails on main page */
.content UL.thumbnailCategories LI {
width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/
}
/* Set defaults for thumbnails legend */
.content UL.thumbnails SPAN.thumbLegend {
display: block; /* display: none; if you don't want legend */
height: 4em; /* legend height (don't set auto to be Gecko friendly)*/
}
/**
* Default colors
*/
#imageToolBar * {
background: inherit;
}
/* So that non-links are slightly greyed out */
.content .navigationBar, SPAN.calItemEmpty, TD.calDayCellEmpty {
color: #b0b0b0;
}
/* Tables & forms */
/* IE <= 6 is so bad with this that you can't merge with the following rule */
INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] {
color:black;
background-color: #d3d3d3; /* lightgrey */
}
INPUT.text, INPUT.password, INPUT.button,
INPUT.submit, INPUT.reset, INPUT.file,
SELECT, TEXTAREA {
color:black;
background-color: #d3d3d3; /* lightgrey */
}
INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
background-color: #f5f5f5; /* whitesmoke */
}
/* some theme set a border on INPUT which is not pretty for radio/checkbox */
INPUT[type="radio"], INPUT[type="checkbox"] {
border: none; /* <= Opera needs this */
}
INPUT.radio, INPUT.checkbox {
border: none; /* <= IE6 needs this */
}
/* rate buttons displayed like links */
INPUT.rateButton, INPUT.rateButtonSelected, INPUT.rateButtonStarFull, INPUT.rateButtonStarEmpty {
color:inherit;
background-color:transparent !important; /* Konqueror doesn't accept transparent here */
}
.errors { /* Errors display */
color: red;
background-color: #ffe1e1;
font-weight: bold;
margin: 5px;
border: 1px solid red;
background-image: url(icon/errors.png);
background-repeat: no-repeat;
background-position: top right;
padding: 10px 50px 10px 10px;
}
/* Informations box in administration */
.infos {
color: #002000;
background-color: #98fb98; /* palegreen */
background-image: url(icon/infos.png);
background-repeat: no-repeat;
background-position: top right;
margin: 5px;
padding: 10px 50px 10px 10px;
}
/* Header message like upgrade or adviser mode */
.header_msgs {
text-align:center;
font-weight: bold;
color:#696969; /* dimgray */
background-color: #d3d3d3;
margin: 1px;
padding: 1px;
}
/* Header notes box in public/administration */
.header_notes {
border: 1px solid #aaaaaa; /* border color and style */
text-align: center;
background-image: url(icon/note.png);
background-repeat: no-repeat;
background-position: top left;
font-weight: bold;
margin: 14px;
padding: 5px 00px 0px 0px;
}
LEGEND {
font-style: italic;
}
/*calendar*/
SPAN.calItem, SPAN.calItemEmpty,
TD.calDayCellEmpty, TD.calDayCellFull {
border: 1px solid gray;
}
|