Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

1.1 KB
Raw Blame
/* Idea jar shell (0.7, Pixel): the jar icon's one wobble after a drop (spec §2.1, §3.4). 160 ms, once,
   transform only; nothing under reduced motion. */
@keyframes kwJarWobble {
  0%,
  100% {
    transform: rotate(0);
  }
  35% {
    transform: rotate(-3deg);
  }
  70% {
    transform: rotate(2deg);
  }
}
.kw-jar-wobble {
  transform-origin: 50% 100%;
  animation: kwJarWobble 160ms cubic-bezier(0.2, 0.7, 0.2, 1) 180ms both;
}
@media (prefers-reduced-motion: reduce) {
  .kw-jar-wobble {
    animation: none;
  }
}

/* Floating toasts and the phone tab bar (0.7 polish, Mira S7). One value for every view: the tab bar is
   57px (56px tabs and a 1px top border, PhoneTabBar) plus the home-indicator inset. While it is on
   screen, the Undo toast sits 8px above it instead of covering Jar, Inbox and Space. Without a tab bar
   (desktop, a phone chat or the board) it stays 16px from the bottom, as before. */
:root {
  --kw-tabbar-h: calc(57px + env(safe-area-inset-bottom, 0px));
  --kw-toast-bottom: 1rem;
}
:root:has([data-tab-bar]) {
  --kw-toast-bottom: calc(var(--kw-tabbar-h) + 8px);
}
.kw-undo-toast {
  bottom: var(--kw-toast-bottom);
}