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

Last change on this file since 24513 was 24513, checked in by rvelices, 11 years ago

reduce left?right margin of tag cloud on tags page

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