Dotclear

source: inc/admin/default-templates/style/default.css @ 1085:2b8ebf1d6f24

Revision 1085:2b8ebf1d6f24, 24.7 KB checked in by JcDenis, 13 years ago (diff)

Fix last merge from default branch

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

Sites map