Dotclear

source: admin/style/default.css @ 204:2f0d3ac4c859

Revision 204:2f0d3ac4c859, 21.5 KB checked in by kozlika, 14 years ago (diff)

Création d'une class .submit pour les liens de soumission (pas sûr qu'on la garde, devra être confirmé par analyse accessibilité et ergo)

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

Sites map