mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Shift sidebar down vertically (below navigation) and bring navigation up (z-index)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user