1
0
Fork 0
lifeto-shop/src/App.vue

107 lines
2.1 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-07-07 07:54:36 +00:00
import { loadStore } from "./state/state";
import OrderDisplay from "./components/OrderDisplay.vue";
loadStore()
2022-06-26 23:01:10 +00:00
</script>
<template>
2022-07-07 07:54:36 +00:00
<OrderDisplay/>
2022-07-03 10:25:12 +00:00
<div class="parent">
2022-07-07 07:54:36 +00:00
<div class="splash">
</div>
2022-07-03 10:25:12 +00:00
<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;
2022-07-03 10:25:12 +00:00
height: 100vh;
overflow-y: hidden;
2022-06-26 23:01:10 +00:00
}
2022-07-03 15:50:41 +00:00
.handsontable th {
border-right: 0px !important;
border-left: 0px !important;
border-top: 1px white !important;
border-bottom: 1px white !important;
line-height: 0 !important;
vertical-align: middle !important;
text-align: left !important;
min-width: 10px !important;
width: 20px !important;
}
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 15:50:41 +00:00
vertical-align: middle !important;
2022-07-03 17:05:59 +00:00
text-align: left !important;
2022-07-01 01:27:18 +00:00
}
.handsontable tr {
border-radius: 10px !important;
}
2022-07-03 15:50:41 +00:00
.handsontable .changeType {
margin: 0px !important;
border:0px !important;
float: none !important;
}
2022-06-26 23:01:10 +00:00
</style>
2022-07-03 10:25:12 +00:00
<style>
2022-07-07 07:54:36 +00:00
.main {
overflow-x: scroll;
overflow-y: hidden;
}
.sidebar {
overflow-y: scroll;
}
2022-07-03 10:25:12 +00:00
.parent {
display: grid;
2022-07-03 15:50:41 +00:00
height: 100%;
2022-07-03 10:25:12 +00:00
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;
}
2022-07-07 07:54:36 +00:00
.main{
2022-07-03 10:25:12 +00:00
grid-area: 2 / 2 / 5 / 4;
}
.sidebar {
grid-area: 2 / 1 / 5 / 2;
}
.selection {
grid-area: 1 / 2 / 2 / 3;
}
.login {
grid-area: 1 / 3 / 2 / 4;
}
</style>