Implement Web Assets' theme system and selection, and add 'light' theme #118
@ -63,6 +63,11 @@
|
|||||||
--star-size: 1.6em
|
--star-size: 1.6em
|
||||||
width: 8em
|
width: 8em
|
||||||
|
|
||||||
|
// TODO: refactor stars-helper
|
||||||
|
.stars-helper
|
||||||
|
max-height: 1.4rem
|
||||||
|
transform: translateY(-.1rem)
|
||||||
|
|
||||||
.ratings-summary
|
.ratings-summary
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
|
@ -14,14 +14,12 @@
|
|||||||
{{ rating.user }}
|
{{ rating.user }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="me-auto">
|
<li class="align-items-center d-flex me-auto">
|
||||||
<div class="align-items-center d-flex">
|
|
||||||
{% with score_percentage=rating.score %}
|
{% with score_percentage=rating.score %}
|
||||||
<a href="{{ extension.get_ratings_url }}?score={{ rating.score }}">
|
<a class="stars-helper" href="{{ extension.get_ratings_url }}?score={{ rating.score }}">
|
||||||
{% include "ratings/components/average.html" with score=rating.score %}
|
{% include "ratings/components/average.html" with score=rating.score %}
|
||||||
</a>
|
</a>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</div>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ extension.get_versions_url }}#v{{ rating.version.version|slugify }}">
|
<a href="{{ extension.get_versions_url }}#v{{ rating.version.version|slugify }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user