From e9732dab8d1bf0aceec6f5e9bb73875c29d23452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Mon, 26 May 2014 15:45:28 +0200 Subject: [FIX] fix various issues with the drawer (addon web) * separate the css class oe_searchview_custom into oe_searchview_custom and oe_searchview_savefilter to be able to style them independently * by default, the drawer has display:none * fix a bug occuring when the user removed a custom filter (it hid the remaining filters) --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 53be627f486..7a9250a60fc 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1655,7 +1655,7 @@ .openerp .oe_searchview_drawer form button { margin: 0 0 8px -3px; } -.openerp .oe_searchview_drawer .oe_searchview_custom form { +.openerp .oe_searchview_drawer .oe_searchview_savefilter form { display: none; } .openerp .oe_searchview_drawer .oe_searchview_custom li { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 1cea0a006f7..8c78cf6165c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1292,6 +1292,7 @@ $sheet-padding: 16px .oe_searchview_drawer_container overflow: auto .oe_searchview_drawer + display:none width: 100% cursor: default display: none @@ -1356,9 +1357,10 @@ $sheet-padding: 16px line-height: 18px button margin: 0 0 8px -3px // Managed margin-left according bootstrap3 - .oe_searchview_custom + .oe_searchview_savefilter form display: none + .oe_searchview_custom li cursor: pointer position: relative -- cgit v1.2.3