summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2011-12-20 21:14:34 +0100
committerFabien Meghazi <fme@openerp.com>2011-12-20 21:14:34 +0100
commit683aeeb2c5374a960351622440e5ff7456e1dcd4 (patch)
tree79de9f6d22a0ad023d715d102f8387c28e5f2856 /addons/web/static/src
parent09e3e3582ed93d4d908514aa50b3063e17ccd42f (diff)
[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
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css16
-rw-r--r--addons/web/static/src/js/view_list_editable.js2
2 files changed, 11 insertions, 7 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 2fa530cf1c0..ea47e0877ee 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -764,7 +764,7 @@ label.error {
padding-left: 18px;
}
/* List */
-.openerp .oe-listview table {
+.openerp table.oe-listview-content {
clear: right;
width: 100%;
border-spacing: 0;
@@ -789,7 +789,7 @@ label.error {
background: none;
}
-.openerp .oe-listview td,
+.openerp .oe-listview > table > tbody > tr > td,
.openerp .oe-listview th {
vertical-align: middle;
text-align: left;
@@ -809,7 +809,7 @@ label.error {
}
/* 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*/
}
.openerp .oe-listview tbody td:first-child,
@@ -840,12 +840,12 @@ label.error {
vertical-align: middle;
}
-.openerp .oe-listview table tbody td {
+.openerp .oe-listview > table > tbody > tr > td {
border-bottom: 1px solid #E3E3E3;
}
-.openerp .oe-listview td.oe-actions {
+.openerp .oe-listview td.oe-actions {
border-bottom:none;
}
@@ -867,12 +867,16 @@ label.error {
.openerp .oe-listview .oe-field-cell progress {
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;
padding: 0;
border: none;
background: none;
width: 16px;
+ box-shadow: none;
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
}
.openerp .oe-listview .oe-field-cell button:active {
opacity: 0.5;
diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js
index 453536f7ec6..daf708104e8 100644
--- a/addons/web/static/src/js/view_list_editable.js
+++ b/addons/web/static/src/js/view_list_editable.js
@@ -242,7 +242,7 @@ openerp.web.list_editable = function (openerp) {
self.edition_form.appendTo();
$.when(self.edition_form.on_loaded(self.get_form_fields_view())).then(function () {
// put in $.when just in case FormView.on_loaded becomes asynchronous
- $new_row.find('td')
+ $new_row.find('> td')
.addClass('oe-field-cell')
.removeAttr('width')
.end()