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

Last change on this file since 12873 was 12873, checked in by rvelices, 12 years ago

feature 2550 - replace Sort order label and select on index page with a css sprite icon

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