forked from a/lifeto-shop
97 lines
1.9 KiB
Vue
97 lines
1.9 KiB
Vue
<script setup lang="ts">
|
|
import CharacterInventory from "./components/CharacterInventory.vue"
|
|
import Login from "./pages/login.vue"
|
|
import CharacterRoulette from "./components/CharacterRoulette.vue";
|
|
import Sidebar from "./components/Sidebar.vue";
|
|
</script>
|
|
<template>
|
|
<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>
|
|
</template>
|
|
|
|
<style>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
height: 100vh;
|
|
overflow-y: hidden;
|
|
}
|
|
.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;
|
|
}
|
|
.handsontable td {
|
|
border-right: 0px !important;
|
|
border-left: 0px !important;
|
|
border-top: 1px white !important;
|
|
border-bottom: 1px white !important;
|
|
background-color: #F7F7F7 !important;
|
|
vertical-align: middle !important;
|
|
}
|
|
.handsontable tr {
|
|
border-radius: 10px !important;
|
|
}
|
|
.handsontable .changeType {
|
|
margin: 0px !important;
|
|
border:0px !important;
|
|
float: none !important;
|
|
}
|
|
</style>
|
|
|
|
<style>
|
|
.parent {
|
|
display: grid;
|
|
height: 100%;
|
|
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: hidden;
|
|
}
|
|
|
|
.sidebar {
|
|
grid-area: 2 / 1 / 5 / 2;
|
|
}
|
|
|
|
.selection {
|
|
grid-area: 1 / 2 / 2 / 3;
|
|
}
|
|
|
|
.login {
|
|
grid-area: 1 / 3 / 2 / 4;
|
|
}
|
|
</style>
|