fixed transition
This commit is contained in:
parent
09c6744dd8
commit
bf72d0f0cc
5 changed files with 14 additions and 7 deletions
|
|
@ -1,15 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<router-view></router-view>
|
|
||||||
<!--
|
|
||||||
<router-view v-slot="{ Component }">
|
<router-view v-slot="{ Component }">
|
||||||
<transition :duration="{ enter: 200, leave: 200 }" name="route-fade" mode="out-in">-->
|
<transition :duration="{ enter: 200, leave: 200 }" name="route-fade" mode="out-in">
|
||||||
<!-- The above durations should be kept in sync with the global css class "fade-on-route-transition" -->
|
<!-- The above durations should be kept in sync with the global css class "fade-on-route-transition" -->
|
||||||
<!-- <component :is="Component" />
|
<component :is="Component" />
|
||||||
</transition>
|
</transition>
|
||||||
</router-view>
|
</router-view>
|
||||||
-->
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "./node_modules/bootstrap/scss/bootstrap";
|
@import "./node_modules/bootstrap/scss/bootstrap";
|
||||||
@import "@/styles/common-animations.scss";
|
@import "@/styles/common-animations.scss";
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -26,6 +26,8 @@
|
||||||
padding: 2.5px;
|
padding: 2.5px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
min-width: 70px;
|
min-width: 70px;
|
||||||
|
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-text {
|
.nav-text {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
404: Page Not Found
|
404: Page Not Found
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<navButton type="button" text="back" :scenario="navigationScenarios.CLICKED_BACK"></navButton>
|
<navButton type="button" text="back" :scenario="navigationScenarios.CLICKED_BACK"></navButton>
|
||||||
Vehicle Year Placeholder
|
<p class="fade-on-route-transition">Vehicle Year Placeholder</p>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<p>Welcome Page Placeholder</p>
|
<div>
|
||||||
|
<p class="fade-on-route-transition">Welcome Page Placeholder</p>
|
||||||
<br />
|
<br />
|
||||||
<navButton type="button" text="Next" :scenario="navigationScenarios.CLICKED_FORWARD"></navButton>
|
<navButton type="button" text="Next" :scenario="navigationScenarios.CLICKED_FORWARD"></navButton>
|
||||||
<navButton text="Google" :scenario="navigationScenarios.CLICKED_TEST"></navButton>
|
<navButton text="Google" :scenario="navigationScenarios.CLICKED_TEST"></navButton>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue