From 0606f56dc242aa68213858ee299940add5e40d52 Mon Sep 17 00:00:00 2001 From: RanXom Date: Sat, 13 Jun 2026 20:18:24 +0530 Subject: update timer animation and update edition in Cargo.toml --- desktop/src/App.css | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'desktop/src/App.css') diff --git a/desktop/src/App.css b/desktop/src/App.css index 5d91f30..fc05349 100644 --- a/desktop/src/App.css +++ b/desktop/src/App.css @@ -346,7 +346,9 @@ font-weight: 700; white-space: pre; text-align: center; - transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); + margin: 0; + padding: 0; + transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease; } .ascii-art-timer.work { @@ -364,22 +366,22 @@ text-shadow: 0 0 10px var(--long-break-dim); } -.crossfade-in { - animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; +.scroll-in { + animation: scrollIn 0.3s ease-in-out forwards; } -.crossfade-out { - animation: fadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; +.scroll-out { + animation: scrollOut 0.3s ease-in-out forwards; } -@keyframes fadeIn { - from { opacity: 0; filter: blur(2px); transform: scale(0.98); } - to { opacity: 1; filter: blur(0); transform: scale(1); } +@keyframes scrollIn { + from { transform: translateY(105%); } + to { transform: translateY(0); } } -@keyframes fadeOut { - from { opacity: 1; filter: blur(0); transform: scale(1); } - to { opacity: 0; filter: blur(2px); transform: scale(1.02); } +@keyframes scrollOut { + from { transform: translateY(0); } + to { transform: translateY(-105%); } } /* Timer Edit Input */ -- cgit v1.2.3