Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0775e18c authored by VIAUD Nathan's avatar VIAUD Nathan
Browse files

Adding mixins to display hamburger menu

parent b3b639a6
No related branches found
No related tags found
No related merge requests found
Pipeline #875964 passed
@mixin sm {
@media (max-width: 1200px) {
@content
}
}
@mixin md {
@media (min-width: 1200px) {
@content
}
}
\ No newline at end of file
...@@ -69,11 +69,17 @@ setInterval(() => { ...@@ -69,11 +69,17 @@ setInterval(() => {
<TopActionButton icon="icon-play" text="Aperçu" position="right" :disabled="editorStore.loadingPreview" @click="editorService.runPreviewAtPage()" /> <TopActionButton icon="icon-play" text="Aperçu" position="right" :disabled="editorStore.loadingPreview" @click="editorService.runPreviewAtPage()" />
<TopActionButton icon="icon-export" text="Exporter archive" position="right" :disabled="editorStore.exporting" @click="editorService.exportProject()" /> <TopActionButton icon="icon-export" text="Exporter archive" position="right" :disabled="editorStore.exporting" @click="editorService.exportProject()" />
</div> </div>
<div class="menu-xs-container">
<button>hamburger menu</button>
</div>
</div> </div>
</div> </div>
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/src/mixins';
.top-bar { .top-bar {
background-color: var(--content); background-color: var(--content);
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
...@@ -123,5 +129,19 @@ setInterval(() => { ...@@ -123,5 +129,19 @@ setInterval(() => {
background-position: right 0.7rem top 50%; background-position: right 0.7rem top 50%;
background-size: .8rem auto; background-size: .8rem auto;
} }
} }
.top-bar-actions {
@include mixins.sm {
display: none;
}
}
.menu-xs-container {
@include mixins.md {
display: none;
}
}
</style> </style>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment