Dotclear

source: admin/style/default.css @ 257:43e1c8b5c840

Revision 257:43e1c8b5c840, 22.1 KB checked in by Franck <carnet.franck.paul@…>, 14 years ago (diff)

Poil de truc pour le logo sur la page d'authentification

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

Sites map