juggl/juggl-vue/src/components/layout/LayoutNavbarPrivate.vue

68 lines
1.2 KiB
Vue
Raw Normal View History

2020-12-20 17:27:26 +01:00
<template>
<div>
<header>
<BaseContainer width="wide" center>
<ul id="header-container">
<li>
2021-01-01 16:35:35 +01:00
<BaseLogo id="logo" size="normal"/>
</li>
<li class="right">
<BaseUserDropdown/>
2020-12-20 17:27:26 +01:00
</li>
</ul>
</BaseContainer>
</header>
<main>
<BaseContainer width="medium" center>
<slot />
</BaseContainer>
</main>
</div>
</template>
<script>
import BaseContainer from "@/components/base/BaseContainer.vue";
import BaseLogo from "@/components/base/BaseLogo.vue";
2021-01-01 16:35:35 +01:00
import BaseUserDropdown from "@/components/base/BaseUserDropdown.vue";
2020-12-20 17:27:26 +01:00
export default {
name: "LayoutNavbarPrivate",
components: {
BaseContainer,
2021-01-01 16:35:35 +01:00
BaseLogo,
BaseUserDropdown
2020-12-20 17:27:26 +01:00
}
};
</script>
<style lang="sass" scoped>
@import '@/style/theme.sass'
header
width: 100%
position: fixed
top: 0px
box-shadow: 0px 0px 2rem 1rem #000D
height: $navbar-height
background-color: $background-primary
#header-container
padding: 0px 20px
margin: auto
list-style: none
line-height: navbar-height
2021-01-01 16:35:35 +01:00
.right
float: right
2020-12-20 17:27:26 +01:00
*
2021-01-01 16:35:35 +01:00
line-height: $navbar-height
2020-12-20 17:27:26 +01:00
vertical-align: baseline
display: inline-block
main
padding: 0px 20px
margin-top: 6rem
</style>