2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-05 17:52:24 +03:00
Files
vue-form-wizard/dev/App.vue
T
2017-04-20 10:36:46 +03:00

62 lines
1.3 KiB
Vue

<template>
<div>
<form-wizard @on-complete="onComplete"
shape="circle"
color="#e74c3c"
class="card">
<tab-content title="Personal details"
route="first"
icon="ti-user">
</tab-content>
<tab-content title="Additional Info"
route="second"
icon="ti-settings">
</tab-content>
<tab-content title="Last step"
route="third"
icon="ti-check">
</tab-content>
<router-view></router-view>
</form-wizard>
</div>
</template>
<script>
export default {
name: 'app',
methods: {
onComplete () {
alert('Yay!')
}
}
}
</script>
<style lang="scss">
$border-radius-extreme: 6px !default;
$white-color: white;
$gray-input-bg: #F3F2EE !default;
$card-black-color: #252422 !default;
body {
margin-top:20px;
background-color:#ecf0f1;
}
.card-footer{
padding:0px 20px;
}
.card{
border-radius: $border-radius-extreme;
box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
background-color: $white-color;
color: $card-black-color;
padding: 10px 0;
margin-bottom: 20px;
position: relative;
z-index: 1;
}
</style>