mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-23 06:00:33 +03:00
#9 Rename icon class
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,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>
|
||||||
|
|||||||
Reference in New Issue
Block a user