Ticket #2612: admin_inlines.2.diff
File admin_inlines.2.diff, 3.5 KB (added by , 16 years ago) |
---|
-
media/css/global.css
46 46 .quiet, a.quiet:link, a.quiet:visited { color:#999 !important;font-weight:normal !important; } 47 47 .quiet strong { font-weight:bold !important; } 48 48 .float-right { float:right; } 49 .float-left { float:left; }49 .float-left { float:left; margin-right: 20px; } 50 50 .clear { clear:both; } 51 51 .align-left { text-align:left; } 52 52 .align-right { text-align:right; } … … 139 139 140 140 /* OBJECT HISTORY */ 141 141 table#change-history { width:100%; } 142 table#change-history tbody th { width:16em; } 142 table#change-history tbody th { width:16em; } 143 No newline at end of file -
media/css/forms.css
9 9 /* FORM LABELS */ 10 10 form h4 { margin:0 !important; padding:0 !important; border:none !important; } 11 11 label { font-weight:normal !important; color:#666; font-size:12px; } 12 label.inline { margin-left:20px; }13 12 .required label, label.required { font-weight:bold !important; color:#333 !important; } 14 13 15 14 /* RADIO BUTTONS */ … … 19 18 form ul.inline li { float:left; padding-right:7px; } 20 19 21 20 /* ALIGNED FIELDSETS */ 22 .aligned label { display:block; padding:0 1em 3px 0; float:left; width:8em; } 23 .aligned label.inline { display:inline; float:none; } 21 .aligned label { display:block; padding:3px 10px 0 0; float:left; width:8em; } 24 22 .colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField { width:350px; } 25 23 form .aligned p, form .aligned ul { margin-left:7em; padding-left:30px; } 26 24 form .aligned table p { margin-left:0; padding-left:0; } … … 60 58 .module table .vPositiveSmallIntegerField { width:2.2em; } 61 59 .vTextField { width:20em; } 62 60 .vIntegerField { width:5em; } 61 .vForeignKeyRawIdAdminField { width: 5em; } 63 62 64 /* x unsorted*/63 /* INLINES */ 65 64 .inline-group {padding:0; border:1px solid #ccc; margin:10px 0;} 66 .inline-group .aligned label { width: 7em; }65 .inline-group .aligned label { width: 8em; } 67 66 68 67 .inline-related {position:relative;} 69 68 .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;} -
media/css/widgets.css
33 33 /* DATE AND TIME */ 34 34 p.datetime { line-height:20px; margin:0; padding:0; color:#666; font-size:11px; font-weight:bold; } 35 35 .datetime span { font-size:11px; color:#ccc; font-weight:normal; white-space:nowrap; } 36 .vDateField { margin-left:4px; }37 36 table p.datetime { font-size:10px; margin-left:0; padding-left:0; } 38 37 39 38 /* FILE UPLOADS */ -
templates/admin/includes/fieldset.html
5 5 <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} "> 6 6 {{ line.errors }} 7 7 {% for field in line %} 8 <div class="float-left">8 <div{% if not line.fields|length_is:"1" %} class="float-left"{% endif %}> 9 9 {% if field.is_checkbox %} 10 10 {{ field.field }}{{ field.label_tag }} 11 11 {% else %}