Shift sidebar down vertically (below navigation) and bring navigation up (z-index)

This commit is contained in:
Matt-Yorkley
2020-05-21 23:19:57 +02:00
parent 4a0f43a831
commit b74b9fbd1d
2 changed files with 12 additions and 2 deletions

View File

@@ -3,9 +3,18 @@
@import "branding";
.expanding-sidebar.cart-sidebar {
.background {
z-index: 150;
}
.sidebar {
padding: 0;
padding: $topbar-height 0 0;
background-color: $white;
z-index: 160;
@include breakpoint(desktop) {
padding: $mobile-nav-height 0 0;
}
}
.cart-header {

View File

@@ -11,6 +11,7 @@ nav.top-bar {
font-size: 16px;
margin-bottom: 0;
height: $topbar-height;
z-index: 190;
}
@media #{$large-only} {
@@ -174,7 +175,7 @@ nav.top-bar {
height: $mobile-nav-height;
position: fixed;
width: 100%;
z-index: 1;
z-index: 190;
.cart-span {
background-color: #f4704c;