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

Last change on this file since 28707 was 28707, checked in by plg, 10 years ago

feature 3091: search.php (advanced search), display a list of known authors instead of a text field.

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