1
0
forked from a/lifeto-shop
lifeto-shop/src/App.vue

82 lines
1.5 KiB
Vue
Raw Normal View History

2022-06-26 23:01:10 +00:00
<script setup lang="ts">
2022-07-01 01:27:18 +00:00
import CharacterInventory from "./components/CharacterInventory.vue"
import Login from "./pages/login.vue"
2022-07-03 10:25:12 +00:00
import CharacterRoulette from "./components/CharacterRoulette.vue";
import Sidebar from "./components/Sidebar.vue";
2022-06-26 23:01:10 +00:00
</script>
<template>
2022-07-03 10:25:12 +00:00
<div class="parent">
<div class="splash"> </div>
<div class="main">
<CharacterInventory />
</div>
<div class="sidebar">
<Sidebar/>
</div>
<div class="select">
<CharacterRoulette />
</div>
<div class="login">
<Login />
</div>
</div>
2022-06-26 23:01:10 +00:00
</template>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
2022-07-03 10:25:12 +00:00
height: 100vh;
overflow-y: hidden;
2022-06-26 23:01:10 +00:00
}
2022-07-01 01:27:18 +00:00
.handsontable td {
border-right: 0px !important;
border-left: 0px !important;
border-top: 1px white !important;
border-bottom: 1px white !important;
background-color: #F7F7F7 !important;
}
2022-07-03 10:25:12 +00:00
2022-07-01 01:27:18 +00:00
.handsontable tr {
border-radius: 10px !important;
}
2022-06-26 23:01:10 +00:00
</style>
2022-07-03 10:25:12 +00:00
<style>
.parent {
display: grid;
grid-template-columns: 1fr 4fr 3fr;
grid-template-rows: 1fr repeat(2, 3fr) 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
overflow: hidden;
}
.splash {
grid-area: 1 / 1 / 2 / 2;
}
.main {
grid-area: 2 / 2 / 5 / 4;
overflow-x: scroll;
overflow-y: scroll;
}
.sidebar {
grid-area: 2 / 1 / 5 / 2;
}
.selection {
grid-area: 1 / 2 / 2 / 3;
}
.login {
grid-area: 1 / 3 / 2 / 4;
}
</style>