diff --git a/less/dashboard.less b/less/dashboard.less index f728d4b..040f7b0 100644 --- a/less/dashboard.less +++ b/less/dashboard.less @@ -1,6 +1,6 @@ @dashboard-background: @global-inverse-color; @dashboard-page-content-background: @global-background; -@dashboard-z-index: @global-z-index - 20; +@dashboard-z-index: @global-z-index - 21; @dashboard-header-height: var(--header-height); @dashboard-primary-background: @global-primary-background; @@ -41,7 +41,7 @@ bottom: 0; left: 0; padding-top: @dashboard-header-height; - z-index: @dashboard-z-index - 1; + z-index: @dashboard-z-index; background: @dashboard-background; transition: 0.5s; transition-property: width; @@ -107,16 +107,20 @@ text-align: center; } - #page_content_header.uk-sticky.uk-active, - #page_content_actions.uk-sticky.uk-active { - border-bottom: @dashboard-page-content-sticky-border-width solid @dashboard-page-content-sticky-border; + #page_content_header.uk-sticky, + #page_content_actions.uk-sticky { + z-index: @dashboard-z-index; - .uk-tab { - margin-bottom: 0; - } + &.uk-active { + border-bottom: @dashboard-page-content-sticky-border-width solid @dashboard-page-content-sticky-border; - *:last-child.uk-tab:before { - content: none; + .uk-tab { + margin-bottom: 0; + } + + *:last-child.uk-tab:before { + content: none; + } } } @@ -149,7 +153,7 @@ min-height: calc(100vh - @dashboard-header-height); background-color: @dashboard-page-content-background; position: relative; - z-index: @dashboard-z-index - 2; + z-index: @dashboard-z-index - 1; } /* No sidebar */