storj/web/satellite/src/components/header/Header.vue

71 lines
2.0 KiB
Vue
Raw Normal View History

2019-01-24 20:15:10 +00:00
// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
<template>
<div class="header-container">
<div class="header-container__left-area">
<ProjectSelectionArea class="header-container__left-area__project-selection"/>
</div>
<div class="header-container__right-area">
<NewProjectArea class="header-container__right-area__new-project" />
2019-03-26 16:56:38 +00:00
<AccountButton class="header-container__right-area__account-button" />
</div>
<ProjectCreationSuccessPopup/>
</div>
</template>
<script lang="ts">
2019-09-09 11:33:39 +01:00
import { Component, Vue } from 'vue-property-decorator';
2019-09-09 11:33:39 +01:00
import NewProjectArea from '@/components/header/NewProjectArea.vue';
import ProjectSelectionArea from '@/components/header/projectSelection/ProjectSelectionArea.vue';
import ProjectCreationSuccessPopup from '@/components/project/ProjectCreationSuccessPopup.vue';
import AccountButton from './AccountButton.vue';
@Component({
components: {
ProjectCreationSuccessPopup,
ProjectSelectionArea,
NewProjectArea,
AccountButton,
},
})
export default class DashboardHeader extends Vue {}
</script>
<style scoped lang="scss">
.header-container {
width: 100%;
height: 100px;
2019-06-03 13:19:48 +01:00
min-height: 100px;
background-color: white;
display: flex;
flex-direction: row;
align-items: center;
2019-04-11 02:27:55 +01:00
justify-content: flex-start;
padding-left: 60px;
padding-right: 60px;
&__left-area {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
&__right-area {
@extend .header-container__left-area;
justify-content: flex-end;
2019-04-11 02:27:55 +01:00
position: absolute;
right: 60px;
width: 30%;
&__new-project {
2019-03-26 16:56:38 +00:00
margin-right: 24px;
}
}
}
</style>