[FIX] Fix some editable list styling bugs due to last styling merge
There is still one missing problem: once editing an existing row, the font size is buggy. bzr revid: fme@openerp.com-20111220201434-5gwo37br7qil1qp5
This commit is contained in:
parent
09e3e3582e
commit
683aeeb2c5
|
@ -764,7 +764,7 @@ label.error {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
/* List */
|
/* List */
|
||||||
.openerp .oe-listview table {
|
.openerp table.oe-listview-content {
|
||||||
clear: right;
|
clear: right;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
|
@ -789,7 +789,7 @@ label.error {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.openerp .oe-listview td,
|
.openerp .oe-listview > table > tbody > tr > td,
|
||||||
.openerp .oe-listview th {
|
.openerp .oe-listview th {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -809,7 +809,7 @@ label.error {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Could use :not selectors if they were supported by MSIE8... */
|
/* Could use :not selectors if they were supported by MSIE8... */
|
||||||
.openerp .oe-listview tbody td {
|
.openerp .oe-listview > table > tbody > tr > td {
|
||||||
border-left: 1px solid #dadada; /*currently commenting to test with no vertical lines in list view*/
|
border-left: 1px solid #dadada; /*currently commenting to test with no vertical lines in list view*/
|
||||||
}
|
}
|
||||||
.openerp .oe-listview tbody td:first-child,
|
.openerp .oe-listview tbody td:first-child,
|
||||||
|
@ -840,12 +840,12 @@ label.error {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.openerp .oe-listview table tbody td {
|
.openerp .oe-listview > table > tbody > tr > td {
|
||||||
border-bottom: 1px solid #E3E3E3;
|
border-bottom: 1px solid #E3E3E3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.openerp .oe-listview td.oe-actions {
|
.openerp .oe-listview td.oe-actions {
|
||||||
border-bottom:none;
|
border-bottom:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -867,12 +867,16 @@ label.error {
|
||||||
.openerp .oe-listview .oe-field-cell progress {
|
.openerp .oe-listview .oe-field-cell progress {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.openerp .oe-listview .oe-field-cell button {
|
.openerp .oe-listview .oe-field-cell.oe-button button,
|
||||||
|
.openerp .oe-listview .oe_form_button button {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
box-shadow: none;
|
||||||
|
-moz-box-shadow: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
}
|
}
|
||||||
.openerp .oe-listview .oe-field-cell button:active {
|
.openerp .oe-listview .oe-field-cell button:active {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
|
|
@ -242,7 +242,7 @@ openerp.web.list_editable = function (openerp) {
|
||||||
self.edition_form.appendTo();
|
self.edition_form.appendTo();
|
||||||
$.when(self.edition_form.on_loaded(self.get_form_fields_view())).then(function () {
|
$.when(self.edition_form.on_loaded(self.get_form_fields_view())).then(function () {
|
||||||
// put in $.when just in case FormView.on_loaded becomes asynchronous
|
// put in $.when just in case FormView.on_loaded becomes asynchronous
|
||||||
$new_row.find('td')
|
$new_row.find('> td')
|
||||||
.addClass('oe-field-cell')
|
.addClass('oe-field-cell')
|
||||||
.removeAttr('width')
|
.removeAttr('width')
|
||||||
.end()
|
.end()
|
||||||
|
|
Loading…
Reference in New Issue