Base module
This commit is contained in:
@@ -3,5 +3,49 @@ import { RouterView } from 'vue-router'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<RouterView />
|
||||
<header class="navigation">
|
||||
<div class="container">
|
||||
<span class="brand">Haushalt</span>
|
||||
</div>
|
||||
</header>
|
||||
<nav class="subnavigation">
|
||||
<div class="container"></div>
|
||||
</nav>
|
||||
<main class="main-area">
|
||||
<div class="container">
|
||||
<RouterView />
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.navigation {
|
||||
background: var(--nav-bg);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.navigation .container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.subnavigation {
|
||||
background: var(--subnav-bg);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.subnavigation .container {
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.main-area .container {
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user