Dotclear

source: admin/style/default.css @ 926:49b29651bbd3

Revision 926:49b29651bbd3, 24.6 KB checked in by franck <carnet.franck.paul@…>, 13 years ago (diff)

Official plugins are now identified in extension's list, fixes #1052

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

Sites map