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

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

simplified first and last holders in picture navigation...

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