2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-11-27 10:51:33 +00:00
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2018-11-14 14:00:01 +00:00
|
|
|
<template>
|
2018-11-19 15:32:50 +00:00
|
|
|
<div class="header-container">
|
2018-11-23 15:48:11 +00:00
|
|
|
<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" />
|
2018-11-23 15:48:11 +00:00
|
|
|
</div>
|
2018-11-14 14:00:01 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2019-07-08 14:45:25 +01:00
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
|
|
|
import ProjectSelectionArea from '@/components/header/projectSelection/ProjectSelectionArea.vue';
|
|
|
|
import NewProjectArea from '@/components/header/NewProjectArea.vue';
|
|
|
|
import AccountButton from './AccountButton.vue';
|
2018-11-14 14:00:01 +00:00
|
|
|
|
2019-07-08 14:45:25 +01:00
|
|
|
@Component({
|
2018-12-18 14:43:23 +00:00
|
|
|
components: {
|
2018-11-14 14:00:01 +00:00
|
|
|
ProjectSelectionArea,
|
|
|
|
NewProjectArea,
|
2018-12-20 16:44:42 +00:00
|
|
|
AccountButton,
|
|
|
|
},
|
2019-07-08 14:45:25 +01:00
|
|
|
})
|
|
|
|
export default class DashboardHeader extends Vue {}
|
2018-11-14 14:00:01 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
2018-11-19 15:32:50 +00:00
|
|
|
.header-container {
|
2018-11-14 14:00:01 +00:00
|
|
|
width: 100%;
|
2018-11-28 16:20:23 +00:00
|
|
|
height: 100px;
|
2019-06-03 13:19:48 +01:00
|
|
|
min-height: 100px;
|
2018-11-14 14:00:01 +00:00
|
|
|
background-color: white;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2019-04-11 02:27:55 +01:00
|
|
|
justify-content: flex-start;
|
2019-01-02 13:20:51 +00:00
|
|
|
padding-left: 60px;
|
|
|
|
padding-right: 60px;
|
2018-11-19 15:32:50 +00:00
|
|
|
|
2018-11-23 15:48:11 +00:00
|
|
|
&__left-area {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
2018-11-19 15:32:50 +00:00
|
|
|
}
|
2018-11-23 15:48:11 +00:00
|
|
|
|
|
|
|
&__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%;
|
2018-11-23 15:48:11 +00:00
|
|
|
|
|
|
|
&__new-project {
|
2019-03-26 16:56:38 +00:00
|
|
|
margin-right: 24px;
|
2018-11-23 15:48:11 +00:00
|
|
|
}
|
2018-11-19 15:32:50 +00:00
|
|
|
}
|
2018-11-14 14:00:01 +00:00
|
|
|
}
|
|
|
|
</style>
|