Dotclear

source: admin/style/default.css @ 503:a4f39cc10d7a

Revision 503:a4f39cc10d7a, 23.9 KB checked in by kozlika, 14 years ago (diff)

Je récupère la 2.4 à jour pour la branche themes

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

Sites map