diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-05-21 11:05:47 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-05-21 11:05:47 +0200 |
| commit | 4fe1d0bc50de26ed087ed6277986e2aed3029edb (patch) | |
| tree | 5c6970be8a883bdebe7b0fdff8cceb4bf1ea66e2 /addons/web/static/src | |
| parent | 1c09d982bc5dc993d185e0a3a2195b531723ab39 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/css/base.css | 3 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 3 | ||||
| -rw-r--r-- | 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 @@ <t t-esc="attrs.string"/> </button> <ul t-name="SearchView.filters"> - <li t-foreach="widget.filters" t-as="filter"> + <li t-foreach="widget.filters" t-as="filter" + t-att-title="filter.attrs.string ? filter.attrs.help : void 0"> <t t-esc="filter.attrs.string or filter.attrs.help or filter.attrs.name or 'Ω'"/> </li> </ul> |
