Routing: soft signal pulse on connected crosspoints

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 18:28:11 +01:00
1 parent a75b803264
commit 5c391d932c
1 file changed
+17
+17
View File
@@ -946,3 +946,20 @@ body.dashonly #btn-muteall { margin-left: auto; }
body.dashonly .dlink { cursor: default; }
.limled.gainlim { margin: 0 2px 0 auto; font-size: 10px; }
.limled.barlim { margin: 0 2px; font-size: 10px; }
/* ---- routing: a soft pulse runs down from the input into the crosspoint, then out along the output */
.xp.on .node { position: relative; z-index: 1; }
.xp.on::before, .xp.on::after { content: ""; position: absolute; pointer-events: none; --pulse: color-mix(in srgb, var(--cc) 35%, #fff); opacity: 0; }
.xp.on::before { top: 0; left: calc(50% - 1.5px); width: 3px; height: 50%;
background: linear-gradient(transparent, var(--pulse), transparent) 0 0 / 100% 16px no-repeat; animation: xpdown 2.8s linear infinite; }
.xp.on::after { top: calc(50% - 1.5px); left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, transparent, var(--pulse), transparent) 50% 0 / 16px 100% no-repeat,
linear-gradient(90deg, transparent, var(--pulse), transparent) 50% 0 / 16px 100% no-repeat; animation: xpout 2.8s linear infinite; }
@keyframes xpdown {
0% { background-position: 0 -16px; opacity: 0; } 8% { opacity: .9; }
35% { background-position: 0 100%; opacity: .9; } 40%, 100% { background-position: 0 100%; opacity: 0; }
}
@keyframes xpout {
0%, 35% { background-position: 50% 0, 50% 0; opacity: 0; } 42% { opacity: .9; }
85% { opacity: .5; } 92%, 100% { background-position: 0% 0, 100% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .xp.on::before, .xp.on::after { animation: none; } }