diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-06-20 14:04:52 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-06-20 14:11:21 +0200 |
| commit | bccd75796e8ff3c9dee23dd3f9a8ce75274e3289 (patch) | |
| tree | 77158e5941c4f6b86e6fe4c1c4d271012316edcc /addons/web/static/src/css/base.sass | |
| parent | e5533d0c14cb107a73f85c7e5a76727be8fbc13a (diff) | |
[IMP] web: allow fields in list view to use the attrs readonly to dynamically show and hide the fields
Diffstat (limited to 'addons/web/static/src/css/base.sass')
| -rw-r--r-- | addons/web/static/src/css/base.sass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 1c02018da9d..bdb358af6a0 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2218,7 +2218,7 @@ $sheet-padding: 16px .oe_list_editable .oe_list_content td.oe_list_field_cell padding: 4px 6px 3px .oe_list.oe_list_editable.oe_editing - .oe_edition .oe_list_field_cell:not(.oe_readonly) + .oe_edition .oe_list_field_cell * visibility: hidden color: transparent @@ -2230,6 +2230,11 @@ $sheet-padding: 16px .oe_input_icon margin-top: 5px .oe_form_field + &.oe_list_field_handle + color: transparent + &.oe_readonly + padding: 4px 6px 3px + text-align: left min-width: 0 max-width: none input, textarea @@ -2240,9 +2245,13 @@ $sheet-padding: 16px input, textarea, select min-width: 0 &.oe_form_field_float,&.oe_form_view_integer - input + &.oe_readonly + padding: 6px 0px 0px text-align: right + max-width: 100px + input width: 100% !important + text-align: right &.oe_form_field_datetime,&.oe_form_field_date input.oe_datepicker_master width: 100% !important |
