-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
60 lines (52 loc) · 1.29 KB
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<template>
<div id="app" >
<v-app :class="this.$store.state.colorVariant ? 'theme--dark' : 'theme--light'">
<SideMenu/>
<TopMenu/>
<v-main>
<v-container fluid>
<transition name="fade">
<router-view/>
</transition>
</v-container>
</v-main>
</v-app>
</div>
</template>
<script lang="ts">
import Vue from 'vue';
import SideMenu from '@/components/menu/SideMenu.vue';
import TopMenu from '@/components/menu/TopMenu.vue';
export default Vue.extend({
name: 'App',
components: {TopMenu, SideMenu},
});
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&display=swap');
body {
font-family: 'Roboto', sans-serif;
background-color: #272727;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background-color: #272727;
}
*::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 6px rgba(146, 146, 146, 0.6);
}
.fade-enter-active, .fade-leave-active {
transition: opacity .2s ease;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
}
</style>