aboutsummaryrefslogtreecommitdiff
path: root/src/index.css
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-05 17:13:03 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-05 17:23:39 +1100
commit442c0bbffc5c372c7ec3510914968f75ab6e4a4f (patch)
treebc3ae52ec3954ce574961bce9d64f2d02516d18b /src/index.css
parenta3b13e700d8d65e27c1d90960b6ab6292e433c2c (diff)
Add partially-complete search modal
For now, use placeholder code for jumping to a search result. Add db index for case-insensitive event title searching. Make type=info requests accept title instead of ID (for looking up a searched-for title). Make EventInfo contain an Event field (for showing info in search suggestions). Add titleToEvent map in App, for use by SearchModal to look up searched-for titles. Add keyboard shortcuts to open/close search and info modals.
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 e050c82..e16c538 100644
--- a/src/index.css
+++ b/src/index.css
@@ -25,6 +25,19 @@
opacity: 1;
}
}
+.animate-red-then-fade {
+ animation-name: red-then-fade;
+ animation-duration: 500ms;
+ animation-timing-function: ease-in;
+}
+@keyframes red-then-fade {
+ from {
+ background-color: rgba(255,0,0,0.2);
+ }
+ to {
+ background-color: transparent;
+ }
+}
/* Other */
@font-face {