File size: 5,166 Bytes
98687c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | <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;
}
/* Background content (the app behind the dialog) */
.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 and dialog */
.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">
<!-- Background App Content -->
<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>
<!-- Modal Overlay -->
<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> |