fix: background images in production
This commit is contained in:
parent
31c3c820fd
commit
2bb22a0e78
|
@ -1 +1 @@
|
||||||
__version__ = "0.6.0"
|
__version__ = "0.7.0"
|
||||||
|
|
|
@ -33,12 +33,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.rating-container > .rating > input[type=radio]:checked ~ .rating-point {
|
.rating-container > .rating > input[type=radio]:checked ~ .rating-point {
|
||||||
background-image: url(point-fill.svg);
|
background-image: url(static('pretalx_musicrate/point-fill.svg'));
|
||||||
}
|
}
|
||||||
|
|
||||||
.rating-container > .rating > .rating-point {
|
.rating-container > .rating > .rating-point {
|
||||||
--max-size: calc((100vw - 2em - 2 * 0.1em * var(--num-choices)) / var(--num-choices));
|
--max-size: calc((100vw - 2em - 2 * 0.1em * var(--num-choices)) / var(--num-choices));
|
||||||
background: url(point-stroke.svg) no-repeat center/100%;
|
background: url(static('pretalx_musicrate/point-stroke.svg')) no-repeat center/100%;
|
||||||
height: 3em;
|
height: 3em;
|
||||||
margin: 0 0.1em;
|
margin: 0 0.1em;
|
||||||
max-height: var(--max-size);
|
max-height: var(--max-size);
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{% block submission_header %}
|
{% block submission_header %}
|
||||||
{% compress css %}
|
{% compress css %}
|
||||||
<link rel="stylesheet" href="{% static "pretalx_musicrate/rating.css" %}">
|
<link rel="stylesheet" type="text/x-scss" href="{% static "pretalx_musicrate/rating.scss" %}">
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
{% compress js %}
|
{% compress js %}
|
||||||
<script defer src="{% static "pretalx_musicrate/rating.js" %}"></script>
|
<script defer src="{% static "pretalx_musicrate/rating.js" %}"></script>
|
||||||
|
|
Loading…
Reference in New Issue