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

Last change on this file since 13729 was 13729, checked in by Zaphod, 13 years ago

feature 2588: template modification for v2.4

-> new class .switchBox for all boxes (sortOrder, derivative, etc...)
-> new classes to help layout in switchBoxes:

  • .switchCheck for the check character
  • .switchSelected for the selected option
  • .switchUnselected for all other options

-> new menubar.tpl with empty div #menuSwitcher

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