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

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

simplified clandar bar template and css (also better alignment)

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