[IMP] form layout

bzr revid: fp@tinyerp.com-20120710074946-llxeomd8o5e83y9i
This commit is contained in:
Fabien Pinckaers 2012-07-10 09:49:46 +02:00
parent fe368d23c8
commit 597835db3c
2 changed files with 9 additions and 4 deletions

View File

@ -1733,6 +1733,9 @@
.openerp .oe_form_readonly .oe_edit_only, .openerp .oe_form_readonly .oe_form_field:empty {
display: none !important;
}
.openerp .oe_form_readonly .oe_form .oe_form_field_date {
width: auto;
}
.openerp .oe_form_nosheet {
margin-left: 10px;
margin-right: 10px;
@ -1863,7 +1866,7 @@
width: 100%;
margin: 4px 0 4px 0;
}
.openerp .oe_form .oe_form_group .oe_group_right > tbody > tr > td {
.openerp .oe_form .oe_form_group .oe_group_right > tbody > tr > td:first-child {
padding-left: 12px;
}
.openerp .oe_form .oe_form_label_help[for], .openerp .oe_form .oe_form_label[for] {
@ -1965,7 +1968,7 @@
width: 180px;
}
.openerp .oe_form .oe_form_field_date {
width: 7em;
width: 7.5em;
}
.openerp .oe_form .oe_form_field_datetime {
width: 11em;

View File

@ -1351,6 +1351,8 @@ $sheet-max-width: 860px
.oe_form_readonly
.oe_edit_only, .oe_form_field:empty
display: none !important
.oe_form .oe_form_field_date
width: auto
.oe_form_nosheet
margin-left: 10px
margin-right: 10px
@ -1454,7 +1456,7 @@ $sheet-max-width: 860px
width: 100%
margin: 4px 0 4px 0
.oe_group_right
> tbody > tr > td
> tbody > tr > td:first-child
padding-left: 12px
// }}}
// FormView.label {{{
@ -1538,7 +1540,7 @@ $sheet-max-width: 860px
.oe_form_field_float
width: 180px
.oe_form_field_date
width: 7em
width: 7.5em
.oe_form_field_datetime
width: 11em
input[type="text"], input[type="password"], input[type="file"], select