Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

1.5 KB
Raw Blame
/* Getting Started walkthrough animations. Kept in a shared stylesheet (imported
   by both the invite bubble and the overlay) so keyframes exist regardless of
   which component is mounted. */

@keyframes wt-invite-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.walkthrough-invite-enter { animation: wt-invite-enter 0.25s ease-out; }

@keyframes wt-card-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.walkthrough-card-enter { animation: wt-card-enter 0.2s ease-out; }

/* The dim surround is drawn by the overlay's SVG mask; this is just the pulsing
   cyan ring around the primary target (outline so it sits outside the border). */
.walkthrough-spotlight--pulse { animation: wt-pulse 1.8s ease-in-out infinite; }
@keyframes wt-pulse {
  0%, 100% { outline: 0px solid rgba(0, 212, 255, 0.55); }
  50% { outline: 7px solid rgba(0, 212, 255, 0); }
}

/* While the tour runs, app modals must not add their own dim/blur — the overlay's
   SVG spotlight is the single source of dimming, so a ringed sidebar/toolbar
   control behind an open modal stays crisp instead of being double-dimmed and
   blurred by the modal's own backdrop. */
body.walkthrough-running [data-slot="dialog-overlay"] {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .walkthrough-invite-enter,
  .walkthrough-card-enter,
  .walkthrough-spotlight--pulse { animation: none; }
}