Dotclear

source: admin/style/default.css @ 1452:86bb68171d5b

Revision 1452:86bb68171d5b, 31.6 KB checked in by Anne Kozlika <kozlika@…>, 11 years ago (diff)

Html and css patches on media.php

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

Sites map