summaryrefslogtreecommitdiff
path: root/web/static
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-16 18:19:18 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-16 18:20:08 -0700
commit94f9bdf20df4d728b6f787a59812cb4448080347 (patch)
treede917749e4d4751e1d7376c2d9d843dc87bae00d /web/static
parent5a0ba5de6092493df4e8add82cca33135acc4da2 (diff)
downloaddartboat-94f9bdf20df4d728b6f787a59812cb4448080347.tar.gz
dartboat-94f9bdf20df4d728b6f787a59812cb4448080347.tar.xz
web: add throw animation
Diffstat (limited to 'web/static')
-rw-r--r--web/static/style.css10
-rw-r--r--web/static/sw.js2
2 files changed, 11 insertions, 1 deletions
diff --git a/web/static/style.css b/web/static/style.css
index 47ae365..57c670a 100644
--- a/web/static/style.css
+++ b/web/static/style.css
@@ -372,6 +372,16 @@ body {
filter: drop-shadow(0 0 0.4rem #111);
}
+@keyframes throw-anim {
+ 0% { transform: scale(8); }
+ 100% { transform: scale(1); }
+}
+
+#controls #keypad-dartboard #dartboard g.overlay circle:last-child {
+ transform-box: fill-box;
+ transform-origin: center;
+}
+
#controls .key {
color: #ccc;
background-color: #282828;
diff --git a/web/static/sw.js b/web/static/sw.js
index ba14e30..13e75af 100644
--- a/web/static/sw.js
+++ b/web/static/sw.js
@@ -1,5 +1,5 @@
const CACHE_PREFIX = 'dartboat-'
-const CACHE_VERSION = '10';
+const CACHE_VERSION = '11';
const CACHE_NAME = `${CACHE_PREFIX}${CACHE_VERSION}`;
const CACHE_FILES = [