| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>Tomato — focus screen</title>
- <style>
- :root {
- --bg: #fafaf9; --fg: #1c1b1a; --muted: #6b6964; --border: #e6e4e0;
- --accent: #c96442; --surface: #ffffff;
- }
- * { box-sizing: border-box; }
- body { margin: 0; min-height: 100vh; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 32px; font: 14px/1.5 -apple-system, system-ui, sans-serif; color: var(--fg); }
- .frame { width: 390px; height: 844px; background: black; border-radius: 56px; padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.18); position: relative; }
- .frame::before { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; background: black; border-radius: 999px; z-index: 5; }
- .screen { width: 100%; height: 100%; background: var(--bg); border-radius: 44px; overflow: hidden; display: flex; flex-direction: column; }
- .status { padding: 14px 24px 6px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
- .status .right { display: flex; gap: 6px; align-items: center; }
- .header { padding: 56px 24px 24px; }
- .header .greeting { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
- .header h1 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
- .timer-card { margin: 12px 24px; background: var(--accent); color: white; border-radius: 24px; padding: 28px 24px; text-align: center; }
- .timer-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; margin: 0 0 4px; }
- .timer-card .countdown { font-size: 64px; line-height: 1; letter-spacing: -0.03em; font-weight: 600; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
- .timer-card .progress { height: 6px; background: rgba(255,255,255,0.25); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
- .timer-card .progress > span { display: block; width: 38%; height: 100%; background: white; }
- .timer-card .actions { display: flex; gap: 10px; justify-content: center; }
- .timer-card button { font: inherit; cursor: pointer; padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); color: white; font-weight: 500; }
- .timer-card button.primary { background: white; color: var(--accent); border-color: white; }
- .section { padding: 18px 24px 0; }
- .section .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 10px; }
- .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
- .stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
- .stat .v { font-size: 22px; letter-spacing: -0.01em; line-height: 1; margin-bottom: 4px; }
- .stat .l { font-size: 11px; color: var(--muted); }
- .tasks { padding: 18px 24px 8px; }
- .task { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
- .task:first-child { border-top: none; }
- .check { width: 20px; height: 20px; border: 1.5px solid var(--border); border-radius: 50%; flex-shrink: 0; }
- .task.done .check { background: var(--accent); border-color: var(--accent); }
- .task.done .check::after { content: '✓'; color: white; font-size: 13px; display: block; text-align: center; line-height: 18px; }
- .task .body { flex: 1; }
- .task .title { font-size: 14.5px; line-height: 1.3; }
- .task.done .title { color: var(--muted); text-decoration: line-through; }
- .task .meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
- .tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 16px 28px; border-top: 1px solid var(--border); background: var(--surface); }
- .tab { text-align: center; color: var(--muted); font-size: 11px; padding: 6px 0; }
- .tab.active { color: var(--accent); font-weight: 500; }
- .tab .icon { font-size: 18px; line-height: 1; margin-bottom: 4px; }
- </style>
- </head>
- <body>
- <div class="frame" data-od-id="frame">
- <div class="screen">
- <div class="status"><span>9:41</span><span class="right">·· 5G · 100%</span></div>
- <div class="header" data-od-id="header">
- <p class="greeting">Tuesday · April 22</p>
- <h1>Two pomodoros to lunch.</h1>
- </div>
- <div class="timer-card" data-od-id="timer">
- <p class="label">Focus session</p>
- <div class="countdown">15:42</div>
- <div class="progress"><span></span></div>
- <div class="actions">
- <button>Skip</button>
- <button class="primary">Pause</button>
- </div>
- </div>
- <div class="section" data-od-id="stats">
- <p class="label">Today</p>
- <div class="stats">
- <div class="stat"><div class="v">3</div><div class="l">Sessions</div></div>
- <div class="stat"><div class="v">75m</div><div class="l">Focused</div></div>
- <div class="stat"><div class="v">2</div><div class="l">Tasks done</div></div>
- </div>
- </div>
- <div class="tasks" data-od-id="tasks">
- <p class="section label" style="padding: 0;">Up next</p>
- <div class="task done"><div class="check"></div><div class="body"><div class="title">Review Q2 OKRs</div><div class="meta">25m · completed</div></div></div>
- <div class="task"><div class="check"></div><div class="body"><div class="title">Draft sync-engine post</div><div class="meta">2 sessions estimated</div></div></div>
- <div class="task"><div class="check"></div><div class="body"><div class="title">1:1 prep with Mira</div><div class="meta">1 session</div></div></div>
- </div>
- <nav class="tabbar" data-od-id="tabbar">
- <div class="tab active"><div class="icon">⏱</div>Focus</div>
- <div class="tab"><div class="icon">✓</div>Tasks</div>
- <div class="tab"><div class="icon">📊</div>Stats</div>
- <div class="tab"><div class="icon">⚙</div>Settings</div>
- </nav>
- </div>
- </div>
- </body>
- </html>
|