2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-23 07:10:32 +03:00

#9 Rename icon class

This commit is contained in:
cristijora
2017-05-25 20:53:58 +03:00
parent 66c38f7900
commit 184e36abf7
6 changed files with 11 additions and 11 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -38,7 +38,7 @@
@include transition-font-size(.2s, linear); @include transition-font-size(.2s, linear);
.icon{ .wizard-icon{
color: $white-color; color: $white-color;
font-size: 24px; font-size: 24px;
display:flex; display:flex;
+2 -2
View File
@@ -38,14 +38,14 @@
border-radius: 0; border-radius: 0;
} }
} }
.icon { .wizard-icon {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
} }
.tab-content { .wizard-tab-content {
min-height: 100px; min-height: 100px;
padding: 30px 20px 10px; padding: 30px 20px 10px;
} }
+5 -5
View File
@@ -22,11 +22,11 @@
<div v-if="tab.active" class="wizard-icon-container" <div v-if="tab.active" class="wizard-icon-container"
:class="{square_shape:isStepSquare, tab_shape:isTabShape}" :class="{square_shape:isStepSquare, tab_shape:isTabShape}"
:style="[tab.active ? iconActiveStyle: {}, tab.validationError ? errorStyle : {}]"> :style="[tab.active ? iconActiveStyle: {}, tab.validationError ? errorStyle : {}]">
<i v-if="tab.icon" :class="tab.icon" class="icon"></i> <i v-if="tab.icon" :class="tab.icon" class="wizard-icon"></i>
<i v-else class="icon">{{index + 1}}</i> <i v-else class="wizard-icon">{{index + 1}}</i>
</div> </div>
<i v-if="!tab.active && tab.icon" :class="tab.icon" class="icon"></i> <i v-if="!tab.active && tab.icon" :class="tab.icon" class="wizard-icon"></i>
<i v-if="!tab.active && !tab.icon" class="icon">{{index + 1}}</i> <i v-if="!tab.active && !tab.icon" class="wizard-icon">{{index + 1}}</i>
</transition> </transition>
</div> </div>
@@ -39,7 +39,7 @@
</a> </a>
</li> </li>
</ul> </ul>
<div class="tab-content"> <div class="wizard-tab-content">
<slot> <slot>
</slot> </slot>
</div> </div>
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<div v-if="active" class="tab-container"> <div v-if="active" class="wizard-tab-container">
<slot> <slot>
</slot> </slot>
</div> </div>