File size: 6,500 Bytes
fa881a6 | 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 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | <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 */
.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;
}
/* Underlying page (dimmed by overlay later) */
.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;
}
/* Dim overlay */
.overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.35);
}
/* Modal */
.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;
}
/* Segmented control */
.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-like selector (simplified) */
.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 near bottom of modal */
.divider {
margin-top: 40px;
height: 2px;
width: 100%;
background: #E4E9E7;
}
/* Dialog actions */
.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">
<!-- Status bar -->
<div class="status-bar">
<div>10:04</div>
<div class="status-icons">
<!-- simple inline 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>
<!-- Underlying page content -->
<div class="page">
<div class="avatar">
<!-- simple user icon -->
<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>
<!-- Dim overlay and modal -->
<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> |