summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-10-18 08:37:03 +0200
committerXavier Morel <xmo@openerp.com>2012-10-18 08:37:03 +0200
commit0a23335aa731c8eef5bc5b90a6f2e765dd7fe52f (patch)
tree8283ff233c4324145c13bb3b226afee66f02da49 /addons/web/static/src/css
parent47fbd98ff22e09c3a0e46916902990332161c2c1 (diff)
[IMP] when editing a row, hide the list cells overlaid by form fields
* 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
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css6
-rw-r--r--addons/web/static/src/css/base.sass4
2 files changed, 10 insertions, 0 deletions
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