diff --git a/CHANGELOG.md b/CHANGELOG.md index dea0b07..feac810 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,8 @@ every change carries a descriptive commit message. title hints "Insert next card". The speaker button next to the status mutes the chime and the choice is remembered (`simple_ram_batch_sound`); the chime is unlocked by the Start click (browser autoplay policy); reduced-motion users get the static card-above- - the-slot picture. + the-slot picture. The card follows the app's SIM silhouette (`sim.svg`): a cut corner + and the contact pad, sliding behind the reader bar. ### Changed diff --git a/frontend/index.html b/frontend/index.html index 187d727..af59daa 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1919,15 +1919,17 @@
Working... diff --git a/frontend/src/style.css b/frontend/src/style.css index 23ec191..a541db3 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -10,13 +10,14 @@ run waits. The static transform is the reduced-motion fallback: the card rests above the slot. */ .ram-insert-card { - transform: translateY(-14px); + /* the resting position is the card just above the slot (0); the insert + slide takes it 20px down, behind the reader front */ animation: ram-insert 2.8s ease-in-out infinite; } @keyframes ram-insert { - 0%, 12% { transform: translateY(-14px); } - 45%, 55% { transform: translateY(10px); } - 88%, 100% { transform: translateY(-14px); } + 0%, 12% { transform: translateY(0); } + 45%, 55% { transform: translateY(20px); } + 88%, 100% { transform: translateY(0); } } .ram-insert-glow { animation: ram-insert-glow 1.4s ease-in-out infinite; diff --git a/frontend/style.css b/frontend/style.css index 3d80922..01f5c1e 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -1944,21 +1944,22 @@ video { rests above the slot. */ .ram-insert-card { - transform: translateY(-14px); + /* the resting position is the card just above the slot (0); the insert + slide takes it 20px down, behind the reader front */ animation: ram-insert 2.8s ease-in-out infinite; } @keyframes ram-insert { 0%, 12% { - transform: translateY(-14px); + transform: translateY(0); } 45%, 55% { - transform: translateY(10px); + transform: translateY(20px); } 88%, 100% { - transform: translateY(-14px); + transform: translateY(0); } } diff --git a/frontend/sw.js b/frontend/sw.js index 32c58ba..8bce6cf 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'simple-v471'; +const CACHE = 'simple-v472'; const URLS = [ 'index.html', 'help.html',