Dotclear

source: admin/style/default.css @ 488:c2e0f8b6517d

Revision 488:c2e0f8b6517d, 22.8 KB checked in by kozlika, 14 years ago (diff)

Favorites box. I'm a kind girl, what do you think of this, dear Mirovinben? ;-)

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

Sites map