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

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

bug 2553 hide menubar/register on indentification page if gallery is locked or guest_access is false

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