Dotclear

source: admin/style/default.css @ 1427:928596042d53

Revision 1427:928596042d53, 31.3 KB checked in by Anne Kozlika <kozlika@…>, 11 years ago (diff)

Displays status icon in entry-sidebar

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

Sites map