Dotclear

source: admin/style/default.css @ 1323:f04af59ab425

Revision 1323:f04af59ab425, 28.8 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Restore images for h2 background and la boîte de recherché does not have décalage any more

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

Sites map