source: trunk/themes/default/theme.css @ 10804

Last change on this file since 10804 was 10804, checked in by mistic100, 13 years ago

center informations table on first and last picture page (second try)

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