forked from rDrama/rDrama
Re-implement confetti award.
To replace the implementation of the confetti award, we now use an animated WebP tiled as a background image on a fixed overlay. This should alleviate the previous performance concerns (no runtime calculation of confetti mechanics & rendering) and maintainable concerns.master
parent
4847000f67
commit
517e5ec3b3
|
@ -10,7 +10,7 @@
|
|||
<style>:root{--primary:#{{v.themecolor}}}</style>
|
||||
<link rel="stylesheet" href="/assets/css/main.css?v=272">
|
||||
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
|
||||
<link rel="stylesheet" href="/assets/css/awards.css?v=4">
|
||||
<link rel="stylesheet" href="/assets/css/awards.css?v=5">
|
||||
{% if v.agendaposter %}
|
||||
<style>
|
||||
html {
|
||||
|
@ -36,7 +36,7 @@
|
|||
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
|
||||
<link rel="stylesheet" href="/assets/css/main.css?v=272">
|
||||
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
|
||||
<link rel="stylesheet" href="/assets/css/awards.css?v=4">
|
||||
<link rel="stylesheet" href="/assets/css/awards.css?v=5">
|
||||
{% endif %}
|
||||
|
||||
{% if request.path == '/catalog' %}
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if p.award_count("confetti") %}
|
||||
{# TODO: Confetti temporarily removed. #}
|
||||
<div id="confetti"></div>
|
||||
{% endif %}
|
||||
|
||||
{% if p.award_count("firework") %}
|
||||
|
|
Loading…
Reference in New Issue