diff --git a/demos/directive/sideMenus/simple/style.css b/demos/directive/sideMenus/simple/style.css new file mode 100644 index 00000000000..1e40df51b7d --- /dev/null +++ b/demos/directive/sideMenus/simple/style.css @@ -0,0 +1,7 @@ +--- +name: simple +component: ionSideMenus +--- +.menu-left .scroll-content { + background-color: #f4f4f4; +} diff --git a/scss/_menu.scss b/scss/_menu.scss index c6ad1645b8e..3788727cd40 100644 --- a/scss/_menu.scss +++ b/scss/_menu.scss @@ -17,6 +17,14 @@ width: $menu-width; background-color: $menu-bg; + + .scroll-content { + z-index: $z-index-menu-scroll-content; + } + + .bar-header { + z-index: $z-index-menu-bar-header; + } } .menu-content { diff --git a/scss/_variables.scss b/scss/_variables.scss index bf86151a9f7..8e5310db889 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -669,6 +669,8 @@ $z-index-item-reordering: 9 !default; $z-index-item-toggle: 3 !default; $z-index-loading: 13 !default; $z-index-menu: 0 !default; +$z-index-menu-bar-header: 11 !default; +$z-index-menu-scroll-content: 10 !default; $z-index-modal: 10 !default; $z-index-pane: 1 !default; $z-index-popup: 12 !default;