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

97 lines
1.9 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;
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-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>
.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;
}
.main {
grid-area: 2 / 2 / 5 / 4;
overflow-x: scroll;
2022-07-03 15:50:41 +00:00
overflow-y: hidden;
2022-07-03 10:25:12 +00:00
}
.sidebar {
grid-area: 2 / 1 / 5 / 2;
}
.selection {
grid-area: 1 / 2 / 2 / 3;
}
.login {
grid-area: 1 / 3 / 2 / 4;
}
</style>