| <html> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Fitbit Height Modal Mock</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #F4F6F5; |
| } |
| |
| |
| .status-bar { |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 1080px; |
| height: 110px; |
| padding: 0 36px; |
| box-sizing: border-box; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| color: #0c3b32; |
| font-weight: 600; |
| font-size: 40px; |
| } |
| .status-icons { |
| display: flex; |
| gap: 26px; |
| align-items: center; |
| } |
| .icon { |
| width: 36px; height: 36px; |
| } |
| |
| |
| .page { |
| position: absolute; |
| top: 140px; |
| left: 64px; |
| right: 64px; |
| color: #1d2b27; |
| } |
| .avatar { |
| width: 120px; |
| height: 120px; |
| border-radius: 60px; |
| border: 8px solid #0e4a3e; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #0e4a3e; |
| margin-bottom: 40px; |
| } |
| .title { |
| font-size: 88px; |
| font-weight: 700; |
| margin: 20px 0 20px 0; |
| letter-spacing: -1px; |
| } |
| .desc { |
| font-size: 38px; |
| line-height: 52px; |
| color: #4c5f5a; |
| max-width: 900px; |
| } |
| .save-bar { |
| position: absolute; |
| bottom: 110px; |
| right: 64px; |
| } |
| .pill-btn { |
| background: #0E4A3E; |
| color: #E9F4F1; |
| padding: 34px 54px; |
| border-radius: 64px; |
| font-size: 42px; |
| box-shadow: 0 6px 16px rgba(0,0,0,0.25); |
| } |
| .exit-link { |
| position: absolute; |
| bottom: 130px; |
| left: 64px; |
| color: #1e4b42; |
| font-size: 42px; |
| } |
| |
| |
| .overlay { |
| position: absolute; |
| inset: 0; |
| background: rgba(0,0,0,0.35); |
| } |
| |
| |
| .modal { |
| position: absolute; |
| top: 360px; |
| left: 90px; |
| width: 900px; |
| height: 1460px; |
| background: #FFFFFF; |
| border-radius: 64px; |
| box-shadow: 0 10px 40px rgba(0,0,0,0.25); |
| padding: 70px 70px 40px 70px; |
| box-sizing: border-box; |
| display: flex; |
| flex-direction: column; |
| } |
| .modal h1 { |
| margin: 0 0 18px 0; |
| font-size: 76px; |
| color: #1d2b27; |
| font-weight: 700; |
| } |
| .modal .sub { |
| font-size: 40px; |
| color: #546965; |
| line-height: 56px; |
| margin-bottom: 50px; |
| } |
| |
| |
| .segment { |
| display: flex; |
| border-radius: 80px; |
| overflow: hidden; |
| border: 2px solid #BFD8CF; |
| width: 640px; |
| height: 140px; |
| margin-bottom: 50px; |
| } |
| .seg { |
| flex: 1; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-size: 44px; |
| color: #264e45; |
| } |
| .seg.selected { |
| background: #CFE8DE; |
| position: relative; |
| font-weight: 700; |
| } |
| .seg.selected .check { |
| position: absolute; |
| left: 36px; |
| width: 34px; |
| height: 34px; |
| } |
| |
| |
| .wheel { |
| position: relative; |
| margin-top: 40px; |
| margin-bottom: 40px; |
| height: 560px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .wheel .option { |
| position: absolute; |
| width: 100%; |
| text-align: center; |
| color: #AEB9B6; |
| font-size: 54px; |
| } |
| .wheel .option.mid { |
| color: #1d2b27; |
| font-size: 64px; |
| font-weight: 700; |
| } |
| .wheel .line { |
| position: absolute; |
| width: 380px; |
| height: 4px; |
| background: #788a86; |
| left: 50%; |
| transform: translateX(-50%); |
| } |
| .wheel .line.top { top: 190px; } |
| .wheel .line.bottom { bottom: 190px; } |
| |
| |
| .divider { |
| margin-top: 40px; |
| height: 2px; |
| width: 100%; |
| background: #E4E9E7; |
| } |
| |
| |
| .actions { |
| margin-top: auto; |
| display: flex; |
| justify-content: flex-end; |
| gap: 70px; |
| align-items: center; |
| } |
| .btn-text { |
| font-size: 48px; |
| color: #1f6a5c; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>10:04</div> |
| <div class="status-icons"> |
| |
| <svg class="icon" viewBox="0 0 24 24" fill="#0e4a3e"> |
| <path d="M3 12l3-4 4 5 3-3 8 10H3z"/> |
| </svg> |
| <svg class="icon" viewBox="0 0 24 24" fill="#0e4a3e"> |
| <path d="M12 2l4 4h-3v7h-2V6H8l4-4zM5 20h14v2H5z"/> |
| </svg> |
| <svg class="icon" viewBox="0 0 24 24" fill="#0e4a3e"> |
| <circle cx="12" cy="12" r="2"/> |
| </svg> |
| <svg class="icon" viewBox="0 0 24 24" fill="#0e4a3e"> |
| <path d="M21 8v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8h18zm-2-4H5L3 8h18l-2-4z"/> |
| </svg> |
| <svg class="icon" viewBox="0 0 24 24" fill="#0e4a3e"> |
| <path d="M16 4h2v16h-2zM6 10h2v10H6zM11 6h2v14h-2z"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="page"> |
| <div class="avatar"> |
| |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#0e4a3e"> |
| <circle cx="12" cy="8" r="4"/> |
| <path d="M4 20c0-4 4-6 8-6s8 2 8 6H4z"/> |
| </svg> |
| </div> |
| <div class="title">Add Fitbit profile info</div> |
| <div class="desc"> |
| Your profile info helps personalize some metrics. Fitbit uses your information to |
| estimate calories and other stats. Choose your unit preference in Settings. |
| </div> |
| </div> |
|
|
| <div class="exit-link">Exit</div> |
| <div class="save-bar"> |
| <div class="pill-btn">Save & continue</div> |
| </div> |
|
|
| |
| <div class="overlay"></div> |
|
|
| <div class="modal"> |
| <h1>Height</h1> |
| <div class="sub">Fitbit uses height to estimate calories and stride length</div> |
|
|
| <div class="segment"> |
| <div class="seg selected"> |
| <svg class="check" viewBox="0 0 24 24" fill="#1f6a5c"> |
| <path d="M9 16.2l-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z"/> |
| </svg> |
| CM |
| </div> |
| <div class="seg">FEET</div> |
| </div> |
|
|
| <div class="wheel"> |
| <div class="option" style="top: 120px;">169 cm</div> |
| <div class="option mid" style="top: 240px;">170 cm</div> |
| <div class="option" style="top: 360px;">171 cm</div> |
| <div class="line top"></div> |
| <div class="line bottom"></div> |
| </div> |
|
|
| <div class="divider"></div> |
|
|
| <div class="actions"> |
| <div class="btn-text">Cancel</div> |
| <div class="btn-text">OK</div> |
| </div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |