[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;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: none;
|
background: none;
|
||||||
-moz-border-radius: none;
|
-moz-border-radius: 0;
|
||||||
-webkit-border-radius: none;
|
-webkit-border-radius: 0;
|
||||||
border-radius: none;
|
border-radius: 0;
|
||||||
-moz-box-shadow: none;
|
-moz-box-shadow: none;
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -538,9 +538,9 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: none;
|
background: none;
|
||||||
-moz-border-radius: none;
|
-moz-border-radius: 0;
|
||||||
-webkit-border-radius: none;
|
-webkit-border-radius: 0;
|
||||||
border-radius: none;
|
border-radius: 0;
|
||||||
-moz-box-shadow: none;
|
-moz-box-shadow: none;
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -2479,10 +2479,11 @@
|
||||||
height: 27px;
|
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 {
|
.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: 1px solid #aaaaff;
|
||||||
border-radius: 0px;
|
margin: 0;
|
||||||
margin: 0px;
|
|
||||||
-webkit-border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field textarea {
|
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field textarea {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
@ -2582,6 +2583,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.openerp .oe_list_content > tbody > tr {
|
.openerp .oe_list_content > tbody > tr {
|
||||||
|
height: 27px;
|
||||||
border-top: 1px solid #dddddd;
|
border-top: 1px solid #dddddd;
|
||||||
}
|
}
|
||||||
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell {
|
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell {
|
||||||
|
|
|
@ -36,7 +36,7 @@ $sheet-max-width: 860px
|
||||||
padding: 0
|
padding: 0
|
||||||
margin: 0
|
margin: 0
|
||||||
background: none
|
background: none
|
||||||
@include radius(none)
|
@include radius(0)
|
||||||
@include box-shadow(none)
|
@include box-shadow(none)
|
||||||
|
|
||||||
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
||||||
|
@ -1911,6 +1911,8 @@ $sheet-max-width: 860px
|
||||||
background-color: #d2d2ff
|
background-color: #d2d2ff
|
||||||
td.oe_readonly
|
td.oe_readonly
|
||||||
background-color: #eee
|
background-color: #eee
|
||||||
|
|
||||||
|
$row-height: 27px
|
||||||
.oe_list_editable
|
.oe_list_editable
|
||||||
.oe_list_content
|
.oe_list_content
|
||||||
td.oe_list_field_cell
|
td.oe_list_field_cell
|
||||||
|
@ -1925,12 +1927,11 @@ $sheet-max-width: 860px
|
||||||
display: none
|
display: none
|
||||||
.oe_form_field
|
.oe_form_field
|
||||||
input
|
input
|
||||||
height: 27px
|
height: $row-height
|
||||||
input, textarea
|
input, textarea
|
||||||
|
@include radius(0)
|
||||||
border: 1px solid #aaf
|
border: 1px solid #aaf
|
||||||
border-radius: 0px
|
margin: 0
|
||||||
margin: 0px
|
|
||||||
-webkit-border-radius: 0px
|
|
||||||
textarea
|
textarea
|
||||||
height: 60px
|
height: 60px
|
||||||
&.oe_form_field_float,&.oe_form_view_integer
|
&.oe_form_field_float,&.oe_form_view_integer
|
||||||
|
@ -2015,6 +2016,7 @@ $sheet-max-width: 860px
|
||||||
> tbody
|
> tbody
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
> tr
|
> tr
|
||||||
|
height: $row-height
|
||||||
border-top: 1px solid #ddd
|
border-top: 1px solid #ddd
|
||||||
> td.oe_list_field_cell
|
> td.oe_list_field_cell
|
||||||
padding: 3px 6px
|
padding: 3px 6px
|
||||||
|
|
|
@ -249,7 +249,7 @@ openerp.web.list_editable = function (instance) {
|
||||||
var position = $cell.position();
|
var position = $cell.position();
|
||||||
|
|
||||||
// jquery does not understand !important
|
// 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({
|
field.$el.css({
|
||||||
top: position.top,
|
top: position.top,
|
||||||
left: position.left,
|
left: position.left,
|
||||||
|
|
Loading…
Reference in New Issue