| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Clock UI</title> |
| <style> |
| :root{ |
| --bg:#1f1a1d; |
| --text:#e8dcde; |
| --muted:#cfc2c6; |
| --accent:#f6a9c2; |
| --pill:#4a3a41; |
| --icon:#d9cdd0; |
| } |
| body{margin:0; padding:0; background:transparent; font-family: Arial, Helvetica, sans-serif;} |
| #render-target{ |
| position:relative; |
| width:1080px; height:2400px; |
| overflow:hidden; |
| background:var(--bg); |
| color:var(--text); |
| } |
| |
| |
| .status-bar{ |
| position:absolute; top:0; left:0; right:0; |
| height:90px; padding:24px 30px 0 30px; |
| display:flex; justify-content:space-between; align-items:flex-start; |
| font-size:34px; color:#fff; |
| letter-spacing:0.5px; |
| } |
| .status-right{display:flex; align-items:center; gap:26px;} |
| .status-icon svg{width:40px; height:40px; fill:#fff;} |
| .battery{display:flex; align-items:center;} |
| .battery svg{width:52px; height:32px;} |
| |
| |
| .title{ |
| position:absolute; top:160px; left:72px; |
| font-size:64px; font-weight:600; color:var(--text); |
| } |
| |
| |
| .menu-dots{ |
| position:absolute; top:170px; right:44px; |
| display:flex; flex-direction:column; gap:14px; |
| } |
| .menu-dots span{ |
| width:10px; height:10px; border-radius:50%; |
| background:var(--muted); display:block; |
| } |
| |
| |
| .time-wrap{ |
| position:absolute; top:360px; left:72px; |
| display:flex; align-items:baseline; gap:20px; |
| } |
| .time-main{font-size:200px; line-height:1; font-weight:600; letter-spacing:4px; color:var(--text);} |
| .time-ampm{font-size:72px; color:var(--muted); font-weight:600; letter-spacing:3px;} |
| |
| .date{ |
| position:absolute; top:650px; left:72px; |
| font-size:60px; color:var(--muted); |
| } |
| |
| |
| .fab{ |
| position:absolute; left:50%; top:1660px; |
| transform:translateX(-50%); |
| width:260px; height:260px; border-radius:50%; |
| background:var(--accent); |
| box-shadow:0 8px 24px rgba(0,0,0,0.4); |
| display:flex; align-items:center; justify-content:center; |
| } |
| .fab svg{width:96px; height:96px; fill:#2a1f24;} |
| |
| |
| .bottom-bar{ |
| position:absolute; left:0; bottom:0; |
| width:100%; height:320px; |
| background:#2a2225; |
| padding-top:42px; |
| box-sizing:border-box; |
| } |
| .nav-items{ |
| display:flex; justify-content:space-around; align-items:flex-end; |
| width:100%; |
| padding:0 40px; |
| } |
| .nav-item{ |
| width:180px; text-align:center; color:var(--muted); |
| position:relative; |
| } |
| .nav-item svg{width:72px; height:72px; fill:var(--icon);} |
| .nav-label{margin-top:16px; font-size:40px;} |
| .selected .pill{ |
| position:absolute; top:-16px; left:50%; transform:translateX(-50%); |
| width:190px; height:110px; background:var(--pill); border-radius:56px; opacity:1; |
| z-index:0; |
| } |
| .selected svg, .selected .nav-label{color:var(--text); fill:var(--text);} |
| .selected .content{position:relative; z-index:1;} |
| |
| |
| .gesture{ |
| position:absolute; bottom:36px; left:50%; transform:translateX(-50%); |
| width:520px; height:16px; border-radius:10px; background:#ececec; |
| opacity:0.9; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
| |
| <div class="status-bar"> |
| <div class="status-left">8:49</div> |
| <div class="status-right"> |
| <div class="status-icon"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M12 20c.7 0 1.3-.6 1.3-1.3S12.7 17.4 12 17.4s-1.3.6-1.3 1.3.6 1.3 1.3 1.3z"/> |
| <path d="M4.9 12.7c2-1.6 4.6-2.5 7.1-2.5s5.1.9 7.1 2.5l1.6-1.9c-2.5-2-5.8-3.2-8.7-3.2s-6.2 1.2-8.7 3.2l1.6 1.9z"/> |
| <path d="M7.7 15.3c1.3-1 3-1.6 4.7-1.6s3.4.6 4.7 1.6l1.5-1.7c-1.9-1.5-4.3-2.3-6.2-2.3s-4.3.8-6.2 2.3l1.5 1.7z"/> |
| </svg> |
| </div> |
| <div class="battery status-icon"> |
| |
| <svg viewBox="0 0 28 16"> |
| <rect x="1" y="2" width="22" height="12" rx="2" ry="2" fill="#fff"></rect> |
| <rect x="3" y="4" width="16" height="8" fill="#1f1a1d"></rect> |
| <rect x="24" y="5" width="3" height="6" rx="1" fill="#fff"></rect> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="title">Clock</div> |
|
|
| |
| <div class="menu-dots"> |
| <span></span><span></span><span></span> |
| </div> |
|
|
| |
| <div class="time-wrap"> |
| <div class="time-main">8:49</div> |
| <div class="time-ampm">PM</div> |
| </div> |
|
|
| |
| <div class="date">Fri, Sep 29</div> |
|
|
| |
| <div class="fab"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M11 5h2v14h-2zM5 11h14v2H5z"/> |
| </svg> |
| </div> |
|
|
| |
| <div class="bottom-bar"> |
| <div class="nav-items"> |
| <div class="nav-item"> |
| <div class="content"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M7 3L3.5 6l1.3 1.5L8.3 4.5 7 3zM17 3l-1.3 1.5 3.5 3 1.3-1.5L17 3z"/> |
| <path d="M12 6a8 8 0 1 0 0 16 8 8 0 1 0 0-16zm0 3h1v6h-1l-3-2 0-1 3 2V9z"/> |
| </svg> |
| <div class="nav-label">Alarm</div> |
| </div> |
| </div> |
|
|
| <div class="nav-item selected"> |
| <div class="pill"></div> |
| <div class="content"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M12 3a9 9 0 1 0 0 18 9 9 0 1 0 0-18zm1 5h-2v6l4 2 .7-1.7-2.7-1.3V8z"/> |
| </svg> |
| <div class="nav-label">Clock</div> |
| </div> |
| </div> |
|
|
| <div class="nav-item"> |
| <div class="content"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M6 3h12v3l-4 4 4 4v3H6v-3l4-4-4-4V3zm3 3h6l-3 3-3-3zm6 12H9l3-3 3 3z"/> |
| </svg> |
| <div class="nav-label">Timer</div> |
| </div> |
| </div> |
|
|
| <div class="nav-item"> |
| <div class="content"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M9 2h6v2H9zM12 5a8 8 0 1 0 .001 16.001A8 8 0 0 0 12 5zm1 4h-2v6l4 2 .7-1.7-2.7-1.3V9z"/> |
| </svg> |
| <div class="nav-label">Stopwatch</div> |
| </div> |
| </div> |
|
|
| <div class="nav-item"> |
| <div class="content"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M3 7h8a4 4 0 0 1 4 4v1h6v7h-2v-2H5v2H3V7zm2 8h10v-4a2 2 0 0 0-2-2H5v6z"/> |
| </svg> |
| <div class="nav-label">Bedtime</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="gesture"></div> |
| </div> |
| </div> |
| </body> |
| </html> |