explorata/src/components/MainMenu.vue

63 lines
1.1 KiB
Vue
Raw Normal View History

2022-01-08 13:12:15 +01:00
<template>
<div id="sidebar">
<MenuGeneralOptions />
<MenuCellProperties />
<MenuElementaryCA />
<Menu2dCA />
</div>
2022-01-08 13:12:15 +01:00
</template>
<script>
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 {
name: "MainMenu",
2022-01-08 13:12:15 +01:00
components: {
MenuCellProperties,
MenuGeneralOptions,
MenuElementaryCA,
Menu2dCA,
},
};
2022-01-08 13:12:15 +01:00
</script>
<style>
#sidebar {
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 {
-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) {
#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>