| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Clock UI Mock</title> |
| <style> |
| body { |
| margin: 0; |
| padding: 0; |
| background: transparent; |
| font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; |
| } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #1f191b; |
| color: #e7dde0; |
| } |
| |
| |
| .status-bar { |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 1080px; |
| height: 96px; |
| padding: 24px 32px; |
| box-sizing: border-box; |
| color: #e7dde0; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| font-size: 32px; |
| opacity: 0.9; |
| } |
| .status-right { |
| display: flex; |
| gap: 22px; |
| align-items: center; |
| } |
| .dot { |
| width: 10px; |
| height: 10px; |
| background: #d8cbd0; |
| border-radius: 50%; |
| display: inline-block; |
| opacity: 0.8; |
| } |
| |
| |
| .page-title { |
| position: absolute; |
| top: 160px; |
| left: 64px; |
| font-size: 64px; |
| font-weight: 500; |
| color: #e7dde0; |
| letter-spacing: 0.2px; |
| } |
| |
| |
| .time-row { |
| position: absolute; |
| top: 300px; |
| left: 64px; |
| display: flex; |
| align-items: baseline; |
| gap: 24px; |
| } |
| .time-row .time { |
| font-size: 180px; |
| line-height: 1; |
| font-weight: 500; |
| color: #f1e9eb; |
| } |
| .time-row .ampm { |
| font-size: 64px; |
| color: #d7c8ce; |
| letter-spacing: 3px; |
| } |
| |
| .date-row { |
| position: absolute; |
| top: 560px; |
| left: 64px; |
| font-size: 44px; |
| color: #cbbdc3; |
| } |
| |
| |
| .world-card { |
| position: absolute; |
| top: 720px; |
| left: 60px; |
| width: 960px; |
| height: 280px; |
| background: #2a2326; |
| border-radius: 60px; |
| box-shadow: 0 2px 0 rgba(0,0,0,0.35) inset; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 40px 56px; |
| box-sizing: border-box; |
| } |
| .world-left .city { |
| font-size: 56px; |
| color: #efe6e8; |
| margin-bottom: 16px; |
| } |
| .world-left .offset { |
| font-size: 36px; |
| color: #bfb0b6; |
| } |
| .world-right { |
| display: flex; |
| align-items: baseline; |
| gap: 18px; |
| } |
| .world-right .w-time { |
| font-size: 128px; |
| color: #f4ecee; |
| font-weight: 600; |
| } |
| .world-right .w-ampm { |
| font-size: 44px; |
| color: #d0c1c7; |
| letter-spacing: 2px; |
| } |
| |
| |
| .menu-dots { |
| position: absolute; |
| top: 150px; |
| right: 40px; |
| display: flex; |
| flex-direction: column; |
| gap: 16px; |
| opacity: 0.8; |
| } |
| .menu-dots span { |
| width: 10px; |
| height: 10px; |
| background: #d8cbd0; |
| border-radius: 50%; |
| display: block; |
| } |
| |
| |
| .fab { |
| position: absolute; |
| left: 50%; |
| transform: translateX(-50%); |
| top: 1580px; |
| width: 240px; |
| height: 240px; |
| background: #f7b2c6; |
| border-radius: 50%; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| box-shadow: 0 10px 30px rgba(0,0,0,0.35); |
| } |
| .fab svg { |
| width: 88px; |
| height: 88px; |
| stroke: #2a2326; |
| stroke-width: 10; |
| } |
| |
| |
| .home-indicator { |
| position: absolute; |
| left: 50%; |
| transform: translateX(-50%); |
| bottom: 300px; |
| width: 300px; |
| height: 12px; |
| background: #e9e3e6; |
| border-radius: 8px; |
| opacity: 0.9; |
| } |
| |
| |
| .bottom-nav { |
| position: absolute; |
| bottom: 0; |
| left: 0; |
| width: 1080px; |
| height: 260px; |
| background: #2a2326; |
| box-shadow: 0 -1px 0 rgba(255,255,255,0.05) inset; |
| } |
| .nav-items { |
| position: absolute; |
| bottom: 36px; |
| left: 32px; |
| right: 32px; |
| display: flex; |
| justify-content: space-between; |
| align-items: flex-end; |
| } |
| .nav-item { |
| width: 200px; |
| text-align: center; |
| color: #cbbdc3; |
| } |
| .nav-item .icon-wrap { |
| width: 160px; |
| height: 92px; |
| margin: 0 auto 18px; |
| border-radius: 46px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .nav-item svg { |
| width: 64px; |
| height: 64px; |
| stroke: #cbbdc3; |
| stroke-width: 5; |
| fill: none; |
| } |
| .nav-item .label { |
| font-size: 34px; |
| } |
| .nav-item.active { |
| color: #efe6e8; |
| } |
| .nav-item.active .icon-wrap { |
| background: #44363c; |
| } |
| .nav-item.active svg { |
| stroke: #efe6e8; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>8:51</div> |
| <div class="status-right"> |
| <svg width="28" height="28" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="9" fill="none" stroke="#d8cbd0" stroke-width="2"/> |
| <path d="M12 6v6l4 2" stroke="#d8cbd0" stroke-width="2" fill="none"/> |
| </svg> |
| <span class="dot"></span> |
| <svg width="30" height="30" viewBox="0 0 24 24"> |
| <path d="M3 18h18M3 14h12M3 10h6" stroke="#d8cbd0" stroke-width="2" fill="none"/> |
| </svg> |
| <svg width="28" height="28" viewBox="0 0 24 24"> |
| <path d="M3 10l9-7 9 7v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8z" stroke="#d8cbd0" stroke-width="2" fill="none"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="page-title">Clock</div> |
|
|
| |
| <div class="time-row"> |
| <div class="time">8:51</div> |
| <div class="ampm">PM</div> |
| </div> |
|
|
| |
| <div class="date-row">Fri, Sep 29</div> |
|
|
| |
| <div class="world-card"> |
| <div class="world-left"> |
| <div class="city">Queenstown</div> |
| <div class="offset">+7h 30m Tomorrow</div> |
| </div> |
| <div class="world-right"> |
| <div class="w-time">4:21</div> |
| <div class="w-ampm">AM</div> |
| </div> |
| </div> |
|
|
| |
| <div class="menu-dots" aria-label="More"> |
| <span></span> |
| <span></span> |
| <span></span> |
| </div> |
|
|
| |
| <div class="fab" aria-label="Add clock"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M12 5v14M5 12h14" /> |
| </svg> |
| </div> |
|
|
| |
| <div class="home-indicator"></div> |
|
|
| |
| <div class="bottom-nav"> |
| <div class="nav-items"> |
|
|
| <div class="nav-item"> |
| <div class="icon-wrap"> |
| |
| <svg viewBox="0 0 24 24"> |
| <circle cx="12" cy="13" r="7"/> |
| <path d="M6 5L3 7M18 5l3 2"/> |
| <path d="M12 10v4l3 2"/> |
| </svg> |
| </div> |
| <div class="label">Alarm</div> |
| </div> |
|
|
| <div class="nav-item active"> |
| <div class="icon-wrap"> |
| |
| <svg viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="8"/> |
| <path d="M12 7v6l4 2"/> |
| </svg> |
| </div> |
| <div class="label">Clock</div> |
| </div> |
|
|
| <div class="nav-item"> |
| <div class="icon-wrap"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M7 4h10M7 20h10"/> |
| <path d="M7 4c0 4 5 5 5 8s-5 4-5 8M17 4c0 4-5 5-5 8s5 4 5 8" /> |
| </svg> |
| </div> |
| <div class="label">Timer</div> |
| </div> |
|
|
| <div class="nav-item"> |
| <div class="icon-wrap"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M9 3h6"/> |
| <circle cx="12" cy="14" r="7"/> |
| <path d="M12 10v5l3 2"/> |
| </svg> |
| </div> |
| <div class="label">Stopwatch</div> |
| </div> |
|
|
| <div class="nav-item"> |
| <div class="icon-wrap"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M3 18v-6h10a4 4 0 0 1 4 4v2H3z"/> |
| <path d="M3 12h6"/> |
| <rect x="4" y="10" width="3" height="3"/> |
| </svg> |
| </div> |
| <div class="label">Bedtime</div> |
| </div> |
|
|
| </div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |