Implement Web Assets' theme system and selection, and add 'light' theme #118
@ -278,6 +278,7 @@
|
|||||||
align-items: center
|
align-items: center
|
||||||
color: var(--color-text-secondary)
|
color: var(--color-text-secondary)
|
||||||
font-size: var(--fs-sm)
|
font-size: var(--fs-sm)
|
||||||
|
line-height: var(--lh-sm)
|
||||||
margin: auto 0 0 0
|
margin: auto 0 0 0
|
||||||
|
|
||||||
&+.ext-list-details
|
&+.ext-list-details
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<ul class="ext-list-details mt-1">
|
<ul class="ext-list-details mt-1">
|
||||||
{% if extension.average_score %}
|
{% if extension.average_score %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ extension.get_ratings_url }}">
|
<a class="align-items-center d-flex" href="{{ extension.get_ratings_url }}">
|
||||||
{% include "ratings/components/average.html" with score=extension.average_score %}
|
{% include "ratings/components/average.html" with score=extension.average_score %}
|
||||||
({{ extension.text_ratings_count|int_compact }})
|
({{ extension.text_ratings_count|int_compact }})
|
||||||
</a>
|
</a>
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
<dt>{% trans 'Rating' %}</dt>
|
<dt>{% trans 'Rating' %}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{% if extension.average_score %}
|
{% if extension.average_score %}
|
||||||
<a href="{{ extension.get_ratings_url }}" class="text-decoration-none">
|
<a href="{{ extension.get_ratings_url }}" class="align-items-center d-flex stars-helper-detail text-decoration-none">
|
||||||
{% include "ratings/components/average.html" with score=extension.average_score %}
|
{% include "ratings/components/average.html" with score=extension.average_score %}
|
||||||
({{ extension.ratings.listed.count }})
|
({{ extension.ratings.listed.count }})
|
||||||
</a>
|
</a>
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
-webkit-mask-size: var(--star-size) var(--star-size)
|
-webkit-mask-size: var(--star-size) var(--star-size)
|
||||||
mask-size: var(--star-size) var(--star-size)
|
mask-size: var(--star-size) var(--star-size)
|
||||||
text-align: left
|
text-align: left
|
||||||
|
transform: translateY(-.2rem)
|
||||||
width: var(--stars-number)
|
width: var(--stars-number)
|
||||||
|
|
||||||
span
|
span
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
{% blocktranslate asvar title with score=score %}Rated {{ score }} out of 5{% endblocktranslate %}
|
{% blocktranslate asvar title with score=score %}Rated {{ score }} out of 5{% endblocktranslate %}
|
||||||
|
|
||||||
<span class="stars{% if size %} {{ size }}{% endif %}" title="{{ title }}">
|
<span class="stars me-1 {% if size %} {{ size }}{% endif %}" title="{{ title }}">
|
||||||
<span style="width: {% widthratio score 5 100 %}%"></span>
|
<span style="width: {% widthratio score 5 100 %}%"></span>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user