Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/HorizontalStepper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
align-items: center;
justify-content: space-between;
&.next {
border: 2px solid #3383c8;
color: #3383c8;
border: 2px solid #d80000;
color: #d80000;
right: 1%;
&.deactivated {
border: 2px solid #cccccc !important;
Expand Down Expand Up @@ -122,7 +122,7 @@
padding: 0 1rem;
background-color: white;
i {
background-color: #3383c8;
background-color: #d80000;
color: #fff;
border-radius: 100rem;
padding: 1rem;
Expand Down Expand Up @@ -171,7 +171,7 @@
align-items: center;
justify-content: space-between;
&.next {
background-color: #3383c8;
background-color: #d80000;
color: white;
@include shadow(1);
&.deactivated {
Expand All @@ -184,4 +184,4 @@
}
}
}
}
}
11 changes: 11 additions & 0 deletions src/HorizontalStepper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ export default {
reset: {
type: Boolean,
default: false
},
review: {
type: Boolean,
default: false
}
},

Expand Down Expand Up @@ -151,6 +155,13 @@ export default {
if (!back) {
this.$emit("completed-step", this.previousStep);
}

if(this.review) {
if(this.steps[index].completed) {
this.canContinue = true;
}
}

}
this.$emit("active-step", this.currentStep);
},
Expand Down