Dotclear

source: admin/style/default.css @ 1330:fbe6a4b295d9

Revision 1330:fbe6a4b295d9, 29.0 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Il en restait dans les coins

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

Sites map