commit 70411bb6285f05ee497a1895df42a5aec7a41114 parent 05489e5946838385840a4797bdf1a189c2369685 Author: Sunny <122193933+Sunny-JP@users.noreply.github.com> Date: Tue, 27 Jan 2026 01:39:39 +0900 Merge pull request #29 from Sunny-JP/v4-sunny-dev current bar Diffstat:
| M | src/app/globals.css | | | 28 | ++++++++++------------------ |
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/src/app/globals.css b/src/app/globals.css @@ -202,32 +202,24 @@ body { color: var(--primary); position: relative; text-decoration: none; + overflow: hidden; } .slot-current::before { content: ""; position: absolute; - left: 5px; - top: 55%; - width: 5px; - height: 5px; - background-color: var(--primary); - border-radius: 50%; - box-shadow: 0 0 4px var(--primary); - animation: pulse-dot 2s infinite; - border-radius: 50%; + bottom: 0; + left: -100%; + width: 100%; + height: 2px; + background: linear-gradient(90deg, transparent, var(--primary), transparent); + animation: flow-line 3s infinite linear; } -@keyframes pulse-dot { +@keyframes flow-line { 0% { - opacity: 0; - transform: translateY(-50%) scale(0.5); - } - 50% { - opacity: 1; - transform: translateY(-50%) scale(1); + left: -150%; } 100% { - opacity: 0; - transform: translateY(-50%) scale(0.5); + left: 150%; } } .slot-tapped {