Dotclear

source: admin/style/default.css @ 579:23118d2b4de8

Revision 579:23118d2b4de8, 24.2 KB checked in by kozlika, 14 years ago (diff)

Mise à jour des icônes de Thomas Daveluy : corrections et nouvelles icônes (to be continued)

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

Sites map