| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Fitbit Height Dialog 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; right: 0; height: 110px; |
| padding: 32px 36px; |
| color: #1f1f1f; |
| font-weight: 600; |
| display: flex; align-items: center; justify-content: space-between; |
| } |
| .status-icons { display: flex; gap: 24px; align-items: center; color: #1f1f1f; } |
| .dot { width: 10px; height: 10px; background:#1f1f1f; border-radius:50%; display:inline-block; } |
| |
| .bg-content { |
| position: absolute; left: 0; right: 0; top: 140px; padding: 60px; |
| color: #1d2a27; |
| } |
| .avatar { |
| width: 120px; height: 120px; border-radius: 60px; border: 4px solid #0f3c34; |
| display: flex; align-items: center; justify-content: center; color: #0f3c34; |
| font-weight: 700; font-size: 40px; margin-bottom: 40px; |
| } |
| .title { |
| font-size: 72px; font-weight: 800; margin: 10px 0 24px 0; |
| } |
| .subtitle { |
| width: 880px; font-size: 34px; line-height: 1.5; color: #5c6e68; |
| } |
| .fake-field { |
| margin-top: 56px; width: 480px; height: 120px; border-radius: 16px; |
| border: 2px solid #7aa098; display: flex; align-items: center; padding: 0 28px; |
| color: #0f3c34; font-size: 44px; font-weight: 700; |
| } |
| .save-btn { |
| position: absolute; right: 48px; bottom: 160px; |
| background: #0f3c34; color: #e9f3ef; padding: 34px 46px; border-radius: 60px; |
| font-size: 44px; font-weight: 700; |
| } |
| |
| |
| .overlay { |
| position: absolute; inset: 0; background: rgba(0,0,0,0.55); |
| } |
| .dialog { |
| position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); |
| width: 880px; background: #f7fbf8; border-radius: 48px; |
| box-shadow: 0 18px 60px rgba(0,0,0,0.35); |
| padding: 56px 56px 40px 56px; |
| } |
| .dialog h1 { |
| margin: 6px 0 8px 0; font-size: 64px; color: #1f2d2a; letter-spacing: 0.2px; |
| } |
| .helper { |
| font-size: 36px; color: #51645e; line-height: 1.45; margin-bottom: 34px; |
| } |
| |
| .segmented { |
| display: flex; border-radius: 60px; overflow: hidden; border: 2px solid #cbd9d2; |
| width: 560px; height: 120px; margin-bottom: 40px; |
| } |
| .segmented .tab { |
| flex: 1; display: flex; align-items: center; justify-content: center; |
| font-size: 42px; color: #1f2d2a; background: #eef3f1; |
| } |
| .segmented .tab + .tab { border-left: 2px solid #cbd9d2; } |
| .segmented .selected { |
| background: #d7ece2; font-weight: 700; |
| } |
| .segmented .selected .check { margin-right: 16px; color: #0f3c34; } |
| |
| .picker { |
| width: 100%; display: flex; align-items: center; justify-content: center; |
| flex-direction: column; margin: 10px 0 34px 0; position: relative; |
| } |
| .picker .num { |
| font-size: 46px; color: #9aa9a3; margin: 10px 0; |
| } |
| .picker .current { |
| font-size: 64px; color: #1f2d2a; font-weight: 800; margin: 16px 0; |
| } |
| .picker .line { |
| width: 300px; height: 4px; background: #6f7e79; margin: 10px 0; |
| border-radius: 2px; |
| } |
| |
| .bottom-divider { |
| height: 2px; background: #dfe7e3; width: 100%; margin: 26px 0 10px 0; |
| } |
| .actions { |
| display: flex; align-items: center; justify-content: space-between; |
| padding: 12px 6px 6px 6px; |
| } |
| .btn-link { |
| font-size: 44px; color: #1f2d2a; |
| } |
| .btn-ok { |
| font-size: 44px; color: #0f3c34; font-weight: 800; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>10:03</div> |
| <div class="status-icons"> |
| <span class="dot"></span> |
| <span class="dot"></span> |
| <span class="dot"></span> |
| </div> |
| </div> |
|
|
| <div class="bg-content"> |
| <div class="avatar">👤</div> |
| <div class="title">Add Fitbit profile info</div> |
| <div class="subtitle"> |
| Your profile info helps personalize some metrics like calories and stride length. |
| You can change this later in Settings. |
| </div> |
|
|
| <div class="fake-field">Height</div> |
| <div class="fake-field" style="margin-top:28px; width: 640px;">Something else</div> |
| </div> |
|
|
| <div class="save-btn">Save & continue</div> |
|
|
| |
| <div class="overlay"> |
| <div class="dialog"> |
| <h1>Height</h1> |
| <div class="helper">Fitbit uses height to estimate calories and stride length</div> |
|
|
| <div class="segmented"> |
| <div class="tab selected"><span class="check">✓</span> CM</div> |
| <div class="tab">FEET</div> |
| </div> |
|
|
| <div class="picker"> |
| <div class="num">171 cm</div> |
| <div class="line"></div> |
| <div class="current">172</div> |
| <div class="line"></div> |
| <div class="num">173 cm</div> |
| </div> |
|
|
| <div class="bottom-divider"></div> |
| <div class="actions"> |
| <div class="btn-link">Cancel</div> |
| <div class="btn-ok">OK</div> |
| </div> |
| </div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |