Dotclear

source: admin/style/default.css @ 1447:e73bc6dd21d1

Revision 1447:e73bc6dd21d1, 31.3 KB checked in by Franck Paul <carnet.franck.paul@…>, 12 years ago (diff)

Merged in lipki/dotclear/Ticket #1512 (pull request #50) - fixes #1512

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

Sites map