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

Last change on this file since 25746 was 25746, checked in by rvelices, 10 years ago

remove reminescences of pre multi size ...

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