diff --git a/src/assets/form-wizard/_wizard-card.scss b/src/assets/form-wizard/_wizard-card.scss index 23241a2..04cd667 100644 --- a/src/assets/form-wizard/_wizard-card.scss +++ b/src/assets/form-wizard/_wizard-card.scss @@ -1,3 +1,6 @@ +@import "mixins/wizard-size"; +@import "variables"; + .vue-form-wizard { padding-bottom: 20px; .is_error { @@ -6,6 +9,11 @@ background: $danger-states-color !important; } } + @include wizard-size('xs', 40px, 16px); + @include wizard-size('sm', 50px, 20px); + @include wizard-size('md', 70px, 24px); + @include wizard-size('lg', 90px, 28px); + .wizard-icon-circle { font-size: 18px; border: 3px solid $gray-input-bg; diff --git a/src/assets/form-wizard/mixins/_wizard-size.scss b/src/assets/form-wizard/mixins/_wizard-size.scss new file mode 100644 index 0000000..f90a891 --- /dev/null +++ b/src/assets/form-wizard/mixins/_wizard-size.scss @@ -0,0 +1,22 @@ +@mixin wizard-size($name, $size, $font-size){ + $computed-font-size: $size/2 + 5px; + + &.#{$name}{ + .wizard-icon-circle{ + width: $size; + height: $size; + font-size: $font-size; + &.tab_shape { + height: $computed-font-size; + } + } + .wizard-nav-pills > li.active > a .wizard-icon { + font-size: $font-size; + } + .wizard-navigation .wizard-progress-with-circle { + position: relative; + top: $computed-font-size; + height: 4px; + } + } +} diff --git a/src/components/FormWizard.vue b/src/components/FormWizard.vue index 95effe1..b1c6ea4 100644 --- a/src/components/FormWizard.vue +++ b/src/components/FormWizard.vue @@ -1,5 +1,5 @@