Dotclear

source: admin/style/default.css @ 1309:eb5238f5be85

Revision 1309:eb5238f5be85, 27.4 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Login screen has to be as happy as a Dotclear's user. (And some very few changes on admin pages.)

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

Sites map