Dotclear

source: admin/style/default.css @ 131:3aebed53fe73

Revision 131:3aebed53fe73, 21.1 KB checked in by Anne-Sophie Tranchet as.tranchet@…, 14 years ago (diff)

Sticky footer

Line 
1/*
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12*/
13body {
14     font: 76%/1.5em Helvetica,Arial,sans-serif;
15     color: #333;
16     background: #f5f5f5;
17     margin: 0;
18     padding: 0;
19}
20body.auth {
21     background: #fff;
22}
23
24a img,:link img,:visited img { border:none }
25
26a, a:link, a:visited {
27     color: #2373A8;
28     text-decoration: none;
29     border-bottom: 1px dotted #f90;
30}
31a:hover, a:active, a:focus {
32     text-decoration: underline;
33}
34
35h1, h2, h3, h4, h5, h6, p {
36     margin-top: 0;
37     margin-bottom: 0.6em;
38}
39
40h2 {
41     color: #666;
42     font-size: 1.4em;
43     padding: 4px 0;
44}
45
46h3 {
47     color: #333;
48     font-size: 1.2em;
49}
50
51p, div.p {
52     margin: 0 0 1em 0;
53}
54
55hr {
56     height: 1px;
57     border-width: 1px 0 0 0;
58     border-color: #999;
59     border-style: solid;
60}
61
62pre, code {
63     font: 100% "Andale Mono","Courier New",monospace;
64}
65pre {
66     white-space: pre;
67     white-space: -moz-pre-wrap;
68     white-space: -hp-pre-wrap;
69     white-space: -o-pre-wrap;
70     white-space: -pre-wrap;
71     white-space: pre-wrap;
72     white-space: pre-line;
73     word-wrap: break-word;
74}
75abbr {
76     cursor: help;
77}
78
79
80/* LAYOUT
81-------------------------------------------------------- */
82
83#top {
84     margin: 0;
85     padding: 0;
86     background: #575859 url(dc_bg.png) repeat-x 0 3em;
87}
88#top h1 {
89     padding: 0;
90     margin: 0;
91     height: 3em;
92     text-indent: -1000px;
93     background: transparent url(dc_logo.png) no-repeat 0 50%;
94}
95#top h1 a {
96     position: absolute;
97     top: 3px;
98     left: 0;
99     width: 130px;
100     height: 60px;
101     border: none;
102     outline: none;
103     color: #fff;
104}
105
106#info-box {
107     background: #575859;
108     position: absolute;
109     left: 13em;
110     top: 3px;
111     margin: 0;
112     padding: 3px 3px 4px 0;
113     color: #fff;
114}
115#info-box2 {
116     background: #575859;
117     position: absolute;
118     right: 1em;
119     top: 3px;
120     margin: 0;
121     padding: 3px 3px 4px 0;
122     color: #fff;
123}
124#info-box div, #info-box2 div {
125     margin: 0; padding: 0;
126}
127#info-box div div, #info-box2 div div {
128     display: inline;
129}
130#info-box>form>div, #info-box2>form>div {
131     line-height: 1.5;
132}
133#info-box select {
134     width: 20em;
135}
136#info-box a img, #info-box2 a img {
137     vertical-align: middle;
138     padding-left: .3em;
139     }
140#info-box a, #info-box2 a {
141     background: #575859;
142     font-weight: bold;
143     color: #fff;
144     border-bottom-color: #ccc;
145}
146#info-box a {margin-left: 2em;}
147
148#wrapper {
149     width: 100%;
150}
151#main {
152     width: 100%;
153     float: right;
154     margin-left: -13em;
155     margin-top: 0;
156}
157#content {
158     margin-left: 13em;
159     margin-bottom: 4em;
160     margin-top: .5em;
161     margin-right: 1.5em;
162     padding-top: 10px;
163     padding-left: 1em;
164     padding-right: 1em;
165     background: #fff;
166     -webkit-border-radius: .5em;
167     -moz-border-radius: .5em;
168     border-radius: .5em;
169     border: 1px solid #ddd;
170}
171     #content:after {clear:both; content:""; display:block; height:0; font-size:0;}
172#main-menu {
173     font-size: .95em;
174     width: 13em;
175     float: left;
176     margin-top: 1em;
177     margin-bottom: 10px;
178}
179
180#main-menu h3 {
181     margin: 0 0 0.5em 0;
182     padding: .5em 0 0 .5em;
183     text-transform: uppercase;
184     color: #666;
185}
186#main-menu ul {
187     margin: 0 0 1em 0;
188     padding: 0;
189     list-style: none;
190}
191#main-menu li {
192     display: block;
193     margin: 0.5em 0 0 0;
194     padding: .2em 0 0 32px;
195     background-repeat: no-repeat;
196     background-position: 12px .2em;
197}
198#main-menu a {
199     font-weight: bold;
200}
201#main-menu .active a {
202     border-bottom-style: solid;
203     border-bottom: none;
204}
205#main-menu li.active {
206     background-color: #fff;
207     border: 1px solid #ccc;
208     border-right: none;
209     border-left: none;
210     margin-right: -.76em;
211     padding: .4em 0 .1em 32px;
212     background-position: 12px .4em;
213}
214#main-menu #dashboard-menu li {
215     margin-left: 0;
216}
217
218/* favoris en haut */
219#fav-add {
220     position: absolute;
221     top: 3.5em;
222     right: 2em;
223}
224
225#footer {
226     clear: both;
227     padding: .75em 2em;
228     margin: 6em 15px .5em 15px;
229     -webkit-border-radius: .3em;
230     -moz-border-radius: .3em;
231     border-radius: .3em;
232     background: #575859 url(dc_logo_small.png) no-repeat right bottom;
233     color: #fff;
234}
235#footer p {
236     margin: 0;
237     padding: 0 1em;
238     text-align: center;
239     font-size: 1.1em;
240}
241#footer a {
242     color: #f5f5f5;
243}
244#footer p span.credit {
245     font-size: .85em;
246     font-weight: normal;
247}
248
249#debug {
250     position: absolute;
251     top: 0;
252     width: 100%;
253     height: 4px;
254     background: #d99;
255}
256#debug div {
257     display: none;
258     padding: 3px 0.5em 2px;
259}
260#debug p {
261     margin: 0.5em 0;
262}
263#debug:hover {
264     height: auto;
265}
266#debug:hover div {
267     display: block;
268}
269
270/* DASHBOARD */
271#dashboard-main {
272     float: left;
273     overflow: hidden;
274     padding: 1em 1%;
275     width: 66%;
276}
277#dashboard-main.fullwidth {
278     width: 100%;
279     padding: 1em 0;
280     float: none;
281}
282#dashboard-main #icons {
283     overflow: hidden;
284     padding-bottom: 1em;
285     text-align: center;
286}
287#dashboard-main #icons p {
288     width: 210px;
289     text-align: center;
290     margin: 2em 0 0 0;
291     display:inline-block;
292}
293#dashboard-main #icons span {
294     display: block;
295}
296#dashboard-main #icons a {
297     border-bottom-width: 0;
298}
299#dashboard-main #icons span a {
300     border-bottom-width: 1px;
301}
302
303#dashboard-main #quick {
304     clear: left;
305     margin-top: 2em;
306}
307#dashboard-main #quick h3 {
308     margin-bottom: 0.2em;
309     font-size: 1.2em;
310}
311#dashboard-main #quick p.qinfo {
312     margin: -.7em -1em 1em;
313     background: #eef url(info.png) no-repeat .2em .2em;
314     border: 1px solid #99f;
315     padding: .2em 1em .1em 24px;
316     color: #666;
317}
318
319#dashboard-items {
320     float: left;
321     width: 29%;
322     overflow: hidden;
323     margin-left: 2%;
324     padding-bottom: 1em;
325     padding-top: 3em;
326}
327#dashboard-items p img {
328     vertical-align: middle;
329}
330#dashboard-items ul {
331     display: block;
332     padding-left: 1.5em;
333     list-style: square;
334}
335#dashboard-items li {
336     margin: 0.25em 0 0 0;
337     color: #666;
338}
339#dashboard-items #news dt {
340     font-weight: bold;
341     margin: 0 0 0.4em 0;
342}
343#dashboard-items #news dd {
344     margin: 0 0 1em 0;
345}
346#dashboard-items #news dd p {
347     margin: 0.2em 0 0 0;
348}
349#upg-notify {
350}
351#upg-notify ul {
352     padding-left: 15px;
353}
354#upg-notify li {
355     color: #fff;
356}
357
358/* POST */
359#entry-sidebar {
360     width: 200px;
361     float: right;
362}
363#entry-content {
364     margin-right: 220px;
365}
366#comments {
367     clear: both;
368}
369
370/* CATEGORIES */
371#categories {
372     margin: 1em 0 2em;
373}
374#categories ul {
375     list-style: none;
376     margin: 0 0 0 0;
377     padding: 0 0 0 0;
378}
379#categories ul li {
380     margin: .5em 0;
381     padding: .3em 1.5em;
382     border: 1px solid #ccc;
383     border-left: 1em solid #E5E3DA;
384     -moz-border-radius: .3em;
385     -webkit-border-radius: .3em;
386     border-radius: .3em;
387}
388#categories ul li h4 {
389     margin: 0;
390}
391#categories ul li h4 span {
392     font-weight: normal;
393}
394#categories ul li p {
395     margin: 0;
396}
397select#del_cat {
398     width: 100%;
399}
400
401/* MEDIA */
402#media-icon {
403     float: left;
404}
405#media-details {
406     margin-left: 70px;
407}
408#media-details ul {
409     display: block;
410     margin-left: 0;
411     padding: 0;
412}
413#media-details li {
414     list-style: square inside;
415     margin: 0;
416     padding: 0;
417}
418#media-original-image {
419     overflow: auto;
420}
421#media-original-image.overheight {
422     height: 500px;
423}
424
425#add-file-f {
426     position: relative;
427}
428#add-file-f .more-file {
429     position:absolute;
430     right: 0.5em;
431     background: #999;
432     color: #fff;
433     border: none;
434}
435
436/* favorites */
437#my-favs ul {
438     list-style-type: none;
439     margin-left: 0;
440     padding-left: 0;
441     line-height: 1.2;
442}
443#my-favs ul li {
444     display: block;
445     float: left;
446     width: 164px;
447     margin-top: 1em;
448     margin-bottom: 1.5em;
449}
450#my-favs label {height: 2.5em;width:140px;margin-top:.3em;}
451#my-favs label input {display:inline;}
452#my-favs img {
453     display: block;
454}
455#my-favs input.position {
456     margin: 0 0 .4em .2em;
457}
458#available-favs input, #available-favs label, #available-favs label span {
459     white-space: normal;
460     display: inline;
461}
462
463#default-favs h3 {
464     margin-top: 2em;
465     margin-bottom: 1em;
466}
467
468.fav-list {
469     list-style-type: none;
470     margin-left: 0;
471     padding-left: 0;
472}
473.fav-list li {
474     line-height: 2;
475     margin-left: 0;
476     padding-left: 0;
477     position: relative;
478}
479.fav-list li img {
480     vertical-align: middle;
481     margin-right: .2em;
482}
483#available-favs label span.zoom {
484     display: none;
485}
486#available-favs li:hover label span.zoom {
487     display: block;
488     position: absolute;
489     bottom: 0;
490     left: 10em;
491     background-color: #f5f5f5;
492     border: 1px solid #ddd;
493     padding: .2em;
494     -moz-border-radius: .5em;
495     -webkit-border-radius: .5em;
496     border-radius: .5em;
497}
498
499/* Help */
500#help {
501     margin-top: 2em;
502     background: #f5f5f5;
503     z-index: 100;
504}
505#help-button {
506     position: absolute;
507     top: 6.2em;
508     right: 0px;
509     cursor: pointer;
510     background: #fc3;
511     border: 1px solid #dde;
512     border-right: none;
513     font-size: 1.1em;
514     font-weight: bold;
515     text-transform: capitalize;
516     padding: .33em .75em .33em 1em;
517     -moz-border-radius: 1em 0 0 1em;
518     -webkit-border-top-left-radius: 1em;
519     -webkit-border-bottom-left-radius: 1em;
520     color: #444;
521}
522.help-box {
523     display: none;
524}
525.help-box ul {
526     padding-left: 20px;
527     margin-left: 0;
528}
529#content.with-help #help-button {
530     right: 282px;
531}
532#content.with-help #help {
533     display: block;
534     position: absolute;
535     top: 40px;
536     right: 0;
537     width: 280px;
538     border-left: 2px solid #fc3;
539     margin-top: 0;
540     padding: 10px 0 0 0;
541     overflow: auto;
542}
543#content.with-help .help-content {
544     padding: 0 5px 1em 5px;
545}
546
547/* POPUP */
548body.popup #wrapper {
549     background-position: -130px 0;
550}
551body.popup #top h1 {
552     background-position: -130px 0;
553}
554body.popup #main {
555     margin-left: -35px;
556}
557body.popup #content {
558     margin-left: 35px;
559}
560body.popup #footer {
561     background-position: -130px 0;
562}
563body.popup #footer p {
564     margin-left: 35px;
565     border: none;
566}
567
568/* CLASSES
569-------------------------------------------------------- */
570p.top-add {
571     text-align: right;
572     margin: 0;
573     }
574p.top-add a {
575     padding: .3em 1em .3em .5em;
576     font-weight: bold;
577}
578p.top-add a img {
579     padding-right: .3em;
580     vertical-align: middle;
581}
582
583/* -------------- aide ----------- */
584.help-content dt {
585     font-weight: bold;
586     color: #626262;
587     margin: 0;
588}
589.help-content dd {
590     margin: 0.3em 0 1.5em 0;
591}
592
593.clear {
594     clear: both;
595}
596.lclear {
597     clear: left;
598}
599div.clearer {
600     height: 1px;
601     font-size: 1px;
602}
603
604.hide {
605     display: none;
606}
607
608.right {
609     text-align: right;
610}
611
612.frame-shrink {
613     border: 1px solid #666;
614     padding: 0.5em;
615     margin-bottom: 1em;
616     height: 120px;
617     overflow: auto;
618}
619
620.grid {
621     background: transparent repeat url('grid.png') 0 0;
622}
623
624.line p {
625     margin: 0;
626}
627
628div.error, p.error, div.message, p.message, div.static-msg, p.static-msg {
629     padding: 0.5em 0.5em 0.5em 40px;
630     margin-bottom: 1em;
631     -moz-border-radius: 8px;
632     -webkit-border-radius: 8px;
633     border-radius: 8px;
634}
635p.error, p.message, p.static-msg {
636     padding-top: 1em;
637     padding-bottom: 1em;
638}
639div.error, p.error {
640     background: #e5bfbf url(msg-error.png) no-repeat 5px 5px;
641     color: #600;
642}
643div.message, p.message, div.static-msg, p.static-msg {
644     background: #666 url(msg-std.png) no-repeat 5px 5px;
645     color: #fff;
646}
647div.message a, p.message a, div.static-msg a, p.static-msg a {
648     color: #fff;
649}
650
651.offline {
652     color: #666;
653}
654
655ul.nice {
656     margin: 1em 0;
657     padding: 0 0 0 2em;
658     list-style: square;
659}
660ul.nice li {
661     margin:0;
662     padding: 0;
663}
664
665.three-cols {
666}
667.three-cols .col {
668     width: 32.3%;
669     float: left;
670     margin-left: 1%;
671}
672.three-cols .col:first-child {
673     width: 33.3%;
674     margin-left: 0;
675}
676
677.two-cols {
678     position: static;
679}
680.two-cols .col {
681     width: 49%;
682     margin-left: 2%;
683     float: left;
684}
685.two-cols .col:first-child {
686     width: 49%;
687     margin-left: 0;
688}
689.two-cols .col70{
690     width: 69%;
691     margin-left: 0;
692     float: left;
693}
694.two-cols .col30 {
695     width: 28%;
696     margin-left: 2%;
697     float: left;
698}
699
700.comment {
701     border-top: 2px solid #ccc;
702     margin-bottom: 1em;
703     padding: 2em 0 1em 0;
704     position: relative;
705}
706.comment form p {
707     margin: 0;
708     position: absolute;
709     top: 2px;
710     right: 0;
711}
712
713/* -------- onglets ------ */
714.part-tabs ul {
715     padding: .3em 0 1px 1em;
716     border-bottom: 1px solid #999;
717}
718.part-tabs li {
719     list-style: none;
720     margin: 0;
721     display: inline;
722}
723.part-tabs li a {
724     padding: .3em 0.5em;
725     margin-right: .5em;
726     border: 1px solid #999;
727     border-bottom: none;
728     background: #dfdfdf;
729     text-decoration: none;
730     -webkit-border-top-left-radius: .3em;
731     -webkit-border-top-right-radius: .3em;
732     -moz-border-radius-topleft: .3em;
733     -moz-border-radius-topright: .3em;
734     border-top-left-radius: .3em;
735     border-top-right-radius: .3em;
736     color: #000;
737}
738.part-tabs li.part-tabs-link a {
739     background: #ffe;
740}
741.part-tabs li a:hover, .part-tabs li a:focus {
742     color: #000;
743     background: #fff;
744     border-bottom-color: #fff;
745}
746.part-tabs li.part-tabs-active a {
747     background: #fff;
748     border-bottom: 1px solid #fff;
749     color: #000;
750     font-weight: bold;
751}
752
753/* Themes list */
754#themes {
755     border-bottom: 1px solid #ccc;
756     margin: 1em 0;
757}
758#themes div.theme-details {
759     clear: left;
760     border-top: 1px solid #ccc;
761     padding: 1em 0;
762}
763#themes div.theme-details:hover {
764     background: #eee;
765}
766#themes div.theme-details div.theme-shot {
767     float: left;
768}
769#themes div.theme-details div.theme-shot img {
770     display: block;
771     width: 57px;
772     height: 50px;
773     border: 1px solid #ccc;
774}
775#themes div.theme-details div.theme-info {
776     margin-left: 67px;
777}
778#themes div.theme-details div.theme-info span.theme-desc {
779     display: block;
780}
781#themes div.theme-details div.theme-info span.theme-version {
782     color: #666;
783}
784#themes div.theme-details div.theme-actions {
785     margin-left: 67px;
786}
787/* Themes list, JS version */
788#themes-wrapper {
789}
790#theme-box {
791     border: 1px solid #999;
792     border-left: none;
793     padding: 5px;
794     float: right;
795     height: 420px;
796     width: 320px;
797     overflow: auto;
798}
799#theme-box div.theme-shot img {
800     display: block;
801     margin: 0 0 0 10px;
802     width: 280px;
803     height: 245px;
804     border: 1px solid #ccc;
805}
806#theme-box div.theme-info {
807     margin: 1em 0 0 10px;
808}
809#theme-box h3 {
810     margin: 0;
811}
812#theme-box div.theme-info span {
813     display: block;
814}
815#theme-box span.theme-version {
816     color: #666;
817}
818#theme-box span.theme-parent-ok {
819     color: #666;
820}
821#theme-box span.theme-parent-missing {
822     color: #c00;
823     font-weight:bold;
824}
825#theme-box div.theme-actions {
826     margin-left: 10px;
827}
828#themes-wrapper #themes {
829     border: 1px solid #999;
830     overflow: auto;
831     height: 420px;
832     padding: 5px;
833     margin: 0;
834}
835#themes div.theme-details-js {
836     float: left;
837     width: 120px;
838     height: 150px;
839     margin: 0 10px 20px;
840     padding: 10px 10px 0;
841     text-align: center;
842     background: #f3f3f3;
843     border: 1px solid #f3f3f3;
844     cursor: pointer;
845     -moz-border-radius: 4px;
846     -webkit-border-radius: 4px;
847     border-radius: 4px;
848}
849#themes div.theme-details-js label {
850     cursor: pointer;
851}
852#themes div.theme-details-js.theme-selected {
853     background: #E5E3DA;
854     border: 1px solid #999;
855}
856#themes div.theme-details-js div.theme-shot img {
857     width: 120px;
858     height: 105px;
859     border: 1px solid #fff;
860}
861#themes div.theme-details-js h3 {
862     font-family: inherit;
863     font-weight: normal;
864     margin: 0;
865     padding: 0;
866}
867
868/* Plugins list */
869#plugins td.action {
870     vertical-align: middle;
871}
872.media-list {
873     position: static;
874}
875.media-col-0 {
876     clear: left;
877}
878.media-item {
879     position: relative;
880     border-top: 1px solid #ccc;
881     margin-bottom: 1em;
882     padding: 5px 0;
883}
884div.media-list .media-item {
885     width: 49%;
886     float: left;
887     margin-right: 1%;
888}
889a.media-icon {
890     display: block;
891     border-bottom: none;
892     float: left;
893}
894.media-icon img {
895     display: block;
896}
897.media-item ul {
898     display: block;
899     list-style: none;
900     margin: 0 0 0 60px;
901     padding: 0;
902}
903li.media-action {
904     display: block;
905     position: absolute;
906     top: 5px;
907     right: 5px;
908     height: 16px;
909}
910li.media-action a {
911     border: none;
912}
913li.media-action form {
914     display: inline;
915}
916li.media-action input {
917     border: none;
918}
919
920.zip-dl {
921     background: transparent url(package.png) no-repeat 0 50%;
922     padding: 5px 0 5px 20px;
923}
924
925select.l10n option {
926     padding-left: 16px;
927}
928option.avail10n {
929     background: transparent url(../images/check-on.png) no-repeat 0 50%;
930}
931
932/* TABLES
933-------------------------------------------------------- */
934table {
935     font-size: 1em;
936     border-collapse: collapse;
937     margin: 0 0 1em 0;
938}
939tr.line:hover {
940     background: #ddd;
941}
942th, td {
943     border-width: 0 0 1px 0;
944     border-style: solid;
945     border-color: #ccc;
946     padding: 3px 5px;
947     vertical-align: top;
948}
949th {
950     text-align: left;
951     border-bottom-color: #666;
952}
953
954.noborder td, td.noborder, .noborder th, th.noborder {
955     border-width: 0;
956}
957
958table .maximal, table.maximal {
959     width: 100%;
960}
961table .minimal {
962     width: 1px;
963}
964
965table .nowrap {
966     white-space: nowrap;
967     vertical-align: top;
968}
969
970td.status {
971     vertical-align: middle;
972}
973td.status img {
974     margin-bottom: -2px;
975}
976td.status a {
977     border: none;
978}
979
980tr.line img.expand {
981     margin-right: 10px;
982     margin-bottom: -2px;
983}
984tr.line input {
985     vertical-align: middle;
986}
987tr.expand td {
988     border-bottom: none;
989}
990td.expand {
991     padding: 1em;
992}
993
994.dragable {
995     border-collapse: separate;
996}
997.dragable tbody td {
998
999}
1000.handle {
1001     padding: 0;
1002}
1003.handler {
1004     cursor: move;
1005     background: transparent url(drag.png) no-repeat 0 50%;
1006     padding-left: 15px;
1007}
1008
1009/* FORMS
1010-------------------------------------------------------- */
1011form {
1012     display: block;
1013     margin: 0;
1014     padding: 0;
1015}
1016
1017fieldset {
1018     display: block;
1019     margin: 0 0 1em 0;
1020     padding: 1em 0.5em;
1021     border-width: 1px 0;
1022     border-style: solid;
1023     border-color: #ccc;
1024     background: #f5f5f5;
1025}
1026legend {
1027     font-weight: bold;
1028     padding: 0.2em 0.6em;
1029     border-width: 1px;
1030     border-style: solid;
1031     border-color: #ccc;
1032     background: #f5f5f5;
1033     margin-bottom: 0.5em;
1034}
1035optgroup {
1036     font-weight: bold;
1037     font-style: normal;
1038}
1039option {
1040     font-weight: normal;
1041}
1042
1043input, textarea, select {
1044     background: #f9f9f9;
1045     color: #000;
1046     border-width: 1px;
1047     border-style: solid;
1048     border-color: #000 #ccc #ccc #000;
1049}
1050input, textarea, select, option {
1051     font: 1em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
1052}
1053input[type=text], input[type=password], textarea {
1054     padding: 2px 0;
1055     margin-right: .3em;
1056}
1057input[type=checkbox], input[type=radio] {
1058     border: none;
1059}
1060textarea {
1061     padding: 2px 0;
1062}
1063
1064input[type=checkbox], input[type=radio] {
1065     margin: 0;
1066     padding: 0;
1067     background: transparent;
1068}
1069
1070label {
1071     display: block;
1072}
1073label input, label select, label span {
1074     display: block;
1075}
1076p.form-note {
1077     font-style:normal;
1078     background: #eef url(info.png) no-repeat .2em .2em;
1079     border: 1px solid #99f;
1080     padding: .2em 1em .1em 24px;
1081     margin-top: -.7em;
1082     color: #666;
1083}
1084.form-note a {border-bottom: 1px solid #99f;}
1085
1086label.classic {
1087     display: inline;
1088}
1089label.classic input, label span input, label.classic select, label span select {
1090     display: inline;
1091}
1092
1093label.area, p.area {
1094     width: inherit !important;
1095}
1096.area textarea {
1097     display: block;
1098     width: 100%;
1099}
1100
1101label.required {
1102     font-weight: bold;
1103}
1104label.required abbr {
1105     color: #dd0000;
1106     font-size: 1.3em;
1107}
1108label.inline {
1109     display: inline;
1110}
1111p.field {
1112     position: relative;
1113
1114}
1115p.field label {
1116     display: block;
1117     width: 14em;
1118}
1119p.field input, p.field select {
1120     display: inline;
1121     position: absolute;
1122     left: 15em;
1123     top: 0;
1124}
1125
1126label .maximal, textarea.maximal, input.maximal {
1127     width: 100%;
1128}
1129
1130a.form-control {
1131     display: none;
1132     font-weight: bold;
1133     background: url(magnifier.png) no-repeat 0 0;
1134     color: green;
1135     padding-left: 20px;
1136}
1137
1138fieldset.constrained {
1139     margin: 0;
1140     padding: 0;
1141     border: none;
1142     background: transparent;
1143}
1144
1145#login-screen {
1146     display: block;
1147     width: 18em;
1148     margin: 30px auto 0;
1149     font-size: 1.1em;
1150}
1151#login-screen h1 {
1152     text-indent: -2000px;
1153     background: transparent url(dotclear-logo.png) no-repeat top left;
1154     height: 46px;
1155}
1156#login-screen fieldset {
1157     border: 1px solid #999;
1158     padding: 1em 10px;
1159     -moz-border-radius: 4px;
1160     -webkit-border-radius: 4px;
1161     border-radius: 4px;
1162}
1163#login-screen input[type=text], #login-screen input[type=password] {
1164     width: 100%;
1165}
1166#login-screen #issue {
1167     margin-left: .5em;
1168}
1169
1170
1171/* ------------------  Tous les boutons -------------------- */
1172h2 a.button {
1173     color: #333;
1174     font-weight: normal;
1175     font-size: .75em;
1176     vertical-align: middle;
1177}
1178/* commun */
1179input[type=submit],
1180input[type=reset],
1181input[type=button],
1182a.button,
1183a.button.add,
1184a.back {
1185     display: inline-block;
1186     outline: none;
1187     cursor: pointer;
1188     text-align: center;
1189     text-decoration: none;
1190     padding: .1em .75em .1em;
1191     text-shadow: 0 1px 1px rgba(0,0,0,.3);
1192     -webkit-border-radius: .2em;
1193     -moz-border-radius: .2em;
1194     border-radius: .2em;
1195     margin-bottom: .1em;
1196}
1197/* validation */
1198input[type=submit],
1199input[type=button],
1200a.button.add {
1201     color: #fff;
1202     border: 1px solid #2373A8;
1203     background: #2373A8;
1204     background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8));
1205     background: -moz-linear-gradient(top,  #2C8FD1,  #2373A8);
1206}
1207input[type=submit]:hover,
1208input[type=reset]:hover,
1209input[type=button]:hover,
1210input[type=submit]:focus,
1211input[type=reset]:focus,
1212input[type=button]:focus,
1213a.button.add:hover,
1214a.button.add:focus {
1215     background: #2373A8;
1216     background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
1217     background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
1218     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');
1219     border: 1px solid #2C8FD1;
1220}
1221/* suppression et reset */
1222a.button,
1223a.back,
1224input[type=submit].reset,
1225input[type=submit].delete {
1226     border: 1px solid #999;
1227     background: #f5f5f5;
1228     color: #000;
1229     background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
1230     background: -moz-linear-gradient(top,  #f5f5f5,  #e5e5e5);
1231     text-shadow: none;
1232     }
1233a.button:hover,
1234a.back:hover,
1235input[type=submit].reset:hover,
1236input[type=submit].delete:hover,
1237a.button:focus,
1238a.back:focus,
1239input[type=submit].reset:focus,
1240input[type=submit].delete:focus {
1241     background: #e5e5e5;
1242     background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#f5f5f5));
1243     background: -moz-linear-gradient(top,  #e5e5e5,  #f5f5f5);
1244     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5');
1245     }
1246a.delete,
1247input.delete,
1248input[type=submit].delete {
1249     color: #c00;
1250     font-weight: bold;
1251}
1252a.delete:hover,
1253input.delete:hover,
1254input[type=submit].delete:hover,
1255a.delete:focus,
1256input.delete:focus,
1257input[type=submit].delete:focus {
1258     border-color: #c00;
1259}
1260/* finasseries */
1261input[type=button] {
1262     padding: .1em .1em;
1263}
1264#info-box a.button {
1265     padding: 0 .5em;
1266     margin-left: 2em;
1267}
1268a.back:before {
1269     content: "\ab\a0";
1270}
Note: See TracBrowser for help on using the repository browser.

Sites map