grey na opacity - a zarovnani do stran

This commit is contained in:
ticvac 2025-01-22 13:12:09 +01:00
parent 0724030bef
commit 291d4e2d56
2 changed files with 3 additions and 2 deletions

View file

@ -26,9 +26,10 @@
.tres {
flex: 1;
text-align: end;
}
.grey {
.half-opacity {
opacity: 0.5;
}
}

View file

@ -18,7 +18,7 @@
{% for osoba in object_list %}
<div class="osoba">
<div class="uno">{{ osoba.jmeno }} {{ osoba.prijmeni }}</div>
<div class="dos {% if not osoba.jak_se_dozvedeli %}grey{% endif %}">{% if osoba.jak_se_dozvedeli %} {{osoba.jak_se_dozvedeli}} {% else %} NEZADÁNO {% endif %}</div>
<div class="dos {% if not osoba.jak_se_dozvedeli %}half-opacity{% endif %}">{% if osoba.jak_se_dozvedeli %} {{osoba.jak_se_dozvedeli}} {% else %} NEZADÁNO {% endif %}</div>
<div class="tres">{{ osoba.datum_registrace }}</div>
</div>
{% endfor %}