Routing: white level text, short animation when switching; lock option in the PIN card
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2fbb5e7424
commit
3ce0334aea
2 files changed
+23
-8
No files matched your search
+14
-2
@@ -964,6 +964,18 @@ body.dashonly .dlink { cursor: default; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { .xp.on::before, .xp.on::after { animation: none; } }
|
||||
/* level of a connection inside its point */
|
||||
.xp.on .node { width: 36px; height: 36px; border-width: 2px; transform: none; }
|
||||
.xp.on .node { width: 36px; height: 36px; border-width: 2px; transform: none; background: color-mix(in srgb, var(--cc) 62%, #0b0c0f); border-color: var(--cc); }
|
||||
.xp.on small { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; pointer-events: none;
|
||||
font-size: 10px; font-weight: 700; letter-spacing: -.02em; color: #0b0c0f; }
|
||||
font-size: 10px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
|
||||
/* routing switched: the point pops in or sinks away, a soft ring spreads once */
|
||||
.xp.fx .node { position: relative; }
|
||||
.xp.fx .node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cc); opacity: 0; pointer-events: none; animation: xpring .5s ease-out; }
|
||||
.xp.fx.on .node { animation: xpin .28s cubic-bezier(.3, 1.4, .5, 1); }
|
||||
.xp.fx:not(.on) .node { animation: xpoff .3s ease-out; }
|
||||
.xp.fx.on small { animation: xptext .3s ease-out; }
|
||||
@keyframes xpring { from { transform: scale(1); opacity: .55; } to { transform: scale(1.8); opacity: 0; } }
|
||||
@keyframes xpin { from { transform: scale(.6); } }
|
||||
@keyframes xpoff { from { transform: scale(1.45); background: color-mix(in srgb, var(--cc) 45%, var(--bg)); border-color: var(--cc); } }
|
||||
@keyframes xptext { from { opacity: 0; } }
|
||||
@media (prefers-reduced-motion: reduce) { .xp.fx .node, .xp.fx .node::after, .xp.fx.on small { animation: none; } }
|
||||
.lockopt { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
|
||||
Reference in new issue
Block a user