From 4891725feaf8471bf46787f1a5828cef1464e9b8 Mon Sep 17 00:00:00 2001 From: Josh Barr Date: Sat, 4 Apr 2015 11:12:25 +1300 Subject: [PATCH] ensure subnav sits above footer bar --- .../static/wagtailadmin/scss/core.scss | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/wagtail/wagtailadmin/static/wagtailadmin/scss/core.scss b/wagtail/wagtailadmin/static/wagtailadmin/scss/core.scss index 54999192f..397fbaa0e 100644 --- a/wagtail/wagtailadmin/static/wagtailadmin/scss/core.scss +++ b/wagtail/wagtailadmin/static/wagtailadmin/scss/core.scss @@ -407,16 +407,21 @@ footer, .logo{ } } .explorer { - z-index:$explorer-z-index; + z-index: $explorer-z-index; } .nav-submenu { - z-index:$explorer-z-index; + z-index: $explorer-z-index; } - .nav-wrapper{ - z-index:auto; /* allows overspill of messages banner onto left menu, but also explorer to spill over main content */ + + // Allows overspill of messages banner onto left menu, but also explorer + // to spill over main content + .nav-wrapper { + z-index: auto; } - .nav-wrapper.submenu-active{ - z-index:5; + + // footer is z-index: 100, so ensure the navigation sits on top of it. + .nav-wrapper.submenu-active { + z-index: 200; } }