-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.vue
100 lines (82 loc) · 1.8 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<script setup>
import { useRoute } from 'vue-router'
const route = useRoute();
import Navbar from './components/Navbar.vue';
import Matrix from './components/Matrix.vue';
</script>
<template>
<Navbar v-if="route.path != '/'" />
<div :class="['screen', route.path == '/' ? 'home-screen' : 'normal-screen']">
<router-view />
</div>
<Matrix />
</template>
<style>
html {
overflow: hidden;
}
.home-screen {
height: 100%;
}
.normal-screen {
height: 90%;
}
.screen {
width: 100%;
position: absolute;
bottom: 0;
z-index: 2;
}
.has-background-dark {
background-color: #36363685 !important;
}
.has-background-grey-dark {
background-color: #4a4a4a42 !important;
}
.navbar.is-dark {
background-color: #36363675;
color: #fff;
}
.has-background-success-dark {
background-color: #25795366 !important;
}
.button.is-success {
background-color: #48c78e5e;
border-color: transparent;
color: #fff;
}
.button.is-success.is-outlined.is-focused,
.button.is-success.is-outlined.is-hovered,
.button.is-success.is-outlined:focus,
.button.is-success.is-outlined:hover {
background-color: #48c78e52;
border-color: #48c78e;
color: #fff;
}
.navbar.is-dark .navbar-brand .navbar-link.is-active,
.navbar.is-dark .navbar-brand .navbar-link:focus,
.navbar.is-dark .navbar-brand .navbar-link:hover,
.navbar.is-dark .navbar-brand>a.navbar-item.is-active,
.navbar.is-dark .navbar-brand>a.navbar-item:focus,
.navbar.is-dark .navbar-brand>a.navbar-item:hover {
background-color: transparent;
color: #fff;
}
.navbar-burger span {
height: 2px;
}
.navbar-burger {
filter: contrast(0.1);
}
@media screen and (max-width: 1023px) {
.navbar-item.has-background-dark {
background-color: transparent !important;
}
.navbar-brand {
height: 100%;
}
.navbar-brand > *{
height: 100%;
}
}
</style>