From 0a23335aa731c8eef5bc5b90a6f2e765dd7fe52f Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 18 Oct 2012 08:37:03 +0200 Subject: [PATCH] [IMP] when editing a row, hide the list cells overlaid by form fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * visibility: hidden on the cell itself hides the whole cell including background and borders, looks terrible * color: transparent is supported by all supported browsers (even IE >= 9), and it avoids breaking the cell sizes (which the usual hack — text-indent -9999px does) * can probably just apply visibility:hidden to eveything below the cell itself bzr revid: xmo@openerp.com-20121018063703-scz1yl87b7nhgx94 --- addons/web/static/src/css/base.css | 6 ++++++ addons/web/static/src/css/base.sass | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index c75042068a9..e4b8885b1a1 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2561,6 +2561,12 @@ .openerp .oe_list.oe_list_editable td.oe_list_record_delete { position: absolute; } +.openerp .oe_list.oe_list_editable.oe_editing .oe_edition .oe_list_field_cell:not(.oe_readonly) { + color: transparent; +} +.openerp .oe_list.oe_list_editable.oe_editing .oe_edition .oe_list_field_cell:not(.oe_readonly) * { + visibility: hidden; +} .openerp .oe_list.oe_list_editable.oe_editing .oe_m2o_drop_down_button { top: 5px; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 20d4be619ed..a128fcec24b 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2026,6 +2026,10 @@ $sheet-max-width: 860px td.oe_list_record_delete position: absolute .oe_list.oe_list_editable.oe_editing + .oe_edition .oe_list_field_cell:not(.oe_readonly) + * + visibility: hidden + color: transparent .oe_m2o_drop_down_button top: 5px .oe_m2o_cm_button