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

Last change on this file since 13735 was 13735, checked in by rvelices, 12 years ago

switchboxtitle bottom border nicer with dark theme (before it was a hr that automatically took text color)

  • Property svn:eol-style set to LF
File size: 13.4 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 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
110.content .titrePage {
111        padding: 0 0 3px;
112}
113
114.content .notification {
115  padding:0 25px;
116}
117
118/* actions */
119.categoryActions {
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
129.categoryActions LI {
130        display: inline;
131}
132
133/* begin chronology/calendar elements*/
134.calendarViews {
135        display: block;
136        float: right;
137        margin: 2px 0 0;
138}
139
140.calItem, .calItemEmpty {
141        font-weight: bold;
142        margin: 0 1px;
143        border: 1px solid gray;
144}
145
146.calItem A { border:0 }
147
148.calendarCalBar {
149        margin: 10px;
150        text-align: left;
151}
152
153.calCalHead {
154        font-weight: bold;
155        font-size: 110%;
156        margin: 0 2px;
157}
158
159.calCal { margin: 0 2px; }
160
161/* nice looking month calendar*/
162TABLE.calMonth {
163        border: 0;
164        border-collapse: collapse;
165        margin-bottom: 10px;    /*<-IE ignores this */
166}
167
168TD.calDayCellFull, TD.calDayCellEmpty {
169        vertical-align: top;
170        font-weight: bold;
171        font-size: 18px;
172        border: 1px solid gray;
173}
174
175TD.calDayHead {
176  font-weight: bold;
177  font-size: 12px;
178        text-align: center;
179}
180
181.calImg {
182        overflow: hidden;
183        vertical-align: bottom;
184        z-index: 1;
185        position: relative; /*<- this required by IE*/
186}
187
188.calImg IMG {
189        position: relative;
190        border: 0;
191}
192
193.calBackDate {
194        padding-left: 4px;
195        padding-top: 0;
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 */
212.thumbnailCategories {
213        margin: 0;
214        padding: 0;
215        list-style: none;
216        overflow: hidden;
217        width: 100%;
218}
219
220.thumbnailCategories LI {
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*/
225}
226
227.thumbnailCategory {
228        display:block;
229        padding: 2px 0 0 2px;
230        margin: 5px;
231}
232
233.thumbnailCategory .description {
234        font-size: 90%;
235        overflow: auto;
236        /*width: inherit;*/
237}
238
239.thumbnailCategory .description H3 {
240        text-align: left;
241        background: transparent;
242        margin: 0;
243        padding: 0.1em;
244        font-size: 120%;
245}
246
247.thumbnailCategory .description P {
248        margin: 0;
249}
250
251.thumbnailCategory DIV.illustration {
252        text-align: left;
253        margin: 2px 0 0 2px;
254        float: left;
255}
256
257
258/* User comments */
259#comments {
260        padding-left: 5px;
261        padding-right: 5px;
262}
263
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 {
286        font-size: 100%;
287        overflow: auto;
288        /*width: inherit;*/
289}
290
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
309/* Thumbnails */
310.thumbnails SPAN.thumbLegend {
311        overflow: hidden;/* oversized legend is clipped */
312}
313
314/* Thumbnail "elastic" layout */
315.thumbnails {
316        margin: 0;
317        padding: 0;
318        list-style: none;
319        text-align: center;     /* to center the whole collection in .content */
320}
321.thumbnails LI { display: inline }
322
323.thumbnails .wrap1 {
324        margin: 0 7px 5px 7px;
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}
330.thumbnails .wrap2 {
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 */
334        border-radius: 4px;     /* round corners with CSS3 compliant browsers */
335        -moz-border-radius: 4px;        /* round corners with Geko */
336        -webkit-border-radius: 4px; /* Safari webkit project */
337}
338.thumbnails .wrap2 A {
339        display: block;
340        border-bottom: 0;
341}
342.thumbnails IMG {
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 {
367        display: inline;
368        text-align: center;
369        padding: 0;
370}
371
372#imageToolBar {
373        text-align: center;
374        clear: both;
375        margin-bottom: 2px;
376        padding: 0;
377        height: 28px;
378}
379
380#imageToolBar .actionButtons { float: left; }
381#imageToolBar .navigationButtons   { float: right; }
382#imageToolBar .pwg-button {width:42px;}
383
384.switchBox {
385        padding: 0.5em 10px;
386        border-radius: 4px;
387        z-index: 100;
388  text-align:left;
389}
390
391.switchBoxTitle {
392  border-bottom:1px solid #ccc;
393  padding-bottom:5px;
394  margin-bottom:5px;
395}
396
397#theImage {
398        clear: left;
399        text-align: center;
400        position: relative; /*so that the drivative switch link is positioned relative to us*/
401}
402
403#imageInfos {
404        position: relative;
405        min-height: 120px;
406}
407
408#linkPrev {
409        position:absolute;
410        left:0;
411        margin-right: 10px;
412        margin-left: 5px;
413}
414
415#linkNext {
416        position:absolute;
417        right:0;
418        margin-right: 5px;
419        margin-left: 10px;
420}
421
422.infoTable .label {
423        font-weight: bold;
424        text-align: right;
425        padding-right: 0.5em;
426}
427
428.infoTable UL {
429        margin: 0;
430        padding: 0 0 0 1em;
431        list-style-type: square;
432}
433
434.rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty  {
435        padding:0;
436        border:0;
437        color:inherit;
438        background-color:transparent !important;        /* Konqueror doesn't accept transparent here */
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 {
451        background: url('icon/rating-stars.gif') no-repeat -16px center; width:16px;
452}
453
454.rateButtonStarEmpty {
455        background: url('icon/rating-stars.gif') no-repeat 0 center; width:16px;
456}
457
458.contentWithMenu #imageToolBar, 
459.contentWithMenu #theImage { 
460        clear: none;
461}
462
463.noCommentText {display:none;}
464
465/**
466 * Default Layout
467 */
468BODY {
469        margin: 5px;
470        padding: 0;
471        font-size: 0.8em;
472        font-family: Arial,Helvetica,sans-serif;
473        min-width: 60em;  /* ~ 3* #menubar width; width of the page before getting a scrollbar; IE6 doesn't get that*/
474}
475
476IMG {
477        border: 0; /*IE<=9 adds border for linked images*/
478}
479
480#thePopuphelpPage {
481        min-width: 0; /*reset the min width*/
482}
483
484
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;
495        padding: 5px 0.5em;
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}
506A.pwg-state-default:hover {
507        border-bottom: 0; /*reset above for icons*/
508}
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
558.filter UL {
559  margin: 0;
560}
561.filter UL,
562.filter LABEL {
563        display: block;
564        float: left;
565        margin-right: 1em;
566        padding: 0;
567}
568
569.filter LI {
570        list-style: none;
571        margin-bottom: 0.5em;
572}
573
574.filter LI LABEL {
575        display: inline;
576        float: none;
577}
578
579.filter .tagSelection LABEL {
580        display: inline;
581        float: none;
582        margin-right:0.5em;/*reduce from above*/
583}
584
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;
592}
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 {
600        display: inline;
601        vertical-align: top;
602        margin: 0 0.5em 0 0;
603}
604
605
606
607
608.filter INPUT[type="submit"] {
609        margin-top: 1em;
610}
611
612.properties UL {
613        list-style-type: none;
614        margin: 0;
615        padding: 0;
616}
617
618.properties LI {
619        margin-bottom: 0.5em;
620        padding: 0;
621        line-height: 1.8em;
622        clear: left;
623}
624
625.properties SPAN.property {
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 */
635.actions A, .actions IMG {
636        border: none;
637}
638
639.tagSelection {
640        width: 99%;
641        margin: 1em 0;
642        padding: 0;
643}
644
645.tagSelection LI {
646        display:inline-block;
647        width:150px!important;
648        overflow:hidden;
649        white-space: nowrap;
650}
651
652#fullTagCloud {
653        font-size: 120%;
654        text-align: justify;
655        padding: 0;
656        margin: 1em 2em;
657}
658
659#fullTagCloud SPAN {
660        white-space: nowrap;
661        margin: 0 2px;
662}
663
664
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; }
670
671
672/* Popup help page */
673#thePopuphelpPage #copyright {
674        display: none;
675}
676
677#thePopuphelpPage P {
678        padding: 0.5em;
679}
680
681#thePopuphelpPage DL  {
682        margin: 0 25px 25px; 
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 */
723.thumbnails SPAN.thumbLegend {
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
732 /* So that non-links are slightly greyed out */
733.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
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"] {
741        color: #000;
742        background-color: #d3d3d3;      /* lightgrey */
743}
744
745SELECT, TEXTAREA {
746        color: #000;
747        background-color: #d3d3d3;      /* lightgrey */
748}
749
750INPUT:focus, SELECT:focus, TEXTAREA:focus {
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;
765        background: #ffe1e1 url(icon/errors.png) no-repeat center right;
766        padding: 10px 50px 10px 10px;
767}
768
769/* Informations box */
770.infos {
771        color: #002000;
772        background: #98fb98 url(icon/infos.png) no-repeat center right;
773        margin: 5px;
774        padding: 10px 50px 10px 10px;
775}
776
777/* Header message like upgrade*/
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
787/* Header notes box */
788.header_notes {
789        border: 1px solid #aaa;
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;
796        padding: 5px 0 0 0;
797}
798
799LEGEND {
800        font-style: italic;
801}
802
803#piwigoAbout {width:600px;margin:0 auto;}
804#linkToPiwigo {text-align:center;}
805
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
817#lostPassword {
818  padding: 1em;
819}
820
821#lostPassword p {
822  text-align: left;
823  margin: 1.5em 0;
824  line-height: 1.5em;
825}
826
Note: See TracBrowser for help on using the repository browser.