2022-01-08 13:12:15 +01:00
|
|
|
<template>
|
2022-01-09 11:47:18 +01:00
|
|
|
<div id="sidebar">
|
|
|
|
<MenuGeneralOptions />
|
|
|
|
<MenuCellProperties />
|
|
|
|
<MenuElementaryCA />
|
|
|
|
<Menu2dCA />
|
|
|
|
</div>
|
2022-01-08 13:12:15 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-11-29 17:31:01 +01:00
|
|
|
import MenuCellProperties from "./MenuCellProperties.vue";
|
|
|
|
import MenuGeneralOptions from "./MenuGeneralOptions.vue";
|
|
|
|
import MenuElementaryCA from "./MenuElementaryCA.vue";
|
|
|
|
import Menu2dCA from "./Menu2dCA.vue";
|
2022-01-08 13:12:15 +01:00
|
|
|
export default {
|
2022-11-29 17:31:01 +01:00
|
|
|
name: "MainMenu",
|
2022-01-08 13:12:15 +01:00
|
|
|
components: {
|
2022-01-09 11:47:18 +01:00
|
|
|
MenuCellProperties,
|
|
|
|
MenuGeneralOptions,
|
|
|
|
MenuElementaryCA,
|
2022-11-29 17:31:01 +01:00
|
|
|
Menu2dCA,
|
2022-01-09 11:47:18 +01:00
|
|
|
},
|
2022-11-29 17:31:01 +01:00
|
|
|
};
|
2022-01-08 13:12:15 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#sidebar {
|
2022-11-29 17:31:01 +01:00
|
|
|
width: 25%;
|
|
|
|
padding: 0 10px;
|
|
|
|
overflow-y: scroll;
|
2022-01-08 13:12:15 +01:00
|
|
|
}
|
2022-01-15 15:03:24 +01:00
|
|
|
|
2022-01-15 21:20:34 +01:00
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
|
|
#sidebar::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
|
|
#sidebar {
|
2022-11-29 17:31:01 +01:00
|
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
|
|
scrollbar-width: none; /* Firefox */
|
2022-01-15 21:20:34 +01:00
|
|
|
}
|
|
|
|
|
2022-01-15 15:03:24 +01:00
|
|
|
@media screen and (max-width: 800px) {
|
2022-11-29 17:31:01 +01:00
|
|
|
#container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainContent {
|
|
|
|
flex: 1;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
flex: 1;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-01-15 15:03:24 +01:00
|
|
|
}
|
2022-01-08 13:12:15 +01:00
|
|
|
</style>
|