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

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

remove useless css rules

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