Dotclear

source: admin/style/default.css @ 21:9e4887806fdf

Revision 21:9e4887806fdf, 20.8 KB checked in by kozlika, 14 years ago (diff)

Tites modifs css pour les formulaires.

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;
176     margin-top: .5em;
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;
280}
281#dashboard-main #icons p {
282     float: left;
283     width: 32%;
284     text-align: center;
285     margin: 2em 0 0 0;
286}
287#dashboard-main #icons span {
288     display: block;
289}
290#dashboard-main #icons a {
291     border-bottom-width: 0;
292}
293#dashboard-main #icons span a {
294     border-bottom-width: 1px;
295}
296
297#dashboard-main #quick {
298     clear: left;
299     margin-top: 2em;
300}
301#dashboard-main #quick h3 {
302     margin-bottom: 0.2em;
[3]303     font-size: 1.2em;
[0]304}
305#dashboard-main #quick p.qinfo {
306     margin: -1em -1em 1em;
307     padding: 1em;
308     background: #ebeadd;
309}
310
311#dashboard-items {
312     float: left;
[3]313     width: 29%;
[0]314     overflow: hidden;
315     margin-left: 2%;
316     padding-bottom: 1em;
[3]317     padding-top: 3em;
[0]318}
319#dashboard-items p img {
320     vertical-align: middle;
321}
322#dashboard-items ul {
323     display: block;
324     padding-left: 1.5em;
325     list-style: square;
326}
327#dashboard-items li {
328     margin: 0.25em 0 0 0;
329     color: #666;
330}
331#dashboard-items #news dt {
332     font-weight: bold;
333     margin: 0 0 0.4em 0;
334}
335#dashboard-items #news dd {
336     margin: 0 0 1em 0;
337}
338#dashboard-items #news dd p {
339     margin: 0.2em 0 0 0;
340}
341#upg-notify {
342}
343#upg-notify ul {
344     padding-left: 15px;
345}
346#upg-notify li {
347     color: #fff;
348}
349
350/* POST */
351#entry-sidebar {
[3]352     width: 200px;
353     float: right;
[0]354}
355#entry-content {
[3]356     margin-right: 220px;
[0]357}
358#comments {
[3]359     clear: both;
[0]360}
361
362/* CATEGORIES */
363#categories {
364     margin: 1em 0 2em;
365}
366#categories ul {
367     list-style: none;
368     margin: 0 0 0 0;
369     padding: 0 0 0 0;
370}
371#categories ul li {
[3]372     margin: .5em 0;
373     padding: .3em 1.5em;
[0]374     border: 1px solid #ccc;
[3]375     border-left: 1em solid #E5E3DA;
376     -moz-border-radius: .3em;
377     -webkit-border-radius: .3em;
378     border-radius: .3em;
[0]379}
380#categories ul li h4 {
381     margin: 0;
382}
383#categories ul li h4 span {
384     font-weight: normal;
385}
386#categories ul li p {
387     margin: 0;
388}
389select#del_cat {
390     width: 100%;
391}
392
393/* MEDIA */
394#media-icon {
395     float: left;
396}
397#media-details {
398     margin-left: 70px;
399}
400#media-details ul {
401     display: block;
402     margin-left: 0;
403     padding: 0;
404}
405#media-details li {
406     list-style: square inside;
407     margin: 0;
408     padding: 0;
409}
410#media-original-image {
411     overflow: auto;
412}
413#media-original-image.overheight {
414     height: 500px;
415}
416
417#add-file-f {
418     position: relative;
419}
420#add-file-f .more-file {
421     position:absolute;
422     right: 0.5em;
423     background: #999;
424     color: #fff;
425     border: none;
426}
427
[3]428/* favorites */
429#my-favs ul {
430     list-style-type: none;
431     margin-left: 0;
432     padding-left: 0;
433     line-height: 1.2;
434}
435#my-favs ul li {
436     display: block;
437     float: left;
438     width: 170px;
439     margin-bottom: 2.5em;
440}
441#my-favs label {height: 2.5em;width:140px;margin-top:.3em;}
442#my-favs label input {display:inline;}
[11]443#my-favs img {
[3]444     display: block;
445}
[11]446#my-favs input.position {
447     margin: 0 0 .4em .2em;
[3]448}
449#available-favs input, #available-favs label, #available-favs label span {
450     white-space: normal;
451     display: inline;
452}
453
454#default-favs h3 {
455     margin-top: 2em;
456     margin-bottom: 1em;
457}
458
459.fav-list {
460     list-style-type: none;
461     margin-left: 0;
462     padding-left: 0;
463}
464.fav-list li {
465     line-height: 2;
466     margin-left: 0;
467     padding-left: 0;
468     position: relative;
469}
470.fav-list li img {
471     vertical-align: middle;
472     margin-right: .2em;
473}
474#available-favs label span.zoom {
475     display: none;
476}
477#available-favs li:hover label span.zoom {
478     display: block;
479     position: absolute;
480     bottom: 0;
481     left: 10em;
482     background-color: #f5f5f5;
483     border: 1px solid #ddd;
484     padding: .2em;
485     -moz-border-radius: .5em;
486     -webkit-border-radius: .5em;
487     border-radius: .5em;
488}
489
[0]490/* Help */
491#help {
492     margin-top: 2em;
[3]493     background: #f5f5f5;
494     z-index: 100;
[0]495}
496#help-button {
497     position: absolute;
[3]498     top: 6.2em;
[0]499     right: 0px;
500     cursor: pointer;
[3]501     background: #fc3;
502     border: 1px solid #dde;
503     border-right: none;
504     font-size: 1.1em;
505     font-weight: bold;
506     text-transform: capitalize;
507     padding: .33em .75em .33em 1em;
508     -moz-border-radius: 1em 0 0 1em;
509     -webkit-border-top-left-radius: 1em;
510     -webkit-border-bottom-left-radius: 1em;
511     color: #444;
[0]512}
513.help-box {
514     display: none;
515}
516.help-box ul {
517     padding-left: 20px;
518     margin-left: 0;
519}
520#content.with-help #help-button {
[3]521     right: 282px;
[0]522}
523#content.with-help #help {
524     display: block;
525     position: absolute;
526     top: 40px;
527     right: 0;
528     width: 280px;
[3]529     border-left: 2px solid #fc3;
[0]530     margin-top: 0;
531     padding: 10px 0 0 0;
532     overflow: auto;
533}
534#content.with-help .help-content {
535     padding: 0 5px 1em 5px;
536}
537
538/* POPUP */
539body.popup #wrapper {
[3]540     background-position: -130px 0;
[0]541}
542body.popup #top h1 {
[3]543     background-position: -130px 0;
[0]544}
545body.popup #main {
[3]546     margin-left: -35px;
[0]547}
548body.popup #content {
[3]549     margin-left: 35px;
[0]550}
551body.popup #footer {
552     background-position: -130px 0;
553}
554body.popup #footer p {
555     margin-left: 35px;
556     border: none;
557}
558
559/* CLASSES
560-------------------------------------------------------- */
[3]561p.top-add {
562     text-align: right;
563     margin: 0;
564     }
565p.top-add a {
566     padding: .3em 1em .3em .5em;
567     font-weight: bold;
[0]568}
[3]569p.top-add a img {
570     padding-right: .3em;
571     vertical-align: middle;
[0]572}
573
[3]574/* -------------- aide ----------- */
[0]575.help-content dt {
576     font-weight: bold;
[3]577     color: #626262;
[0]578     margin: 0;
579}
580.help-content dd {
581     margin: 0.3em 0 1.5em 0;
582}
583
584.clear {
[3]585     clear: both;
[0]586}
587.lclear {
[3]588     clear: left;
[0]589}
590div.clearer {
[3]591     height: 1px;
592     font-size: 1px;
[0]593}
594
595.hide {
[3]596     display: none;
[0]597}
598
599.right {
[3]600     text-align: right;
[0]601}
602
603.frame-shrink {
604     border: 1px solid #666;
605     padding: 0.5em;
606     margin-bottom: 1em;
607     height: 120px;
608     overflow: auto;
609}
610
611.grid {
612     background: transparent repeat url('grid.png') 0 0;
613}
614
615.line p {
[3]616     margin: 0;
[0]617}
618
619div.error, p.error, div.message, p.message, div.static-msg, p.static-msg {
620     padding: 0.5em 0.5em 0.5em 40px;
621     margin-bottom: 1em;
622     -moz-border-radius: 8px;
623     -webkit-border-radius: 8px;
[3]624     border-radius: 8px;
[0]625}
626p.error, p.message, p.static-msg {
627     padding-top: 1em;
628     padding-bottom: 1em;
629}
630div.error, p.error {
631     background: #e5bfbf url(msg-error.png) no-repeat 5px 5px;
632     color: #600;
633}
634div.message, p.message, div.static-msg, p.static-msg {
635     background: #666 url(msg-std.png) no-repeat 5px 5px;
636     color: #fff;
637}
638div.message a, p.message a, div.static-msg a, p.static-msg a {
639     color: #fff;
640}
641
642.offline {
[3]643     color: #666;
[0]644}
645
646ul.nice {
647     margin: 1em 0;
648     padding: 0 0 0 2em;
649     list-style: square;
650}
651ul.nice li {
652     margin:0;
653     padding: 0;
654}
655
656.three-cols {
657}
658.three-cols .col {
[3]659     width: 32.3%;
660     float: left;
661     margin-left: 1%;
[0]662}
663.three-cols .col:first-child {
[3]664     width: 33.3%;
665     margin-left: 0;
[0]666}
667
668.two-cols {
[3]669     position: static;
[0]670}
671.two-cols .col {
[3]672     width: 49%;
673     margin-left: 2%;
674     float: left;
[0]675}
676.two-cols .col:first-child {
[3]677     width: 49%;
678     margin-left: 0;
679}
680.two-cols .col70{
681     width: 69%;
682     margin-left: 0;
683     float: left;
684}
685.two-cols .col30 {
686     width: 28%;
687     margin-left: 2%;
688     float: left;
[0]689}
690
691.comment {
[3]692     border-top: 2px solid #ccc;
693     margin-bottom: 1em;
694     padding: 2em 0 1em 0;
695     position: relative;
[0]696}
697.comment form p {
[3]698     margin: 0;
699     position: absolute;
700     top: 2px;
701     right: 0;
[0]702}
703
[3]704/* -------- onglets ------ */
[0]705.part-tabs ul {
[3]706     padding: .3em 0 1px 1em;
707     border-bottom: 1px solid #999;
[0]708}
709.part-tabs li {
[3]710     list-style: none;
711     margin: 0;
712     display: inline;
[0]713}
[3]714.part-tabs li a {
715     padding: .3em 0.5em;
716     margin-right: .5em;
717     border: 1px solid #999;
718     border-bottom: none;
719     background: #dfdfdf;
720     text-decoration: none;
721     -webkit-border-top-left-radius: .3em;
722     -webkit-border-top-right-radius: .3em;
723     -moz-border-radius-topleft: .3em;
724     -moz-border-radius-topright: .3em;
725     border-top-left-radius: .3em;
726     border-top-right-radius: .3em;
727     color: #000;
[0]728}
[3]729.part-tabs li.part-tabs-link a {
730     background: #ffe;
731}
732.part-tabs li a:hover, .part-tabs li a:focus {
733     color: #000;
734     background: #fff;
735     border-bottom-color: #fff;
[0]736}
737.part-tabs li.part-tabs-active a {
[3]738     background: #fff;
739     border-bottom: 1px solid #fff;
740     color: #000;
741     font-weight: bold;
[0]742}
743
744/* Themes list */
745#themes {
746     border-bottom: 1px solid #ccc;
747     margin: 1em 0;
748}
749#themes div.theme-details {
750     clear: left;
751     border-top: 1px solid #ccc;
752     padding: 1em 0;
753}
754#themes div.theme-details:hover {
755     background: #eee;
756}
757#themes div.theme-details div.theme-shot {
758     float: left;
759}
760#themes div.theme-details div.theme-shot img {
761     display: block;
762     width: 57px;
763     height: 50px;
764     border: 1px solid #ccc;
765}
766#themes div.theme-details div.theme-info {
767     margin-left: 67px;
768}
769#themes div.theme-details div.theme-info span.theme-desc {
770     display: block;
771}
772#themes div.theme-details div.theme-info span.theme-version {
773     color: #666;
774}
775#themes div.theme-details div.theme-actions {
776     margin-left: 67px;
777}
778/* Themes list, JS version */
779#themes-wrapper {
780}
781#theme-box {
782     border: 1px solid #999;
783     border-left: none;
784     padding: 5px;
785     float: right;
786     height: 400px;
787     width: 300px;
788     overflow: auto;
789}
790#theme-box div.theme-shot img {
791     display: block;
792     margin: 0 0 0 10px;
793     width: 280px;
794     height: 245px;
795     border: 1px solid #ccc;
796}
797#theme-box div.theme-info {
798     margin: 1em 0 0 10px;
799}
800#theme-box h3 {
801     margin: 0;
802}
803#theme-box div.theme-info span {
804     display: block;
805}
806#theme-box span.theme-version {
807     color: #666;
808}
809#theme-box span.theme-parent-ok {
810     color: #666;
811}
812#theme-box span.theme-parent-missing {
813     color: #c00;
814     font-weight:bold;
815}
816#theme-box div.theme-actions {
817     margin-left: 10px;
818}
819#themes-wrapper #themes {
820     border: 1px solid #999;
821     overflow: auto;
822     height: 400px;
823     padding: 5px;
824     margin: 0;
825}
826#themes div.theme-details-js {
827     float: left;
828     width: 120px;
829     height: 150px;
830     margin: 0 10px 20px;
831     padding: 10px 10px 0;
832     text-align: center;
833     background: #f3f3f3;
834     border: 1px solid #f3f3f3;
835     cursor: pointer;
836     -moz-border-radius: 4px;
837     -webkit-border-radius: 4px;
[3]838     border-radius: 4px;
[0]839}
840#themes div.theme-details-js label {
841     cursor: pointer;
842}
843#themes div.theme-details-js.theme-selected {
[3]844     background: #E5E3DA;
[0]845     border: 1px solid #999;
846}
847#themes div.theme-details-js div.theme-shot img {
848     width: 120px;
849     height: 105px;
850     border: 1px solid #fff;
851}
852#themes div.theme-details-js h3 {
853     font-family: inherit;
854     font-weight: normal;
855     margin: 0;
856     padding: 0;
857}
858
859/* Plugins list */
860#plugins td.action {
861     vertical-align: middle;
862}
863.media-list {
[3]864     position: static;
[0]865}
866.media-col-0 {
867     clear: left;
868}
869.media-item {
870     position: relative;
871     border-top: 1px solid #ccc;
872     margin-bottom: 1em;
873     padding: 5px 0;
874}
875div.media-list .media-item {
876     width: 49%;
877     float: left;
878     margin-right: 1%;
879}
880a.media-icon {
881     display: block;
882     border-bottom: none;
883     float: left;
884}
885.media-icon img {
886     display: block;
887}
888.media-item ul {
889     display: block;
890     list-style: none;
891     margin: 0 0 0 60px;
892     padding: 0;
893}
894li.media-action {
895     display: block;
896     position: absolute;
897     top: 5px;
898     right: 5px;
899     height: 16px;
900}
901li.media-action a {
902     border: none;
903}
904li.media-action form {
905     display: inline;
906}
907li.media-action input {
908     border: none;
909}
910
911.zip-dl {
912     background: transparent url(package.png) no-repeat 0 50%;
913     padding: 5px 0 5px 20px;
914}
915
916select.l10n option {
917     padding-left: 16px;
918}
919option.avail10n {
920     background: transparent url(../images/check-on.png) no-repeat 0 50%;
921}
922
923/* TABLES
924-------------------------------------------------------- */
925table {
[3]926     font-size: 1em;
927     border-collapse: collapse;
928     margin: 0 0 1em 0;
[0]929}
930tr.line:hover {
[3]931     background: #ddd;
[0]932}
933th, td {
[3]934     border-width: 0 0 1px 0;
935     border-style: solid;
936     border-color: #ccc;
937     padding: 3px 5px;
938     vertical-align: top;
[0]939}
940th {
[3]941     text-align: left;
942     border-bottom-color: #666;
[0]943}
944
945.noborder td, td.noborder, .noborder th, th.noborder {
[3]946     border-width: 0;
[0]947}
948
949table .maximal, table.maximal {
[3]950     width: 100%;
[0]951}
952table .minimal {
[3]953     width: 1px;
[0]954}
955
956table .nowrap {
[3]957     white-space: nowrap;
958     vertical-align: top;
[0]959}
960
961td.status {
962     vertical-align: middle;
963}
964td.status img {
965     margin-bottom: -2px;
966}
967td.status a {
968     border: none;
969}
970
971tr.line img.expand {
972     margin-right: 10px;
973     margin-bottom: -2px;
974}
975tr.line input {
[3]976     vertical-align: middle;
[0]977}
978tr.expand td {
979     border-bottom: none;
980}
981td.expand {
982     padding: 1em;
983}
984
985.dragable {
986     border-collapse: separate;
987}
988.dragable tbody td {
989     
990}
991.handle {
[3]992     padding: 0;
[0]993}
994.handler {
[3]995     cursor: move;
996     background: transparent url(drag.png) no-repeat 0 50%;
997     padding-left: 15px;
[0]998}
999
1000/* FORMS
1001-------------------------------------------------------- */
1002form {
[3]1003     display: block;
1004     margin: 0;
1005     padding: 0;
[0]1006}
1007
1008fieldset {
[3]1009     display: block;
1010     margin: 0 0 1em 0;
1011     padding: 1em 0.5em;
1012     border-width: 1px 0;
[0]1013     border-style: solid;
1014     border-color: #ccc;
[3]1015     background: #f5f5f5;
[0]1016}
1017legend {
[3]1018     font-weight: bold;
[0]1019     padding: 0.2em 0.6em;
1020     border-width: 1px;
1021     border-style: solid;
1022     border-color: #ccc;
[3]1023     background: #f5f5f5;
[0]1024     margin-bottom: 0.5em;
1025}
1026optgroup {
[3]1027     font-weight: bold;
1028     font-style: normal;
[0]1029}
1030option {
[3]1031     font-weight: normal;
[0]1032}
1033
1034input, textarea, select {
[3]1035     background: #f9f9f9;
1036     color: #000;
1037     border-width: 1px;
1038     border-style: solid;
1039     border-color: #000 #ccc #ccc #000;
[0]1040}
1041input, textarea, select, option {
1042     font: 1em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
1043}
1044input[type=text], input[type=password], textarea {
[3]1045     padding: 2px 0;
1046     margin-right: .3em;
[0]1047}
1048input[type=checkbox], input[type=radio] {
1049     border: none;
1050}
1051textarea {
[3]1052     padding: 2px 0;
[0]1053}
1054
1055input[type=checkbox], input[type=radio] {
[3]1056     margin: 0;
1057     padding: 0;
1058     background: transparent;
[0]1059}
1060
1061label {
[3]1062     display: block;
[0]1063}
1064label input, label select, label span {
[3]1065     display: block;
[0]1066}
1067p.form-note {
[3]1068     margin-top: -1em;
1069     color: #C71585;
1070     font-style: italic;
[0]1071}
1072
1073label.classic {
[3]1074     display: inline;
[0]1075}
1076label.classic input, label span input, label.classic select, label span select {
[3]1077     display: inline;
[0]1078}
1079
1080label.area, p.area {
1081     width: inherit !important;
1082}
1083.area textarea {
[3]1084     display: block;
1085     width: 100%;
[0]1086}
1087
1088label.required {
[3]1089     font-weight: bold;
[0]1090}
[12]1091label.required abbr {
1092     color: red;
1093     font-size: 1.3em;
1094}
[21]1095/* à supprimer quand tous les formulaires auront été corrigés */
1096label.required:before {
[3]1097     content: '* ';
1098     color: #c00;
[21]1099}
[0]1100
1101p.field {
1102     position: relative;
1103     
1104}
1105p.field label {
1106     display: block;
1107     width: 14em;
1108}
1109p.field input, p.field select {
1110     display: inline;
1111     position: absolute;
1112     left: 15em;
1113     top: 0;
1114}
1115
1116label .maximal, textarea.maximal, input.maximal {
[3]1117     width: 100%;
[0]1118}
1119
1120a.form-control {
[3]1121     display: none;
[0]1122     font-weight: bold;
1123     background: url(magnifier.png) no-repeat 0 0;
1124     color: green;
1125     padding-left: 20px;
1126}
1127
1128fieldset.constrained {
1129     margin: 0;
1130     padding: 0;
1131     border: none;
1132     background: transparent;
1133}
1134
1135#login-screen {
1136     display: block;
[3]1137     width: 18em;
1138     margin: 30px auto 0;
[0]1139     font-size: 1.1em;
1140}
1141#login-screen h1 {
1142     text-indent: -2000px;
1143     background: transparent url(dotclear-logo.png) no-repeat top left;
1144     height: 46px;
1145}
1146#login-screen fieldset {
1147     border: 1px solid #999;
1148     padding: 1em 10px;
1149     -moz-border-radius: 4px;
1150     -webkit-border-radius: 4px;
[3]1151     border-radius: 4px;
[0]1152}
1153#login-screen input[type=text], #login-screen input[type=password] {
1154     width: 100%;
[3]1155}
1156
1157/* ------------------  Tous les boutons -------------------- */
1158h2 a.button {
1159     color: #333;
1160     font-weight: normal;
1161     font-size: .75em;
1162     vertical-align: middle;
1163}
1164/* commun */
1165input[type=submit], 
1166input[type=reset], 
1167input[type=button], 
1168a.button,
1169a.button.add, 
1170a.back {
1171     display: inline-block;
1172     outline: none;
1173     cursor: pointer;
1174     text-align: center;
1175     text-decoration: none;
1176     padding: .1em .75em .1em;
1177     text-shadow: 0 1px 1px rgba(0,0,0,.3);
1178     -webkit-border-radius: .2em; 
1179     -moz-border-radius: .2em;
1180     border-radius: .2em;
1181}
1182/* validation */
1183input[type=submit], 
1184input[type=button],
1185a.button.add {
1186     color: #fff;
1187     border: 1px solid #2373A8;
1188     background: #2373A8;
1189     background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8));
1190     background: -moz-linear-gradient(top,  #2C8FD1,  #2373A8);
1191}
1192input[type=submit]:hover, 
1193input[type=reset]:hover, 
1194input[type=button]:hover,
1195input[type=submit]:focus, 
1196input[type=reset]:focus, 
1197input[type=button]:focus,
1198a.button.add:hover,
1199a.button.add:focus {
1200     background: #2373A8;
1201     background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
1202     background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
1203     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');
1204     border: 1px solid #2C8FD1;
1205}
1206/* suppression et reset */
1207a.button, 
1208a.back, 
1209input[type=submit].reset, 
1210input[type=submit].delete {
1211     border: 1px solid #999;
1212     background: #f5f5f5;
1213     color: #000;
1214     background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
1215     background: -moz-linear-gradient(top,  #f5f5f5,  #e5e5e5);
1216     text-shadow: none;
1217     }
1218a.button:hover, 
1219a.back:hover, 
1220input[type=submit].reset:hover, 
1221input[type=submit].delete:hover,
1222a.button:focus, 
1223a.back:focus, 
1224input[type=submit].reset:focus, 
1225input[type=submit].delete:focus {
1226     background: #e5e5e5;
1227     background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#f5f5f5));
1228     background: -moz-linear-gradient(top,  #e5e5e5,  #f5f5f5);
1229     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5');
1230     }
1231a.delete,
1232input.delete,
1233input[type=submit].delete {
1234     color: #c00;
1235     font-weight: bold;
1236}
1237a.delete:hover,
1238input.delete:hover,
1239input[type=submit].delete:hover,
1240a.delete:focus,
1241input.delete:focus,
1242input[type=submit].delete:focus {
1243     border-color: #c00;
1244}
1245/* finasseries */
1246input[type=button] {
1247     padding: .1em .1em;
1248}
1249#info-box a.button {
1250     padding: 0 .5em;
1251     margin-left: 2em;
1252}
1253a.back:before {
1254     content: "\ab\a0";
1255}
Note: See TracBrowser for help on using the repository browser.

Sites map