Dotclear

source: admin/style/default.css @ 82:a31a062afd24

Revision 82:a31a062afd24, 21.1 KB checked in by kozlika, 14 years ago (diff)

Fixes

  • décalage de la première icône du tableau de bord sur IE
  • largeur de la boîte de chaque icône du tableau de bord
  • terme anglais (media) : originale > original
  • étoile rouge sur la création de catégorie pour le champ titre
  • étoile rouge sur les champs requis de blog_pref et de création/édition de page
RevLine 
[0]1/*
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
[3]6# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
[0]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*/
13body {
[3]14     font: 76%/1.5em Helvetica,Arial,sans-serif;
15     color: #333;
16     background: #f5f5f5;
17     margin: 0;
18     padding: 0;
[0]19}
20body.auth {
[3]21     background: #fff;
[0]22}
23
24a img,:link img,:visited img { border:none }
25
26a, a:link, a:visited {
[3]27     color: #2373A8;
28     text-decoration: none;
29     border-bottom: 1px dotted #f90;
[0]30}
31a:hover, a:active, a:focus {
[3]32     text-decoration: underline;
[0]33}
34
35h1, h2, h3, h4, h5, h6, p {
[3]36     margin-top: 0;
[0]37     margin-bottom: 0.6em;
38}
39
40h2 {
[3]41     color: #666;
42     font-size: 1.4em;
[0]43     padding: 4px 0;
44}
45
46h3 {
[3]47     color: #333;
48     font-size: 1.2em;
[0]49}
50
51p, div.p {
[3]52     margin: 0 0 1em 0;
[0]53}
54
55hr {
[3]56     height: 1px;
57     border-width: 1px 0 0 0;
58     border-color: #999;
59     border-style: solid;
[0]60}
61
62pre, code {
63     font: 100% "Andale Mono","Courier New",monospace;
64}
65pre {
66     white-space: pre;
67     white-space: -moz-pre-wrap;
68     white-space: -hp-pre-wrap;
69     white-space: -o-pre-wrap;
70     white-space: -pre-wrap;
71     white-space: pre-wrap;
72     white-space: pre-line;
73     word-wrap: break-word;
74}
[12]75abbr {
76     cursor: help;
77}
[0]78
79
80/* LAYOUT
81-------------------------------------------------------- */
82
83#top {
[3]84     margin: 0;
85     padding: 0;
86     background: #575859 url(dc_bg.png) repeat-x 0 3em;
[0]87}
88#top h1 {
[3]89     padding: 0;
90     margin: 0;
91     height: 3em;
92     text-indent: -1000px;
93     background: transparent url(dc_logo.png) no-repeat 0 50%;
[0]94}
95#top h1 a {
96     position: absolute;
97     top: 3px;
98     left: 0;
99     width: 130px;
[3]100     height: 60px;
[0]101     border: none;
102     outline: none;
[3]103     color: #fff;
[0]104}
105
106#info-box {
[3]107     background: #575859;
108     position: absolute;
109     left: 13em;
110     top: 3px;
111     margin: 0;
112     padding: 3px 3px 4px 0;
[0]113     color: #fff;
114}
[3]115#info-box2 {
116     background: #575859;
117     position: absolute;
118     right: 1em;
119     top: 3px;
120     margin: 0;
121     padding: 3px 3px 4px 0;
122     color: #fff;
123}
124#info-box div, #info-box2 div {
[0]125     margin: 0; padding: 0;
126}
[3]127#info-box div div, #info-box2 div div {
[0]128     display: inline;
129}
[3]130#info-box>form>div, #info-box2>form>div {
131     line-height: 1.5;
[0]132}
133#info-box select {
[3]134     width: 20em;
[0]135}
[3]136#info-box a img, #info-box2 a img {
137     vertical-align: middle; 
138     padding-left: .3em;
139     }
140#info-box a, #info-box2 a {
141     background: #575859;
142     font-weight: bold;
[0]143     color: #fff;
[3]144     border-bottom-color: #ccc;
[0]145}
[3]146#info-box a {margin-left: 2em;}
[0]147
148#wrapper {
149     width: 100%;
150}
151#main {
[3]152     width: 100%;
153     float: right;
154     margin-left: -13em;
155     margin-top: 0;
156}
157#content {
158     margin-left: 13em;
159     margin-bottom: 4em;
160     margin-top: .5em;
161     margin-right: 1.5em;
162     padding-top: 10px;
163     padding-left: 1em;
164     padding-right: 1em;
165     background: #fff;
166     -webkit-border-radius: .5em;
167     -moz-border-radius: .5em;
168     border-radius: .5em;
169     border: 1px solid #ddd;
170}
171     #content:after {clear:both; content:""; display:block; height:0; font-size:0;}
172#main-menu {
173     font-size: .95em;
174     width: 13em;
175     float: left;
[69]176     margin-top: 1em;
[3]177     margin-bottom: 10px;
[0]178}
179
180#main-menu h3 {
[3]181     margin: 0 0 0.5em 0;
182     padding: .5em 0 0 .5em;
[0]183     text-transform: uppercase;
[3]184     color: #666;
[0]185}
186#main-menu ul {
[3]187     margin: 0 0 1em 0;
188     padding: 0;
189     list-style: none;
[0]190}
191#main-menu li {
[3]192     display: block;
193     margin: 0.5em 0 0 0;
194     padding: .2em 0 0 32px;
[0]195     background-repeat: no-repeat;
[3]196     background-position: 12px .2em;
[0]197}
198#main-menu a {
[3]199     font-weight: bold;
[0]200}
201#main-menu .active a {
202     border-bottom-style: solid;
[3]203     border-bottom: none;
204}
205#main-menu li.active {
206     background-color: #fff;
207     border: 1px solid #ccc;
208     border-right: none;
209     border-left: none;
210     margin-right: -.76em;
211     padding: .4em 0 .1em 32px;
212     background-position: 12px .4em;
[0]213}
214#main-menu #dashboard-menu li {
215     margin-left: 0;
216}
[3]217
218/* favoris en haut */
219#fav-add { 
220     position: absolute;
221     top: 3.5em;
222     right: 2em;
[0]223}
224
225#footer {
[3]226     clear: both;
227     padding: .75em 2em;
228     margin: 6em 1em .5em 1em;
229     -webkit-border-radius: .3em;
230     -moz-border-radius: .3em;
231     border-radius: .3em;
232     background: #575859 url(dc_logo_small.png) no-repeat right bottom;
233     color: #fff;
[0]234}
235#footer p {
[3]236     margin: 0;
237     padding: 0 1em;
238     text-align: center;
[0]239     font-size: 1.1em;
240}
[3]241#footer a {
242     color: #f5f5f5;
243}
244#footer p span.credit {
245     font-size: .85em; 
246     font-weight: normal;
247}
[0]248
249#debug {
250     position: absolute;
251     top: 0;
252     width: 100%;
253     height: 4px;
254     background: #d99;
255}
256#debug div {
257     display: none;
258     padding: 3px 0.5em 2px;
259}
260#debug p {
[3]261     margin: 0.5em 0;
[0]262}
263#debug:hover {
264     height: auto;
265}
266#debug:hover div {
267     display: block;
268}
269
270/* DASHBOARD */
271#dashboard-main {
272     float: left;
273     overflow: hidden;
[3]274     padding: 1em 1%;
[0]275     width: 66%;
276}
277#dashboard-main #icons {
278     overflow: hidden;
279     padding-bottom: 1em;
[27]280     text-align: center;
[0]281}
282#dashboard-main #icons p {
[82]283     width: 210px;
[0]284     text-align: center;
285     margin: 2em 0 0 0;
[29]286     display:inline-block;
[0]287}
288#dashboard-main #icons span {
289     display: block;
290}
291#dashboard-main #icons a {
292     border-bottom-width: 0;
293}
294#dashboard-main #icons span a {
295     border-bottom-width: 1px;
296}
297
298#dashboard-main #quick {
299     clear: left;
300     margin-top: 2em;
301}
302#dashboard-main #quick h3 {
303     margin-bottom: 0.2em;
[3]304     font-size: 1.2em;
[0]305}
306#dashboard-main #quick p.qinfo {
[74]307     margin: -.7em -1em 1em;
308     background: #eef url(info.png) no-repeat .2em .2em;
309     border: 1px solid #99f;
310     padding: .2em 1em .1em 24px;
311     color: #666;
[0]312}
313
314#dashboard-items {
315     float: left;
[3]316     width: 29%;
[0]317     overflow: hidden;
318     margin-left: 2%;
319     padding-bottom: 1em;
[3]320     padding-top: 3em;
[0]321}
322#dashboard-items p img {
323     vertical-align: middle;
324}
325#dashboard-items ul {
326     display: block;
327     padding-left: 1.5em;
328     list-style: square;
329}
330#dashboard-items li {
331     margin: 0.25em 0 0 0;
332     color: #666;
333}
334#dashboard-items #news dt {
335     font-weight: bold;
336     margin: 0 0 0.4em 0;
337}
338#dashboard-items #news dd {
339     margin: 0 0 1em 0;
340}
341#dashboard-items #news dd p {
342     margin: 0.2em 0 0 0;
343}
344#upg-notify {
345}
346#upg-notify ul {
347     padding-left: 15px;
348}
349#upg-notify li {
350     color: #fff;
351}
352
353/* POST */
354#entry-sidebar {
[3]355     width: 200px;
356     float: right;
[0]357}
358#entry-content {
[3]359     margin-right: 220px;
[0]360}
361#comments {
[3]362     clear: both;
[0]363}
364
365/* CATEGORIES */
366#categories {
367     margin: 1em 0 2em;
368}
369#categories ul {
370     list-style: none;
371     margin: 0 0 0 0;
372     padding: 0 0 0 0;
373}
374#categories ul li {
[3]375     margin: .5em 0;
376     padding: .3em 1.5em;
[0]377     border: 1px solid #ccc;
[3]378     border-left: 1em solid #E5E3DA;
379     -moz-border-radius: .3em;
380     -webkit-border-radius: .3em;
381     border-radius: .3em;
[0]382}
383#categories ul li h4 {
384     margin: 0;
385}
386#categories ul li h4 span {
387     font-weight: normal;
388}
389#categories ul li p {
390     margin: 0;
391}
392select#del_cat {
393     width: 100%;
394}
395
396/* MEDIA */
397#media-icon {
398     float: left;
399}
400#media-details {
401     margin-left: 70px;
402}
403#media-details ul {
404     display: block;
405     margin-left: 0;
406     padding: 0;
407}
408#media-details li {
409     list-style: square inside;
410     margin: 0;
411     padding: 0;
412}
413#media-original-image {
414     overflow: auto;
415}
416#media-original-image.overheight {
417     height: 500px;
418}
419
420#add-file-f {
421     position: relative;
422}
423#add-file-f .more-file {
424     position:absolute;
425     right: 0.5em;
426     background: #999;
427     color: #fff;
428     border: none;
429}
430
[3]431/* favorites */
432#my-favs ul {
433     list-style-type: none;
434     margin-left: 0;
435     padding-left: 0;
436     line-height: 1.2;
437}
438#my-favs ul li {
439     display: block;
440     float: left;
[82]441     width: 164px;
442     margin-top: 1em;
443     margin-bottom: 1.5em;
[3]444}
445#my-favs label {height: 2.5em;width:140px;margin-top:.3em;}
446#my-favs label input {display:inline;}
[11]447#my-favs img {
[3]448     display: block;
449}
[11]450#my-favs input.position {
451     margin: 0 0 .4em .2em;
[3]452}
453#available-favs input, #available-favs label, #available-favs label span {
454     white-space: normal;
455     display: inline;
456}
457
458#default-favs h3 {
459     margin-top: 2em;
460     margin-bottom: 1em;
461}
462
463.fav-list {
464     list-style-type: none;
465     margin-left: 0;
466     padding-left: 0;
467}
468.fav-list li {
469     line-height: 2;
470     margin-left: 0;
471     padding-left: 0;
472     position: relative;
473}
474.fav-list li img {
475     vertical-align: middle;
476     margin-right: .2em;
477}
478#available-favs label span.zoom {
479     display: none;
480}
481#available-favs li:hover label span.zoom {
482     display: block;
483     position: absolute;
484     bottom: 0;
485     left: 10em;
486     background-color: #f5f5f5;
487     border: 1px solid #ddd;
488     padding: .2em;
489     -moz-border-radius: .5em;
490     -webkit-border-radius: .5em;
491     border-radius: .5em;
492}
493
[0]494/* Help */
495#help {
496     margin-top: 2em;
[3]497     background: #f5f5f5;
498     z-index: 100;
[0]499}
500#help-button {
501     position: absolute;
[3]502     top: 6.2em;
[0]503     right: 0px;
504     cursor: pointer;
[3]505     background: #fc3;
506     border: 1px solid #dde;
507     border-right: none;
508     font-size: 1.1em;
509     font-weight: bold;
510     text-transform: capitalize;
511     padding: .33em .75em .33em 1em;
512     -moz-border-radius: 1em 0 0 1em;
513     -webkit-border-top-left-radius: 1em;
514     -webkit-border-bottom-left-radius: 1em;
515     color: #444;
[0]516}
517.help-box {
518     display: none;
519}
520.help-box ul {
521     padding-left: 20px;
522     margin-left: 0;
523}
524#content.with-help #help-button {
[3]525     right: 282px;
[0]526}
527#content.with-help #help {
528     display: block;
529     position: absolute;
530     top: 40px;
531     right: 0;
532     width: 280px;
[3]533     border-left: 2px solid #fc3;
[0]534     margin-top: 0;
535     padding: 10px 0 0 0;
536     overflow: auto;
537}
538#content.with-help .help-content {
539     padding: 0 5px 1em 5px;
540}
541
542/* POPUP */
543body.popup #wrapper {
[3]544     background-position: -130px 0;
[0]545}
546body.popup #top h1 {
[3]547     background-position: -130px 0;
[0]548}
549body.popup #main {
[3]550     margin-left: -35px;
[0]551}
552body.popup #content {
[3]553     margin-left: 35px;
[0]554}
555body.popup #footer {
556     background-position: -130px 0;
557}
558body.popup #footer p {
559     margin-left: 35px;
560     border: none;
561}
562
563/* CLASSES
564-------------------------------------------------------- */
[3]565p.top-add {
566     text-align: right;
567     margin: 0;
568     }
569p.top-add a {
570     padding: .3em 1em .3em .5em;
571     font-weight: bold;
[0]572}
[3]573p.top-add a img {
574     padding-right: .3em;
575     vertical-align: middle;
[0]576}
577
[3]578/* -------------- aide ----------- */
[0]579.help-content dt {
580     font-weight: bold;
[3]581     color: #626262;
[0]582     margin: 0;
583}
584.help-content dd {
585     margin: 0.3em 0 1.5em 0;
586}
587
588.clear {
[3]589     clear: both;
[0]590}
591.lclear {
[3]592     clear: left;
[0]593}
594div.clearer {
[3]595     height: 1px;
596     font-size: 1px;
[0]597}
598
599.hide {
[3]600     display: none;
[0]601}
602
603.right {
[3]604     text-align: right;
[0]605}
606
607.frame-shrink {
608     border: 1px solid #666;
609     padding: 0.5em;
610     margin-bottom: 1em;
611     height: 120px;
612     overflow: auto;
613}
614
615.grid {
616     background: transparent repeat url('grid.png') 0 0;
617}
618
619.line p {
[3]620     margin: 0;
[0]621}
622
623div.error, p.error, div.message, p.message, div.static-msg, p.static-msg {
624     padding: 0.5em 0.5em 0.5em 40px;
625     margin-bottom: 1em;
626     -moz-border-radius: 8px;
627     -webkit-border-radius: 8px;
[3]628     border-radius: 8px;
[0]629}
630p.error, p.message, p.static-msg {
631     padding-top: 1em;
632     padding-bottom: 1em;
633}
634div.error, p.error {
635     background: #e5bfbf url(msg-error.png) no-repeat 5px 5px;
636     color: #600;
637}
638div.message, p.message, div.static-msg, p.static-msg {
639     background: #666 url(msg-std.png) no-repeat 5px 5px;
640     color: #fff;
641}
642div.message a, p.message a, div.static-msg a, p.static-msg a {
643     color: #fff;
644}
645
646.offline {
[3]647     color: #666;
[0]648}
649
650ul.nice {
651     margin: 1em 0;
652     padding: 0 0 0 2em;
653     list-style: square;
654}
655ul.nice li {
656     margin:0;
657     padding: 0;
658}
659
660.three-cols {
661}
662.three-cols .col {
[3]663     width: 32.3%;
664     float: left;
665     margin-left: 1%;
[0]666}
667.three-cols .col:first-child {
[3]668     width: 33.3%;
669     margin-left: 0;
[0]670}
671
672.two-cols {
[3]673     position: static;
[0]674}
675.two-cols .col {
[3]676     width: 49%;
677     margin-left: 2%;
678     float: left;
[0]679}
680.two-cols .col:first-child {
[3]681     width: 49%;
682     margin-left: 0;
683}
684.two-cols .col70{
685     width: 69%;
686     margin-left: 0;
687     float: left;
688}
689.two-cols .col30 {
690     width: 28%;
691     margin-left: 2%;
692     float: left;
[0]693}
694
695.comment {
[3]696     border-top: 2px solid #ccc;
697     margin-bottom: 1em;
698     padding: 2em 0 1em 0;
699     position: relative;
[0]700}
701.comment form p {
[3]702     margin: 0;
703     position: absolute;
704     top: 2px;
705     right: 0;
[0]706}
707
[3]708/* -------- onglets ------ */
[0]709.part-tabs ul {
[3]710     padding: .3em 0 1px 1em;
711     border-bottom: 1px solid #999;
[0]712}
713.part-tabs li {
[3]714     list-style: none;
715     margin: 0;
716     display: inline;
[0]717}
[3]718.part-tabs li a {
719     padding: .3em 0.5em;
720     margin-right: .5em;
721     border: 1px solid #999;
722     border-bottom: none;
723     background: #dfdfdf;
724     text-decoration: none;
725     -webkit-border-top-left-radius: .3em;
726     -webkit-border-top-right-radius: .3em;
727     -moz-border-radius-topleft: .3em;
728     -moz-border-radius-topright: .3em;
729     border-top-left-radius: .3em;
730     border-top-right-radius: .3em;
731     color: #000;
[0]732}
[3]733.part-tabs li.part-tabs-link a {
734     background: #ffe;
735}
736.part-tabs li a:hover, .part-tabs li a:focus {
737     color: #000;
738     background: #fff;
739     border-bottom-color: #fff;
[0]740}
741.part-tabs li.part-tabs-active a {
[3]742     background: #fff;
743     border-bottom: 1px solid #fff;
744     color: #000;
745     font-weight: bold;
[0]746}
747
748/* Themes list */
749#themes {
750     border-bottom: 1px solid #ccc;
751     margin: 1em 0;
752}
753#themes div.theme-details {
754     clear: left;
755     border-top: 1px solid #ccc;
756     padding: 1em 0;
757}
758#themes div.theme-details:hover {
759     background: #eee;
760}
761#themes div.theme-details div.theme-shot {
762     float: left;
763}
764#themes div.theme-details div.theme-shot img {
765     display: block;
766     width: 57px;
767     height: 50px;
768     border: 1px solid #ccc;
769}
770#themes div.theme-details div.theme-info {
771     margin-left: 67px;
772}
773#themes div.theme-details div.theme-info span.theme-desc {
774     display: block;
775}
776#themes div.theme-details div.theme-info span.theme-version {
777     color: #666;
778}
779#themes div.theme-details div.theme-actions {
780     margin-left: 67px;
781}
782/* Themes list, JS version */
783#themes-wrapper {
784}
785#theme-box {
786     border: 1px solid #999;
787     border-left: none;
788     padding: 5px;
789     float: right;
[82]790     height: 420px;
791     width: 320px;
[0]792     overflow: auto;
793}
794#theme-box div.theme-shot img {
795     display: block;
796     margin: 0 0 0 10px;
797     width: 280px;
798     height: 245px;
799     border: 1px solid #ccc;
800}
801#theme-box div.theme-info {
802     margin: 1em 0 0 10px;
803}
804#theme-box h3 {
805     margin: 0;
806}
807#theme-box div.theme-info span {
808     display: block;
809}
810#theme-box span.theme-version {
811     color: #666;
812}
813#theme-box span.theme-parent-ok {
814     color: #666;
815}
816#theme-box span.theme-parent-missing {
817     color: #c00;
818     font-weight:bold;
819}
820#theme-box div.theme-actions {
821     margin-left: 10px;
822}
823#themes-wrapper #themes {
824     border: 1px solid #999;
825     overflow: auto;
[82]826     height: 420px;
[0]827     padding: 5px;
828     margin: 0;
829}
830#themes div.theme-details-js {
831     float: left;
832     width: 120px;
833     height: 150px;
834     margin: 0 10px 20px;
835     padding: 10px 10px 0;
836     text-align: center;
837     background: #f3f3f3;
838     border: 1px solid #f3f3f3;
839     cursor: pointer;
840     -moz-border-radius: 4px;
841     -webkit-border-radius: 4px;
[3]842     border-radius: 4px;
[0]843}
844#themes div.theme-details-js label {
845     cursor: pointer;
846}
847#themes div.theme-details-js.theme-selected {
[3]848     background: #E5E3DA;
[0]849     border: 1px solid #999;
850}
851#themes div.theme-details-js div.theme-shot img {
852     width: 120px;
853     height: 105px;
854     border: 1px solid #fff;
855}
856#themes div.theme-details-js h3 {
857     font-family: inherit;
858     font-weight: normal;
859     margin: 0;
860     padding: 0;
861}
862
863/* Plugins list */
864#plugins td.action {
865     vertical-align: middle;
866}
867.media-list {
[3]868     position: static;
[0]869}
870.media-col-0 {
871     clear: left;
872}
873.media-item {
874     position: relative;
875     border-top: 1px solid #ccc;
876     margin-bottom: 1em;
877     padding: 5px 0;
878}
879div.media-list .media-item {
880     width: 49%;
881     float: left;
882     margin-right: 1%;
883}
884a.media-icon {
885     display: block;
886     border-bottom: none;
887     float: left;
888}
889.media-icon img {
890     display: block;
891}
892.media-item ul {
893     display: block;
894     list-style: none;
895     margin: 0 0 0 60px;
896     padding: 0;
897}
898li.media-action {
899     display: block;
900     position: absolute;
901     top: 5px;
902     right: 5px;
903     height: 16px;
904}
905li.media-action a {
906     border: none;
907}
908li.media-action form {
909     display: inline;
910}
911li.media-action input {
912     border: none;
913}
914
915.zip-dl {
916     background: transparent url(package.png) no-repeat 0 50%;
917     padding: 5px 0 5px 20px;
918}
919
920select.l10n option {
921     padding-left: 16px;
922}
923option.avail10n {
924     background: transparent url(../images/check-on.png) no-repeat 0 50%;
925}
926
927/* TABLES
928-------------------------------------------------------- */
929table {
[3]930     font-size: 1em;
931     border-collapse: collapse;
932     margin: 0 0 1em 0;
[0]933}
934tr.line:hover {
[3]935     background: #ddd;
[0]936}
937th, td {
[3]938     border-width: 0 0 1px 0;
939     border-style: solid;
940     border-color: #ccc;
941     padding: 3px 5px;
942     vertical-align: top;
[0]943}
944th {
[3]945     text-align: left;
946     border-bottom-color: #666;
[0]947}
948
949.noborder td, td.noborder, .noborder th, th.noborder {
[3]950     border-width: 0;
[0]951}
952
953table .maximal, table.maximal {
[3]954     width: 100%;
[0]955}
956table .minimal {
[3]957     width: 1px;
[0]958}
959
960table .nowrap {
[3]961     white-space: nowrap;
962     vertical-align: top;
[0]963}
964
965td.status {
966     vertical-align: middle;
967}
968td.status img {
969     margin-bottom: -2px;
970}
971td.status a {
972     border: none;
973}
974
975tr.line img.expand {
976     margin-right: 10px;
977     margin-bottom: -2px;
978}
979tr.line input {
[3]980     vertical-align: middle;
[0]981}
982tr.expand td {
983     border-bottom: none;
984}
985td.expand {
986     padding: 1em;
987}
988
989.dragable {
990     border-collapse: separate;
991}
992.dragable tbody td {
993     
994}
995.handle {
[3]996     padding: 0;
[0]997}
998.handler {
[3]999     cursor: move;
1000     background: transparent url(drag.png) no-repeat 0 50%;
1001     padding-left: 15px;
[0]1002}
1003
1004/* FORMS
1005-------------------------------------------------------- */
1006form {
[3]1007     display: block;
1008     margin: 0;
1009     padding: 0;
[0]1010}
1011
1012fieldset {
[3]1013     display: block;
1014     margin: 0 0 1em 0;
1015     padding: 1em 0.5em;
1016     border-width: 1px 0;
[0]1017     border-style: solid;
1018     border-color: #ccc;
[3]1019     background: #f5f5f5;
[0]1020}
1021legend {
[3]1022     font-weight: bold;
[0]1023     padding: 0.2em 0.6em;
1024     border-width: 1px;
1025     border-style: solid;
1026     border-color: #ccc;
[3]1027     background: #f5f5f5;
[0]1028     margin-bottom: 0.5em;
1029}
1030optgroup {
[3]1031     font-weight: bold;
1032     font-style: normal;
[0]1033}
1034option {
[3]1035     font-weight: normal;
[0]1036}
1037
1038input, textarea, select {
[3]1039     background: #f9f9f9;
1040     color: #000;
1041     border-width: 1px;
1042     border-style: solid;
1043     border-color: #000 #ccc #ccc #000;
[0]1044}
1045input, textarea, select, option {
1046     font: 1em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
1047}
1048input[type=text], input[type=password], textarea {
[3]1049     padding: 2px 0;
1050     margin-right: .3em;
[0]1051}
1052input[type=checkbox], input[type=radio] {
1053     border: none;
1054}
1055textarea {
[3]1056     padding: 2px 0;
[0]1057}
1058
1059input[type=checkbox], input[type=radio] {
[3]1060     margin: 0;
1061     padding: 0;
1062     background: transparent;
[0]1063}
1064
1065label {
[3]1066     display: block;
[0]1067}
1068label input, label select, label span {
[3]1069     display: block;
[0]1070}
1071p.form-note {
[71]1072     font-style:normal;
1073     background: #eef url(info.png) no-repeat .2em .2em;
1074     border: 1px solid #99f;
1075     padding: .2em 1em .1em 24px;
1076     margin-top: -.7em;
1077     color: #666;
[0]1078}
[74]1079.form-note a {border-bottom: 1px solid #99f;}
[0]1080
1081label.classic {
[3]1082     display: inline;
[0]1083}
1084label.classic input, label span input, label.classic select, label span select {
[3]1085     display: inline;
[0]1086}
1087
1088label.area, p.area {
1089     width: inherit !important;
1090}
1091.area textarea {
[3]1092     display: block;
1093     width: 100%;
[0]1094}
1095
1096label.required {
[3]1097     font-weight: bold;
[0]1098}
[12]1099label.required abbr {
[74]1100     color: #dd0000;
[12]1101     font-size: 1.3em;
1102}
[45]1103label.inline {
1104     display: inline;
[0]1105}
1106p.field {
1107     position: relative;
1108     
1109}
1110p.field label {
1111     display: block;
1112     width: 14em;
1113}
1114p.field input, p.field select {
1115     display: inline;
1116     position: absolute;
1117     left: 15em;
1118     top: 0;
1119}
1120
1121label .maximal, textarea.maximal, input.maximal {
[3]1122     width: 100%;
[0]1123}
1124
1125a.form-control {
[3]1126     display: none;
[0]1127     font-weight: bold;
1128     background: url(magnifier.png) no-repeat 0 0;
1129     color: green;
1130     padding-left: 20px;
1131}
1132
1133fieldset.constrained {
1134     margin: 0;
1135     padding: 0;
1136     border: none;
1137     background: transparent;
1138}
1139
1140#login-screen {
1141     display: block;
[3]1142     width: 18em;
1143     margin: 30px auto 0;
[0]1144     font-size: 1.1em;
1145}
1146#login-screen h1 {
1147     text-indent: -2000px;
1148     background: transparent url(dotclear-logo.png) no-repeat top left;
1149     height: 46px;
1150}
1151#login-screen fieldset {
1152     border: 1px solid #999;
1153     padding: 1em 10px;
1154     -moz-border-radius: 4px;
1155     -webkit-border-radius: 4px;
[3]1156     border-radius: 4px;
[0]1157}
1158#login-screen input[type=text], #login-screen input[type=password] {
1159     width: 100%;
[36]1160}
[74]1161#login-screen #issue {
1162     margin-left: .5em;
[42]1163}
1164
1165
[3]1166/* ------------------  Tous les boutons -------------------- */
1167h2 a.button {
1168     color: #333;
1169     font-weight: normal;
1170     font-size: .75em;
1171     vertical-align: middle;
1172}
1173/* commun */
1174input[type=submit], 
1175input[type=reset], 
1176input[type=button], 
1177a.button,
1178a.button.add, 
1179a.back {
1180     display: inline-block;
1181     outline: none;
1182     cursor: pointer;
1183     text-align: center;
1184     text-decoration: none;
1185     padding: .1em .75em .1em;
1186     text-shadow: 0 1px 1px rgba(0,0,0,.3);
1187     -webkit-border-radius: .2em; 
1188     -moz-border-radius: .2em;
1189     border-radius: .2em;
[82]1190     margin-bottom: .1em;
[3]1191}
1192/* validation */
1193input[type=submit], 
1194input[type=button],
1195a.button.add {
1196     color: #fff;
1197     border: 1px solid #2373A8;
1198     background: #2373A8;
1199     background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8));
1200     background: -moz-linear-gradient(top,  #2C8FD1,  #2373A8);
1201}
1202input[type=submit]:hover, 
1203input[type=reset]:hover, 
1204input[type=button]:hover,
1205input[type=submit]:focus, 
1206input[type=reset]:focus, 
1207input[type=button]:focus,
1208a.button.add:hover,
1209a.button.add:focus {
1210     background: #2373A8;
1211     background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
1212     background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
1213     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');
1214     border: 1px solid #2C8FD1;
1215}
1216/* suppression et reset */
1217a.button, 
1218a.back, 
1219input[type=submit].reset, 
1220input[type=submit].delete {
1221     border: 1px solid #999;
1222     background: #f5f5f5;
1223     color: #000;
1224     background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
1225     background: -moz-linear-gradient(top,  #f5f5f5,  #e5e5e5);
1226     text-shadow: none;
1227     }
1228a.button:hover, 
1229a.back:hover, 
1230input[type=submit].reset:hover, 
1231input[type=submit].delete:hover,
1232a.button:focus, 
1233a.back:focus, 
1234input[type=submit].reset:focus, 
1235input[type=submit].delete:focus {
1236     background: #e5e5e5;
1237     background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#f5f5f5));
1238     background: -moz-linear-gradient(top,  #e5e5e5,  #f5f5f5);
1239     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5');
1240     }
1241a.delete,
1242input.delete,
1243input[type=submit].delete {
1244     color: #c00;
1245     font-weight: bold;
1246}
1247a.delete:hover,
1248input.delete:hover,
1249input[type=submit].delete:hover,
1250a.delete:focus,
1251input.delete:focus,
1252input[type=submit].delete:focus {
1253     border-color: #c00;
1254}
1255/* finasseries */
1256input[type=button] {
1257     padding: .1em .1em;
1258}
1259#info-box a.button {
1260     padding: 0 .5em;
1261     margin-left: 2em;
1262}
1263a.back:before {
1264     content: "\ab\a0";
[74]1265}
Note: See TracBrowser for help on using the repository browser.

Sites map