Ticket #8631: forms.css

File forms.css, 4.3 KB (added by Brandon Taylor, 16 years ago)

forms.css in contrib.admin.media

Line 
1@import url('base.css');
2@import url('widgets.css');
3
4/* FORM ROWS */
5.form-row { overflow:hidden; padding:8px 12px; font-size:11px; border-bottom:1px solid #eee; }
6.form-row img, .form-row input { vertical-align:middle; }
7form .form-row p { padding-left:0; font-size:11px; }
8
9/* FORM LABELS */
10form h4 { margin:0 !important; padding:0 !important; border:none !important; }
11label { font-weight:normal !important; color:#666; font-size:12px; }
12label.inline { margin-left:20px; }
13.required label, label.required { font-weight:bold !important; color:#333 !important; }
14
15/* RADIO BUTTONS */
16form ul.radiolist li { list-style-type:none; }
17form ul.radiolist label { float:none; display:inline; }
18form ul.inline { margin-left:0; padding:0; }
19form ul.inline li { float:left; padding-right:7px; }
20
21/* ALIGNED FIELDSETS */
22.aligned label { display:block; padding:0 1em 3px 0; float:left; width:8em; }
23.aligned label.inline { display:inline; float:none; }
24.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField { width:350px; }
25form .aligned p, form .aligned ul { margin-left:7em; padding-left:30px; }
26form .aligned table p { margin-left:0; padding-left:0; }
27form .aligned p.help { padding-left:38px; }
28.aligned .vCheckboxLabel { float:none !important; display:inline; padding-left:4px; }
29.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField { width:610px; }
30.checkbox-row p.help { margin-left:0; padding-left:0 !important; }
31
32/* WIDE FIELDSETS */
33.wide label { width:15em !important; }
34form .wide p { margin-left:15em; }
35form .wide p.help { padding-left:38px; }
36.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField { width:450px; }
37
38/* COLLAPSED FIELDSETS */
39fieldset.collapsed * { display:none; }
40fieldset.collapsed h2, fieldset.collapsed { display:block !important; }
41fieldset.collapsed h2 { background-image:url(../img/admin/nav-bg.gif); background-position:bottom left; color:#999; }
42fieldset.collapsed .collapse-toggle { padding:3px 5px !important; background:transparent; display:inline !important;}
43
44/* MONOSPACE TEXTAREAS */
45fieldset.monospace textarea { font-family:"Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace; }
46
47/* SUBMIT ROW */
48.submit-row { padding:5px 7px; text-align:right; background:white url(../img/admin/nav-bg.gif) 0 100% repeat-x; border:1px solid #ccc; margin:5px 0; overflow: auto;}
49.submit-row input { margin:0 0 0 5px; }
50.submit-row p { margin-top:0.3em; }
51.submit-row .deletelink { background:url(../img/admin/icon_deletelink.gif) 0 50% no-repeat; padding-left:14px; }
52
53/* CUSTOM FORM FIELDS */
54.vSelectMultipleField { vertical-align:top !important; }
55.vCheckboxField { border:none; }
56.vDateField, .vTimeField { margin-right:2px; }
57.vURLField { width:30em; }
58.vLargeTextField, .vXMLLargeTextField { width:48em; }
59.flatpages-flatpage #id_content { height:40.2em; }
60.module table .vPositiveSmallIntegerField { width:2.2em; }
61.vTextField { width:20em; }
62.vIntegerField { width:5em; }
63
64/* x unsorted */
65.inline-group {padding:0; border:1px solid #ccc; margin:10px 0;}
66.inline-group .aligned label { width: 7em; }
67
68.inline-related {position:relative;}
69.inline-related h3 {margin: 0; color:#666; padding:3px 5px; font-size:11px; background:#e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x; border-bottom:1px solid #ddd;}
70.inline-related h3 span.delete {padding-left:20px; position:absolute; top:2px; right:10px;}
71.inline-related h3 span.delete label {margin-left:2px; font-size: 11px;}
72.inline-related fieldset {margin: 0; background:#fff; border: none; }
73.inline-related fieldset.module h3 { margin:0; padding:2px 5px 3px 5px; font-size:11px; text-align:left; font-weight:bold; background:#bcd; color:#fff; }
74.inline-related.tabular fieldset.module table {width:100%;}
75.last-related fieldset {border: none;}
76
77.inline-group .tabular tr.has_original td {padding-top:2em;}
78.inline-group .tabular tr td.original { padding:2px 0 0 0; width:0; _position:relative; }
79.inline-group .tabular th.original {width:0px; padding:0;}
80.inline-group .tabular td.original p {position:absolute; left:0; height:1.1em; padding:2px 7px; overflow:hidden; font-size:9px; font-weight:bold; color:#666; _width:700px; }
81.inline-group ul.tools {padding:0; margin: 0; list-style:none;}
82.inline-group ul.tools li {display:inline; padding:0 5px;}
83.inline-group ul.tools a.add {background:url(../img/admin/icon_addlink.gif) 0 50% no-repeat; padding-left:14px;}
Back to Top