-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathApp.vue
More file actions
68 lines (58 loc) · 1.13 KB
/
App.vue
File metadata and controls
68 lines (58 loc) · 1.13 KB
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
<template>
<div id="app" class="antialiased" v-bind:style="{background: getBackground}">
<NavBar class="px-4 sm:px-16 lg:px-32"></NavBar>
<keep-alive include="Browse,Search,History">
<router-view/>
</keep-alive>
</div>
</template>
<script>
import NavBar from '@/components/shared/NavBar.vue';
export default {
components: {
NavBar,
},
computed: {
getBackground() {
const currentRoute = this.$route.name;
if (currentRoute === 'Onboarding') {
return '#FDFDFD';
}
return '#FFFFFE';
},
},
};
</script>
<style>
html {
@apply bg-white-matcha;
}
html,
body,
#app {
height: 100%;
}
body {
margin: 0;
}
::placeholder {
@apply font-normal;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px #FFFFFE inset !important;
}
input:-webkit-autofill {
-webkit-text-fill-color: #2d3748 !important;
}
.noSelect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
</style>