Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

1.4 KB
Raw Blame
/* Share's menu: a glass card under the button, its rows the height of the actions beside it. */
.share{position:relative;display:inline-flex}
.menu{position:absolute;top:calc(100% + 8px);right:0;z-index:10;display:flex;flex-direction:column;min-width:228px;padding:6px;border-radius:14px;background:rgba(255,255,255,.93);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border:1px solid rgba(36,36,36,.08);box-shadow:0 12px 32px rgba(36,36,36,.12),0 2px 6px rgba(36,36,36,.05);animation:menuIn .16s ease-out;transform-origin:top right}
.share .menu>button,.share .menu>a{display:flex;align-items:center;gap:11px;width:100%;height:38px;padding:0 11px;border-radius:9px;font-size:13px;color:#333;text-align:left;white-space:nowrap;transition:background-color .12s}
.share .menu>button:hover,.share .menu>a:hover{background:rgba(36,36,36,.06)}
.share .menu>button:focus-visible,.share .menu>a:focus-visible{background:rgba(36,36,36,.06);outline:2px solid #242424;outline-offset:-2px}
.menu svg{width:16px;height:16px;flex-shrink:0}
.menu hr{height:1px;margin:5px 6px;border:0;background:rgba(36,36,36,.08)}
.share .menu .done{color:#2f7a4f}
@keyframes menuIn{from{opacity:0;transform:translateY(-4px) scale(.98)}}
@media(prefers-reduced-motion:reduce){.menu{animation:none}}
@media(max-width:480px){.menu{right:auto;left:50%;translate:-50% 0;transform-origin:top center}}