From 4fe1d0bc50de26ed087ed6277986e2aed3029edb Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 21 May 2012 11:05:47 +0200 Subject: [PATCH] [FIX] in-drawer filter look in case of very long name also, add help tooltip if the filter has an @help and an @string bzr revid: xmo@openerp.com-20120521090547-99d7pom8k8dbw6z0 --- addons/web/static/src/css/base.css | 3 +-- addons/web/static/src/css/base.sass | 3 +-- addons/web/static/src/xml/base.xml | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 37b4de1dd32..c101e1beb0b 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1342,13 +1342,12 @@ .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_filters li { list-style: none; padding: 3px 6px 3px 18px; - height: 14px; line-height: 14px; color: inherit; cursor: pointer; } .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_filters li.oe_selected { - background: url(/web/static/src/img/icons/gtk-apply.png) left center no-repeat; + background: url(/web/static/src/img/icons/gtk-apply.png) left 2px no-repeat; } .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_filters li:hover { background-color: #f0f0fa; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 67e2399069b..ca47ebf1edb 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1095,13 +1095,12 @@ $colour4: #8a89ba li list-style: none padding: 3px 6px 3px 18px - height: 14px line-height: 14px color: inherit cursor: pointer &.oe_selected - background: url(/web/static/src/img/icons/gtk-apply.png) left center no-repeat + background: url(/web/static/src/img/icons/gtk-apply.png) left 2px no-repeat // after oe_selected so background color is not overridden &:hover background-color: $hover-background diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index f37dbbddc04..43dd5ebbd24 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1378,7 +1378,8 @@