From 6c8be94ab704a68a624180dba65504fe395bae26 Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Wed, 20 Mar 2013 15:45:28 +0530 Subject: [PATCH 1/4] [IMP] Set cursor on 'or' in Advance search. bzr revid: psa@tinyerp.com-20130320101528-0i90ne0dzqr5adgc --- addons/web/static/src/css/base.css | 1 + addons/web/static/src/css/base.sass | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 2056bc2876f..d6da7e0d02f 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1969,6 +1969,7 @@ .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced .searchview_extended_prop_or { opacity: 0.5; margin-left: -14px; + cursor: auto; } .openerp .oe_searchview .oe_searchview_drawer .oe_opened h4:before { content: "▾ "; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 69e7ff55589..812fe1ce17b 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1562,6 +1562,7 @@ $sheet-padding: 16px .searchview_extended_prop_or opacity: 0.5 margin-left: -14px + cursor: auto .oe_opened h4:before content: "▾ " From 3d545a45305e6789bf31b7f97f15d6d4bef88ec9 Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Wed, 20 Mar 2013 16:02:07 +0530 Subject: [PATCH 2/4] [IMP] Set position, width and top for hover on 'or' in Advance search to inhibits the excution of CURSOR on hover. bzr revid: psa@tinyerp.com-20130320103207-6vbrf4dqnwo2s1u8 --- addons/web/static/src/css/base.css | 3 +++ addons/web/static/src/css/base.sass | 3 +++ 2 files changed, 6 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index d6da7e0d02f..b0bd60c0ca7 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1970,6 +1970,9 @@ opacity: 0.5; margin-left: -14px; cursor: auto; + position: absolute; + width: 16px; + top: 5px; } .openerp .oe_searchview .oe_searchview_drawer .oe_opened h4:before { content: "▾ "; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 812fe1ce17b..e1cc01d4c8c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1563,6 +1563,9 @@ $sheet-padding: 16px opacity: 0.5 margin-left: -14px cursor: auto + position: absolute + width: 16px + top: 5px .oe_opened h4:before content: "▾ " From 876c7900775baa7a653983ba1049355497dcd439 Mon Sep 17 00:00:00 2001 From: bth Date: Tue, 26 Mar 2013 15:14:32 +0530 Subject: [PATCH 3/4] [FIX] Put arrow on or. bzr revid: bth@bth-laptop-20130326094432-rq3rnxw60r6e00bv --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 4584b418296..b4d6e7968b9 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1970,7 +1970,7 @@ .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced .searchview_extended_prop_or { opacity: 0.5; margin-left: -14px; - cursor: auto; + cursor: cell; position: absolute; width: 16px; top: 5px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 49d2878a746..52893fc77ca 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1564,7 +1564,7 @@ $sheet-padding: 16px .searchview_extended_prop_or opacity: 0.5 margin-left: -14px - cursor: auto + cursor: cell position: absolute width: 16px top: 5px From 3a7a4f7d5e908e5d099e5f1da07ca179c4859359 Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Fri, 17 May 2013 11:31:33 +0530 Subject: [PATCH 4/4] [IMP] Removed 'cursor on '.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li' and then added 'cursor:default' on '.openerp .oe_searchview .oe_searchview_drawer'. bzr revid: psa@tinyerp.com-20130517060133-zw7zpuvxhc459s5e --- addons/web/static/src/css/base.css | 6 +----- addons/web/static/src/css/base.sass | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 66997040bde..4c1a9ff65bd 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1812,6 +1812,7 @@ display: block; } .openerp .oe_searchview .oe_searchview_drawer { + cursor: default; position: absolute; z-index: 2; margin-top: 4px; @@ -1958,7 +1959,6 @@ padding: 0; } .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li { - cursor: pointer; position: relative; list-style: none; margin: 0; @@ -1970,10 +1970,6 @@ .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced .searchview_extended_prop_or { opacity: 0.5; margin-left: -14px; - cursor: cell; - position: absolute; - width: 16px; - top: 5px; } .openerp .oe_searchview .oe_searchview_drawer .oe_opened h4:before { content: "▾ "; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 3f4f3e58bbe..88566b02d38 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1441,6 +1441,7 @@ $sheet-padding: 16px display: block .oe_searchview_drawer + cursor: default position: absolute z-index: 2 // detach drawer from field slightly @@ -1554,7 +1555,6 @@ $sheet-padding: 16px list-style: none padding: 0 li - cursor: pointer position: relative list-style: none margin: 0 @@ -1564,10 +1564,6 @@ $sheet-padding: 16px .searchview_extended_prop_or opacity: 0.5 margin-left: -14px - cursor: cell - position: absolute - width: 16px - top: 5px .oe_opened h4:before content: "▾ "