Dotclear

source: admin/style/default.css @ 2179:d7e1ae54c66b

Revision 2179:d7e1ae54c66b, 50.9 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

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

Sites map