moved z-index values to _globals

This commit is contained in:
ManjaroOne666 2019-01-04 10:55:55 +00:00
parent e804ffdecf
commit 83f8a83605
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@ $bp__m: 40em;
// layout optomised for larger screens // layout optomised for larger screens
$bp__layout: $bp__m; $bp__layout: $bp__m;
$z-index__page: 50;
$z-index__menu: 100;
$site-menu__header-width: 3rem; $site-menu__header-width: 3rem;
$site-menu__header-height: 3rem; $site-menu__header-height: 3rem;

View File

@ -45,13 +45,13 @@ export default {
} }
.page { .page {
z-index: 50; z-index: $z-index__page;
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.menu { .menu {
z-index: 100; z-index: $z-index__menu;
} }
</style> </style>