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

Last change on this file since 12676 was 12671, checked in by rvelices, 13 years ago

bug 2515: a few icons are not in CSS sprite (start/stop filter are now)
also removed many icons that are not used anymore since 2.2

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