Dotclear

source: admin/style/default.css @ 2227:bfa7b3467627

Revision 2227:bfa7b3467627, 51.5 KB checked in by Denis Jean-Chirstian <contact@…>, 12 years ago (diff)

Continue clean and document code for plugins and themes admin pages

Line 
1/*
2# -- BEGIN LICENSE BLOCK --------------------------------------------------
3# This file is part of Dotclear 2.
4# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
5# Licensed under the GPL version 2.0 license.
6# See LICENSE file or http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7# -- END LICENSE BLOCK ----------------------------------------------------
8               LAYOUTS
9               HTML TAGS
10               FORMULAIRES
11               BOUTONS
12               MESSAGES
13               ELEMENTS PRINCIPAUX
14               REGLES SPECIFIQUES
15               MEDIA QUERIES
16*/
17/* ---------------------------------------------------------------------------
18                                                                                     LAYOUTS
19---------------------------------------------------------------------------- */
20#header {
21     background: #676e78;
22     color: #FFF;
23     border-bottom: 4px solid #A2CBE9;
24     width: 100%;
25     display: table;
26     }
27#wrapper {
28     position: relative;
29     padding-top: 1.5em;
30     float: left;
31     width: 100%;
32     z-index: 10;
33     background: #F7F7F7 url(bg_wrapper.png) repeat-y 15em;
34     }
35.with-js #wrapper {
36     padding-top: 0;
37     }
38#main {
39     width: 100%;
40     float: right;
41     margin-left: -14em;
42     margin-top: 0;
43     }
44#content {
45     margin: 0 0 0 14em;
46     padding: .5em 1.5em .75em 2.5em;
47     background: #fff;
48     }
49#main-menu {
50     width: 14em;
51     float: left;
52     margin:0;
53     padding-top: .5em;
54     padding-bottom: 1em;
55     overflow: hidden;
56     background: #f7f7f7;
57     }
58#footer {
59     clear: both;
60     position: relative;
61     padding: .5em 1em .5em 0;
62     text-align: right;
63     border-top: 1px solid #ccc;
64     background-color: #fff;
65     }
66/* to hide main-menu */
67#collapser {
68     position: absolute;
69     top: 0;
70     left: 14em;
71     width: 1em;
72     height: 100%;
73     overflow: hidden;
74     display: block;
75     background: #f3f3f3 url(../images/collapser-hide.png) no-repeat center bottom;
76     border-right: double #dfdfdf;
77     z-index: 1;
78     }
79.expand-mm {
80     display:none;
81     }
82/* if main-menu is hidden */
83#wrapper.hide-mm {
84     background: #fff;
85     }
86.hide-mm #main {
87     margin-left: 0;
88     }
89.hide-mm #content {
90     margin-left: 1em;
91     }
92.hide-mm #main-menu {
93     display: none;
94     }
95.hide-mm #collapser {
96     left: 0;
97     background: #e3e3e3 url(../images/collapser-show.png) no-repeat center bottom;
98     }
99.hide-mm .collapse-mm {
100     display: none;
101     }
102.hide-mm .expand-mm {
103     display: block;
104     }
105/* -------------------------------------------------------------- layout: two-cols */
106.two-cols {
107     position: static;
108     }
109     .two-cols .col {
110          width: 48%;
111          margin-left: 2%;
112          float: left;
113          }
114     .two-cols .col70 {
115          width: 68%;
116          margin-left: 0;
117          float: left;
118          }
119     .col30 {
120          width: 28%;
121          margin-left: 2%;
122          float: left;
123          }
124     .two-cols .col:first-child,
125     .two-cols .col30.first-col {
126          margin-left: 0;
127          margin-right: 2%;
128          }
129     .two-cols .col:last-child,
130     .two-cols .col70.last-col {
131          margin-left: 2%;
132          margin-right: 0;
133          }
134     .two-cols table {
135          width: 90%;
136          }
137/* -------------------------------------------------------------- layout: three-cols */
138.three-cols {
139     position: static;
140     }
141     .three-cols .col { 
142          width: 32.3%; 
143          float: left; 
144          margin-left: 1%; 
145          } 
146     .three-cols .col:first-child { 
147          width: 33.3%; 
148          margin-left: 0; 
149          }
150/* ------------------------------------------------- layout: optionnal one/two-boxes */
151.one-box {
152     text-align: justify;
153     }
154.two-boxes, .three-boxes, .box {
155     display: inline-block;
156     vertical-align: top;
157     margin: 0 1.5% 1em;
158     -moz-box-sizing: border-box; 
159     -webkit-box-sizing: border-box; 
160     box-sizing: border-box;
161     text-align: left;
162     }
163.two-boxes {
164     width: 47%;
165     }
166.three-boxes {
167     width: 30%;
168     }
169.box {
170     margin-left: 0;
171     margin-right: 0;
172     }
173.odd {
174     margin-left: 0;
175     }
176.even {
177     margin-right: 0;
178     }
179/* ---------------------------------------------------------------- layout: popups */
180.popup h1 {
181     display: block;
182     width: 100%;
183     margin: 0;
184     background: #676e78;
185     font-size: 1.5em;
186     text-indent: 1em;
187     line-height: 1.5em;
188     font-weight: normal;
189     color: #fff;
190     }
191.popup #wrapper {
192     display: block;
193     float: none;
194     width: 100%;
195     margin: 0;
196     padding: 0;
197     background-position: 0 0;
198     }
199.popup #main {
200     margin: 0;
201     padding: 0;
202     }
203.popup #content {
204     margin: 0;
205     padding: 1em;
206     }
207.popup #content h2 {
208     margin: 0 0 1em 0;
209     padding: 0;
210     }
211.popup #footer p {
212     border: none;
213     }
214/* -------------------------------------------------------- layout: classes de complément */
215.constrained {
216     margin: 0;
217     padding: 0;
218     border: none;
219     background: transparent;
220     }
221.table {
222     display: table;
223     }
224.cell {
225     display: table-cell;
226     vertical-align: top;
227     }
228.clear {
229     clear: both;
230     }
231.lclear {
232     clear: left;
233     }
234.clearer {
235     height: 1px;
236     font-size: 1px;
237     }
238/* Micro clearfix thx to Nicolas Gallagher */
239.clearfix:before, .clearfix:after {
240     content: " "; 
241     display: table;
242     }
243.clearfix:after {
244     clear: both;
245     }
246.frame-shrink {
247     border: 1px solid #676e78;
248     padding: 0.5em;
249     margin-bottom: 1em;
250     height: 120px;
251     overflow: auto;
252     }
253/* ---------------------------------------------------------------------------
254                                                                                     HTML TAGS
255---------------------------------------------------------------------------- */
256html {
257     font-size: 62.5%;
258     }
259body {
260     font-size: 12px; /* ie < 9 sucks */
261     font-size: 1.2rem;
262     line-height: 1.5;
263     font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
264     color: #333;
265     background: #fff;
266     margin: 0;
267     padding: 0;
268     }
269/* ------------------------------------------------------------------ titres */
270h1, h2, h3, .as_h3, h4, .as_h4, h5, h6 {
271     margin-top: 0;
272     margin-bottom: 1em;
273     }
274h2 {
275     color: #676e78;
276     font-size: 1.5em;
277     padding: 0 0 1.5em;
278     font-weight: normal;
279     }
280     /* titre de page */
281     #content > h2 {
282          padding: 0 1em .5em 1em;
283          margin: 0 -1em .5em -1em;
284          background: #fff url(bg_h2.png) repeat-x center bottom;
285          }
286     h2 a:link, h2 a:visited {
287          color: #676e78;
288          border-color: #000;
289          }
290     .page-title {
291          color: #d30e60;
292          }
293     .page-title img {
294          padding-left: .5em;
295          vertical-align: middle;
296          }
297h3, .as_h3 {
298     margin-top: 1em;
299     color: #D33800;
300     font-weight: normal;
301     font-size: 1.34em;
302     }
303     #main-menu h3 {
304          font-weight: bold;
305          }
306h4, .as_h4 {
307     font-size: 14px; /* ie < 9 sucks */
308     font-size: 1.4rem;
309     color: #676e78;
310     }
311     .fieldset h3, .fieldset h4, .pretty-title { /* variante */
312          color: #D33800;
313          font-size: 1em;
314          font-weight: bold;
315          }
316          .fieldset h3 {
317               font-size: 1.17em;
318               }
319     .fieldset h3.smart-title, .fieldset h4.smart-title, .smart-title { /* variante */
320          font-size: 1em;
321          text-transform: uppercase;
322          font-weight: bold;
323          color: #333;
324          text-shadow: 0 1px 0 rgba(200, 200, 200, 0.6)
325          }
326h5 {
327     font-size: 12px; /* ie < 9 sucks */
328     font-size: 1.2rem;
329     font-weight: bold;
330     color: #676e78;
331     }
332     #entry-sidebar h5 {
333          font-weight: normal;
334          color: #333;
335          }
336     .entry-status img.img_select_option {
337          padding-left: 4px;
338          vertical-align: text-top;
339          }
340h4 label, h5 label {color: #333;}
341h2:first-child, h3:first-child, h4:first-child, h5:first-child, ul:first-child, p:first-child {
342     margin-top: 0;
343     }
344/* ---------------------------------------------------------------- tableaux */
345.table-outer {
346     width: 100%;
347     overflow: auto;
348     }
349table {
350     font-size: 12px; /* ie < 9 sucks */
351     font-size: 1.2rem;
352     border-collapse: collapse;
353     margin: 0 0 1em 0;
354     width: 100%;
355     }
356caption {
357     color: #333;
358     font-weight: bold;
359     text-align: left;
360     margin-bottom: .5em;
361     }
362th {
363     border-width: 1px 0 1px 0;
364     border-style: solid;
365     border-color: #ddd;
366     background: #eef1ec;
367     padding: .4em 1em .4em .5em;
368     vertical-align: top;
369     text-align: left;
370     }
371td {
372     border-width: 0 0 1px 0;
373     border-style: solid;
374     border-color: #e3e3e3;
375     padding: .4em 1em .4em .5em;
376     vertical-align: top;
377     }
378
379/* ---------------------------------------------------------- autres balises */
380p {
381     margin: 0 0 1em 0;
382     }
383hr {
384     height: 1px;
385     border-width: 1px 0 0;
386     border-color: #ddd;
387     background: #ddd;
388     border-style: solid;
389     }
390hr.clearer {
391     clear: both;
392     }
393pre, code, #debug {
394     font: 100% "Andale Mono","Courier New",monospace;
395     }
396code {
397     background: #FAFAD1;
398     }
399pre {
400     white-space: pre;
401     white-space: -moz-pre-wrap;
402     white-space: -hp-pre-wrap;
403     white-space: -o-pre-wrap;
404     white-space: -pre-wrap;
405     white-space: pre-wrap;
406     white-space: pre-line;
407     word-wrap: break-word;
408     }
409abbr {
410     cursor: help;
411     }
412input, textarea, select, option, optgroup, legend,label {
413     font-size: 1em;
414     }
415/* ------------------------------------------------------------------ liens */
416a, a:link, a:visited {
417     color: #2373A8;
418     text-decoration: none;
419     border-bottom: 1px dotted #999;
420     }
421a:hover, a:active, a:focus {
422     border-bottom-style: solid;
423     }
424a img, a:link img, a:visited img {
425     border:none;
426     }
427h1 a:link, h1 a:visited {
428     border:   none;
429     }
430.discrete a {
431     color: #333;
432     }
433/* ----------------------------------------------------------------------------
434                                                                                     FORMULAIRES
435---------------------------------------------------------------------------- */
436form {
437     display: block;
438     margin: 0;
439     padding: 0;
440     }
441fieldset {
442     display: block;
443     margin: 1em 0;
444     padding: 1em 0.5em;
445     border-width: 1px 0;
446     border-style: solid;
447     border-color: #ccc;
448     background: #f7f7f7;
449     }
450input[type=text], textarea {
451     font: 100% "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
452     }
453legend {
454     padding: 0.2em 0.6em;
455     border-width: 1px;
456     border-style: solid;
457     border-color: #676e78;
458     background: #fff;
459     margin-bottom: 0.5em;
460     border-radius: 3px;
461     }
462label .maximal, textarea.maximal, input.maximal {
463     width: 99%;
464     }
465input[type=text], input[type=password], textarea, select {
466     background: #fbfbfb;
467     color: #000;
468     border-width: 1px;
469     border-style: solid;
470     border-color: #ddd;
471     border-radius: 3px;
472     box-shadow: 1px 1px 2px #F1F1F1 inset;
473     padding: 3px; 
474     vertical-align: top;
475     }
476     input:focus, textarea:focus, select:focus {
477          -webkit-box-sizing: border-box;
478          -moz-box-sizing: border-box;
479          box-sizing: border-box;
480          border-color: #bee74b;
481          }
482     textarea {
483          padding: 2px 0;
484          }
485          textarea.maximal {
486               resize: vertical;
487               }
488          .area textarea {
489               display: block;
490               width: 100%;
491               resize: vertical;
492               }
493     select {
494          padding: 2px 0;
495          }
496          select.l10n option {
497               padding-left: 16px;
498               }
499          option.avail10n {
500               background: transparent url(../images/check-on.png) no-repeat 0 50%;
501               }
502          option.sub-option1 {
503               margin-left: .5em;
504          }
505          option.sub-option2 {
506               margin-left: 1.5em;
507          }
508          option.sub-option3 {
509               margin-left: 2.5em;
510          }
511          option.sub-option4 {
512               margin-left: 3.5em;
513          }
514          option.sub-option5 {
515               margin-left: 4.5em;
516          }
517          option.sub-option6 {
518               margin-left: 5.5em;
519          }
520          option.sub-option7 {
521               margin-left: 6.5em;
522          }
523          option.sub-option8 {
524               margin-left: 7.5em;
525          }
526          option.sub-option1:before, option.sub-option2:before, option.sub-option3:before, option.sub-option4:before,
527          option.sub-option5:before, option.sub-option6:before, option.sub-option7:before, option.sub-option8:before {
528               content: "\002022\0000a0";
529          }
530     input.invalid, textarea.invalid, select.invalid {
531          border: 1px solid red;
532          background: #FFBABA;
533          color: red;
534          box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3);
535          }
536     input[type=text], input[type=password], textarea {
537          margin-right: .3em;
538          }
539     input[type=checkbox], input[type=radio], input[type=file] {
540          border: none;
541          margin: 0 .33em 0 0;
542          padding: 0;
543          background: transparent;
544          }
545     input[type=file] {
546          margin-top: .3em;
547          margin-bottom: .3em;
548          }
549optgroup {
550     font-weight: bold;
551     font-style: normal;
552     }
553option {
554     font-weight: normal;
555     }
556label, label span {
557     display: block;
558     }
559     label.ib, input.ib {
560          display: inline-block;
561          }
562     label.classic {
563          display: inline;
564          }
565     label.classic input, label span input, label.classic select, label span select {
566          display: inline;
567          }
568     label.required {
569          font-weight: bold;
570          }
571          label.required abbr {
572               color: #dd0000;
573               font-size: 1.3em;
574               }
575     label.area, p.area {
576          width: inherit !important;
577          }
578p.field {
579     position: relative;
580     }
581     p.field label {
582          display: inline-block;
583          width: 14em;
584          }
585     p.field.wide label {
586          width: 21em;
587          }
588     p.field input, p.field select {
589          display: inline-block;
590          }
591.form-note {
592     font-style: italic;
593     font-weight: normal;
594     color: #676e78;
595     }
596     p.form-note {
597          margin-top: -.7em;
598          }
599     span.form-note {
600          text-transform: none;
601          }
602/* ----------------------------------------------------------------------------
603                                                                                          BOUTONS
604---------------------------------------------------------------------------- */
605/* Removes inner padding and border in FF3+  - Knacss */
606button::-moz-focus-inner,
607input[type=button]::-moz-focus-inner,
608input[type=reset]::-moz-focus-inner,
609input[type=submit]::-moz-focus-inner {
610     border: 0;
611     padding: 0;
612     }
613/* tous les boutons */
614button,
615a.button,
616input[type=button],
617input[type=reset],
618input[type=submit] {
619     border: 1px solid #ccc;
620     font-family: "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
621     padding: 3px 10px;
622     line-height: normal !important;
623     display: inline-block;
624     vertical-align: middle;
625     font-size: 100%;
626     text-align: center;
627     text-decoration: none;
628     border-radius: 3px;
629     cursor: pointer;
630     }
631button,
632input[type=button],
633input[type=reset],
634input[type=submit] {
635     -webkit-appearance: button;
636     }
637 /* validation */
638input[type=submit], a.button.submit, input.button.start {
639     color: #fff;
640     border: 1px solid #2C8FD1;
641     background-image:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
642     background-image:-webkit-gradient(linear,left top,left bottom, from(#25A6E1), to(#188BC0));
643     background-image:linear-gradient(top,#25A6E1 0%,#188BC0 100%);
644     background-color:#25A6E1;
645     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
646     }
647     input[type=submit]:hover, input[type=submit]:focus,
648     input.button.start:hover, input.button.start:focus,
649     a.button.submit:hover, a.button.submit:focus {
650          background-image:-moz-linear-gradient(top,#188BC0 0%,#25A6E1 100%);
651          background-image:-webkit-gradient(linear,left top,left bottom, from(#188BC0),to(#25A6E1));
652          background-image:linear-gradient(top,#188BC0 0%,#25A6E1 100%);
653          background-color:#188BC0;
654          }
655/* suppression, reset, "neutres" fond gris */
656button, input[type=button], input.button,
657input[type=reset], input[type=submit].reset, input.reset, 
658input[type=submit].delete, input.delete,
659a.button.delete, a.button.reset, a.button {
660     color: #000;
661     background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf));
662     background-image: -moz-linear-gradient(top,  #f5f5f5,  #dfdfdf);
663     background-image:linear-gradient(top,#f5f5f5 0%,#dfdfdf 100%);
664     background-color: #eee;
665     border: 1px solid #ccc;
666     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
667     }
668     button:hover, input[type=button]:hover, input.button:hover,
669     button:focus, input[type=button]:focus, input.button:focus,
670     input[type=reset]:hover, input[type=submit].reset:hover, input.reset:hover, 
671     input[type=reset]:focus, input[type=submit].reset:focus, input.reset:focus, 
672     input[type=submit].delete:hover, input.delete:hover,
673     input[type=submit].delete:focus, input.delete:focus,
674     a.button.delete:hover, a.button.reset:hover, a.button:hover,
675     a.button.delete:focus, a.button.reset:focus, a.button:focus {
676          background-image:-webkit-gradient( linear, left top, left bottom, from(#e9e9e9), to(#f9f9f9));
677          background-image:-moz-linear-gradient(top, #e9e9e9, #f9f9f9);
678          background-image:linear-gradient(top,#e9e9e9 0%,#f9f9f9 100%);
679          background-color:#f3f3f3;
680          }
681     /* suppression */
682     input[type=submit].delete, input.delete, a.button.delete {
683          border-color: #ccc;
684          color: #c00;
685          margin-left: 1em;
686          }
687     a.delete:first-child, input.delete:first-child {
688          margin-left: 0;
689          }
690     input[type=submit].delete:hover, input.delete:hover, a.button.delete:hover,
691     input[type=submit].delete:focus, input.delete:focus, a.button.delete:focus {
692               border-color: #c00;
693               }
694     #info-box a.button {
695          padding: 0 .5em;
696          margin-left: 2em;
697          }
698.button.add {
699     background-image:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bee74b), color-stop(1, #9BCA1C) );
700     background-image:-moz-linear-gradient(center top, #bee74b 5%, #9BCA1C 100%);
701     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bee74b', endColorstr='#9BCA1C');
702     background-color:#bee74b;
703     border:1px solid #B2D742;
704     padding:.33em 1.33em .5em;
705     color: #000;
706     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
707     font-weight: normal;
708     font-size: 14px; /* ie < 9 sucks */
709     font-size: 1.4rem;
710     }
711     .button.add:hover, .button.add:active, .button.add:focus {
712          background-image:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9BCA1C), color-stop(1, #bee74b) );
713          background-image:-moz-linear-gradient(center top, #9BCA1C 5%, #bee74b 100%);
714          background-image:linear-gradient(center top, #9BCA1C 5%, #bee74b 100%);
715          filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9BCA1C', endColorstr='#bee74b');
716          background-color:#9BCA1C;
717          }
718     .button-add:focus {
719          outline: dotted 1px;
720          }
721     /* paragraphe pour bouton Nouveau bidule */
722     p.top-add {
723          text-align: right;
724          margin: 0;
725          }
726
727/* disabled */
728input.disabled, input[type=submit].disabled {
729     text-shadow: none;
730     filter: none;
731     color: #676e78;
732     background: #F5F5F5;
733     border: 1px solid #CCC;
734     }
735     input.disabled:hover, input[type=submit].disabled:hover {
736          color: #676e78;
737          background: #eee;
738          border: 1px solid #CCC;
739          }
740/* ----------------------------------------------------------------------------
741                                                                                     MESSAGES
742---------------------------------------------------------------------------- */
743.warn, .warning, .info {
744     font-style: normal;
745     padding: .2em .66em .2em;
746     text-indent: 24px;
747     color: #333;
748     display: inline-block;
749     line-height: 1.5em;
750     border-radius: 3px;
751     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6)
752     }
753div.warn, div.warning, div.info {
754     display: block;
755     padding: 1em 1em .33em 1em;
756     margin-bottom: 1em;
757     }
758     .warn, .warning {
759          background: #FEFACD url(msg-warning.png) no-repeat .3em .3em;
760          border: 1px solid #F7E07E;
761          }
762     .info {
763          background: #D9EDF7 url(msg-info.png) no-repeat .3em .3em;
764          border: 1px solid #BCE8F1;
765          }
766     span.warn, span.warning, span.info {
767          padding-top: 1px;
768          padding-bottom: 1px;
769          background-position: .3em .2em;
770          }
771.error, .message, .static-msg, .success, .warning-msg {
772     padding: 1em 0.5em 0.5em 48px;
773     margin-bottom: 1em;
774     border-radius: 8px;
775     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
776     }
777     p.error, p.message, p.static-msg, p.success, p.warning-msg {
778          padding-top: 1em;
779          padding-bottom: 1em;
780          }
781     .error {
782          background: #FFBABA url(msg-error.png) no-repeat .7em .7em;
783          color: #000;
784          text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
785          }
786     .message, .static-msg {
787          background: #676e78 url(msg-std.png) no-repeat .7em .7em;
788          color: #fff;
789          }
790          .message a, .static-msg a, .message h3, .static-msg h3 {
791               color: #fff;
792               }
793     .success, .warning-msg {
794          color: #000;
795          text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6)
796          }
797          .success {
798               background: #bee74b url(msg-success.png) no-repeat .7em .7em;
799               background-color: #a2f157;
800               }
801          .warning-msg {
802               background: #F7E07E url(msg-warning.png) no-repeat .7em .7em;
803               border: 1px solid #F7E07E;
804               }
805          .success a, .warning-msg a, .info a {
806               color: #333;
807               }
808.dc-update {
809     padding: 1em 48px 0.5em 48px;
810     margin-bottom: 1em;
811     border-radius: 8px;
812     background: #A2CBE9 url(msg-success.png) no-repeat .7em .7em;
813     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
814     color: #000;
815     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1)
816     }
817     .dc-update h3 {
818          margin-top: 0;
819          color: #000;
820          }
821     .dc-update p {
822          display: inline-block;
823          vertical-align: middle;
824          }
825     .dc-update a {
826          color: #000;
827          margin-right: 1em;
828          }
829          .dc-update a.button {
830               padding: .5em 1em; 
831               }
832          .updt-info a {
833               margin-left: 2em;
834               border-color: #000;
835               font-weight: bold;
836               }
837/* ---------------------------------------------------------------------------------
838                                                                                ELEMENTS PRINCIPAUX
839--------------------------------------------------------------------------------- */
840/* -------------------------------------------------------------- HEADER ELEMENTS */
841/* prelude */
842#prelude {
843     line-height: 1.5;
844     margin: 0;
845     padding: 0;
846     overflow: hidden;
847     position: absolute;
848     top: 3em;
849     left: 0;
850     background: #A2CBE9;
851     width: 100%;
852     z-index: 100;
853     }
854     #prelude li {
855          list-style-type: none;
856          margin: 0;
857          background:transparent;
858          display: inline;
859          }
860     #prelude li a {
861          padding: 3px 16px 3px 8px; /* ie < 9 sucks */
862          padding: 3px 1.6rem 3px .8rem;
863          background: #A2CBE9;
864          color: #000;
865          text-decoration: underline;
866          }
867     #prelude li a:hover, #prelude li a:focus {
868          background: #FFF;
869          }
870/* si le prélude est affiché on repousse les trucs dessous */
871#wrapper.with-prelude { 
872     padding-top: 1em;
873     }
874#help-button.with-prelude, #collapser.with-prelude {
875     top: 1em;
876     }
877/* header global h1, form#top-info-blog, ul#top-info-user */
878#header a {
879     color: #FFF;
880     }
881#header img {
882     vertical-align: middle;
883     padding-left: .5em;
884     }
885h1, #top-info-blog, #top-info-user {
886     display: table-cell;
887     padding: 8px 0;
888     margin: 0;
889     font-size: 1em;
890     vertical-align: top;
891     }
892/* h1 */
893h1 {
894     text-indent: -1000px;
895     width: 16.5em;
896     }
897     h1 a {
898          position: absolute;
899          top: 0;
900          left: 0;
901          width: 15em;
902          height: 36px; /* ie < 9 sucks */
903          height: 3.6rem;
904          color: #fff;
905          background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px;
906          }
907     h1 a:hover, h1 a:focus {
908          background-position: 0 -94px;
909          }
910/* top-info-blog */
911#top-info-blog select {
912     max-width: 20em;
913     }
914#top-info-blog a {
915     margin-left: 1.5em;
916     }
917#top-info-blog input[type=submit] {
918     background: #000;
919     border-color: #999;
920     margin-left: .33em; 
921     }
922#top-info-blog input[type=submit]:hover {
923     background: #999;
924     }
925#top-info-blog p {
926     display: inline-block;
927     margin: 0;
928     }
929/* top-info-user */
930#top-info-user {
931     padding-right: 18px;
932     list-style-type: none;
933     text-align: right;
934     }
935#top-info-user li {
936     display: inline-block;
937     margin-left: .5em;
938     padding-left: .5em;
939     border-left: 1px solid #999;
940     }
941#top-info-user li:first-child {
942     border-left: none;
943     }
944#top-info-user a.active {
945     border-bottom-color: #fff;
946     margin: 0;
947     padding: 18px .5em;
948     background-color: #fff;
949     color: #333;
950     font-weight: bold;
951     }
952/* ---------------------------------------------------------- MAIN-MENU ELEMENTS */
953#favorites-menu, #blog-menu, #system-menu, #plugins-menu {
954     border-bottom: 1px dashed #A2CBE9;
955     }
956#main-menu h3 {
957     margin: 0;
958     padding: 10px 0 10px 8px;
959     color: #676e78;
960     font-size: 14px; /* ie < 9 sucks */
961     font-size: 1.4rem;
962     }
963     #favorites-menu h3 {
964          color: #000;
965          font-variant: small-caps;
966          padding-top: .2em;
967          }
968#main-menu a {
969     color: #333;
970     border-bottom-color: #ccc;
971     }
972#main-menu ul {
973     margin: 0 0 1.5em 0;
974     padding: 0;
975     list-style: none;
976     }
977     #main-menu li {
978          display: block;
979          margin: 0.5em 0 0;
980          padding: 4px 0 1px 32px;
981          background-repeat: no-repeat;
982          background-position: 8px .3em;
983          }
984          #main-menu ul li:first-child {
985               margin-top: 0;
986               }
987          #main-menu li.active {
988               background-color: #fff;
989               font-weight: bold;
990               }
991               #favorites-menu li.active {
992                    background-color: transparent;
993                    }
994          #main-menu .active a {
995               border-bottom: none;
996               color: #d30e60;
997               }
998               #favorites-menu .active a {
999                    color: #000;
1000                    }
1001#search-menu {
1002     padding: 4px 5px 0;
1003     font-size: 100%
1004     }
1005     #search-menu * {
1006          height: 22px; /* ie < 9 sucks */
1007          height: 2.2rem;
1008          display: inline-block;
1009          vertical-align: top;
1010          line-height: 22px;
1011          }
1012     #search-menu p {
1013          border: 1px solid #999;
1014          border-radius: .3em;
1015          position: relative;
1016          overflow: hidden;
1017          }
1018     #qx {
1019          width: 124px; /* ie < 9 sucks */
1020          width: 12.4rem;
1021          border-bottom-left-radius: .3em;
1022          border-top-left-radius: .3em;
1023          background: transparent url(search.png) no-repeat 4px center;
1024          text-indent: 18px;
1025          padding: 0;
1026          border: none;
1027          height: 22px;
1028          height: 2.2rem;
1029          }
1030          #qx:focus {
1031               border: 1px solid #bee74b;
1032               }
1033     #search-menu input[type="submit"] {
1034          padding: 0 3px;
1035          padding: 0 .3rem;
1036          margin-left: -4px;
1037          background: #dfdfdf;
1038          border-color: #999;
1039          color: #444;
1040          border-bottom-right-radius: .3em;
1041          border-top-right-radius: .3em;
1042          border-top-left-radius: 0;
1043          border-bottom-left-radius: 0;
1044          text-shadow: none;
1045          border: none;
1046          border-left: 1px solid #aaa;
1047          font-size: 10px; /* ie < 9 sucks */
1048          font-size: 1rem;
1049          }
1050          #search-menu input[type="submit"]:hover,
1051          #search-menu input[type="submit"]:focus {
1052               background: #676e78;
1053               color: #fff;
1054               }
1055/* ----------------------------------------------------------------- CONTENT ELEMENTS */
1056.part-tabs ul {
1057     padding: .5em 0 0 1em;
1058     border-bottom: 1px solid #ddd;
1059     line-height: 2;
1060     }
1061     .part-tabs li {
1062          list-style: none;
1063          margin: 0;
1064          display: inline;
1065          }
1066          .part-tabs li a {
1067               padding: .5em 2em;
1068               margin-right: -1px;
1069               border: 1px solid #ccc;
1070               border-bottom: none;
1071               text-decoration: none;
1072               color: #333;
1073               background-color: #ecf0f1;
1074               display: inline-block;
1075               }
1076          .part-tabs li a:hover, .part-tabs li a:focus {
1077               color: #000;
1078               background: #fff;
1079               border-bottom-color: #fff;
1080               }
1081          .part-tabs li.part-tabs-active a {
1082               background: #fff;
1083               font-weight: bold;
1084               border-bottom-color: #fff;
1085               }
1086     .multi-part {
1087          padding-left: 1em;
1088          }
1089/* contextual help */
1090#help {
1091     margin-top: 4em;
1092     background: #f5f5f5;
1093     z-index: 100;
1094     clear: both;
1095     padding: 0 1em;
1096     }
1097     #content.with-help #help {
1098          display: block;
1099          position: absolute;
1100          top: 0;
1101          right: 0;
1102          width: 280px; /* ie < 9 sucks */
1103          width: 28rem;
1104          border-left: 2px solid #FFD478;
1105          border-top: 2px solid #FFD478;
1106          margin-top: 0;
1107          padding: .5em 0 0 0;
1108          overflow: auto;
1109          }
1110#help-button {
1111     background: transparent url(../images/page_help.png) no-repeat 6px center;
1112     position: absolute;
1113     top: 0;
1114     right: 0;
1115     padding: 0 1.5em 0 30px;
1116     cursor: pointer;
1117     color: #2373A8;
1118     line-height: 36px; /* ie < 9 sucks */
1119     line-height: 3.6rem;
1120     }
1121     #help-button.floatable {
1122          border-top: 2px solid #ccc;
1123          border-left: 2px solid #ccc;
1124          border-bottom: 2px solid #ccc;
1125          border-bottom-left-radius: 1em;
1126          border-top-left-radius: 1em;
1127        background-color: #f5f5f5;
1128        position: fixed;
1129        top: 10px;
1130        }
1131     .no-js #help-button {
1132          top: 1em;
1133          }
1134     #help-button span {
1135          padding: .5em 0 .1em 0;
1136          border-bottom: 1px solid #2373A8;
1137          }
1138     #content.with-help #help-button {
1139          right: 280px; /* ie < 9 sucks */
1140          right: 28rem;
1141          background-color: #f5f5f5;
1142          position: fixed;
1143          top: 50px;
1144          z-index: 100;
1145          border-top: 2px solid #FFD478;
1146          border-left: 2px solid #FFD478;
1147          border-bottom: 2px solid #FFD478;
1148          border-bottom-left-radius: 1em;
1149          border-top-left-radius: 1em;
1150          }
1151.help-box {
1152     display: none;
1153     }
1154     .help-box ul {
1155          padding-left: 20px;
1156          margin-left: 0;
1157          }
1158     #content.with-help .help-content {
1159          padding: 0 1em 1em;
1160          }
1161          .help-content dt {
1162               font-weight: bold;
1163               color: #626262;
1164               margin: 0;
1165               }
1166          .help-content dd {
1167               margin: 0.3em 0 1.5em 0;
1168               }
1169/* 1. inside help block */
1170#helplink p {
1171     padding: 0 0 0 .5em;
1172     }
1173/* ------------------------------------------------------------------ FOOTER ELEMENTS */
1174#footer p {
1175     margin: 0;
1176     padding: 0 1em;
1177     font-size: 1em;
1178     }
1179     span.credit {
1180          font-size: 1em;
1181          font-weight: normal;
1182          }
1183/* ---------------------------------------------------------------------------------------
1184                                                                                     RÈGLES SPÉCIFIQUES
1185---------------------------------------------------------------------------------------- */
1186/* ---------------------------------------------------------------- LISTES TABLEAUX */
1187table .maximal, table.maximal {
1188     width: 100%;
1189     }
1190table .minimal {
1191     width: 1px;
1192     }
1193table .nowrap {
1194     white-space: nowrap;
1195     vertical-align: top;
1196     }
1197table .count {
1198     text-align: right;
1199     padding-right: 1.5em;
1200     }
1201th.first img {
1202     padding-right: 34px;
1203     }
1204tr.line img.expand, th img.expand {
1205     margin-right: 6px;
1206     margin-bottom: -2px;
1207     }
1208tr.line p {
1209     margin: 0;
1210     }
1211tr.line input[type=text] {
1212     background: #FFF;
1213     }
1214tr.line input, tr.line select {
1215     vertical-align: middle;
1216     -webkit-box-shadow: none;
1217             box-shadow: none;
1218     }
1219tr.line select {
1220     width: 6em;
1221     }
1222tr.line:hover {
1223     background: #f3f3f3;
1224     }
1225td.status {
1226     vertical-align: middle;
1227     }
1228td.status img {
1229     margin-bottom: -2px;
1230     }
1231td.status a {
1232     border: none;
1233     }
1234.noborder td, td.noborder, .noborder th, th.noborder {
1235     border-width: 0 0 1px 0;
1236     border-color: #ddd;
1237     line-height: 2em;
1238     padding-bottom: 0;
1239     }
1240.noborder p {
1241     margin-bottom: 0;
1242     }
1243table.posts-list {
1244     min-width: 50%;
1245     }
1246table.settings, table.prefs {
1247     margin-bottom: 3em;
1248     }
1249     table.settings th:first-child, table.prefs th:first-child {
1250          width: 20%;
1251          }
1252     table.settings th + th, table.prefs th + th {
1253          width: 30%;
1254          }
1255     table.settings th + th + th, table.prefs th + th + th {
1256          width: 10%;
1257          }
1258     table.settings th:last-child, table.prefs th:last-child {
1259          width: 40%;
1260          }
1261/* js */
1262td.expand {
1263     padding: 1em;
1264     }
1265tr.expand td {
1266     border-bottom: none;
1267     }
1268.handle {
1269     padding: 0;
1270     }
1271.handler {
1272     cursor: move;
1273     background: transparent url(drag.png) no-repeat 0 50%;
1274     padding-left: 15px;
1275     }
1276/* ----------------------------------------------------------- BOITES À FILTRES */
1277a.form-control {
1278     display: none;
1279     background: url(../images/expand.png) no-repeat 4px center;
1280     padding-left: 20px;
1281     color: #000;
1282     }
1283a.form-control.open {
1284     background: url(../images/hide.png) no-repeat 4px center;
1285     }
1286#filters-form {
1287     border: 1px dashed #999;
1288     border-radius: .5em;
1289     margin-bottom: 2em;
1290     padding: .5em 1em 0;
1291     }
1292#filters-form .table {
1293     width: 100%;
1294     padding: 0;
1295     margin-bottom: 1em;
1296     margin-top: .5em;
1297     }
1298     #filters-form .cell {
1299          padding: 0 2em 0 0;
1300          }
1301     #filters-form .filters-sibling-cell {
1302          padding-top: 3.8em;
1303          }
1304#filters-form .filters-options {
1305     padding-left: 2em;
1306     border-left: 1px solid #ccc;
1307     }
1308#filters-form label.ib, span.ib {
1309     width:7em;
1310     }
1311#filters-form label.ibw, span.ibw {
1312     width: 9em;
1313     display: inline-block;
1314     }
1315#filters-form select {
1316     width: 14em;
1317     }
1318#filters-form h4 {
1319     margin-top: 0;
1320     margin-bottom: 2em;
1321     }
1322/* ---------------------------------------------------------------------------- SPEC PAGES */
1323/* ---------------------------------------------------------------------------- auth.php */
1324#login-screen {
1325     display: block;
1326     width: 20em;
1327     margin: 1.5em auto 0;
1328     font-size: 14px; /* ie < 9 sucks */
1329     font-size: 1.4rem;
1330     }
1331#login-screen h1 {
1332     text-indent: -2000px;
1333     background: transparent url(dc_logos/w-dotclear240.png) no-repeat top left;
1334     height: 66px;
1335     width: 20em;
1336     margin-bottom: .5em;
1337     margin-left: 0;
1338     }
1339#login-screen .fieldset {
1340     border: 1px solid #A8DC26;
1341     padding: 1em 1em 0 1em;
1342     border-radius: 3px;
1343     background: #fff;
1344     }
1345#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit],
1346#login-screen input[type=text]:focus, #login-screen input[type=password]:focus, #login-screen input[type=submit]:focus {
1347     width: 100%;
1348     margin: 0; 
1349     padding: 5px 3px;
1350     -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
1351     -moz-box-sizing: border-box;    /* Firefox, other Gecko */
1352     box-sizing: border-box; 
1353     }
1354     #login-screen input.login, #login-screen input.login:focus {
1355          padding-top: 6px;
1356          padding-bottom: 6px;
1357          font-size: 1em;
1358          }
1359#login-screen #issue {
1360     margin-left: 1.33em;
1361     font-size: 12px; /* ie < 9 sucks */
1362     font-size: 1.2rem;
1363     }
1364     #login-screen #issue strong {
1365          font-weight: normal;
1366          }
1367/* ------------------------------------------------------------------------- index.php */
1368#dashboard-main {
1369     padding: 1em 0;
1370     }
1371/* raccourcis */
1372#icons {
1373     overflow: hidden;
1374     padding-bottom: 1em;
1375     text-align: center;
1376     }
1377     #icons p {
1378          width: 170px;
1379          text-align: center;
1380          margin: 1em 0 2em;
1381          padding: 1em 0;
1382          display:inline-block;
1383          vertical-align: top;
1384          }
1385     #icons a,
1386     #icons a:link,
1387     #icons a:visited,
1388     #icons a:hover,
1389     #icons a:focus {
1390          border-bottom-width: 0;
1391          text-decoration: none;
1392          }
1393          #icons a span {
1394               border-bottom: 1px dotted #999;
1395               color: #333;
1396               }
1397          #icons a img {
1398               padding: 1.5em;
1399               background-color:#f9f9f9;
1400               -moz-border-radius:8px;
1401               -webkit-border-radius:8px;
1402               border-radius:8px;
1403               border:1px solid #dcdcdc;
1404               display:inline-block;
1405               }
1406               #icons a:focus img, #icons a:hover img {
1407                    background: #bee74b;
1408                    }
1409               #icons a:focus span, #icons a:hover span {
1410                    border-bottom-style: solid;
1411                    }
1412/* billet rapide */
1413#quick {
1414     margin-top: 1em;
1415     padding-top: 1em;
1416     }
1417     #quick h3 {
1418          margin-bottom: 0.2em;
1419          font-size: 1.2em;
1420          }
1421     #quick p.qinfo {
1422          margin: -.7em -1em 1em;
1423          background: #f3f3ff url(info.png) no-repeat .2em .2em;
1424          border: 1px solid #99f;
1425          padding: .2em 1em .1em 24px;
1426          color: #676e78;
1427          }
1428     #quick #new_cat, .q-cat, .q-cat label {
1429          display: inline-block;
1430          vertical-align: top;
1431          margin-right: 1em;
1432          margin-top: 0;
1433          }
1434     .q-cat label {
1435          margin-right: .3em;
1436          }
1437     #quick #new_cat {
1438          margin-bottom: 2em;
1439     }
1440/* modules additionnels */
1441#dashboard-boxes {
1442     margin: 2em auto 1em;
1443     padding-top: 2em;
1444     }
1445     .db-items, .db-contents {
1446          display: inline-block;
1447          text-align: center;
1448          }
1449     #dashboard-boxes .box {
1450          padding: 10px;
1451          border:   1px solid #ccc;
1452          border-radius: 3px;
1453          min-height: 200px;
1454          margin: 10px;
1455          text-align: left;
1456          }
1457          .box.small {
1458               width: 320px;
1459               }
1460          .box.medium {
1461               width: 660px;
1462               }
1463          .box.large {
1464               width: 100%;
1465               }
1466          .dc-box {
1467               background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right;
1468               }
1469     .db-items img, .db-contents img {
1470          vertical-align: middle;
1471          }
1472     .db-items ul, .db-contents ul {
1473          display: block;
1474          padding-left: 1.5em;
1475          list-style: square;
1476          }
1477          .db-items li, .db-contents li {
1478               margin: 0.25em 0 0 0;
1479               }
1480     #news dt {
1481          font-weight: bold;
1482          margin: 0 0 0.4em 0;
1483          }
1484     #news dd {
1485          margin: 0 0 1em 0;
1486          }
1487          #news dd p {
1488               margin: 0.2em 0 0 0;
1489               }
1490/* message de mise à jour */
1491#upg-notify ul {
1492     padding-left: 1.5em;
1493     }
1494     #upg-notify li {
1495          color: #fff;
1496          }
1497/* ------------------------------------------------------------------- blog_pref.php */
1498#media_img_title_pattern {
1499     margin-right: 1em;
1500     }
1501.user-perm {
1502     margin: 2em 0px;
1503     background: transparent url(user.png) no-repeat left top;
1504     width: 320px;
1505     display: inline-block;
1506     vertical-align: top;
1507     }
1508     .user-perm h4, .user-perm h5, .user-perm p, .user-perm ul, .user-perm li {
1509          margin: .5em 0 .33em;
1510          padding: 0;
1511          }
1512     .user-perm h4 {
1513          padding-left: 28px;
1514          }
1515     .user-perm h5 {
1516          margin:   1em 0 0 0;
1517          }
1518     .user-perm ul {
1519          list-style-type: inside;
1520          }
1521          .user-perm li {
1522               margin-left: 1em;
1523               padding-left: 0;
1524               }
1525               li.user_super, li.user_admin {
1526                    margin-left: 0;
1527                    padding-left: 1em;
1528                    list-style: none;
1529                    background: transparent url(../images/superadmin.png) no-repeat -2px 2px;
1530                    }
1531               li.user_admin {
1532                    background-image: url(../images/admin.png);
1533                    }
1534/* ------------------------------------------------------------------- blog_theme.php */
1535.box.theme {
1536     margin: .5em;
1537     padding: 1em 1em .5em 1em;
1538     border: 1px solid #ccc;
1539     }
1540#theme-new .box.theme {
1541     width: 280px;
1542     }
1543.module-name {
1544     margin-bottom: .5em;
1545     }
1546.module-sshot img {
1547     border: 1px solid #ddd;
1548     padding: .5em;
1549     background: #f7f7f7;
1550     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
1551     }
1552.module-actions {
1553     margin-top: 1em;
1554     }
1555.bloc-toggler {
1556     text-align: right;
1557     }
1558.box.current-theme {
1559     width: 652px;
1560     margin: .5em;
1561     padding: 1em 0 .5em 1em;
1562     background: #FCFDFD;
1563     border: 1px solid #9AC123;
1564     -webkit-border-radius: .5em;
1565     border-radius: .5em;
1566     min-height: 330px; 
1567     }
1568.current-theme .module-sshot img {
1569     float: left;
1570     margin-right: 2em;
1571     margin-bottom: 1em;
1572     }
1573.current-theme .module-name {
1574     color: #D33800;
1575     margin-bottom: 1em;
1576     font-size: 1.33em;
1577     }
1578/* ------------------------------------------------------------------ categories.php */
1579#categories {
1580     margin: 1em 0;
1581     }
1582#categories ul {
1583     list-style: none;
1584     margin-top: 2em;
1585     padding: 0;
1586     }
1587     .cat-line {
1588          position: relative;
1589          margin: .66em 0;
1590          padding: .66em 1em;
1591          border: 1px solid #bbb;
1592          border-radius: 3px;
1593          }
1594          .cat-line label {
1595               margin-right: .25em;
1596               }
1597          .cat-line label a {
1598               font-weight: bold;
1599               }
1600          .cat-line p, .cat-line label {
1601               margin: 0;
1602               display: inline-block;
1603               }
1604          p.cat-title {
1605               margin-right: 1em;
1606               }
1607          .cat-nb-posts a {
1608               color: #333;
1609               }
1610          .cat-url {
1611               padding-left: 1em;
1612               }
1613          #categories .placeholder {
1614               outline: 1px dashed #4183C4;
1615               min-height: 2.5em;
1616               }
1617.cat-buttons { 
1618     float: right; 
1619     margin-top: -.2em;
1620     font-size: 11px;
1621     }
1622.cat-buttons select {
1623     padding: 1px 2px 3px 2px;
1624     margin-right: .25em;
1625     }
1626.cat-buttons .reset {
1627     padding-left: 4px;
1628     padding-right: 4px;
1629     }
1630#categories ul ul {
1631     margin-right: 2em;
1632     margin-left: 2em;
1633     }
1634.cat-line .cat-line {
1635     border: 1px solid #dfdfdf;
1636     }
1637.cat-actions {
1638     line-height: 2;
1639     }
1640     #del_cat {
1641          width: 100%;
1642          }
1643/* ------------------------------------------------------------------ help.php */
1644.legible { /* for pages with a lot of text to read */
1645     font-size: 1.16em;
1646     max-width: 62em;
1647     }
1648
1649/* ------------------------------------------------------------------ media.php */
1650.media-item {
1651     position: relative;
1652     border: 1px solid #ddd;
1653     margin: 9px;
1654     padding: 10px 12px 6px;
1655     width: 300px;
1656     display: inline-block;
1657     vertical-align: top;
1658     min-height: 140px;
1659     word-wrap: break-word;
1660     }
1661     .media-item p {
1662          margin: 0 0 .5em;
1663          }
1664     .media-item object {
1665          margin-top: .5em;
1666          }
1667     .media-item ul {
1668          display: block;
1669          list-style: none;
1670          margin: 0;
1671          padding: 0;
1672          }
1673     a.media-icon {
1674          display: block;
1675          border-bottom: none;
1676          margin: 0 auto; 
1677          }
1678          .media-icon img {
1679               display: block;
1680               }
1681     .media-link {
1682          font-size: 1.1em;
1683          }
1684     .media-action-box {
1685          position: relative;
1686          margin: 3em 3em 1em 1em;
1687          display: inline-block;
1688          vertical-align: top;
1689          }
1690     li.media-action {
1691          display: block;
1692          position: absolute;
1693          bottom: 4px;
1694          right: 8px;
1695          height: 16px;
1696          }
1697     li.media-action a {
1698          border: none;
1699          }
1700     li.media-action form {
1701          display: inline;
1702          }
1703     li.media-action input {
1704          border: none;
1705          }
1706#entry-sidebar .media-item {
1707     width: 100%;
1708     min-height: 0;
1709     padding: 4px;
1710     margin: .33em 0;
1711     }
1712     #entry-sidebar li.media-action {
1713          top: 4px;
1714          }
1715
1716.folders-group .media-item {
1717     min-height: 70px;
1718     }
1719     .folders-group .media-item p {
1720          margin-bottom: 0;
1721          }
1722     .media-folder {
1723          background: transparent url(bg_menu.png) repeat-y;
1724          border-color: #eee;
1725          }
1726     .media-folder-up {
1727          border-color: #fff;
1728          padding-bottom: 6px;
1729          }
1730     .media-folder .media-link {
1731          font-size: 1.25em;
1732          margin-left: 2em;
1733          color: #676e78;
1734          border-bottom: none;
1735          }
1736
1737.zip-dl {
1738     background: transparent url(package.png) no-repeat 0 50%;
1739     padding: 5px 0 5px 20px;
1740     }
1741/* upload multiple */
1742.enhanced_uploader .choose_files, .enhanced_uploader .cancel, 
1743.enhanced_uploader .clean, .enhanced_uploader .start {
1744     margin-right: .4em;
1745     }
1746.enhanced_uploader #upfile {
1747     visibility: hidden;
1748     width: 0;
1749     height: 0;
1750     margin: 0;
1751     opacity: 0;
1752     filter: alpha(opacity=0);
1753     cursor: pointer;
1754     }
1755.button.clean, .button.cancel, .button.choose_files {
1756     display: none;
1757     }
1758.enhanced_uploader .button.choose_files {
1759     display: inline-block;
1760     }
1761.enhanced_uploader .max-size {
1762     display: block;
1763     }
1764.enhanced_uploader .one-file {
1765     display: none;
1766     }
1767label span.one-file {
1768     display: inline;
1769     }
1770.enhanced_uploader p.clear {
1771     padding-top: 1em;
1772     margin-bottom: 1em;
1773     }
1774#add-file-f p.clear {
1775     margin-top: 1em;
1776     margin-bottom: 0;
1777     clear: both;
1778     }
1779.files {
1780     list-style-type: none;
1781     margin-left: 0;
1782     padding-left: 0;
1783     border-bottom: 1px solid #ddd;
1784     }
1785.files li {
1786     margin-left: 0;
1787     padding-left: 0;
1788     }
1789.upload-msg {
1790     font-weight: bold;
1791     }
1792.upload-msg.upload-error {
1793     color: #c00;
1794     }
1795.upload-files {
1796     padding: 0 0.5em;
1797     margin: 1em 0;
1798     }
1799.upload-file {
1800     margin: 0;
1801     padding: .3em 0;
1802     border-top: 1px solid #ddd;
1803     position: relative;
1804     }
1805.upload-fileinfo {
1806     margin-left: 0;
1807/*   margin-bottom: .4em;*/
1808     }
1809.upload-fileinfo input {
1810     position: absolute;
1811     top: .5em;
1812     right: .5em;
1813     }
1814.upload-fileinfo span {
1815     padding-right: 8px;
1816     }
1817.upload-fileinfo .upload-filecancel {
1818     display: block;
1819     padding-right: 0;
1820     margin-top: 3px;
1821     width: 20px;
1822     height: 20px;
1823     background: transparent url("cancel.png") no-repeat left top;
1824     text-indent: -1000px;
1825     cursor: pointer;
1826     float: left;
1827     }
1828.upload-filemsg {
1829     font-weight: bold;
1830     color: green;
1831     }
1832.upload-filemsg.upload-error {
1833     color: #c00;
1834     }
1835.upload-progress {
1836     padding: .3em 0; 
1837     }
1838.upload-progress div {
1839     width: 0;
1840     height: 1em;
1841     padding: .2em 0;
1842     font-size: 0.8em;
1843     font-weight: bold;
1844     line-height: 1em;
1845     text-align: right;
1846     background: green url("loader.png") repeat-x left top;
1847     color: white;
1848     border-radius: 2px;
1849     }
1850div.template-upload {
1851     clear: both;
1852     }
1853.queue-message {
1854     font-weight: bold;
1855     }
1856
1857/* --------------------------------------------------------------- media-item.php */
1858#media-icon {
1859     float: left;
1860     }
1861.near-icon {
1862     margin-left: 70px;
1863     margin-bottom: 3em;
1864     }
1865#media-details ul {
1866     display: block;
1867     margin-left: 0;
1868     padding: 0;
1869     }
1870     #media-details li {
1871          list-style: square inside;
1872          margin: 0;
1873          padding: 0;
1874          }
1875#media-original-image {
1876     overflow: auto;
1877     }
1878     #media-original-image.overheight {
1879          height: 500px;
1880          }
1881/* -------------------------------------------------------------------- plugins.php */
1882.modules td.module-actions, .modules td.module-icon {
1883     vertical-align: middle;
1884     }
1885.modules td.module-icon img:last-child {
1886     width: 16px;
1887     height: 16px;
1888     }
1889.modules td.module-icon img.expand {
1890     margin-bottom: 3px;
1891     }
1892.modules td.module-distrib img {
1893     display: block;
1894     float: right;
1895     }
1896.modules dt {
1897     font-weight: bold;
1898     }
1899.modules a.module-details {
1900     background: transparent url(search.png) no-repeat 2px 2px;
1901     padding: 4px 4px 0 20px;
1902     }
1903.modules a.module-support {
1904     background: transparent url(../images/page_help.png) no-repeat 2px 2px;
1905     padding: 4px 4px 0 20px;
1906     }
1907#m_search {   
1908     background: transparent url(search.png) no-repeat 4px center;
1909     padding-left: 20px;
1910     }
1911.modules tr.expand, .modules td.expand {
1912     background: #f7f7f7;
1913     border-color: #bee74b;
1914     }
1915.modules tr.expand td:first-child {
1916     font-weight: bold;
1917     background: #DFE5E7;
1918     }
1919.modules td.expand {
1920     padding: 0;
1921     }
1922.mod-more, .mod-more li {
1923     margin: .25em 0 0 1em;
1924     padding: 0;
1925     list-style-type: none;
1926     }
1927.mod-more {
1928     padding-top: .5em;
1929     }
1930/* ---------------------------------------------------------- post.php, page.php */
1931#entry-wrapper {
1932     float: left;
1933     width: 100%;
1934     margin-right: -16em;
1935     }
1936#entry-content {
1937     margin-right: 18em;
1938     margin-left: 0;
1939     }
1940     #entry-content label {
1941          text-transform: uppercase;
1942          font-weight: bold;
1943          margin-top: 2em;
1944          display: inline-block;
1945          }
1946     #entry-content label:first-child {
1947          margin-top: 0;
1948          }
1949#entry-sidebar {
1950     width: 16em;
1951     float: right;
1952     }
1953     #entry-sidebar h4 {
1954          font-size: 13px;
1955          font-size: 1.3rem;
1956          margin-top: .3em;
1957          }
1958     #entry-sidebar select {
1959          width: 100%;
1960          }
1961     #entry-sidebar input#post_position {
1962          width: 4em;
1963          }
1964     .sb-box {
1965          border-bottom: 1px solid #ddd;
1966          margin-bottom: 1em;
1967          }
1968     #tb_excerpt {
1969          width: 100%;
1970          }
1971/* ---------------------------------------------------------- preferences.php */
1972.fav-list {
1973     list-style-type: none;
1974     margin-left: 0;
1975     padding-left: 0;
1976     }
1977     #my-favs .fav-list {
1978          border-top: 1px solid #eee;
1979          }
1980.fav-list li {
1981     margin-left: 0;
1982     padding-left: 0;
1983     padding-top: 3px;
1984     padding-bottom: 3px;
1985     position: relative;
1986     }
1987     #my-favs .fav-list li {
1988          line-height: 2;
1989          border-bottom: 1px solid #eee;
1990          padding-top: 3px;
1991          padding-bottom: 3px;
1992          position: relative;
1993          }
1994     .fav-list img {
1995          vertical-align: middle;
1996          margin-right: .2em;
1997          }
1998     .fav-list li span.zoom {
1999          display: none;
2000          }
2001     .fav-list li:hover span.zoom {
2002          display: block;
2003          position: absolute;
2004          bottom: 0;
2005          left: 10em;
2006          background-color: #f7f7f7;
2007          border: 1px solid #ddd;
2008          padding: .2em;
2009          border-radius: .5em;
2010          }
2011#my-favs {
2012     border-color: #A8DC26;
2013     }
2014     #my-favs input.position {
2015          margin: 0 0 .4em .2em;
2016          }
2017#available-favs input, #available-favs label, #available-favs label span {
2018     white-space: normal;
2019     display: inline;
2020     }
2021#available-favs label span.zoom {
2022     display: none;
2023     }
2024#available-favs li:hover label span.zoom {
2025     display: block;
2026     position: absolute;
2027     bottom: 0;
2028     left: 10em;
2029     background-color: #f7f7f7;
2030     border: 1px solid #ddd;
2031     padding: .2em;
2032     border-radius: .5em;
2033     }
2034#user-options label.ib {
2035     display: inline-block;
2036     width: 14em;
2037     padding-right: 1em;
2038     }
2039/* --------------------------------------------------------------------- user.php */
2040.blog-perm {
2041     margin-top: 2em;
2042     font-weight: bold;
2043     }
2044.ul-perm {
2045     list-style-type: square;
2046     margin-left: 0;
2047     padding-left: 3.5em;
2048     margin-bottom: 0
2049     }
2050.add-perm {
2051     padding-top: .5em;
2052     padding-left: 2.5em;
2053     margin-left: 0;
2054     }
2055/* --------------------------------------------------------------------- _charte.php */
2056.guideline #content h2 {
2057     color: #D33800;
2058     padding: 2em 0 0 0;
2059     margin: 1em 0;
2060     font-size: 2em;
2061     }
2062.guideline h3 {
2063     margin-top: 2em;
2064     }
2065.guideline .one-box .box {
2066     border: 1px solid #ddd; 
2067     padding: 2px .5em;
2068     }
2069/* ------------------------------------------------------------------------------------
2070                                                                                                    CLASSES
2071------------------------------------------------------------------------------------ */
2072/* jQuery Autocomplete plugin */
2073.ac_results {
2074     padding: 0px;
2075     border: 1px dotted #f90;
2076     background-color: white;
2077     overflow: hidden;
2078     z-index: 99999;
2079     }
2080.ac_results ul {
2081     width: 100%;
2082     list-style-position: outside;
2083     list-style: none;
2084     padding: 0;
2085     margin: 0;
2086     }
2087     .ac_results li {
2088          margin: 0px;
2089          padding: 2px 5px;
2090          cursor: default;
2091          display: block;
2092          font-size: 1em;
2093          line-height: 16px;
2094          overflow: hidden;
2095          }
2096.ac_loading {
2097     background: transparent url('loader.gif') right center no-repeat;
2098     }
2099.ac_over {
2100     background-color: #06c;
2101     color: white;
2102     }
2103/* password indicator */
2104.pw-table {
2105     display: table;
2106     margin-bottom: 1em;
2107     }
2108.pw-cell {
2109     display: table-cell;
2110     margin-bottom: 1em;
2111     }
2112#pwindicator {
2113     display: table-cell;
2114     vertical-align: bottom;
2115     padding-left: 1.5em;
2116     height: 3.8em;
2117     }
2118     #pwindicator .bar {
2119          height: 6px;
2120          margin-bottom: 4px;
2121          }
2122          .pw-very-weak .bar {
2123               background: #900;
2124               width: 30px;
2125               }
2126          .pw-weak .bar {
2127               background: #c00;
2128               width: 60px;
2129               }
2130          .pw-mediocre .bar {
2131               background: #f60;
2132               width: 90px;
2133               }
2134          .pw-strong .bar {
2135               background: #060;
2136               width: 120px;
2137               }
2138          .pw-very-strong .bar {
2139               background: #0c0;
2140               width: 150px;
2141               }
2142/* ------------------------------------------------------------------ navigation */
2143/* selects accès rapide */
2144.anchor-nav {
2145     background: #ecf0f1;
2146     color: #000;
2147     padding: 4px 1em;
2148     }
2149.anchor-nav label {
2150     vertical-align: bottom;
2151     }
2152/* nav links */
2153.nav_prevnext {
2154     margin-bottom: 2em;
2155     color: #fff;
2156     }
2157     .nav_prevnext a, a.back {
2158          border: 1px solid #ddd;
2159          padding: 2px 1.5em;
2160          border-radius: .75em;
2161          background-color: #f0f0f0;
2162          }
2163          a.back:before {
2164               content: "\ab\a0";
2165               }
2166          a.onblog_link {
2167               color: #333;
2168               float: right;
2169               border: 1px solid #eee;
2170               padding: 2px 1.5em;
2171               border-radius: .75em;
2172               background-color: #ffe;
2173               }
2174/* Pagination */
2175.pager {
2176     margin: 2em 0 1em 0;
2177     clear: left;
2178     }
2179.pager ul {
2180     list-style-type: none;
2181     margin: 0;
2182     padding: 0;
2183     }
2184.pager li, .pager input {
2185     display:inline-block;
2186     vertical-align: middle;
2187     margin: 0 .33em 0 0;
2188     padding: 0;
2189     text-align: center;
2190     }
2191     .pager .btn {
2192          border: 1px solid #ddd;
2193          background-color: #fcfcfc;
2194          color: #738182; 
2195          border-radius: 3px;
2196          overflow: hidden;
2197          }
2198          .btn.no-link {
2199               border-color: #ddd;
2200               background-color: #f9f9f9;
2201               padding: 1px 3px 0;
2202               }
2203     .pager .active {
2204          padding: 4px 12px; 
2205          color: #676e78;
2206          }
2207     .pager .direct-access {
2208          margin-left: 2em;
2209          }
2210     .direct-access input[type=text] {
2211          border: 1px solid #ddd;
2212          padding: 3px 8px;
2213          margin-left: .25em;
2214          background-color: #fff;
2215          }
2216     .direct-access input[type=submit] {
2217          padding: 3px 6px; 
2218          }
2219.pager a {
2220     display: block;
2221     padding: 1px 3px 0;
2222     border:none;
2223     }
2224.pager a:hover, .pager a:focus {
2225     background-color: #ecf0f1;
2226     }
2227/* Etapes */
2228.step {
2229     display: inline-block;
2230     float: left;
2231     margin: 3px 10px 2px 0;
2232     padding: 5px .5em;
2233     background: #ecf0f1;
2234     border-radius: 3px;
2235     font-weight: bold;
2236     border: 1px solid #bdc3c7;
2237     color: #738182;
2238     }
2239/* ---------------------------------------------------------------- utilisables partout  */
2240.fieldset {
2241     background: #fff;
2242     border: 1px solid #bbb;
2243     border-radius: 3px;
2244     padding: 1em .7em .5em;
2245     margin-bottom: 1em;
2246     }
2247     .fieldset h3 {
2248          margin-top: 0;
2249          }
2250.right, .txt-right {
2251     text-align: right;
2252     }
2253.txt-center {
2254     text-align: center;
2255     }
2256.txt-left {
2257     text-align: left;
2258     }
2259.no-margin, label.no-margin {
2260     margin-top: 0;
2261     margin-bottom: 0;
2262     }
2263.vertical-separator {
2264     margin-top: 2em;
2265     }
2266     p.clear.vertical-separator {
2267          padding-top: 2em;
2268          }
2269.border-top {
2270     border-top: 1px solid #999;
2271     padding-top: 1em;
2272     margin-top:    1em;
2273     }
2274.grid {
2275     background: transparent repeat url('grid.png') 0 0;
2276     }
2277ul.nice {
2278     margin: 1em 0;
2279     padding: 0 0 0 2em;
2280     list-style: square;
2281     }
2282     ul.nice li {
2283          margin:0;
2284          padding: 0;
2285          }
2286ul.from-left {
2287     list-style-type: none;
2288     padding-left: 0;
2289     margin: 1 0;
2290     }
2291     ul.from-left > li {
2292          margin-top: 1em;
2293          margin-bottom: 1em;
2294          }
2295     ul.from-left ul {
2296          list-style-type: square;
2297          }
2298.offline {
2299     color: #676e78;
2300     }
2301/* caché pour tout le monde */
2302.hide, .button.hide {
2303     display: none;
2304     }
2305/* Caché sauf pour les revues d'écran */
2306.hidden, .with-js .out-of-screen-if-js {
2307     position: absolute !important;
2308     clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
2309     clip: rect(1px, 1px, 1px, 1px);
2310     padding: 0 !important;
2311     border: 0 !important;
2312     height: 1px !important;
2313     width: 1px !important;
2314     overflow: hidden;
2315     }
2316/* caché si js est inactif */
2317.no-js .hidden-if-no-js {
2318     display: none;
2319     }
2320/* caché si js est actif */
2321.with-js .hidden-if-js {
2322     display: none;
2323     }
2324/* ------------------------------------------------------------------------------------
2325                                                                                                    UTILS
2326------------------------------------------------------------------------------------ */
2327/* debug */
2328#debug {
2329     position: absolute;
2330     top: 0;
2331     width: 100%;
2332     height: 4px;
2333     background: #ff6;
2334     }
2335#debug div {
2336     display: none;
2337     padding: 3px 0.5em 2px;
2338     }
2339#debug p {
2340     margin: 0.5em 0;
2341     }
2342#debug:hover {
2343     height: auto;
2344     padding: 2px 1em;
2345     z-index: 100;
2346     }
2347#debug:hover div {
2348     display: block;
2349     }
2350.debug {
2351     background: #ff6;
2352     padding: 3px 0.5em 2px;
2353     }
2354/* ---------------------------------------------- Couleurs ajoutées via javascript   
2355/* color-picker.js */
2356.color-color-picker {
2357     border: 1px solid #000;
2358     width: 195px;
2359     background: #fff;
2360     }
2361/* _blog_theme.js */
2362.select-button {
2363     font-weight: bold;
2364     }
2365/* _media_item.js */
2366.color-div {
2367     border: 1px solid #ccc;
2368     }
2369/* fadings ('color' est utilisé comme variable, pas comme text color) */
2370.colorBeginPassword, .colorBeginValidatorErr, .colorBeginUserMail {
2371     color: #fff;
2372     }
2373.colorEndPassword, .colorEndError, .colorEndValidatorErr, .colorEndUserMail {
2374     color: #ffbaba;
2375     }
2376.colorBeginMessage {
2377     color: #ccc;
2378     }
2379.colorEndMessage, .colorBeginValidatorMsg {
2380     color: #676e78;
2381     }
2382.colorBeginError {
2383     color: #ffdec8;
2384     }
2385.colorBeginSuccess {
2386     color: #9BCA1C;
2387     }
2388.colorEndSuccess {
2389     color: #bee74b;
2390     }
2391 .colorEndValidatorMsg {
2392     color: #ffcc00;
2393     }
2394/* ------------------------------------------------------------------------------------
2395                                                                           UN POIL DE MEDIA QUERIES
2396------------------------------------------------------------------------------------ */
2397@media screen and (max-width: 1000px) {
2398     #top-info-blog #switchblog {
2399          max-width: 16em;
2400          }
2401     #top-info-blog a {
2402          margin-left: 2em;
2403          }
2404     }
2405@media screen and (max-width: 960px) {
2406     #header {
2407          display: block;
2408          width: 100%;
2409          text-align: right;
2410          background: #333;
2411          } 
2412     #header h1, #header h1 a {
2413          width: 120px;
2414          padding: 0;
2415          margin: 0;
2416          }
2417     h1, #top-info-blog {
2418          display: inline-block;
2419          vertical-align: top;
2420          margin-right: 1em;
2421          }
2422     #top-info-user {
2423          display: block;
2424          width: 100%;
2425          background: #676e78;
2426          padding-right: 0;
2427          }
2428     #top-info-user li:last-child {
2429          padding-right: 1em;
2430          }
2431     #top-info-user a.active {
2432          padding: 2px 8px;
2433          background: #999;
2434          color: #FFF;
2435          border-width: 0;
2436          -webkit-border-radius: 6px;
2437                  border-radius: 6px;
2438          } 
2439     .three-boxes, .three-boxes .box,
2440     .two-cols .col70, .two-cols .col30 {
2441          width: 100%;
2442          margin-left: 0;
2443          margin-right: 0; 
2444          }
2445     }
2446@media screen and (max-width: 700px) {
2447      #help-button {
2448          height:26px;
2449          width:26px;
2450          background-color: #A2CBE9;
2451          padding: 0;
2452          margin: 0;
2453          font-size: 10px; font-size: 1rem;
2454          line-height: 68px;
2455          overflow: hidden;
2456          }   
2457     #content.with-help #help-button {
2458          top: 77px;
2459          }
2460     .one-box, .two-boxes, .two-boxes.odd, .two-boxes.even, .box,
2461     .two-cols .col {
2462          width: 100%;
2463          margin-left: 0;
2464          margin-right: 0; 
2465          }
2466     }
2467@media screen and (max-width: 600px) {
2468     #header h1, #header h1 a {
2469          width: 42px !important; 
2470          height: 42px;
2471          }
2472     h1 a:link {
2473          background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px;
2474          border-right: 1px solid #ccc;
2475          }
2476     h1 a:hover, h1 a:focus {
2477          background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px;
2478          border-right: 1px solid #A2CBE9;
2479          }
2480     #wrapper, #main, #main-menu {
2481          display: block;
2482          float: none;
2483          width: 100%;
2484          margin: 0;
2485          }
2486     #main-menu a {
2487          display: block;
2488          width: 100%;
2489          }
2490     #main-menu h3 a {
2491          display: inline;
2492          }
2493     #content, .hide-mm #content {
2494          margin: 0;
2495          padding: 0 .5em !important;
2496          }
2497     #collapser {
2498          display: none;
2499          }
2500     #main #content > h2 {
2501          margin: 0;
2502          padding: 6px 30px 6px 0;
2503          }
2504     #dashboard-boxes .box.medium,
2505     #dashboard-boxes .box.small,
2506     #dashboard-boxes .box.large {
2507          width: 100%;
2508          margin: 10px auto;
2509          }
2510     }
2511@media screen and (max-width: 420px) {
2512     h1, h1 a {
2513          padding: 0;
2514          border-right: #333 !important;
2515          }
2516     #top-info-blog label, .nomobile {
2517          display: none;
2518          }
2519     #top-info-blog {
2520          margin-bottom: .5em;
2521          max-width: 75%;
2522          }
2523     #top-info-blog select {
2524          margin-bottom: .5em;
2525          }
2526     #icons p {
2527          width: 150px;
2528          }
2529     #content.with-help #help-button {
2530          top: 101px;
2531          }
2532     }
Note: See TracBrowser for help on using the repository browser.

Sites map