[ADD] Debug layout.

bzr revid: fme@openerp.com-20120320110115-1v4ypw9t06s7l9rb
This commit is contained in:
Fabien Meghazi
2012-03-20 12:01:15 +01:00
parent cf4159c7f8
commit d76e8be574
4 changed files with 61 additions and 1 deletions
+28
View File
@@ -347,3 +347,31 @@
width: 100%;
white-space: nowrap;
}
.openerp2 .oe_form_group_cell {
position: relative;
}
.openerp2 .oe_form_group_cell .oe_field_char, .openerp2 .oe_form_group_cell .oe_form_field_selection select {
width: 99%;
}
.openerp2 .oe_form_group_cell .oe_form_field_selection select {
min-width: 90px;
}
.openerp2 .oe_layout_debugging .oe_form_group {
border: 1px solid red;
}
.openerp2 .oe_layout_debugging .oe_form_group_cell {
border: 1px solid blue;
}
.openerp2 .oe_layout_debugging .oe_layout_debug_cell {
position: absolute;
color: white;
bottom: 0;
left: 0;
background: green;
}
.openerp2 .oe_layout_debugging .oe_layout_debug_cell {
display: block;
}
.openerp2 .oe_layout_debug_cell {
display: none;
}