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

Last change on this file since 8169 was 8169, checked in by rvelices, 13 years ago

fix icon bottom border

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