Compare commits

...

2 Commits

Author SHA1 Message Date
a240d99d73 fix bg current funnel 2026-06-16 19:00:53 +03:00
8fe0dccead feat: highlight current funnel step in deal modal 2026-06-16 18:34:21 +03:00

View File

@ -11,7 +11,11 @@
v-for="(step, index) in steps"
:key="index"
class="progress-step"
:class="{ 'bg-green-500': index < requisition.stage_index, 'bg-white': index >= requisition.stage_index ?? 0 }"
:class="{
'step-completed': index < requisition.stage_index,
'step-current': index === requisition.stage_index,
'step-pending': index > requisition.stage_index
}"
>
</div>
</div>
@ -426,13 +430,23 @@ const typeReq = computed(() => {
overflow: hidden;
border-radius: 4px;
border: 1px solid #DEDEDE;
background-color: #5cb85c;
background-color: #fff;
}
.progress-step {
flex: 1;
position: relative;
}
.step-completed {
background-color: #5cb85c;
}
.step-current {
background-color: #e2574c;
opacity: 0.2;
}
.step-pending {
background-color: #fff;
}
.progress-step::before {
content: '';
position: absolute;