aboutsummaryrefslogtreecommitdiff
path: root/src/index.css
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-15 12:25:08 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-15 12:25:08 +1100
commit356ffa2250c66c442cfa8c4e638ca53926396a65 (patch)
treecbfd3d2229df6a1b3c0e4837bcc7aff5c624c8a5 /src/index.css
parente045f6461b5ceabb285b00fb9db0050a3d1f9d8d (diff)
Add visual indication of pan/zoom failure
Add tick display data to Tick objects Add 'movement fail' divs Add animateWithClass() utility function Add animate-show-then-fade class
Diffstat (limited to 'src/index.css')
-rw-r--r--src/index.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/index.css b/src/index.css
index 2a7819b..e0545a1 100644
--- a/src/index.css
+++ b/src/index.css
@@ -38,6 +38,19 @@
background-color: transparent;
}
}
+.animate-show-then-fade {
+ animation-name: show-then-fade;
+ animation-duration: 500ms;
+ animation-timing-function: ease-in;
+}
+@keyframes show-then-fade {
+ from {
+ opacity: 1;
+ }
+ to {
+ opacity: 0;
+ }
+}
.animate-flash-yellow {
animation-name: flash-yellow;
animation-duration: 700ms;