From 05f4331604031a62ba41a400e38fbeb1cf17cf23 Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Thu, 28 Mar 2013 12:29:03 +0530 Subject: [PATCH 1/2] [IMP] improved css to make alignment of expandable option in search box consistent bzr revid: tpa@tinyerp.com-20130328065903-a8mqd3a2k727v8i3 --- addons/web/static/src/css/base.css | 7 +++++-- addons/web/static/src/css/base.sass | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index be0bb19748c..a83a1d85c51 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1838,12 +1838,12 @@ margin: 0; } .openerp .oe_searchview .oe_searchview_drawer h3 { - margin: 8px 4px 4px 12px; + margin: 8px 4px 4px 0px; color: #7c7bad; font-size: 13px; } .openerp .oe_searchview .oe_searchview_drawer h4, .openerp .oe_searchview .oe_searchview_drawer h4 * { - margin: 0; + margin: 0 0 0 2px; cursor: pointer; font-weight: normal; display: inline-block; @@ -1920,6 +1920,9 @@ .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom { padding: 0 8px 8px 8px; } +.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom div { + padding: 0; +} .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom form { display: none; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index e2c047f11e1..794b4ac4580 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1460,11 +1460,11 @@ $sheet-padding: 16px border-top: none margin: 0 h3 - margin: 8px 4px 4px 12px + margin: 8px 4px 4px 0px color: $section-title-color font-size: 13px h4, h4 * - margin: 0 + margin: 0 0 0 2px cursor: pointer font-weight: normal display: inline-block @@ -1520,6 +1520,8 @@ $sheet-padding: 16px margin: 0 0 8px 0 .oe_searchview_custom padding: 0 8px 8px 8px + div + padding: 0 form display: none li From bfe3b6d829da623dd56660446fabbf800bc3352a Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Fri, 29 Mar 2013 11:27:03 +0530 Subject: [PATCH 2/2] [IMP] improved code bzr revid: tpa@tinyerp.com-20130329055703-wrwwwdjvmrf4ghdn --- addons/web/static/src/css/base.css | 3 +++ addons/web/static/src/css/base.sass | 2 ++ 2 files changed, 5 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index a83a1d85c51..439757eb5be 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1923,6 +1923,9 @@ .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom div { padding: 0; } +.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom div h4 { + margin: 0; +} .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom form { display: none; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 794b4ac4580..962b66d8d98 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1522,6 +1522,8 @@ $sheet-padding: 16px padding: 0 8px 8px 8px div padding: 0 + h4 + margin: 0 form display: none li