From 8b91cacfe2e5b24a5081658e207d5c03bc9ac61e Mon Sep 17 00:00:00 2001 From: tisachi Date: Tue, 20 Oct 2026 02:00:50 +0200 Subject: [PATCH] Web: wiazania doklejone do krawedzi kart - usuniete plywanie kafelki (drift) --- web/src/sections/Ecosystem.tsx | 18 +++++----- web/src/styles.css | 60 ---------------------------------- 2 files changed, 9 insertions(+), 69 deletions(-) diff --git a/web/src/sections/Ecosystem.tsx b/web/src/sections/Ecosystem.tsx index f6d9851..0a12774 100644 --- a/web/src/sections/Ecosystem.tsx +++ b/web/src/sections/Ecosystem.tsx @@ -58,7 +58,7 @@ const HUB_RADIUS = 78; /** * Diagram rdzenia (lg+): kafelki uczestników z naturalną wysokością (nic się nie - * ucina), przerywane wiązania mierzone w DOM (ResizeObserver) i delikatny dryf. + * ucina) i przerywane wiązania mierzone w DOM (ResizeObserver). */ function HubDiagram() { const containerRef = useRef(null); @@ -154,23 +154,23 @@ function HubDiagram() { -
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/web/src/styles.css b/web/src/styles.css index ec855cb..3924c8f 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -165,59 +165,6 @@ animation: dash-flow 1.4s linear infinite; } -/* Delikatne pływanie kafelków uczestników wokół rdzenia */ -@keyframes drift-1 { - from { - transform: translate3d(0, 0, 0) rotate(0deg); - } - to { - transform: translate3d(0, -9px, 0) rotate(-0.5deg); - } -} - -@keyframes drift-2 { - from { - transform: translate3d(0, 0, 0) rotate(0deg); - } - to { - transform: translate3d(7px, 6px, 0) rotate(0.5deg); - } -} - -@keyframes drift-3 { - from { - transform: translate3d(0, 0, 0) rotate(0deg); - } - to { - transform: translate3d(-7px, 8px, 0) rotate(-0.4deg); - } -} - -@keyframes drift-4 { - from { - transform: translate3d(0, 0, 0) rotate(0deg); - } - to { - transform: translate3d(6px, -8px, 0) rotate(0.4deg); - } -} - -.drift-1 { - animation: drift-1 9s ease-in-out infinite alternate; -} - -.drift-2 { - animation: drift-2 11s ease-in-out infinite alternate; -} - -.drift-3 { - animation: drift-3 13s ease-in-out infinite alternate; -} - -.drift-4 { - animation: drift-4 10s ease-in-out infinite alternate; -} - /* Wejścia sekcji na scroll (IntersectionObserver dodaje .revealed) */ .reveal { opacity: 0; @@ -331,13 +278,6 @@ animation: none; } - .drift-1, - .drift-2, - .drift-3, - .drift-4 { - animation: none; - } - .reveal { opacity: 1; transform: none;