Dotclear

source: admin/style/default.css @ 1523:c9c97363f85b

Revision 1523:c9c97363f85b, 33.8 KB checked in by Anne Kozlika <kozlika@…>, 11 years ago (diff)

Workaround for rem in IE > 9. Need to be tested as some say it works and other it doesn't…

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

Sites map