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

Last change on this file since 24610 was 24513, checked in by rvelices, 11 years ago

reduce left?right margin of tag cloud on tags page

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