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

Last change on this file since 11182 was 11182, checked in by mistic100, 13 years ago

fix notification page

  • Property svn:eol-style set to LF
File size: 12.9 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#menubar .button {
18        margin: -2px 2px 2px;
19        width: auto;
20        padding: 0;
21        text-indent: 0;
22        list-style: none;
23        text-align: center;
24        float: right;
25}
26
27/* H2 properties copied here */
28#menubar DT {
29        font-weight: bold;
30        padding: 5px;
31        font-size: 120%;
32        text-align: center;
33}
34
35#menubar UL,
36#menubar FORM,
37#menubar P {
38        font-size: 92%;
39        margin: 10px 0 10px 5px;
40}
41#menubar UL {
42        list-style-type: square;
43        list-style-position: inside;
44        padding: 0 0 0 2px;
45}
46#menubar UL UL {
47        font-size: 100%;
48        margin-top: 0;
49        margin-bottom: 0;
50}
51
52/*IE6 needs override because of > selector*/
53#menubar LI.selected>A {
54        font-weight: bold;
55}
56
57#menubar .menuInfoCatByChild {
58        font-size: 80%;
59        font-style: italic;
60}
61
62#menubar INPUT {
63        text-indent: 2px;
64}
65
66/* quickconnect form */
67
68#quickconnect FIELDSET {
69        margin: 0 5px 0 0;
70        padding: 0; /*IE6 requires padding 0*/
71}
72
73#quickconnect DIV {
74        margin: 8px 5px;
75        padding: 0;
76}
77
78#menuTagCloud {
79        text-align: center;
80        margin: 5px 0;
81}
82
83#menuTagCloud SPAN {
84        white-space: nowrap;
85        margin-right: 5px;
86}
87
88/**
89 * Content
90 */
91.content {
92        margin-left: 20em;  /* = #menubar width + 2em */
93}
94
95.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
96
97.content .navigationBar, .content .additional_info, .content .calendarBar {
98        margin: 8px 4px;
99        text-align: center;
100}
101
102.content .pageNumberSelected {
103        font-style: italic;
104        font-weight: bold;
105}
106
107.content .additional_info {
108        font-size: 110%;
109}
110
111.content .titrePage {
112        padding: 0 0 3px;
113}
114
115.content .notification {
116  padding:0 25px;
117}
118
119/* actions */
120.categoryActions {
121        margin: 0 2px;
122        width: auto;
123        padding: 0;
124        text-indent: 0;
125        list-style: none;
126        text-align: center;
127        float: right;
128}
129
130.categoryActions LI {
131        display: inline;
132}
133
134/* begin chronology/calendar elements*/
135.calendarViews {
136        display: block;
137        float: right;
138        margin: 2px 0 0;
139}
140
141.calItem, .calItemEmpty {
142        font-weight: bold;
143        margin: 0 1px;
144        border: 1px solid gray;
145}
146
147.calItem A { border:0 }
148
149.calendarCalBar {
150        margin: 10px;
151        text-align: left;
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
176TD.calDayHead {
177  font-weight: bold;
178  font-size: 12px;
179        text-align: center;
180}
181
182.calImg {
183        overflow: hidden;
184        vertical-align: bottom;
185        z-index: 1;
186        position: relative; /*<- this required by IE*/
187}
188
189.calImg IMG {
190        position: relative;
191        border: 0;
192}
193
194.calBackDate {
195        padding-left: 4px;
196        padding-top: 0;
197        z-index: 2;
198        position: absolute;
199        vertical-align: top;
200        color: #000;
201}
202
203.calForeDate {
204        padding-left: 5px;
205        padding-top: 1px;
206        z-index: 3;
207        position: absolute;
208        vertical-align: top;
209        color: #fff;
210}
211
212/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
213.thumbnailCategories {
214        margin: 0;
215        padding: 0;
216        list-style: none;
217        overflow: hidden;
218        width: 100%;
219}
220
221.thumbnailCategories LI {
222        margin:0;
223        padding:0;
224        float:left;
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#comments .description {
265        font-size: 100%;
266}
267
268/* Thumbnails */
269.thumbnails SPAN.thumbLegend {
270        font-size: 90%;
271        overflow: hidden;/* oversized legend is clipped */
272}
273
274/* Thumbnail "elastic" layout */
275.thumbnails {
276        margin: 0;
277        padding: 0;
278        list-style: none;
279        text-align: center;     /* to center the whole collection in .content */
280}
281.thumbnails LI { display: inline }
282
283.thumbnails .wrap1 {
284        margin: 0 7px 5px 7px;
285        display: table-cell; display: inline-table;
286        display: inline-block;/* Why 3 display option ??? */
287        vertical-align: top;    /* OK with Opera and IE6 not Geko */
288        text-align: center;             /* to center the thumbnail and legend in Geko/Opera */
289}
290.thumbnails .wrap2 {
291        margin: 0;                      /* important reset the margins */
292        display: table-cell;/* block prevents vertical-align here */
293        vertical-align: middle;/* Ok with Opera and Geko not IE6 */
294        border-radius: 4px;     /* round corners with CSS3 compliant browsers */
295        -moz-border-radius: 4px;        /* round corners with Geko */
296        -webkit-border-radius: 4px; /* Safari webkit project */
297}
298.thumbnails .wrap2 A,
299.thumbnails LABEL {
300        display: block;
301        border-bottom: 0;
302}
303.thumbnails IMG {
304        margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
305}
306
307/**
308 * Picture
309 */
310#imageHeaderBar {
311        padding-top: 2px;
312        padding-bottom: 2px;
313        margin-top: 4px;
314        overflow: hidden;
315        width: 100%;
316}
317
318#imageHeaderBar .browsePath {
319        float: left;
320        margin-left: 10px;
321}
322
323#imageHeaderBar .imageNumber {
324        float: right;
325        margin-right: 10px;
326}
327
328#imageHeaderBar H2 {
329        text-align: center;
330        padding: 0;
331        clear: both;
332}
333
334#imageToolBar {
335        text-align: center;
336        clear: both;
337        margin-bottom: 4px;
338        padding: 0;
339        height: 28px;
340}
341
342#imageToolBar .actionButtons { float: left; }
343#imageToolBar .navigationButtons   { float: right; }
344#imageToolBar .pwg-button {width:42px;}
345
346
347#theImage {
348        clear: left;
349        text-align: center;
350}
351
352#theImage>IMG {
353        display: block;
354        margin: 0 auto;
355        border: 0;
356}
357
358#imageInfos {
359        position:relative;
360        min-height:110px;
361}
362
363#linkPrev {
364        position:absolute;
365        left:0;
366        margin-right: 10px;
367        margin-left: 5px;
368}
369
370#linkNext {
371        position:absolute;
372        right:0;
373        margin-right: 5px;
374        margin-left: 10px;
375}
376
377.infoTable .label {
378        font-weight: bold;
379        text-align: right;
380        padding-right: 0.5em;
381}
382
383.infoTable UL {
384        margin: 0;
385        padding: 0 0 0 1em;
386        list-style-type: square;
387}
388
389.rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty  {
390        padding:0;
391        border:0;
392        color:inherit;
393        background-color:transparent !important;        /* Konqueror doesn't accept transparent here */
394}
395
396.rateButton, .rateButtonStarFull, .rateButtonStarEmpty {
397        cursor: pointer;
398}
399
400.rateButtonSelected {
401        font-weight:bold;
402        font-size:120%;
403}
404
405.rateButtonStarFull {
406        background: url('icon/rating-stars.gif') no-repeat -16px center; width:16px;
407}
408
409.rateButtonStarEmpty {
410        background: url('icon/rating-stars.gif') no-repeat 0 center; width:16px;
411}
412
413/* only if menubar is shown */
414.pictureContent {
415        margin-left:20em;
416}
417.pictureContent #imageToolBar, 
418.pictureContent #theImage, 
419.pictureContent hr.separation { 
420        clear:none;
421}
422
423
424/**
425 * Default Layout
426 */
427BODY {
428        margin: 5px;
429        padding: 0;
430        font-size: 0.8em;
431        font-family: Arial,Helvetica,sans-serif;
432        min-width: 60em;  /* ~ 3* #menubar width; width of the page before getting a scrollbar; IE6 doesn't get that*/
433}
434
435#thePopuphelpPage {
436        min-width: 0; /*reset the min width*/
437}
438
439
440H1 {
441        text-align: center;
442        font-size: 150%;
443        font-weight: bold;
444        padding: 0;
445        margin: 0.5em 0 1em 0;
446}
447
448H2 {
449        margin: 0;
450        padding: 5px 0.5em;
451        text-align: left;
452        font-size: 120%;
453}
454
455A {
456        text-decoration:none;
457}
458A:hover {
459        border-bottom: 1px solid #858460;
460}
461A.pwg-state-default:hover {
462        border-bottom: 0; /*reset above for icons*/
463}
464
465IMG {
466        border: 0;
467}
468
469HR.separation {
470        visibility: hidden;
471        clear: both;
472}
473
474#copyright {
475        clear: both;
476        font-size: 83%;
477        text-align: center;
478        margin: 0 0 10px 0;
479}
480
481INPUT, SELECT {
482        margin: 0;
483        font-size: 1em; /* <= some browsers don't set it correctly */
484}
485
486TABLE { /* horizontaly centered */
487        margin-left: auto;
488        margin-right: auto;
489}
490
491
492FORM { padding: 0; margin: 0; }
493
494FORM P {
495        text-align: center;
496        margin-top: 2em;
497        margin-bottom: 2em;
498}
499
500FORM FIELDSET P {
501        margin-top: 1em;
502        margin-bottom: 0;
503}
504
505SELECT.categoryList {
506        height: 20em;
507        width: 500px;
508}
509
510
511/**
512 * Filter forms are displayed label by label with the input (or select...)
513 * below the label. Use an UL to make a group (radiobox for instance).
514 * Use a SPAN to group objects in line
515 */
516FIELDSET {
517        padding: 1em;
518        margin: 1em;
519        overflow: hidden; /* <- makes Opera happy */
520}
521
522.filter UL {
523  margin: 0;
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.filter .tagSelection LABEL {
544        display: inline;
545        float: none;
546        margin-right:0.5em;/*reduce from above*/
547}
548
549/*IE6 needs override because of > selector*/
550.filter LABEL>INPUT,
551.filter LABEL>SELECT,
552.filter LABEL>SPAN,
553.filter LABEL>TEXTAREA {
554        display: block;
555        margin: 0.5em 0;
556}
557
558.filter FIELDSET * LABEL>INPUT,
559.filter FIELDSET * LABEL>SELECT,
560.filter FIELDSET * LABEL>TEXTAREA,
561.filter SPAN>INPUT,
562.filter SPAN>SELECT,
563.filter SPAN>TEXTAREA {
564        display: inline;
565        vertical-align: top;
566        margin: 0 0.5em 0 0;
567}
568
569
570
571
572.filter INPUT[type="submit"] {
573        margin-top: 1em;
574}
575
576.properties UL {
577        list-style-type: none;
578        margin: 0;
579        padding: 0;
580}
581
582.properties LI {
583        margin-bottom: 0.5em;
584        padding: 0;
585        line-height: 1.8em;
586        clear: left;
587}
588
589.properties SPAN.property {
590        font-weight: bold;
591        float: left;
592        width: 50%;
593        text-align: right;
594        margin: 0;
595        padding: 0 0.5em 0 0;
596}
597
598/* button tools */
599.actions A, .actions IMG {
600        border: none;
601}
602
603.tagSelection {
604        width: 99%;
605        margin: 1em 0;
606        padding: 0;
607}
608
609.tagSelection LI {
610        display:inline-block;
611        width:150px!important;
612        overflow:hidden;
613        white-space: nowrap;
614}
615
616#fullTagCloud {
617        font-size: 120%;
618        text-align: justify;
619        padding: 0;
620        margin: 1em 2em;
621}
622
623#fullTagCloud SPAN {
624        white-space: nowrap;
625        margin: 0 2px;
626}
627
628
629.tagLevel5 { font-size: 150% !important; }
630.tagLevel4 { font-size: 140% !important; }
631.tagLevel3 { font-size: 120% !important; }
632.tagLevel2 { font-size: 100% !important; }
633.tagLevel1 { font-size: 90%  !important; }
634
635
636/* Popup help page */
637#thePopuphelpPage #copyright {
638        display: none;
639}
640
641#thePopuphelpPage P {
642        padding: 0.5em;
643}
644
645#thePopuphelpPage DL  {
646        margin: 0 25px 25px; 
647}
648
649TR.tagLine {
650        border-bottom: 1px solid #ddd;
651}
652TD.nbEntries {
653        text-align: right;
654        font-style: italic;
655        font-size: 90%;
656}
657
658FIELDSET.tagLetter {
659        border: 1px solid #d3d3d3;
660        width: 200px;
661        margin: 0.5em;
662        padding: 10px;
663}
664
665LEGEND.tagLetterLegend {
666        border: 1px solid #d3d3d3;
667        font-size:120%;
668        font-weight: bold;
669        padding: 0 5px;
670        font-style: normal;
671}
672
673TABLE.tagLetterContent {
674        width:100%;
675        font-size:80%;
676        border-collapse : collapse;
677}
678
679#theHeader {text-align: center;}
680
681#comments .thumbnailCategories LI { width:99%; }
682
683/* jQuery datepicker */
684IMG.ui-datepicker-trigger {
685        cursor : pointer;
686}
687
688/* Set some sizes according to your maximum thumbnail width and height */
689.thumbnails SPAN,
690.thumbnails .wrap2 A,
691.thumbnails LABEL,
692.thumbnailCategory DIV.illustration {
693  width: 140px;      /* max thumbnail width + 2px */
694}
695.thumbnails .wrap2,
696.content .thumbnailCategory .description {
697  height: 140px;    /* max thumbnail height + 2px */
698}
699
700
701/* Category thumbnails on main page */
702.thumbnailCategories LI {
703  width: 49.7%;    /* 49.7% for 2 per line, 33.2% for 3 per line*/
704}
705
706/* Set defaults for thumbnails legend */
707.thumbnails SPAN.thumbLegend {
708  display: block;  /* display: none; if you don't want legend */
709  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/
710}
711
712/**
713 * Default colors
714 */
715
716 /* So that non-links are slightly greyed out */
717.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
718        color: #b0b0b0;
719}
720
721/* Tables & forms */
722/* IE <= 6 is so bad with this that you can't merge with the following rule */
723INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
724INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] {
725        color: #000;
726        background-color: #d3d3d3;      /* lightgrey */
727}
728
729SELECT, TEXTAREA {
730        color: #000;
731        background-color: #d3d3d3;      /* lightgrey */
732}
733
734INPUT:focus, SELECT:focus, TEXTAREA:focus {
735        background-color: #f5f5f5;      /* whitesmoke */
736}
737
738/* some theme set a border on INPUT  which is not pretty for radio/checkbox */
739INPUT[type="radio"], INPUT[type="checkbox"] {
740        border: none;   /* <= Opera needs this */
741}
742
743
744.errors { /* Errors display */
745        color: red;
746        font-weight: bold;
747        margin: 5px;
748        border: 1px solid red;
749        background: #ffe1e1 url(icon/errors.png) no-repeat top right;
750        padding: 10px 50px 10px 10px;
751}
752
753/* Informations box */
754.infos {
755        color: #002000;
756        background: #98fb98 url(icon/infos.png) no-repeat top right;
757        margin: 5px;
758        padding: 10px 50px 10px 10px;
759}
760
761/* Header message like upgrade*/
762.header_msgs {
763        text-align:center;
764        font-weight: bold;
765        color:#696969;  /* dimgray */
766        background-color: #d3d3d3;
767        margin: 1px;
768        padding: 1px;
769}
770
771/* Header notes box */
772.header_notes {
773        border: 1px solid #aaa;
774        text-align: center;
775        background-image: url(icon/note.png);
776        background-repeat: no-repeat;
777        background-position: top left;
778        font-weight: bold;
779        margin: 14px;
780        padding: 5px 0 0 0;
781}
782
783LEGEND {
784        font-style: italic;
785}
786
787#piwigoAbout {width:600px;margin:0 auto;}
788#linkToPiwigo {text-align:center;}
789
Note: See TracBrowser for help on using the repository browser.