Dotclear

source: admin/style/default.css @ 2194:e93b13c9c551

Revision 2194:e93b13c9c551, 51.3 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Styles pour la gestion des thèmes, step #2 (wip)

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.box.current-theme {
1541     width: 652px;
1542     margin: .5em;
1543     padding: 1em 0 .5em 1em;
1544     background: #FCFDFD;
1545     border: 1px solid #9AC123;
1546     -webkit-border-radius: .5em;
1547                  border-radius: .5em; 
1548     }
1549#theme-new .box.theme {
1550     width: 280px;
1551     }
1552.module-name {
1553     margin-bottom: .5em;
1554     }
1555.module-sshot img {
1556     border: 1px solid #ddd;
1557     padding: .5em;
1558     background: #f7f7f7;
1559     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
1560     }
1561.module-actions {
1562     margin-top: 1em;
1563     }
1564.current-theme .module-sshot img {
1565     float: left;
1566     margin-right: 2em;
1567     margin-bottom: 1em;
1568     }
1569/* ------------------------------------------------------------------ categories.php */
1570#categories {
1571     margin: 1em 0;
1572     }
1573#categories ul {
1574     list-style: none;
1575     margin-top: 2em;
1576     padding: 0;
1577     }
1578     .cat-line {
1579          position: relative;
1580          margin: .66em 0;
1581          padding: .66em 1em;
1582          border: 1px solid #bbb;
1583          border-radius: 3px;
1584          }
1585          .cat-line label {
1586               margin-right: .25em;
1587               }
1588          .cat-line label a {
1589               font-weight: bold;
1590               }
1591          .cat-line p, .cat-line label {
1592               margin: 0;
1593               display: inline-block;
1594               }
1595          p.cat-title {
1596               margin-right: 1em;
1597               }
1598          .cat-nb-posts a {
1599               color: #333;
1600               }
1601          .cat-url {
1602               padding-left: 1em;
1603               }
1604          #categories .placeholder {
1605               outline: 1px dashed #4183C4;
1606               min-height: 2.5em;
1607               }
1608.cat-buttons { 
1609     float: right; 
1610     margin-top: -.2em;
1611     font-size: 11px;
1612     }
1613.cat-buttons select {
1614     padding: 1px 2px 3px 2px;
1615     margin-right: .25em;
1616     }
1617.cat-buttons .reset {
1618     padding-left: 4px;
1619     padding-right: 4px;
1620     }
1621#categories ul ul {
1622     margin-right: 2em;
1623     margin-left: 2em;
1624     }
1625.cat-line .cat-line {
1626     border: 1px solid #dfdfdf;
1627     }
1628.cat-actions {
1629     line-height: 2;
1630     }
1631     #del_cat {
1632          width: 100%;
1633          }
1634/* ------------------------------------------------------------------ help.php */
1635.legible { /* for pages with a lot of text to read */
1636     font-size: 1.16em;
1637     max-width: 62em;
1638     }
1639
1640/* ------------------------------------------------------------------ media.php */
1641.media-item {
1642     position: relative;
1643     border: 1px solid #ddd;
1644     margin: 9px;
1645     padding: 10px 12px 6px;
1646     width: 300px;
1647     display: inline-block;
1648     vertical-align: top;
1649     min-height: 140px;
1650     word-wrap: break-word;
1651     }
1652     .media-item p {
1653          margin: 0 0 .5em;
1654          }
1655     .media-item object {
1656          margin-top: .5em;
1657          }
1658     .media-item ul {
1659          display: block;
1660          list-style: none;
1661          margin: 0;
1662          padding: 0;
1663          }
1664     a.media-icon {
1665          display: block;
1666          border-bottom: none;
1667          margin: 0 auto; 
1668          }
1669          .media-icon img {
1670               display: block;
1671               }
1672     .media-link {
1673          font-size: 1.1em;
1674          }
1675     .media-action-box {
1676          position: relative;
1677          margin: 3em 3em 1em 1em;
1678          display: inline-block;
1679          vertical-align: top;
1680          }
1681     li.media-action {
1682          display: block;
1683          position: absolute;
1684          bottom: 4px;
1685          right: 8px;
1686          height: 16px;
1687          }
1688     li.media-action a {
1689          border: none;
1690          }
1691     li.media-action form {
1692          display: inline;
1693          }
1694     li.media-action input {
1695          border: none;
1696          }
1697#entry-sidebar .media-item {
1698     width: 100%;
1699     min-height: 0;
1700     padding: 4px;
1701     margin: .33em 0;
1702     }
1703     #entry-sidebar li.media-action {
1704          top: 4px;
1705          }
1706
1707.folders-group .media-item {
1708     min-height: 70px;
1709     }
1710     .folders-group .media-item p {
1711          margin-bottom: 0;
1712          }
1713     .media-folder {
1714          background: transparent url(bg_menu.png) repeat-y;
1715          border-color: #eee;
1716          }
1717     .media-folder-up {
1718          border-color: #fff;
1719          padding-bottom: 6px;
1720          }
1721     .media-folder .media-link {
1722          font-size: 1.25em;
1723          margin-left: 2em;
1724          color: #676e78;
1725          border-bottom: none;
1726          }
1727
1728.zip-dl {
1729     background: transparent url(package.png) no-repeat 0 50%;
1730     padding: 5px 0 5px 20px;
1731     }
1732/* upload multiple */
1733.enhanced_uploader .choose_files, .enhanced_uploader .cancel, 
1734.enhanced_uploader .clean, .enhanced_uploader .start {
1735     margin-right: .4em;
1736     }
1737.enhanced_uploader #upfile {
1738     visibility: hidden;
1739     width: 0;
1740     height: 0;
1741     margin: 0;
1742     opacity: 0;
1743     filter: alpha(opacity=0);
1744     cursor: pointer;
1745     }
1746.button.clean, .button.cancel, .button.choose_files {
1747     display: none;
1748     }
1749.enhanced_uploader .button.choose_files {
1750     display: inline-block;
1751     }
1752.enhanced_uploader .max-size {
1753     display: block;
1754     }
1755.enhanced_uploader .one-file {
1756     display: none;
1757     }
1758label span.one-file {
1759     display: inline;
1760     }
1761.enhanced_uploader p.clear {
1762     padding-top: 1em;
1763     margin-bottom: 1em;
1764     }
1765#add-file-f p.clear {
1766     margin-top: 1em;
1767     margin-bottom: 0;
1768     clear: both;
1769     }
1770.files {
1771     list-style-type: none;
1772     margin-left: 0;
1773     padding-left: 0;
1774     border-bottom: 1px solid #ddd;
1775     }
1776.files li {
1777     margin-left: 0;
1778     padding-left: 0;
1779     }
1780.upload-msg {
1781     font-weight: bold;
1782     }
1783.upload-msg.upload-error {
1784     color: #c00;
1785     }
1786.upload-files {
1787     padding: 0 0.5em;
1788     margin: 1em 0;
1789     }
1790.upload-file {
1791     margin: 0;
1792     padding: .3em 0;
1793     border-top: 1px solid #ddd;
1794     position: relative;
1795     }
1796.upload-fileinfo {
1797     margin-left: 0;
1798/*   margin-bottom: .4em;*/
1799     }
1800.upload-fileinfo input {
1801     position: absolute;
1802     top: .5em;
1803     right: .5em;
1804     }
1805.upload-fileinfo span {
1806     padding-right: 8px;
1807     }
1808.upload-fileinfo .upload-filecancel {
1809     display: block;
1810     padding-right: 0;
1811     margin-top: 3px;
1812     width: 20px;
1813     height: 20px;
1814     background: transparent url("cancel.png") no-repeat left top;
1815     text-indent: -1000px;
1816     cursor: pointer;
1817     float: left;
1818     }
1819.upload-filemsg {
1820     font-weight: bold;
1821     color: green;
1822     }
1823.upload-filemsg.upload-error {
1824     color: #c00;
1825     }
1826.upload-progress {
1827     padding: .3em 0; 
1828     }
1829.upload-progress div {
1830     width: 0;
1831     height: 1em;
1832     padding: .2em 0;
1833     font-size: 0.8em;
1834     font-weight: bold;
1835     line-height: 1em;
1836     text-align: right;
1837     background: green url("loader.png") repeat-x left top;
1838     color: white;
1839     border-radius: 2px;
1840     }
1841div.template-upload {
1842     clear: both;
1843     }
1844.queue-message {
1845     font-weight: bold;
1846     }
1847
1848/* --------------------------------------------------------------- media-item.php */
1849#media-icon {
1850     float: left;
1851     }
1852.near-icon {
1853     margin-left: 70px;
1854     margin-bottom: 3em;
1855     }
1856#media-details ul {
1857     display: block;
1858     margin-left: 0;
1859     padding: 0;
1860     }
1861     #media-details li {
1862          list-style: square inside;
1863          margin: 0;
1864          padding: 0;
1865          }
1866#media-original-image {
1867     overflow: auto;
1868     }
1869     #media-original-image.overheight {
1870          height: 500px;
1871          }
1872/* -------------------------------------------------------------------- plugins.php */
1873.modules td.module-actions, .modules td.module-icon {
1874     vertical-align: middle;
1875     }
1876.modules td.module-icon img:last-child {
1877     width: 16px;
1878     height: 16px;
1879     }
1880.modules td.module-icon img.expand {
1881     margin-bottom: 3px;
1882     }
1883.modules td.module-distrib img {
1884     display: block;
1885     float: right;
1886     }
1887.modules dt {
1888     font-weight: bold;
1889     }
1890.modules a.module-details {
1891     background: transparent url(search.png) no-repeat 2px 2px;
1892     padding: 4px 4px 0 20px;
1893     }
1894.modules a.module-support {
1895     background: transparent url(../images/page_help.png) no-repeat 2px 2px;
1896     padding: 4px 4px 0 20px;
1897     }
1898#m_search {   
1899     background: transparent url(search.png) no-repeat 4px center;
1900     padding-left: 20px;
1901     }
1902.modules tr.expand, .modules td.expand {
1903     background: #f7f7f7;
1904     border-color: #bee74b;
1905     }
1906.modules tr.expand td:first-child {
1907     font-weight: bold;
1908     background: #DFE5E7;
1909     }
1910.modules td.expand {
1911     padding: 0;
1912     }
1913.mod-more, .mod-more li {
1914     margin: .25em 0 0 1em;
1915     padding: 0;
1916     list-style-type: none;
1917     }
1918.mod-more {
1919     padding-top: .5em;
1920     }
1921/* ---------------------------------------------------------- post.php, page.php */
1922#entry-wrapper {
1923     float: left;
1924     width: 100%;
1925     margin-right: -16em;
1926     }
1927#entry-content {
1928     margin-right: 18em;
1929     margin-left: 0;
1930     }
1931     #entry-content label {
1932          text-transform: uppercase;
1933          font-weight: bold;
1934          margin-top: 2em;
1935          display: inline-block;
1936          }
1937     #entry-content label:first-child {
1938          margin-top: 0;
1939          }
1940#entry-sidebar {
1941     width: 16em;
1942     float: right;
1943     }
1944     #entry-sidebar h4 {
1945          font-size: 13px;
1946          font-size: 1.3rem;
1947          margin-top: .3em;
1948          }
1949     #entry-sidebar select {
1950          width: 100%;
1951          }
1952     #entry-sidebar input#post_position {
1953          width: 4em;
1954          }
1955     .sb-box {
1956          border-bottom: 1px solid #ddd;
1957          margin-bottom: 1em;
1958          }
1959     #tb_excerpt {
1960          width: 100%;
1961          }
1962/* ---------------------------------------------------------- preferences.php */
1963.fav-list {
1964     list-style-type: none;
1965     margin-left: 0;
1966     padding-left: 0;
1967     }
1968     #my-favs .fav-list {
1969          border-top: 1px solid #eee;
1970          }
1971.fav-list li {
1972     margin-left: 0;
1973     padding-left: 0;
1974     padding-top: 3px;
1975     padding-bottom: 3px;
1976     position: relative;
1977     }
1978     #my-favs .fav-list li {
1979          line-height: 2;
1980          border-bottom: 1px solid #eee;
1981          padding-top: 3px;
1982          padding-bottom: 3px;
1983          position: relative;
1984          }
1985     .fav-list img {
1986          vertical-align: middle;
1987          margin-right: .2em;
1988          }
1989     .fav-list li span.zoom {
1990          display: none;
1991          }
1992     .fav-list li:hover span.zoom {
1993          display: block;
1994          position: absolute;
1995          bottom: 0;
1996          left: 10em;
1997          background-color: #f7f7f7;
1998          border: 1px solid #ddd;
1999          padding: .2em;
2000          border-radius: .5em;
2001          }
2002#my-favs {
2003     border-color: #A8DC26;
2004     }
2005     #my-favs input.position {
2006          margin: 0 0 .4em .2em;
2007          }
2008#available-favs input, #available-favs label, #available-favs label span {
2009     white-space: normal;
2010     display: inline;
2011     }
2012#available-favs label span.zoom {
2013     display: none;
2014     }
2015#available-favs li:hover label span.zoom {
2016     display: block;
2017     position: absolute;
2018     bottom: 0;
2019     left: 10em;
2020     background-color: #f7f7f7;
2021     border: 1px solid #ddd;
2022     padding: .2em;
2023     border-radius: .5em;
2024     }
2025#user-options label.ib {
2026     display: inline-block;
2027     width: 14em;
2028     padding-right: 1em;
2029     }
2030/* --------------------------------------------------------------------- user.php */
2031.blog-perm {
2032     margin-top: 2em;
2033     font-weight: bold;
2034     }
2035.ul-perm {
2036     list-style-type: square;
2037     margin-left: 0;
2038     padding-left: 3.5em;
2039     margin-bottom: 0
2040     }
2041.add-perm {
2042     padding-top: .5em;
2043     padding-left: 2.5em;
2044     margin-left: 0;
2045     }
2046/* --------------------------------------------------------------------- _charte.php */
2047.guideline #content h2 {
2048     color: #D33800;
2049     padding: 2em 0 0 0;
2050     margin: 1em 0;
2051     font-size: 2em;
2052     }
2053.guideline h3 {
2054     margin-top: 2em;
2055     }
2056.guideline .one-box .box {
2057     border: 1px solid #ddd; 
2058     padding: 2px .5em;
2059     }
2060/* ------------------------------------------------------------------------------------
2061                                                                                                    CLASSES
2062------------------------------------------------------------------------------------ */
2063/* jQuery Autocomplete plugin */
2064.ac_results {
2065     padding: 0px;
2066     border: 1px dotted #f90;
2067     background-color: white;
2068     overflow: hidden;
2069     z-index: 99999;
2070     }
2071.ac_results ul {
2072     width: 100%;
2073     list-style-position: outside;
2074     list-style: none;
2075     padding: 0;
2076     margin: 0;
2077     }
2078     .ac_results li {
2079          margin: 0px;
2080          padding: 2px 5px;
2081          cursor: default;
2082          display: block;
2083          font-size: 1em;
2084          line-height: 16px;
2085          overflow: hidden;
2086          }
2087.ac_loading {
2088     background: transparent url('loader.gif') right center no-repeat;
2089     }
2090.ac_over {
2091     background-color: #06c;
2092     color: white;
2093     }
2094/* password indicator */
2095.pw-table {
2096     display: table;
2097     margin-bottom: 1em;
2098     }
2099.pw-cell {
2100     display: table-cell;
2101     margin-bottom: 1em;
2102     }
2103#pwindicator {
2104     display: table-cell;
2105     vertical-align: bottom;
2106     padding-left: 1.5em;
2107     height: 3.8em;
2108     }
2109     #pwindicator .bar {
2110          height: 6px;
2111          margin-bottom: 4px;
2112          }
2113          .pw-very-weak .bar {
2114               background: #900;
2115               width: 30px;
2116               }
2117          .pw-weak .bar {
2118               background: #c00;
2119               width: 60px;
2120               }
2121          .pw-mediocre .bar {
2122               background: #f60;
2123               width: 90px;
2124               }
2125          .pw-strong .bar {
2126               background: #060;
2127               width: 120px;
2128               }
2129          .pw-very-strong .bar {
2130               background: #0c0;
2131               width: 150px;
2132               }
2133/* ------------------------------------------------------------------ navigation */
2134/* selects accès rapide */
2135.anchor-nav {
2136     background: #ecf0f1;
2137     color: #000;
2138     padding: 4px 1em;
2139     }
2140.anchor-nav label {
2141     vertical-align: bottom;
2142     }
2143/* nav links */
2144.nav_prevnext {
2145     margin-bottom: 2em;
2146     color: #fff;
2147     }
2148     .nav_prevnext a, a.back {
2149          border: 1px solid #ddd;
2150          padding: 2px 1.5em;
2151          border-radius: .75em;
2152          background-color: #f0f0f0;
2153          }
2154          a.back:before {
2155               content: "\ab\a0";
2156               }
2157          a.onblog_link {
2158               color: #333;
2159               float: right;
2160               border: 1px solid #eee;
2161               padding: 2px 1.5em;
2162               border-radius: .75em;
2163               background-color: #ffe;
2164               }
2165/* Pagination */
2166.pager {
2167     margin: 2em 0 1em 0;
2168     clear: left;
2169     }
2170.pager ul {
2171     list-style-type: none;
2172     margin: 0;
2173     padding: 0;
2174     }
2175.pager li, .pager input {
2176     display:inline-block;
2177     vertical-align: middle;
2178     margin: 0 .33em 0 0;
2179     padding: 0;
2180     text-align: center;
2181     }
2182     .pager .btn {
2183          border: 1px solid #ddd;
2184          background-color: #fcfcfc;
2185          color: #738182; 
2186          border-radius: 3px;
2187          overflow: hidden;
2188          }
2189          .btn.no-link {
2190               border-color: #ddd;
2191               background-color: #f9f9f9;
2192               padding: 1px 3px 0;
2193               }
2194     .pager .active {
2195          padding: 4px 12px; 
2196          color: #676e78;
2197          }
2198     .pager .direct-access {
2199          margin-left: 2em;
2200          }
2201     .direct-access input[type=text] {
2202          border: 1px solid #ddd;
2203          padding: 3px 8px;
2204          margin-left: .25em;
2205          background-color: #fff;
2206          }
2207     .direct-access input[type=submit] {
2208          padding: 3px 6px; 
2209          }
2210.pager a {
2211     display: block;
2212     padding: 1px 3px 0;
2213     border:none;
2214     }
2215.pager a:hover, .pager a:focus {
2216     background-color: #ecf0f1;
2217     }
2218/* Etapes */
2219.step {
2220     display: inline-block;
2221     float: left;
2222     margin: 3px 10px 2px 0;
2223     padding: 5px .5em;
2224     background: #ecf0f1;
2225     border-radius: 3px;
2226     font-weight: bold;
2227     border: 1px solid #bdc3c7;
2228     color: #738182;
2229     }
2230/* ---------------------------------------------------------------- utilisables partout  */
2231.fieldset {
2232     background: #fff;
2233     border: 1px solid #bbb;
2234     border-radius: 3px;
2235     padding: 1em .7em .5em;
2236     margin-bottom: 1em;
2237     }
2238     .fieldset h3 {
2239          margin-top: 0;
2240          }
2241.right, .txt-right {
2242     text-align: right;
2243     }
2244.txt-center {
2245     text-align: center;
2246     }
2247.txt-left {
2248     text-align: left;
2249     }
2250.no-margin, label.no-margin {
2251     margin-top: 0;
2252     margin-bottom: 0;
2253     }
2254.vertical-separator {
2255     margin-top: 2em;
2256     }
2257     p.clear.vertical-separator {
2258          padding-top: 2em;
2259          }
2260.border-top {
2261     border-top: 1px solid #999;
2262     padding-top: 1em;
2263     margin-top:    1em;
2264     }
2265.grid {
2266     background: transparent repeat url('grid.png') 0 0;
2267     }
2268ul.nice {
2269     margin: 1em 0;
2270     padding: 0 0 0 2em;
2271     list-style: square;
2272     }
2273     ul.nice li {
2274          margin:0;
2275          padding: 0;
2276          }
2277ul.from-left {
2278     list-style-type: none;
2279     padding-left: 0;
2280     margin: 1 0;
2281     }
2282     ul.from-left > li {
2283          margin-top: 1em;
2284          margin-bottom: 1em;
2285          }
2286     ul.from-left ul {
2287          list-style-type: square;
2288          }
2289.offline {
2290     color: #676e78;
2291     }
2292/* caché pour tout le monde */
2293.hide, .button.hide {
2294     display: none;
2295     }
2296/* Caché sauf pour les revues d'écran */
2297.hidden, .with-js .out-of-screen-if-js {
2298     position: absolute !important;
2299     clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
2300     clip: rect(1px, 1px, 1px, 1px);
2301     padding: 0 !important;
2302     border: 0 !important;
2303     height: 1px !important;
2304     width: 1px !important;
2305     overflow: hidden;
2306     }
2307/* caché si js est inactif */
2308.no-js .hidden-if-no-js {
2309     display: none;
2310     }
2311/* caché si js est actif */
2312.with-js .hidden-if-js {
2313     display: none;
2314     }
2315/* ------------------------------------------------------------------------------------
2316                                                                                                    UTILS
2317------------------------------------------------------------------------------------ */
2318/* debug */
2319#debug {
2320     position: absolute;
2321     top: 0;
2322     width: 100%;
2323     height: 4px;
2324     background: #ff6;
2325     }
2326#debug div {
2327     display: none;
2328     padding: 3px 0.5em 2px;
2329     }
2330#debug p {
2331     margin: 0.5em 0;
2332     }
2333#debug:hover {
2334     height: auto;
2335     padding: 2px 1em;
2336     z-index: 100;
2337     }
2338#debug:hover div {
2339     display: block;
2340     }
2341/* ---------------------------------------------- Couleurs ajoutées via javascript   
2342/* color-picker.js */
2343.color-color-picker {
2344     border: 1px solid #000;
2345     width: 195px;
2346     background: #fff;
2347     }
2348/* _blog_theme.js */
2349.select-button {
2350     font-weight: bold;
2351     }
2352/* _media_item.js */
2353.color-div {
2354     border: 1px solid #ccc;
2355     }
2356/* fadings ('color' est utilisé comme variable, pas comme text color) */
2357.colorBeginPassword, .colorBeginValidatorErr, .colorBeginUserMail {
2358     color: #fff;
2359     }
2360.colorEndPassword, .colorEndError, .colorEndValidatorErr, .colorEndUserMail {
2361     color: #ffbaba;
2362     }
2363.colorBeginMessage {
2364     color: #ccc;
2365     }
2366.colorEndMessage, .colorBeginValidatorMsg {
2367     color: #676e78;
2368     }
2369.colorBeginError {
2370     color: #ffdec8;
2371     }
2372.colorBeginSuccess {
2373     color: #9BCA1C;
2374     }
2375.colorEndSuccess {
2376     color: #bee74b;
2377     }
2378 .colorEndValidatorMsg {
2379     color: #ffcc00;
2380     }
2381/* ------------------------------------------------------------------------------------
2382                                                                           UN POIL DE MEDIA QUERIES
2383------------------------------------------------------------------------------------ */
2384@media screen and (max-width: 1000px) {
2385     #top-info-blog #switchblog {
2386          max-width: 16em;
2387          }
2388     #top-info-blog a {
2389          margin-left: 2em;
2390          }
2391     }
2392@media screen and (max-width: 960px) {
2393     #header {
2394          display: block;
2395          width: 100%;
2396          text-align: right;
2397          background: #333;
2398          } 
2399     #header h1, #header h1 a {
2400          width: 120px;
2401          padding: 0;
2402          margin: 0;
2403          }
2404     h1, #top-info-blog {
2405          display: inline-block;
2406          vertical-align: top;
2407          margin-right: 1em;
2408          }
2409     #top-info-user {
2410          display: block;
2411          width: 100%;
2412          background: #676e78;
2413          padding-right: 0;
2414          }
2415     #top-info-user li:last-child {
2416          padding-right: 1em;
2417          }
2418     #top-info-user a.active {
2419          padding: 2px 8px;
2420          background: #999;
2421          color: #FFF;
2422          border-width: 0;
2423          -webkit-border-radius: 6px;
2424                  border-radius: 6px;
2425          } 
2426     .three-boxes, .three-boxes .box,
2427     .two-cols .col70, .two-cols .col30 {
2428          width: 100%;
2429          margin-left: 0;
2430          margin-right: 0; 
2431          }
2432     }
2433@media screen and (max-width: 700px) {
2434      #help-button {
2435          height:26px;
2436          width:26px;
2437          background-color: #A2CBE9;
2438          padding: 0;
2439          margin: 0;
2440          font-size: 10px; font-size: 1rem;
2441          line-height: 68px;
2442          overflow: hidden;
2443          }   
2444     #content.with-help #help-button {
2445          top: 77px;
2446          }
2447     .one-box, .two-boxes, .two-boxes.odd, .two-boxes.even, .box,
2448     .two-cols .col {
2449          width: 100%;
2450          margin-left: 0;
2451          margin-right: 0; 
2452          }
2453     }
2454@media screen and (max-width: 600px) {
2455     #header h1, #header h1 a {
2456          width: 42px !important; 
2457          height: 42px;
2458          }
2459     h1 a:link {
2460          background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px;
2461          border-right: 1px solid #ccc;
2462          }
2463     h1 a:hover, h1 a:focus {
2464          background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px;
2465          border-right: 1px solid #A2CBE9;
2466          }
2467     #wrapper, #main, #main-menu {
2468          display: block;
2469          float: none;
2470          width: 100%;
2471          margin: 0;
2472          }
2473     #main-menu a {
2474          display: block;
2475          width: 100%;
2476          }
2477     #main-menu h3 a {
2478          display: inline;
2479          }
2480     #content, .hide-mm #content {
2481          margin: 0;
2482          padding: 0 .5em !important;
2483          }
2484     #collapser {
2485          display: none;
2486          }
2487     #main #content > h2 {
2488          margin: 0;
2489          padding: 6px 30px 6px 0;
2490          }
2491     #dashboard-boxes .box.medium,
2492     #dashboard-boxes .box.small,
2493     #dashboard-boxes .box.large {
2494          width: 100%;
2495          margin: 10px auto;
2496          }
2497     }
2498@media screen and (max-width: 420px) {
2499     h1, h1 a {
2500          padding: 0;
2501          border-right: #333 !important;
2502          }
2503     #top-info-blog label, .nomobile {
2504          display: none;
2505          }
2506     #top-info-blog {
2507          margin-bottom: .5em;
2508          max-width: 75%;
2509          }
2510     #top-info-blog select {
2511          margin-bottom: .5em;
2512          }
2513     #icons p {
2514          width: 150px;
2515          }
2516     #content.with-help #help-button {
2517          top: 101px;
2518          }
2519     }
Note: See TracBrowser for help on using the repository browser.

Sites map