thumbnail view: Show colored marker when video already started

master
Felix Stupp 2 years ago
parent eab216407d
commit d1a303caa5
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -220,6 +220,9 @@
bottom: 0;
right: 0;
}
.thumbnail_view > .length.started {
--box-color: rgba(20, 117, 0, 0.6);
}
.thumbnail_title {
padding: .1rem;
white-space: normal;
@ -409,7 +412,10 @@
<span class="release_date" title="{{ element.release_date.strftime('%d.%m.%Y') }}">
{{ element.release_date | time_since }}
</span>
<span class="length">
<span class="length
{%- if element.started %} started
{%- endif -%}
">
{{- element.length | timedelta -}}
</span>
</div>

Loading…
Cancel
Save