Dotclear

source: admin/style/default.css @ 481:b4bb355ed1dc

Revision 481:b4bb355ed1dc, 22.6 KB checked in by kozlika, 14 years ago (diff)

La boîte des favoris est un élément particulier du menu, sa présentation est donc différente. Close #1228

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

Sites map