Dotclear

source: admin/style/default.css @ 471:397a3758c484

Revision 471:397a3758c484, 22.3 KB checked in by kozlika, 14 years ago (diff)

[Accessibility] Now, favorite icon and text are together in the link.

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

Sites map