[FIX] add minimum height to listview rows matching that of edition row fields
Also fix reset of border-radius: none is not a valid value for border-radius, change to 0. bzr revid: xmo@openerp.com-20120904101139-xyl0dskdk6dbdfe1
This commit is contained in:
parent
9612626dac
commit
fd40dcbeff
|
@ -523,9 +523,9 @@
|
|||
padding: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
-moz-border-radius: none;
|
||||
-webkit-border-radius: none;
|
||||
border-radius: none;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
|
@ -538,9 +538,9 @@
|
|||
padding: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
-moz-border-radius: none;
|
||||
-webkit-border-radius: none;
|
||||
border-radius: none;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
|
@ -2479,10 +2479,11 @@
|
|||
height: 27px;
|
||||
}
|
||||
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field input, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field textarea {
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
border: 1px solid #aaaaff;
|
||||
border-radius: 0px;
|
||||
margin: 0px;
|
||||
-webkit-border-radius: 0px;
|
||||
margin: 0;
|
||||
}
|
||||
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field textarea {
|
||||
height: 60px;
|
||||
|
@ -2582,6 +2583,7 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
.openerp .oe_list_content > tbody > tr {
|
||||
height: 27px;
|
||||
border-top: 1px solid #dddddd;
|
||||
}
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell {
|
||||
|
|
|
@ -36,7 +36,7 @@ $sheet-max-width: 860px
|
|||
padding: 0
|
||||
margin: 0
|
||||
background: none
|
||||
@include radius(none)
|
||||
@include radius(0)
|
||||
@include box-shadow(none)
|
||||
|
||||
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
||||
|
@ -1911,6 +1911,8 @@ $sheet-max-width: 860px
|
|||
background-color: #d2d2ff
|
||||
td.oe_readonly
|
||||
background-color: #eee
|
||||
|
||||
$row-height: 27px
|
||||
.oe_list_editable
|
||||
.oe_list_content
|
||||
td.oe_list_field_cell
|
||||
|
@ -1925,12 +1927,11 @@ $sheet-max-width: 860px
|
|||
display: none
|
||||
.oe_form_field
|
||||
input
|
||||
height: 27px
|
||||
height: $row-height
|
||||
input, textarea
|
||||
@include radius(0)
|
||||
border: 1px solid #aaf
|
||||
border-radius: 0px
|
||||
margin: 0px
|
||||
-webkit-border-radius: 0px
|
||||
margin: 0
|
||||
textarea
|
||||
height: 60px
|
||||
&.oe_form_field_float,&.oe_form_view_integer
|
||||
|
@ -2015,6 +2016,7 @@ $sheet-max-width: 860px
|
|||
> tbody
|
||||
cursor: pointer
|
||||
> tr
|
||||
height: $row-height
|
||||
border-top: 1px solid #ddd
|
||||
> td.oe_list_field_cell
|
||||
padding: 3px 6px
|
||||
|
|
|
@ -249,7 +249,7 @@ openerp.web.list_editable = function (instance) {
|
|||
var position = $cell.position();
|
||||
|
||||
// jquery does not understand !important
|
||||
field.$el.attr('style', 'width: '+$cell.outerWidth()+'px !important')
|
||||
field.$el.attr('style', 'width: '+$cell.outerWidth()+'px !important');
|
||||
field.$el.css({
|
||||
top: position.top,
|
||||
left: position.left,
|
||||
|
|
Loading…
Reference in New Issue