aboutsummaryrefslogtreecommitdiff
path: root/desktop/src/App.css
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-06-13 20:18:24 +0530
committerRanXom <saiyedshizain@gmail.com>2026-06-13 20:18:24 +0530
commit0606f56dc242aa68213858ee299940add5e40d52 (patch)
treefcf25a33877a8b34b02713afaec789002c9ff0c0 /desktop/src/App.css
parenta8f378220f7f59320528cf983c09ad8887473892 (diff)
downloadpomoru-0606f56dc242aa68213858ee299940add5e40d52.tar.xz
pomoru-0606f56dc242aa68213858ee299940add5e40d52.zip
update timer animation and update edition in Cargo.toml
Diffstat (limited to 'desktop/src/App.css')
-rw-r--r--desktop/src/App.css24
1 files changed, 13 insertions, 11 deletions
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 */