summaryrefslogtreecommitdiff
path: root/addons/web_view_editor/static/src
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-11-03 16:27:24 +0100
committerAntony Lesuisse <al@openerp.com>2012-11-03 16:27:24 +0100
commit8d82b8bb96e44aac224cd6f31f5d3724eb52e8b6 (patch)
tree24959831a6572667ba98533f721e03d2c98ec267 /addons/web_view_editor/static/src
parentcdd2398496c6b043e190503931560ec8cb537585 (diff)
parent011c9ca6c7bff235e0ea5b1637d940c74a9835c1 (diff)
[MERGE] view_editor css fixes
bzr revid: al@openerp.com-20121103152724-ag7pq44gm8tmwsv5
Diffstat (limited to 'addons/web_view_editor/static/src')
-rw-r--r--addons/web_view_editor/static/src/css/view_editor.css10
-rw-r--r--addons/web_view_editor/static/src/js/view_editor.js5
2 files changed, 4 insertions, 11 deletions
diff --git a/addons/web_view_editor/static/src/css/view_editor.css b/addons/web_view_editor/static/src/css/view_editor.css
index e80e15a4c17..e48bf344629 100644
--- a/addons/web_view_editor/static/src/css/view_editor.css
+++ b/addons/web_view_editor/static/src/css/view_editor.css
@@ -1,20 +1,14 @@
.openerp .oe_view_editor {
width: 100%;
- border-collapse: collapse;
margin-left: -12px;
- width: 100%;
- background-color: white;
- border-spacing: 0;
}
.openerp .oe_view_editor td {
- text-align: center;
- white-space: nowrap;
border: 1px solid #d8d8d8;
cursor: pointer;
- font-size: 90%;
}
-.openerp .oe_view_editor_field td {
+.openerp .oe_view_editor td *{
border: 0px !important;
+ color : #404040;
}
.openerp .oe_view_editor tr:hover {
background-color: #ecebf2;
diff --git a/addons/web_view_editor/static/src/js/view_editor.js b/addons/web_view_editor/static/src/js/view_editor.js
index 1e020b1ac56..dcccd381009 100644
--- a/addons/web_view_editor/static/src/js/view_editor.js
+++ b/addons/web_view_editor/static/src/js/view_editor.js
@@ -18,11 +18,10 @@ instance.web.ViewManagerAction.include({
return this._super.apply(this,arguments);
}
}
-})
+});
instance.web_view_editor.ViewEditor = instance.web.Widget.extend({
init: function(parent, element_id, dataset, view, options) {
this._super(parent);
- this.element_id = element_id;
this.parent = parent;
this.dataset = new instance.web.DataSetSearch(this, 'ir.ui.view', null, null),
this.model = dataset.model;
@@ -79,7 +78,7 @@ instance.web_view_editor.ViewEditor = instance.web.Widget.extend({
'selected': function(e, ids, records) {
self.main_view_id = ids[0];
}
- })
+ });
});
});
},