[FIX] stacking of various "drop-down" elements

The search view's completion list should be in front of the search
view's drawer, which itself should (probably) be on top of the graph
view's "action" dropdown.

The graph view's dropdown itself needs a z-index > 0 to be in front of
the graph itself, otherwise it is inactive and unusable: it's visible
through the graph but not activable.

bzr revid: xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l
This commit is contained in:
Xavier Morel 2013-03-05 10:36:19 +01:00
parent b438ce5249
commit 25baf23e23
3 changed files with 4 additions and 4 deletions

View File

@ -1436,7 +1436,7 @@ $sheet-padding: 16px
.oe_searchview_drawer
position: absolute
z-index: 100
z-index: 2
// detach drawer from field slightly
margin-top: 4px
top: 100%

View File

@ -457,7 +457,7 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
autoFocus: true,
minLength: 1,
delay: 0
}).data('autocomplete');
}).css('z-index', 3).data('autocomplete');
// MonkeyPatch autocomplete instance
_.extend(autocomplete, {

View File

@ -1,5 +1,5 @@
.openerp a.dropdown-menu-icon {
z-index: 10;
z-index: 1;
position: absolute;
color: #4c4c4c;
right: 8px;
@ -23,7 +23,7 @@
padding: 8px;
border: 1px solid #afafb6;
background: white;
z-index: 900;
z-index: 1;
min-width: 160px;
overflow-x: hidden;
-moz-border-radius: 3px;