[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
This commit is contained in:
Xavier Morel
2012-10-18 08:37:03 +02:00
parent 47fbd98ff2
commit 0a23335aa7
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -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;
}
+4
View File
@@ -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