crimata-os/ui/styles/login.css
Andrew Gundersen 31b5e321a1 Add crimata-agent and redesign agentic OS UI
- crimata-agent (TypeScript, port 7702): WebSocket server + HTTP /events
  endpoint, Claude tool-use loop (render/remove/call_api/show_cursor_response),
  session.start fires on first browser connection to seed the canvas
- OS UI redesigned: light grey canvas (#e8e8e8), no dock bar, cursor dot,
  Cmd+Space input bubble above cursor, elements placed by agent
- Canvas elements: app_icon (floating icons with running dot), window (no-chrome
  content cards), cursor_response (text + action pills)
- Component system: HTML fragments fetched from /components/{app}/{name}.html,
  inline scripts re-executed after injection
- contacts/crimata.json: added icon, defaultComponent, components[], api[]
- dock: apps.h/c/main.c extended to parse and serve components + api from
  crimata.json; BUF_SIZE increased for richer JSON output
- ui/components/contacts/list.html + card.html: first component pair
- provision.sh: installs crimata-agent, adds WebSocket + /events + /components
  nginx locations, fixes /auth/ prefix stripping

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 15:52:05 -05:00

77 lines
1.3 KiB
CSS

#login-overlay {
position: fixed;
inset: 0;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(232, 232, 232, 0.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.login-card {
background: white;
border-radius: 20px;
padding: 40px 44px;
width: 340px;
display: flex;
flex-direction: column;
gap: 14px;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
.login-card h1 {
font-size: 1.3rem;
font-weight: 600;
color: #1a1a1a;
letter-spacing: -0.02em;
text-align: center;
margin-bottom: 6px;
}
.login-card input {
width: 100%;
padding: 12px 14px;
border-radius: 10px;
border: 1.5px solid #e0e0e0;
background: #fafafa;
color: #1a1a1a;
font-size: 0.95rem;
outline: none;
transition: border-color 0.15s;
cursor: text;
}
.login-card input::placeholder {
color: #bbb;
}
.login-card input:focus {
border-color: #aaa;
background: white;
}
.login-card button {
padding: 12px;
border-radius: 10px;
border: none;
background: #1a1a1a;
color: white;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: background 0.15s;
margin-top: 4px;
}
.login-card button:hover {
background: #333;
}
.login-error {
font-size: 0.83rem;
color: #e53e3e;
text-align: center;
min-height: 1.2em;
}