summaryrefslogtreecommitdiffhomepage
path: root/src/app.css
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-04-09 20:52:18 +0900
committerAdam Malczewski <[email protected]>2026-04-09 20:52:18 +0900
commitb5a5ea8d300284e0f473df0e514cdc642857b03c (patch)
treee791331edfcb3e75885a420d4f7e8bfe9a5f0506 /src/app.css
parentcbf41c0e495367bb3f582ea22aabdc03bd2d046d (diff)
downloadflashair-speedsync-b5a5ea8d300284e0f473df0e514cdc642857b03c.tar.gz
flashair-speedsync-b5a5ea8d300284e0f473df0e514cdc642857b03c.zip
auto-polling of new photos
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
index 9a009fc..9fffc26 100644
--- a/src/app.css
+++ b/src/app.css
@@ -7,3 +7,26 @@ html, body {
touch-action: pan-x pan-y;
overscroll-behavior: none;
}
+
+/*
+ * Reveal animation for newly detected sidebar images.
+ * Items use a CSS keyframe animation: start at max-height 0 (content clipped,
+ * not stretched) and grow to full natural height. The large max-height target
+ * ensures any item fits; the element collapses to its intrinsic height once done.
+ */
+.image-reveal {
+ overflow: hidden;
+}
+
+.image-reveal-enter {
+ animation: reveal-grow 600ms ease-out forwards;
+}
+
+@keyframes reveal-grow {
+ from {
+ max-height: 0;
+ }
+ to {
+ max-height: 500px;
+ }
+}