Dotclear

source: admin/style/default.css @ 1446:0939663a1b1a

Revision 1446:0939663a1b1a, 29.3 KB checked in by Lepeltier kévin, 12 years ago (diff)

Ticket #1512
régle la superposition du prélude avec la recherche.

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

Sites map