Add variable for the zIndex of the navigation header

This commit is contained in:
Jean-Baptiste Bellet
2021-04-20 13:50:21 +02:00
parent 6dbe91b199
commit 5e712fa4c0
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
@import "mixins";
@import 'typography';
$shop-navigation-zindex: 20;
section {
:not(shop) navigation {
box-shadow: $distributor-header-shadow;
@@ -11,7 +13,7 @@ section {
display: block;
background: $white;
position: relative;
z-index: 20;
z-index: $shop-navigation-zindex;
.details {
box-sizing: border-box;

View File

@@ -9,7 +9,7 @@
color: $dark-grey;
box-shadow: $distributor-header-shadow;
position: relative;
z-index: 21; // +1 from .darkswarm navigation
z-index: $shop-navigation-zindex + 1;
.columns {
display: flex;