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

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