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

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

center informations table on first and last picture page
tested with default, sobre, os, pure, luciano, kardon, simple, stripped

  • 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#infosImage {
360        position:relative
361}
362
363#infosImage #linkPrev {
364        position:absolute;
365        left:0;
366        margin-right: 10px;
367        margin-left: 5px;
368}
369
370#infosImage #linkNext {
371        position:absolute;
372        right:0;
373        margin-right: 5px;
374        margin-left: 10px;
375}
376
377.infoTable .label {
378        font-weight: bold;
379        text-align: right;
380        padding-right: 0.5em;
381}
382
383.infoTable UL {
384        margin: 0;
385        padding: 0 0 0 1em;
386        list-style-type: square;
387}
388
389.rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty  {
390        padding:0;
391        border:0;
392        color:inherit;
393        background-color:transparent !important;        /* Konqueror doesn't accept transparent here */
394}
395
396.rateButton, .rateButtonStarFull, .rateButtonStarEmpty {
397        cursor: pointer;
398}
399
400.rateButtonSelected {
401        font-weight:bold;
402        font-size:120%;
403}
404
405.rateButtonStarFull {
406        background: url('icon/rating-stars.gif') no-repeat -16px center; width:16px;
407}
408
409.rateButtonStarEmpty {
410        background: url('icon/rating-stars.gif') no-repeat 0 center; width:16px;
411}
412
413
414/**
415 * Default Layout
416 */
417BODY {
418        margin: 5px;
419        padding: 0;
420        font-size: 0.8em;
421        font-family: Arial,Helvetica,sans-serif;
422        min-width: 60em;  /* ~ 3* #menubar width; width of the page before getting a scrollbar; IE6 doesn't get that*/
423}
424
425#thePopuphelpPage {
426        min-width: 0; /*reset the min width*/
427}
428
429
430H1 {
431        text-align: center;
432        font-size: 150%;
433        font-weight: bold;
434        padding: 0;
435        margin: 0.5em 0 1em 0;
436}
437
438H2 {
439        margin: 0;
440        padding: 5px 0.5em;
441        text-align: left;
442        font-size: 120%;
443}
444
445A {
446        text-decoration:none;
447}
448A:hover {
449        border-bottom: 1px solid #858460;
450}
451A.pwg-state-default:hover {
452        border-bottom: 0; /*reset above for icons*/
453}
454
455IMG {
456        border: 0;
457}
458
459HR.separation {
460        visibility: hidden;
461        clear: both;
462}
463
464#copyright {
465        clear: both;
466        font-size: 83%;
467        text-align: center;
468        margin: 0 0 10px 0;
469}
470
471INPUT, SELECT {
472        margin: 0;
473        font-size: 1em; /* <= some browsers don't set it correctly */
474}
475
476TABLE { /* horizontaly centered */
477        margin-left: auto;
478        margin-right: auto;
479}
480
481
482FORM { padding: 0; margin: 0; }
483
484FORM P {
485        text-align: center;
486        margin-top: 2em;
487        margin-bottom: 2em;
488}
489
490FORM FIELDSET P {
491        margin-top: 1em;
492        margin-bottom: 0;
493}
494
495SELECT.categoryList {
496        height: 20em;
497        width: 500px;
498}
499
500
501/**
502 * Filter forms are displayed label by label with the input (or select...)
503 * below the label. Use an UL to make a group (radiobox for instance).
504 * Use a SPAN to group objects in line
505 */
506FIELDSET {
507        padding: 1em;
508        margin: 1em;
509        overflow: hidden; /* <- makes Opera happy */
510}
511
512.filter UL {
513  margin: 0;
514}
515.filter UL,
516.filter LABEL {
517        display: block;
518        float: left;
519        margin-right: 1em;
520        padding: 0;
521}
522
523.filter LI {
524        list-style: none;
525        margin-bottom: 0.5em;
526}
527
528.filter LI LABEL {
529        display: inline;
530        float: none;
531}
532
533.filter .tagSelection LABEL {
534        display: inline;
535        float: none;
536        margin-right:0.5em;/*reduce from above*/
537}
538
539/*IE6 needs override because of > selector*/
540.filter LABEL>INPUT,
541.filter LABEL>SELECT,
542.filter LABEL>SPAN,
543.filter LABEL>TEXTAREA {
544        display: block;
545        margin: 0.5em 0;
546}
547
548.filter FIELDSET * LABEL>INPUT,
549.filter FIELDSET * LABEL>SELECT,
550.filter FIELDSET * LABEL>TEXTAREA,
551.filter SPAN>INPUT,
552.filter SPAN>SELECT,
553.filter SPAN>TEXTAREA {
554        display: inline;
555        vertical-align: top;
556        margin: 0 0.5em 0 0;
557}
558
559
560
561
562.filter INPUT[type="submit"] {
563        margin-top: 1em;
564}
565
566.properties UL {
567        list-style-type: none;
568        margin: 0;
569        padding: 0;
570}
571
572.properties LI {
573        margin-bottom: 0.5em;
574        padding: 0;
575        line-height: 1.8em;
576        clear: left;
577}
578
579.properties SPAN.property {
580        font-weight: bold;
581        float: left;
582        width: 50%;
583        text-align: right;
584        margin: 0;
585        padding: 0 0.5em 0 0;
586}
587
588/* button tools */
589.actions A, .actions IMG {
590        border: none;
591}
592
593.tagSelection {
594        width: 99%;
595        margin: 1em 0;
596        padding: 0;
597}
598
599.tagSelection LI {
600        display:inline-block;
601        width:150px!important;
602        overflow:hidden;
603        white-space: nowrap;
604}
605
606#fullTagCloud {
607        font-size: 120%;
608        text-align: justify;
609        padding: 0;
610        margin: 1em 2em;
611}
612
613#fullTagCloud SPAN {
614        white-space: nowrap;
615        margin: 0 2px;
616}
617
618
619.tagLevel5 { font-size: 150% !important; }
620.tagLevel4 { font-size: 140% !important; }
621.tagLevel3 { font-size: 120% !important; }
622.tagLevel2 { font-size: 100% !important; }
623.tagLevel1 { font-size: 90%  !important; }
624
625
626/* Popup help page */
627#thePopuphelpPage #copyright {
628        display: none;
629}
630
631#thePopuphelpPage P, #theNotificationPage P {
632        padding: 0.5em;
633}
634
635#theNotificationPage DL, #thePopuphelpPage DL {
636        margin: 0 25px 25px; 
637}
638
639TR.tagLine {
640        border-bottom: 1px solid #ddd;
641}
642TD.nbEntries {
643        text-align: right;
644        font-style: italic;
645        font-size: 90%;
646}
647
648FIELDSET.tagLetter {
649        border: 1px solid #d3d3d3;
650        width: 200px;
651        margin: 0.5em;
652        padding: 10px;
653}
654
655LEGEND.tagLetterLegend {
656        border: 1px solid #d3d3d3;
657        font-size:120%;
658        font-weight: bold;
659        padding: 0 5px;
660        font-style: normal;
661}
662
663TABLE.tagLetterContent {
664        width:100%;
665        font-size:80%;
666        border-collapse : collapse;
667}
668
669#theHeader {text-align: center;}
670
671#comments .thumbnailCategories LI { width:99%; }
672
673/* jQuery datepicker */
674IMG.ui-datepicker-trigger {
675        cursor : pointer;
676}
677
678/* Set some sizes according to your maximum thumbnail width and height */
679.thumbnails SPAN,
680.thumbnails .wrap2 A,
681.thumbnails LABEL,
682.thumbnailCategory DIV.illustration {
683  width: 140px;      /* max thumbnail width + 2px */
684}
685.thumbnails .wrap2,
686.content .thumbnailCategory .description {
687  height: 140px;    /* max thumbnail height + 2px */
688}
689
690
691/* Category thumbnails on main page */
692.thumbnailCategories LI {
693  width: 49.7%;    /* 49.7% for 2 per line, 33.2% for 3 per line*/
694}
695
696/* Set defaults for thumbnails legend */
697.thumbnails SPAN.thumbLegend {
698  display: block;  /* display: none; if you don't want legend */
699  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/
700}
701
702/**
703 * Default colors
704 */
705
706 /* So that non-links are slightly greyed out */
707.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
708        color: #b0b0b0;
709}
710
711/* Tables & forms */
712/* IE <= 6 is so bad with this that you can't merge with the following rule */
713INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
714INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] {
715        color: #000;
716        background-color: #d3d3d3;      /* lightgrey */
717}
718
719SELECT, TEXTAREA {
720        color: #000;
721        background-color: #d3d3d3;      /* lightgrey */
722}
723
724INPUT:focus, SELECT:focus, TEXTAREA:focus {
725        background-color: #f5f5f5;      /* whitesmoke */
726}
727
728/* some theme set a border on INPUT  which is not pretty for radio/checkbox */
729INPUT[type="radio"], INPUT[type="checkbox"] {
730        border: none;   /* <= Opera needs this */
731}
732
733
734.errors { /* Errors display */
735        color: red;
736        font-weight: bold;
737        margin: 5px;
738        border: 1px solid red;
739        background: #ffe1e1 url(icon/errors.png) no-repeat top right;
740        padding: 10px 50px 10px 10px;
741}
742
743/* Informations box */
744.infos {
745        color: #002000;
746        background: #98fb98 url(icon/infos.png) no-repeat top right;
747        margin: 5px;
748        padding: 10px 50px 10px 10px;
749}
750
751/* Header message like upgrade*/
752.header_msgs {
753        text-align:center;
754        font-weight: bold;
755        color:#696969;  /* dimgray */
756        background-color: #d3d3d3;
757        margin: 1px;
758        padding: 1px;
759}
760
761/* Header notes box */
762.header_notes {
763        border: 1px solid #aaa;
764        text-align: center;
765        background-image: url(icon/note.png);
766        background-repeat: no-repeat;
767        background-position: top left;
768        font-weight: bold;
769        margin: 14px;
770        padding: 5px 0 0 0;
771}
772
773LEGEND {
774        font-style: italic;
775}
776
777#piwigoAbout {width:600px;margin:0 auto;}
778#linkToPiwigo {text-align:center;}
779
Note: See TracBrowser for help on using the repository browser.