Dotclear

source: admin/style/default.css @ 1379:84905d1ca13f

Revision 1379:84905d1ca13f, 29.5 KB checked in by Anne Kozlika <kozlika@…>, 11 years ago (diff)

Avoid cells in cells.

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

Sites map