From 84fadda73819cc19bca5059d2ec9f97e8affa714 Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Mon, 31 Jul 2017 19:01:11 +0300 Subject: [PATCH] layout elements z-index fix. --- src/app/core/components/layout/navbar/navbar.component.scss | 2 +- .../core/components/layout/toolbar/toolbar.component.scss | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/core/components/layout/navbar/navbar.component.scss b/src/app/core/components/layout/navbar/navbar.component.scss index c9457622..f366bfab 100644 --- a/src/app/core/components/layout/navbar/navbar.component.scss +++ b/src/app/core/components/layout/navbar/navbar.component.scss @@ -20,7 +20,7 @@ fuse-navbar { background-color: #FFFFFF; overflow-y: auto; overflow-x: hidden; - z-index: 2; + z-index: 3; box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12); transition: all .3s cubic-bezier(.55, 0, .55, .2), width .1s linear, min-width .1s linear, max-width .1s linear; transform: translateX(0); diff --git a/src/app/core/components/layout/toolbar/toolbar.component.scss b/src/app/core/components/layout/toolbar/toolbar.component.scss index 9f141fd1..568bef00 100644 --- a/src/app/core/components/layout/toolbar/toolbar.component.scss +++ b/src/app/core/components/layout/toolbar/toolbar.component.scss @@ -1,5 +1,9 @@ :host { - z-index: 3; + z-index: 4; + + &.below{ + z-index: 2; + } .loading-spinner { width: 32px;