mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Add variable for the zIndex of the navigation header
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user