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

Last change on this file since 5182 was 5182, checked in by plg, 14 years ago

feature 1519: admin instructions are dispatched into several tabs. Only
applied to en_UK and fr_FR. The help content itself needs some updates
but it will be another set of commits, in this commit, I nearly only
modified the container.

The new "Add Photos" help page only introduces you to 3 main ways to add
photos: direct upload, pLoader and FTP. Each of them has a dedicated tab
on the Admin>Photos>Add screen.

No use of the big question mark icon linked to the Help pages in the
administration header, to avoid having this icon twice : in the header
+ in the content next to H2.

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