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

Last change on this file since 23642 was 23642, checked in by flop25, 11 years ago

bug:2918
Display a link for the fist and last page on picture.tpl, to go to the album
3 lang keys added

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