Skip to content
Merged
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
21 changes: 20 additions & 1 deletion evap/static/scss/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

.progress-container .progress-disabled {
background-color: $light-gray;

.progress-bartext {
text-shadow: none;
color: tint-color($medium-gray, 10%);
Expand Down Expand Up @@ -73,10 +74,28 @@
grid-column-start: 1;
grid-row-start: 2;

.seperator {
.separator {
width: 1px;
height: 8px;
border: $dark-gray 1px solid;
}
}

@include media-breakpoint-up(md) {
.spaced {
display: none;
}
}

.progress-step:nth-of-type(3n + 1) .spaced {
display: none;
}

.progress-step:nth-of-type(3n + 2) .spaced {
height: 18px;
}


.progress-step:nth-of-type(3n) .spaced {
height: 36px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
</span>
{% for reward in global_evaluation_progress.rewards_with_progress %}
<div class="position-relative progress-step left-percent-{% widthratio reward.progress 1 100 %}">
<div class="mx-auto seperator"></div>
<div class="mx-auto separator"></div>
<div class="small text-center">
{{ reward.vote_ratio|percentage:1 }}
</div>
<div class="text-lg-center fw-semibold">{{ reward.text }}</div>
<div class="mx-auto separator spaced"></div>
<div class="text-lg-center fw-semibold progress-text">{{ reward.text }}</div>
</div>
{% endfor %}
</div>
Expand Down