Dotclear

source: admin/style/default.css @ 158:0feef9838bd0

Revision 158:0feef9838bd0, 21.5 KB checked in by kozlika, 14 years ago (diff)

Now le bouton Add New Machin est en full CSS. Je me charge de convaincre Gautier ;-)

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

Sites map