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

Last change on this file since 13801 was 13801, checked in by rvelices, 12 years ago

removed unused css, merged some css, etc...

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