From 5f7fa2c9096c47f5d00cc79e04ef96ef11354552 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sun, 27 May 2012 12:45:04 +0200 Subject: [PATCH] [IMP] improved CSS, padding on editable lists bzr revid: fp@openerp.com-20120527104504-cmpa5t256es2486a --- addons/web/static/src/css/base.css | 4 +++- addons/web/static/src/css/base.sass | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index a17c1cfb8b1..fc49a064778 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1981,8 +1981,10 @@ .openerp .oe-listview-content > tbody > tr { border-top: 1px solid #dddddd; } -.openerp .oe-listview-content > tbody > tr > td, .openerp .oe-listview-content > tbody > tr > th { +.openerp .oe-listview-content > tbody > tr > td.oe-field-cell { padding: 3px 6px; +} +.openerp .oe-listview-content > tbody > tr > td, .openerp .oe-listview-content > tbody > tr > th { line-height: 18px; } .openerp .oe-listview-content > tbody > tr > td > button, .openerp .oe-listview-content > tbody > tr > th > button { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index b4fd85034a7..696defe6864 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1641,8 +1641,9 @@ $colour4: #8a89ba background: white > tr border-top: 1px solid #ddd - > td, > th + > td.oe-field-cell padding: 3px 6px + > td, > th line-height: 18px > button border: none