source: trunk/admin/themes/default/default-layout.css @ 5304

Last change on this file since 5304 was 5304, checked in by patdenice, 14 years ago

Feature 1533: Allow activation or deactivation of download icon.
Add display configuration for picture properties.

  • Property svn:eol-style set to LF
File size: 17.2 KB
Line 
1
2/* History tables */
3TABLE.table2 {
4        border: 1px solid #111;
5        margin: 1em auto;
6        padding: 0;
7}
8
9TABLE.table2 TD, TABLE.table2 TH {
10        padding: 0 5px;
11}
12
13TABLE.table2 TR {
14        text-align: left;
15}
16
17TABLE.table2 THEAD TD { padding:7px 10px 3px 10px; }
18TABLE.table2 TR.throw { text-align: center; }
19TABLE.table2 { margin:0pt auto; }
20.sort { display:block; padding:8px 5px 0px 1px; clear: right; text-align:left; }
21
22
23.hour {
24        white-space: pre;
25}
26
27.number {
28        text-align: right;
29}
30
31TABLE#dailyStats {
32        width: 60%;
33}
34
35TABLE#detailedStats {
36        width: 99%;
37}
38
39/* Plugins tables */
40TABLE.plugins { min-width: 400px; }
41TABLE.plugins A { border: 0; }
42TABLE.plugins TR TD { padding: 4px 10px; }
43TABLE.plugins TR TD.pluginState { padding: 4px 16px; }
44
45TABLE.plugins TR TD.active {
46        background: url(icon/plugin_active.gif) no-repeat center left;
47        background-color: inherit; /* IE need it */
48}
49
50TABLE.plugins TR TD.inactive {
51        background: url(icon/plugin_inactive.gif) no-repeat center left;
52        background-color: inherit; /* IE need it */
53}
54
55TABLE.plugins ul.pluginsActions {
56        float: left;
57        padding: 0;
58        margin: 0;
59        width: 60px;
60        list-style: none;
61        text-align: center;
62}
63
64TABLE.plugins ul.pluginsActions li { display: inline; }
65
66/* categoryOrdering */
67SELECT.categoryList {
68        width: 100%;
69}
70 
71FORM#categoryOrdering {
72        padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
73        padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
74}
75FORM#categoryOrdering p {
76        text-align: left;
77        margin-top: 1em;
78        margin-bottom: 1em;
79}
80UL.categoryUl {
81        list-style: none;
82        padding: 0;
83        margin: 0;
84}
85
86LI.categoryLi {
87        width: 100%;
88        border: 1px solid #666;
89        padding: 0px 5px;
90        margin-bottom: 5px;
91}
92
93FORM#categoryOrdering UL.categoryActions {
94        float: right;
95        margin-top: 5px;
96}
97/* */
98
99FORM#catModify TABLE { width: auto; }
100
101FIELDSET.elementEdit A {
102        display: block;
103        float: right;
104}
105
106TABLE.doubleSelect {
107        text-align: center;
108        margin: 0 auto;
109        width: 100%;
110}
111
112TABLE.doubleSelect TD {
113        padding: 0 3px;
114        width: 50%;
115}
116
117TABLE.doubleSelect SELECT.categoryList {
118        width: 100%; max-width: 100%; overflow-x: auto;
119}
120
121FORM#categoryPermissions LI {
122        display:inline;
123        white-space: nowrap;
124}
125
126FIELDSET#mainConfCheck SPAN.property,
127FIELDSET#historyConf SPAN.property,
128FIELDSET#commentsConf SPAN.property,
129FIELDSET#uploadConf SPAN.property,
130FIELDSET#indexDisplayConf SPAN.property,
131FIELDSET#pictureDisplayConf SPAN.property,
132FIELDSET#pictureInfoConf SPAN.property {
133        float: right;
134        text-align: left;
135}
136FIELDSET#mainConfCheck INPUT,
137FIELDSET#historyConf INPUT,
138FIELDSET#commentsConf INPUT,
139FIELDSET#uploadConf INPUT,
140FIELDSET#indexDisplayConf INPUT,
141FIELDSET#pictureDisplayConf INPUT,
142FIELDSET#pictureInfoConf INPUT {
143        float: none;
144}
145
146FIELDSET#mainConf SPAN.property {
147        width: 25%;
148}
149FIELDSET#mainConf TEXTAREA.description {
150        width: 70%;
151}
152
153FIELDSET#mainConfCheck SPAN.property,
154FIELDSET#historyConf SPAN.property,
155FIELDSET#indexDisplayConf SPAN.property,
156FIELDSET#pictureDisplayConf SPAN.property,
157FIELDSET#pictureInfoConf SPAN.property {
158        width: 90%;
159}
160FIELDSET#mainConfCheck INPUT,
161FIELDSET#historyConf INPUT,
162FIELDSET#commentsConf INPUT,
163FIELDSET#indexDisplayConf INPUT,
164FIELDSET#pictureDisplayConf INPUT,
165FIELDSET#pictureInfoConf INPUT {
166        margin-left: 5%;
167}
168FIELDSET#uploadConf SELECT {
169        float: right;
170        margin: 2px 10px 0px;
171}
172FIELDSET#uploadConf INPUT {
173        float: right;
174        margin: 5px 10px 0px;
175}
176FIELDSET#uploadConf SPAN.property {
177        width: 65%;
178}
179FIELDSET#commentsConf SPAN.property {
180        width: 85%;
181}
182
183.statBar {
184        height: 10px;
185        background-color: #ff7700;
186        border: 1px solid #666;
187}
188
189.over{
190position: relative;
191z-index: 0;
192}
193
194.over:hover{
195background-color: transparent;
196z-index: 50;
197}
198
199.over SPAN{ /*CSS for enlarged image*/
200position: absolute;
201background-color: #222;
202padding: 5px;
203left: -1000px;
204border: 1px solid #ff3363;
205visibility: hidden;
206color: black;
207text-decoration: none;
208}
209
210.over SPAN IMG{ /*CSS for enlarged image*/
211border-width: 0;
212padding: 2px;
213}
214
215.over:hover SPAN{ /*CSS for enlarged image on hover*/
216visibility: visible;
217top: 0;
218left: 60px; /*position where enlarged image should offset horizontally */
219}
220
221BODY {
222        margin: 5px;
223        padding: 0;
224        font-size: 0.8em;
225        font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
226        text-align: center; /* be nice to IE5 */
227}
228
229H1 {
230color:#eee;
231letter-spacing:1px;
232text-align: left;
233font-size: 150%;
234font-weight: normal;
235font-style:italic;
236padding: 8px 0 0 10px;
237margin: 0;
238float:left;
239}
240
241#pwgHead {color:#aaa;}
242#pwgHead A {color:#ccc;}
243#pwgHead A:hover {color:#fff;border-bottom:1px solid #fff}
244#pwgHead A#instructions:hover {border:none;}
245
246#headActions {float:right; height:46px; line-height:46px; margin-right:10px;}
247
248A {
249        text-decoration:none;
250        border-bottom: 0;
251}
252A:hover {
253        border-bottom: 1px solid #FF3363;
254}
255A.button, A.button:hover { 
256        border: 0; 
257}
258IMG {
259        border: none;
260}
261
262HR.separation {
263        visibility: hidden;
264        clear: both;
265}
266
267/** General defaults **/
268INPUT, SELECT {
269        margin: 0;
270        font-size: 1em; /* <= some browsers don't set it correctly */
271}
272UL, DL, OL { text-align: left;}
273TABLE { /* horizontaly centered */
274        margin-left: auto;
275        margin-right: auto;
276}
277/* for debugging purpose */
278PRE { text-align:left; }
279
280/** forms **/
281
282FORM { padding: 0em; }
283
284FORM P {
285        text-align: center;
286        margin-top: 2em;
287        margin-bottom: 2em;
288}
289
290FORM FIELDSET P {
291        margin-top: 1em;
292        margin-bottom: 0;
293}
294
295.small {
296        font-size: 80%;
297}
298
299TEXTAREA.description {
300        height: 6em;
301        width: 40em;
302        overflow: auto;
303}
304
305SELECT.categoryList {
306        height: 20em;
307        width: auto;
308}
309
310DIV.comment BLOCKQUOTE {
311        padding: 0.5em;
312        overflow: auto; /* no solution for IE6 */
313        min-height: 2.75em;     /* fix a Gecko bug whith scrollbar and 1 line only */
314}
315
316
317/**
318 * Filter forms are displayed label by label with the input (or select...)
319 * below the label. Use an UL to make a group (radiobox for instance).
320 * Use a SPAN to group objects in line
321 */
322FIELDSET {
323        padding: 1em;
324        margin: 1em;
325        overflow: hidden; /* <- makes Opera happy */
326}
327
328FORM.filter FIELDSET UL {
329        margin: 0;
330}
331FORM.filter FIELDSET UL,
332FORM.filter FIELDSET LABEL {
333        display: block;
334        float: left;
335        margin-right: 1em;
336        padding: 0;
337}
338
339FORM.filter FIELDSET LI {
340        list-style: none;
341        margin-bottom: 0.5em;
342}
343
344FORM.filter FIELDSET LI LABEL {
345        display: inline;
346        float: none;
347}
348
349FORM.filter FIELDSET UL.tagSelection LABEL {
350        display: inline;
351        float: none;
352        margin-right:0.5em;/*reduce from above*/
353}
354
355/* cannot use FIELDSET>LABEL because of IE<=6 */
356FORM.filter FIELDSET LABEL INPUT,
357FORM.filter FIELDSET LABEL SELECT,
358FORM.filter FIELDSET LABEL SPAN,
359FORM.filter FIELDSET LABEL TEXTAREA {
360        display: block;
361        margin: 0.5em 0;
362}
363FORM.filter FIELDSET * LABEL INPUT,
364FORM.filter FIELDSET * LABEL SELECT,
365FORM.filter FIELDSET * LABEL TEXTAREA,
366FORM.filter FIELDSET LABEL SPAN INPUT,
367FORM.filter FIELDSET LABEL SPAN SELECT,
368FORM.filter FIELDSET LABEL SPAN TEXTAREA {
369        display: inline;
370        vertical-align: top;
371        margin: 0 0.5em 0 0;
372}
373
374FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
375        margin-right:0;
376}
377
378/* following declaration is important to avoid strange FF behaviour */
379FORM.filter FIELDSET LABEL SPAN SELECT {
380        margin: 0;
381}
382
383FORM.filter FIELDSET P
384{
385        clear: left;
386        display: block;
387}
388
389FORM.filter INPUT[type="submit"] {
390        margin-top: 1.8em;
391}
392
393FORM.properties UL, FORM#update UL {
394        list-style-type: none;
395        margin: 0;
396        padding: 0;
397}
398
399FORM.properties LI, FORM#update UL {
400        margin-bottom: 0.5em;
401        padding: 0;
402        line-height: 1.8em;
403        clear: left;
404}
405
406FORM.properties SPAN.property {
407        font-weight: bold;
408        float: left;
409        width: 50%;
410        text-align: right;
411        margin: 0;
412        padding: 0 0.5em 0 0;
413}
414
415#theHeader H1 {
416        margin-bottom: 0.5em;
417}
418
419/* button tools */
420UL.actions {
421        text-indent: 0;
422        list-style: none;
423}
424UL.actions LI {
425        display: inline;
426}
427UL.actions A {
428        border: none;
429}
430
431UL.tagSelection {
432        width: 99%;
433        margin: 1em 0 1em 0;
434        padding: 0;
435}
436
437UL.tagSelection LI {
438        display:inline-block;
439        width:150px!important;
440        overflow:hidden;
441        white-space: nowrap;
442}
443
444/* jQuery tooltips */
445.cluetip-default #cluetip-outer {
446        position: relative;
447        border: 1px solid #111111;
448        color: #dddddd;
449        background-color: #222222;
450        text-align: left;
451}
452.cluetip-default h3#cluetip-title {
453        margin: 0 0 5px;
454        padding: 8px;
455        color: #666666;
456        background-color: #d3d3d3;
457        font-size: 1.1em;
458        font-weight: bold;
459}
460.cluetip-default #cluetip-inner {
461        padding: 10px;
462}
463
464/* jQuery datepicker */
465img.ui-datepicker-trigger {
466        cursor : pointer;
467}
468
469/* jQuery FCBKcomplete */
470/* TextboxList sample CSS */
471ul.holder { margin: 0; border: 1px solid #999; overflow: hidden; height: auto !important; height: 1%; padding: 4px 5px 0; }
472*:first-child+html ul.holder { padding-bottom: 2px; } * html ul.holder { padding-bottom: 2px; } /* ie7 and below */
473ul.holder li { float: left; list-style-type: none; margin: 0 5px 4px 0; white-space:nowrap;}
474ul.holder li.bit-box, ul.holder li.bit-input input { font: 11px "Lucida Grande", "Verdana"; }
475ul.holder li.bit-box { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 1px solid #CAD8F3; background: #DEE7F8; padding: 1px 5px 2px; }
476ul.holder li.bit-box-focus { border-color: #598BEC; background: #598BEC; color: #fff; }
477ul.holder li.bit-input input { width: auto; overflow:visible; margin: 0; border: 0px; outline: 0; padding: 3px 0px 2px; } /* no left/right padding here please */
478ul.holder li.bit-input input.smallinput { width: 20px; }
479
480/* Facebook demo CSS */     
481#add { border: 1px solid #999; width: 550px; margin: 50px; padding: 20px 30px 10px; }
482form ol li { list-style-type: none; }
483form ol { font: 11px "Lucida Grande", "Verdana"; margin: 0; padding: 0; }
484form ol li.input-text { margin-bottom: 10px; list-style-type: none; padding-bottom: 10px; }
485form ol li.input-text label { font-weight: bold; cursor: pointer; display: block; font-size: 13px; margin-bottom: 10px; }
486form ol li.input-text input { width: 500px; padding: 5px 5px 6px; font: 11px "Lucida Grande", "Verdana"; border: 1px solid #999; }
487form ul.holder { width: 500px; }
488form ul { margin: 0 !important }
489ul.holder li.bit-box, #apple-list ul.holder li.bit-box { padding-right: 15px; position: relative; z-index:1000;}
490#apple-list ul.holder li.bit-input { margin: 0; }
491#apple-list ul.holder li.bit-input input.smallinput { width: 5px; }
492ul.holder li.bit-hover { background: #BBCEF1; border: 1px solid #6D95E0; }
493ul.holder li.bit-box-focus { border-color: #598BEC; background: #598BEC; color: #fff; }
494ul.holder li.bit-box a.closebutton { position: absolute; right: 4px; top: 5px; display: block; width: 7px; height: 7px; font-size: 1px; background: url(icon/fcbkcomplete_close.gif); }
495ul.holder li.bit-box a.closebutton:hover { background-position: 7px; }
496ul.holder li.bit-box-focus a.closebutton, ul.holder li.bit-box-focus a.closebutton:hover { background-position: bottom; }
497
498/* Autocompleter */
499
500.facebook-auto { display: none; position: absolute; width: 512px; background: #eee; }
501.facebook-auto .default { padding: 5px 7px; border: 1px solid #ccc; border-width: 0 1px 1px;font-family:"Lucida Grande","Verdana"; font-size:11px; }
502.facebook-auto ul { display: none; margin: 0; padding: 0; overflow: auto; position:absolute; z-index:9999}
503.facebook-auto ul li { padding: 5px 12px; z-index: 1000; cursor: pointer; margin: 0; list-style-type: none; border: 1px solid #ccc; border-width: 0 1px 1px; font: 11px "Lucida Grande", "Verdana"; background-color: #eee }
504.facebook-auto ul li em { font-weight: bold; font-style: normal; background: #ccc; }
505.facebook-auto ul li.auto-focus { background: #4173CC; color: #fff; }
506.facebook-auto ul li.auto-focus em { background: none; }
507.deleted { background-color:#4173CC !important; color:#ffffff !important;}
508.hidden { display:none;}
509
510#demo ul.holder li.bit-input input { padding: 2px 0 1px; border: 1px solid #999; }
511.ie6fix {height:1px;width:1px; position:absolute;top:0px;left:0px;z-index:1;}
512
513/* Add photos, direct mode */
514#uploadBoxes P {
515  margin:0;
516  margin-bottom:2px;
517  padding:0;
518}
519
520#batchLink {
521  text-align:center;
522}
523
524.category_selection {
525  min-height:65px;
526  margin-top:5px;
527}
528
529.category_selection TABLE {
530  margin:0;
531}
532
533#photosAddContent FIELDSET {
534  width:650px;
535  margin:0 auto 20px auto;
536}
537
538#photosAddContent P {
539  margin:0;
540}
541
542#photosAddContent TH {
543  text-align:right;
544  padding-right: 5px;
545}
546
547#uploadFormSettings input[type="text"] {
548  text-align:right;
549}
550
551#uploadFormSettings TH {
552  width:50%;
553}
554
555#pwgHead {
556  background-color:#464646;
557  height:46px;
558}
559
560html, body {height:100%; margin:0; padding:0;}
561#the_page {min-height:100%; position:relative; padding:0;margin:0;}
562#pwgMain {padding:10px;padding-bottom:60px;}
563
564#footer {
565  position:absolute;
566  bottom:0;
567  width:100%;
568  height:46px;
569  background: url(images/logo.png) no-repeat bottom left;
570  background-color:#464646;
571  color:#aaa;
572  line-height:46px;
573}
574
575#footer A {color:#ccc;}
576#footer A:hover {color:#fff;border-bottom:1px solid #fff;}
577
578#adminHome {
579  text-align:center;
580  margin-bottom:15px;
581  line-height:30px;
582  width:200px;
583  margin-left:5px;
584  -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
585}
586
587#adminHome A {display:block; font-size:1.1em; font-weight:bold;}
588#adminHome A {border:none;}
589
590#piwigoInfos {float:left; margin-left:100px;}
591#pageInfos {float:right; margin-right:10px;}
592
593/* TipTip CSS - Version 1.2 */
594
595#tiptip_holder {
596        display: none;
597        position: absolute;
598        top: 0;
599        left: 0;
600        z-index: 99999;
601}
602
603#tiptip_holder.tip_top {
604        padding-bottom: 5px;
605}
606
607#tiptip_holder.tip_bottom {
608        padding-top: 5px;
609}
610
611#tiptip_holder.tip_right {
612        padding-left: 5px;
613}
614
615#tiptip_holder.tip_left {
616        padding-right: 5px;
617}
618
619#tiptip_content {
620        font-size: 11px;
621        color: #fff;
622        text-shadow: 0 0 2px #000;
623        padding: 4px 8px;
624        border: 1px solid rgba(255,255,255,0.25);
625        background-color: rgb(25,25,25);
626        background-color: rgba(25,25,25,0.92);
627        background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
628        border-radius: 3px;
629        -webkit-border-radius: 3px;
630        -moz-border-radius: 3px;
631        box-shadow: 0 0 3px #555;
632        -webkit-box-shadow: 0 0 3px #555;
633        -moz-box-shadow: 0 0 3px #555;
634}
635
636#tiptip_arrow, #tiptip_arrow_inner {
637        position: absolute;
638        border-color: transparent;
639        border-style: solid;
640        border-width: 6px;
641        height: 0;
642        width: 0;
643}
644
645#tiptip_holder.tip_top #tiptip_arrow {
646        border-top-color: #fff;
647        border-top-color: rgba(255,255,255,0.35);
648}
649
650#tiptip_holder.tip_bottom #tiptip_arrow {
651        border-bottom-color: #fff;
652        border-bottom-color: rgba(255,255,255,0.35);
653}
654
655#tiptip_holder.tip_right #tiptip_arrow {
656        border-right-color: #fff;
657        border-right-color: rgba(255,255,255,0.35);
658}
659
660#tiptip_holder.tip_left #tiptip_arrow {
661        border-left-color: #fff;
662        border-left-color: rgba(255,255,255,0.35);
663}
664
665#tiptip_holder.tip_top #tiptip_arrow_inner {
666        margin-top: -7px;
667        margin-left: -6px;
668        border-top-color: rgb(25,25,25);
669        border-top-color: rgba(25,25,25,0.92);
670}
671
672#tiptip_holder.tip_bottom #tiptip_arrow_inner {
673        margin-top: -5px;
674        margin-left: -6px;
675        border-bottom-color: rgb(25,25,25);
676        border-bottom-color: rgba(25,25,25,0.92);
677}
678
679#tiptip_holder.tip_right #tiptip_arrow_inner {
680        margin-top: -6px;
681        margin-left: -5px;
682        border-right-color: rgb(25,25,25);
683        border-right-color: rgba(25,25,25,0.92);
684}
685
686#tiptip_holder.tip_left #tiptip_arrow_inner {
687        margin-top: -6px;
688        margin-left: -7px;
689        border-left-color: rgb(25,25,25);
690        border-left-color: rgba(25,25,25,0.92);
691}
692
693/* Webkit Hacks  */
694@media screen and (-webkit-min-device-pixel-ratio:0) { 
695        #tiptip_content {
696                padding: 4px 8px 5px 8px;
697                background-color: rgba(45,45,45,0.88);
698        }
699        #tiptip_holder.tip_bottom #tiptip_arrow_inner { 
700                border-bottom-color: rgba(45,45,45,0.88);
701        }
702        #tiptip_holder.tip_top #tiptip_arrow_inner { 
703                border-top-color: rgba(20,20,20,0.92);
704        }
705}
706
707/* Set the width of the menubar for the galery */
708#menubar {
709  width: 18em;
710}
711.content {
712  margin-left: 20em;  /* = #menubar width + 2em */
713}
714/* Set minimum width of the page before getting a scrollbar */
715/* IE5 and IE6 don't get that */
716BODY {
717  min-width: 60em;  /* ~ 3* #menubar width */
718}
719BODY#thePopuphelpPage {
720  min-width: 0;
721}
722
723/* Set some sizes according to your maximum thumbnail width and height */
724.content UL.thumbnails SPAN,
725.content UL.thumbnails SPAN.wrap2 A,
726.content UL.thumbnails LABEL,
727.content DIV.thumbnailCategory DIV.illustration {
728  width: 140px;      /* max thumbnail width + 2px */
729}
730.content UL.thumbnails SPAN.wrap2,
731.content DIV.thumbnailCategory DIV.description {
732  height: 140px;    /* max thumbnail height + 2px */
733}
734
735
736/* Category thumbnails on main page */
737.content UL.thumbnailCategories LI {
738  width: 49.7%;    /* 49.7% for 2 per line, 33.2% for 3 per line*/
739}
740
741/* Set defaults for thumbnails legend */
742.content UL.thumbnails SPAN.thumbLegend {
743  display: block;  /* display: none; if you don't want legend */
744  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/
745}
746
747.themeBox {display:inline-block; text-align:center; height:180px; background-color:#eee; margin:5px; -moz-border-radius:5px;}
748
749.themeBox IMG {border:1px solid white; margin:0 15px;}
750.themeName {font-size:1.1em; margin:5px 0;}
751.themeActions {margin:5px 0; font-size:12px;}
752.themeActions A {}
753
754#themesContent .themeBox IMG {width:150px; height:120px;}
755#themesContent H3 {font-size:16px; text-align:left; border-bottom:1px solid #444; letter-spacing:1px; margin:5px;}
756.themeBoxes {min-height:0;text-align:left;}
757
758h2 { letter-spacing:2px; font-weight:bold;}
759h2:lang(en) { text-transform:capitalize; }
760
761#pluginsMenuSeparator {width:80%; margin:5px auto;}
762
763#helpContent P {text-align:left; margin-left:10px;}
764#helpContent LI, #ftpPage LI {margin-top:10px;}
765#helpContent P.nextStepLink {text-align:center; font-weight:bold; margin-bottom:20px;}
766
767#configContent FIELDSET {border:none;}
Note: See TracBrowser for help on using the repository browser.