Dotclear

source: admin/style/default.css @ 1464:ca126bb08940

Revision 1464:ca126bb08940, 31.7 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Style: now you can use class="fieldset" to have a frame without using html cheating.

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

Sites map