tweak rating star color

This commit is contained in:
Your Name 2024-04-14 20:40:18 -04:00 committed by Henri Dickson
parent 475b9b9467
commit 0e45f1a1b8
3 changed files with 6 additions and 3 deletions

View file

@ -45,10 +45,12 @@
<div>
<a href="{{ mark.owner.url }}" title="@{{ mark.owner.handle }}">{{ mark.owner.display_name }}</a>
<span>{{ mark.action_label }}</span>
{% if mark.rating_grade %}{{ mark.rating_grade|rating_star }}{% endif %}
{% if mark.comment.item != item %}<a href="{{ mark.comment.item_url }}">{{ mark.comment.item.title }}</a>{% endif %}
</div>
<div>{{ mark.comment.html|safe }}</div>
<div>
{% if mark.rating_grade %}{{ mark.rating_grade|rating_star }}{% endif %}
{{ mark.comment.html|safe }}
</div>
{% if mark.comment.latest_post %}<div id="replies_{{ mark.comment.latest_post.pk }}"></div>{% endif %}
</section>
{% endwith %}

View file

@ -95,7 +95,7 @@
.rating-star {
position: relative;
vertical-align: bottom;
color: var(--pico-mark-background-color);
color: #FDA36E;
font-family: FontAwesome;
display: inline-block;
}

View file

@ -15,6 +15,7 @@
<meta property="og:site_name" content="{{ site_name }}">
<title>{{ site_name }} - {% trans '登录' %}</title>
{% include "common_libs.html" %}
<meta name="robots" content="noindex">
<script src="{{ cdn_url }}/npm/@tarekraafat/autocomplete.js@10.2.7/dist/autoComplete.min.js"></script>
<script src="{{ cdn_url }}/npm/js-cookie@3.0.5/dist/js.cookie.min.js"></script>
<script>