Dotclear

source: admin/style/default.css @ 3:cf375f1e7b0f

Revision 3:cf375f1e7b0f, 20.7 KB checked in by Dsls <dsls@…>, 14 years ago (diff)

Ported Franck & Kozlika updates for user prefs, dedicated branch

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

Sites map