Newer
Older
Sébastien DA ROCHA
committed
<template>
<div id="app">
<AppHeader />
<div id="app-content">
<span id="scroll-top-anchor" />
Sébastien DA ROCHA
committed
</div>

Timothee P
committed
<router-view class="page-content" />
Sébastien DA ROCHA
committed
</div>
</template>
<script
type="application/javascript"
:src="
baseUrl +
'resources/leaflet-control-geocoder-1.13.0/Control.Geocoder.js'
"
/>
Sébastien DA ROCHA
committed
<script>
import { mapState } from 'vuex';
Sébastien DA ROCHA
committed
import AppHeader from '@/components/AppHeader';
import AppFooter from '@/components/AppFooter';
Sébastien DA ROCHA
committed
export default {
Sébastien DA ROCHA
committed
Sébastien DA ROCHA
committed
},
data() {
return {
menuIsOpen: false,
rightMenuIsOpen: true,
width: window.innerWidth > 0 ? window.innerWidth : screen.width,
Sébastien DA ROCHA
committed
};
},
computed: {
'user',
'USER_LEVEL_PROJECTS',
'configuration',
'messages',
'loader',
'projects',
'project',
Sébastien DA ROCHA
committed
},
};
</script>
<style>
.vertical {
flex-direction: column;
justify-content: center;
}
.leaflet-container {
background: white !important;
}
.flex {
display: flex;
}
/* keep above loader */
#menu-dropdown {
z-index: 1001;
}
@media screen and (max-width: 985px) {
.abstract{
display: none !important;
}
}
.mobile {
display: none !important;
}
min-width: 560px;
}
.menu.container {
width: auto !important;
}
.push-right-desktop {
margin-left: auto;
}
}
.desktop {
display: none !important;
}
div.dropdown-list {
width: 100vw;
left: -70px !important; /* should be the same than belows */
.menu.container a.header {
width: 70px;
}
.menu.container a.header > img {
margin: 0;
}
#menu-dropdown {
width: calc(100vw - 70px);
justify-content: space-between;
}
#menu-dropdown > span {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}