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

Last change on this file since 24981 was 24966, checked in by rvelices, 11 years ago

removed unused css rules, password recover form has a fieldset as all other forms, no exit if mail send fails

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