forked from vuestorefront/vsf-capybara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.vue
61 lines (56 loc) · 1.11 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
<template>
<div id="app">
<component :is="layout">
<router-view />
</component>
</div>
</template>
<script>
import get from 'lodash-es/get'
import DefaultLayout from './layouts/Default'
import MinimalLayout from './layouts/Minimal'
export default {
components: {
DefaultLayout,
MinimalLayout
},
computed: {
layout () {
return `${get(this.$route, 'meta.layout', 'default')}-layout`
}
}
};
</script>
<style lang="scss" src="theme/css/main.scss"></style>
<style lang="scss">
@import "~@storefront-ui/shared/styles/helpers/breakpoints";
body {
--overlay-z-index: 1;
--sidebar-aside-z-index: 2;
--sidebar-z-index: 2;
--bottom-navigation-height: 3.75rem;
--bar-height: 3.125rem;
--notification-font-size: var(--font-sm);
font-family: var(--font-family-secondary);
margin: 0;
padding: 0;
a {
text-decoration: none;
color: var(--c-link);
cursor: pointer;
&:hover {
color: var(--c-link-hover);
}
}
}
#viewport {
position: relative;
}
@include for-desktop {
.sidebar {
&__microcart {
--sidebar-aside-width: 700px;
}
}
}
</style>