Lepší odlišení zmáčknutých a nezmáčknutých tagů

This commit is contained in:
Jonas Havelka 2025-03-05 13:06:30 +01:00
parent c004e4f6d2
commit b872e6693e
2 changed files with 3 additions and 2 deletions

View file

@ -168,7 +168,8 @@ form {
margin: 2px;
padding: 2px;
&[data-selected="false"] { opacity: 0.7; }
&[data-selected="false"] { background: unset !important; }
/*&[data-selected="true"] { border-color: unset !important; }*/
}
/* Šipky na posouvání korektur */

View file

@ -7,7 +7,7 @@
<br/>
<span id="commform-tagy">
{% for tag in tagy %}
<button type="button" class="korektury-tag" value="{{tag.id}}" data-selected="false" style="background: {{ tag.barva }};">{{tag.nazev}}</button>
<button type="button" class="korektury-tag" value="{{tag.id}}" data-selected="false" style="background: {{ tag.barva }}; border-color: {{ tag.barva }};">{{tag.nazev}}</button>
{% endfor %}
</span>
</div>