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

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

feature 1514: new screen to manage installed themes; activate, deactivate,
delete, set as default.

plugins.class.php was merged back to a state it doesn't manage themes at all.
themes.class.php was created instead, from a duplication of plugins.class.php
and strongly modified then.

feature 1507: the display of available themes is now much more "graphic".

  • Property svn:eol-style set to LF
File size: 16.4 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.formField {
521  width:650px;
522  margin:0 auto 20px auto;
523  padding:10px;
524  border: 2px solid #292929;
525}
526
527.formFieldTitle {
528  font-weight:bold;
529  margin-bottom:10px;
530}
531
532.formField P {
533  margin:0;
534}
535
536.formField TH {
537  text-align:right;
538  padding-right: 5px;
539}
540
541#uploadFormSettings input[type="text"] {
542  text-align:right;
543}
544
545#uploadFormSettings TH {
546  width:50%;
547}
548
549#pwgHead {
550  background-color:#464646;
551  height:46px;
552}
553
554html, body {height:100%; margin:0; padding:0;}
555#the_page {min-height:100%; position:relative; padding:0;margin:0;}
556#pwgMain {padding:10px;padding-bottom:60px;}
557
558#footer {
559  position:absolute;
560  bottom:0;
561  width:100%;
562  height:46px;
563  background-color:#464646;
564  color:#aaa;
565  line-height:46px;
566}
567
568#footer A {color:#ccc;}
569#footer A:hover {color:#fff;border-bottom:1px solid #fff;}
570
571#adminHome {
572  text-align:center;
573  margin-bottom:15px;
574  line-height:30px;
575  width:200px;
576  margin-left:5px;
577  -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
578}
579
580#adminHome A {display:block; font-size:1.1em; font-weight:bold;}
581#adminHome A {border:none;}
582
583#piwigoInfos {float:left; margin-left:10px;}
584#pageInfos {float:right; margin-right:10px;}
585
586/* TipTip CSS - Version 1.2 */
587
588#tiptip_holder {
589        display: none;
590        position: absolute;
591        top: 0;
592        left: 0;
593        z-index: 99999;
594}
595
596#tiptip_holder.tip_top {
597        padding-bottom: 5px;
598}
599
600#tiptip_holder.tip_bottom {
601        padding-top: 5px;
602}
603
604#tiptip_holder.tip_right {
605        padding-left: 5px;
606}
607
608#tiptip_holder.tip_left {
609        padding-right: 5px;
610}
611
612#tiptip_content {
613        font-size: 11px;
614        color: #fff;
615        text-shadow: 0 0 2px #000;
616        padding: 4px 8px;
617        border: 1px solid rgba(255,255,255,0.25);
618        background-color: rgb(25,25,25);
619        background-color: rgba(25,25,25,0.92);
620        background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
621        border-radius: 3px;
622        -webkit-border-radius: 3px;
623        -moz-border-radius: 3px;
624        box-shadow: 0 0 3px #555;
625        -webkit-box-shadow: 0 0 3px #555;
626        -moz-box-shadow: 0 0 3px #555;
627}
628
629#tiptip_arrow, #tiptip_arrow_inner {
630        position: absolute;
631        border-color: transparent;
632        border-style: solid;
633        border-width: 6px;
634        height: 0;
635        width: 0;
636}
637
638#tiptip_holder.tip_top #tiptip_arrow {
639        border-top-color: #fff;
640        border-top-color: rgba(255,255,255,0.35);
641}
642
643#tiptip_holder.tip_bottom #tiptip_arrow {
644        border-bottom-color: #fff;
645        border-bottom-color: rgba(255,255,255,0.35);
646}
647
648#tiptip_holder.tip_right #tiptip_arrow {
649        border-right-color: #fff;
650        border-right-color: rgba(255,255,255,0.35);
651}
652
653#tiptip_holder.tip_left #tiptip_arrow {
654        border-left-color: #fff;
655        border-left-color: rgba(255,255,255,0.35);
656}
657
658#tiptip_holder.tip_top #tiptip_arrow_inner {
659        margin-top: -7px;
660        margin-left: -6px;
661        border-top-color: rgb(25,25,25);
662        border-top-color: rgba(25,25,25,0.92);
663}
664
665#tiptip_holder.tip_bottom #tiptip_arrow_inner {
666        margin-top: -5px;
667        margin-left: -6px;
668        border-bottom-color: rgb(25,25,25);
669        border-bottom-color: rgba(25,25,25,0.92);
670}
671
672#tiptip_holder.tip_right #tiptip_arrow_inner {
673        margin-top: -6px;
674        margin-left: -5px;
675        border-right-color: rgb(25,25,25);
676        border-right-color: rgba(25,25,25,0.92);
677}
678
679#tiptip_holder.tip_left #tiptip_arrow_inner {
680        margin-top: -6px;
681        margin-left: -7px;
682        border-left-color: rgb(25,25,25);
683        border-left-color: rgba(25,25,25,0.92);
684}
685
686/* Webkit Hacks  */
687@media screen and (-webkit-min-device-pixel-ratio:0) { 
688        #tiptip_content {
689                padding: 4px 8px 5px 8px;
690                background-color: rgba(45,45,45,0.88);
691        }
692        #tiptip_holder.tip_bottom #tiptip_arrow_inner { 
693                border-bottom-color: rgba(45,45,45,0.88);
694        }
695        #tiptip_holder.tip_top #tiptip_arrow_inner { 
696                border-top-color: rgba(20,20,20,0.92);
697        }
698}
699
700/* Set the width of the menubar for the galery */
701#menubar {
702  width: 18em;
703}
704.content {
705  margin-left: 20em;  /* = #menubar width + 2em */
706}
707/* Set minimum width of the page before getting a scrollbar */
708/* IE5 and IE6 don't get that */
709BODY {
710  min-width: 60em;  /* ~ 3* #menubar width */
711}
712BODY#thePopuphelpPage {
713  min-width: 0;
714}
715
716/* Set some sizes according to your maximum thumbnail width and height */
717.content UL.thumbnails SPAN,
718.content UL.thumbnails SPAN.wrap2 A,
719.content UL.thumbnails LABEL,
720.content DIV.thumbnailCategory DIV.illustration {
721  width: 140px;      /* max thumbnail width + 2px */
722}
723.content UL.thumbnails SPAN.wrap2,
724.content DIV.thumbnailCategory DIV.description {
725  height: 140px;    /* max thumbnail height + 2px */
726}
727
728
729/* Category thumbnails on main page */
730.content UL.thumbnailCategories LI {
731  width: 49.7%;    /* 49.7% for 2 per line, 33.2% for 3 per line*/
732}
733
734/* Set defaults for thumbnails legend */
735.content UL.thumbnails SPAN.thumbLegend {
736  display: block;  /* display: none; if you don't want legend */
737  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/
738}
739
740.themeBox {float:left; text-align:center; height:180px; background-color:#eee; margin:5px; -moz-border-radius:5px;}
741.themeBox IMG {border:1px solid white; margin:0 15px;}
742.themeName {font-size:1.1em; margin:5px 0;}
743.themeActions {margin:5px 0; font-size:12px;}
744.themeActions A {}
745
746#themesContent .themeBox IMG {width:150px; height:120px;}
747#themesContent H3 {font-size:16px; text-align:left; border-bottom:1px solid #444; letter-spacing:1px; margin:5px;}
748
749.themeBoxes {min-height:300px;}
Note: See TracBrowser for help on using the repository browser.