File size: 14,150 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 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Directions UI Mock</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #ffffff;
font-family: Arial, Helvetica, sans-serif;
color: #222;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 96px;
display: flex;
align-items: center;
padding: 0 30px;
box-sizing: border-box;
color: #5f6368;
font-size: 32px;
}
.status-bar .right {
margin-left: auto;
display: flex;
align-items: center;
gap: 24px;
}
.status-icon {
width: 32px; height: 32px;
}
/* Search / input area */
.top-area {
position: absolute;
top: 96px;
left: 0;
width: 1080px;
padding: 24px 36px 18px 36px;
box-sizing: border-box;
background: #fff;
}
.back-row {
display: flex;
align-items: center;
gap: 24px;
}
.circle-btn {
width: 72px; height: 72px;
border-radius: 50%;
background: #F1F3F4;
display: flex; justify-content: center; align-items: center;
}
.input-stack {
margin-top: 18px;
display: flex;
flex-direction: column;
gap: 18px;
width: 100%;
}
.pill-input {
position: relative;
height: 110px;
border: 1px solid #DADCE0;
border-radius: 22px;
background: #fff;
display: flex;
align-items: center;
padding: 0 24px 0 24px;
box-sizing: border-box;
}
.pill-input .icon-left {
width: 48px; height: 48px; margin-right: 20px;
display: flex; align-items: center; justify-content: center;
}
.pill-input .input-text {
font-size: 40px; color: #1a73e8;
}
.pill-input .input-text.gray { color: #3c4043; }
.pill-input .right-actions {
margin-left: auto;
display: flex; align-items: center; gap: 26px;
}
/* Transport chips */
.modes {
margin-top: 22px;
display: flex;
align-items: center;
gap: 44px;
font-size: 34px;
color: #3c4043;
}
.mode {
display: flex; align-items: center; gap: 12px;
}
.mode .svg { width: 44px; height: 44px; }
.chip-blue {
padding: 18px 26px;
border-radius: 28px;
background: #E8F0FE;
color: #1A73E8;
font-weight: bold;
}
/* Map placeholder */
.map {
position: absolute;
top: 360px;
left: 0;
width: 1080px;
height: 1380px;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
box-sizing: border-box;
}
.map .label {
position: absolute; top: 20px; left: 20px;
color: #757575; font-size: 28px;
}
/* Route dots */
.route {
position: absolute;
left: 520px;
top: 120px;
display: flex;
flex-direction: column;
gap: 24px;
}
.dot {
width: 22px; height: 22px; border-radius: 50%;
background: #1A73E8; box-shadow: 0 0 0 6px rgba(26,115,232,0.15);
}
.dot.gray { background: #bdbdbd; box-shadow: 0 0 0 6px rgba(0,0,0,0.08); }
/* Red pin near top */
.red-pin {
position: absolute;
top: 190px;
left: 580px;
width: 44px; height: 60px;
}
/* Overlay chips on map */
.chip {
position: absolute;
background: #fff;
color: #3c4043;
border-radius: 18px;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
padding: 18px 24px;
font-size: 36px;
}
.chip.blue {
background: #1A73E8; color: #fff; font-weight: bold;
}
/* Floating round buttons */
.fab {
position: absolute;
width: 120px; height: 120px;
border-radius: 60px;
background: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.25);
display: flex; align-items: center; justify-content: center;
}
.fab.small {
width: 100px; height: 100px; border-radius: 50px;
}
/* Street view thumbnail */
.thumb {
position: absolute;
left: 60px;
bottom: 260px;
width: 340px; height: 220px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 26px;
border-radius: 12px;
overflow: hidden;
}
/* Bottom sheet */
.bottom-sheet {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 620px;
background: #fff;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.drag-handle {
position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
width: 140px; height: 10px; border-radius: 5px; background: #E0E0E0;
}
.sheet-content {
position: absolute; top: 54px; left: 36px; right: 36px;
}
.summary {
font-size: 54px; font-weight: 600; color: #202124;
}
.alt {
font-size: 36px; color: #5f6368; margin-left: 20px;
}
.via {
margin-top: 14px; font-size: 36px; color: #5f6368;
}
.actions {
margin-top: 40px;
display: flex; gap: 26px;
}
.btn {
padding: 24px 40px; border-radius: 28px; font-size: 40px; cursor: default;
}
.btn.primary { background: #1A73E8; color: #fff; }
.btn.outline { border: 2px solid #1A73E8; color: #1A73E8; background: #fff; }
/* Safe area bar mock */
.home-indicator {
position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
width: 360px; height: 8px; border-radius: 4px; background: #cfcfcf;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:42</div>
<div class="right">
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="2" y="10" width="4" height="4" fill="#757575"></rect>
<rect x="8" y="8" width="4" height="8" fill="#757575"></rect>
<rect x="14" y="6" width="4" height="12" fill="#757575"></rect>
</svg>
<div>82°</div>
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="4" fill="#757575"></circle>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M12 2l3 5H9l3-5zm0 20l3-5H9l3 5z" fill="#757575"></path>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M4 6h16v12H4z" stroke="#757575" stroke-width="2" fill="none"></path>
<rect x="18" y="9" width="2" height="6" fill="#757575"></rect>
</svg>
</div>
</div>
<!-- Top inputs -->
<div class="top-area">
<div class="back-row">
<div class="circle-btn">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#3c4043" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div style="width: 880px;"></div>
</div>
<div class="input-stack">
<div class="pill-input">
<div class="icon-left">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8" fill="#1A73E8"></circle>
</svg>
</div>
<div class="input-text">Your location</div>
<div class="right-actions">
<svg width="32" height="32" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#5f6368"></circle>
<circle cx="12" cy="12" r="2" fill="#5f6368"></circle>
<circle cx="12" cy="19" r="2" fill="#5f6368"></circle>
</svg>
</div>
</div>
<div class="pill-input">
<div class="icon-left">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 2c3.3 0 6 2.7 6 6 0 4.5-6 12-6 12S6 12.5 6 8c0-3.3 2.7-6 6-6z" fill="#EA4335"></path>
<circle cx="12" cy="8" r="2.5" fill="#fff"></circle>
</svg>
</div>
<div class="input-text gray">Louvre Museum</div>
<div class="right-actions">
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M7 7l10 10M17 7L7 17" stroke="#5f6368" stroke-width="2" stroke-linecap="round"></path>
</svg>
<svg width="32" height="32" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#5f6368"></circle>
<circle cx="12" cy="12" r="2" fill="#5f6368"></circle>
<circle cx="12" cy="19" r="2" fill="#5f6368"></circle>
</svg>
</div>
</div>
</div>
<div class="modes">
<div class="mode">
<svg class="svg" viewBox="0 0 24 24">
<rect x="4" y="7" width="16" height="8" rx="2" fill="#5f6368"></rect>
<circle cx="7" cy="17" r="2" fill="#5f6368"></circle>
<circle cx="17" cy="17" r="2" fill="#5f6368"></circle>
</svg>
<span>1 hr 37</span>
</div>
<div class="mode">
<svg class="svg" viewBox="0 0 24 24">
<circle cx="7" cy="16" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle>
<circle cx="17" cy="16" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle>
<path d="M7 10h6l4 6" stroke="#5f6368" stroke-width="2" fill="none"></path>
</svg>
<span>—</span>
</div>
<div class="mode">
<svg class="svg" viewBox="0 0 24 24">
<rect x="5" y="6" width="14" height="10" rx="2" fill="#5f6368"></rect>
<rect x="7" y="8" width="10" height="6" fill="#fff"></rect>
</svg>
<span>1 hr 55</span>
</div>
<div class="mode chip-blue">
<svg class="svg" viewBox="0 0 24 24">
<path d="M12 4a2 2 0 110 4 2 2 0 010-4zm-3 8l3 2 3-2 2 6h-3l-2-3-2 3H7l2-6z" fill="#1A73E8"></path>
</svg>
<span>1 day</span>
</div>
<div class="mode">
<svg class="svg" viewBox="0 0 24 24">
<circle cx="7" cy="17" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle>
<circle cx="17" cy="17" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle>
<path d="M5 10l6 2 5-2" stroke="#5f6368" stroke-width="2" fill="none"></path>
</svg>
<span>7 hr</span>
</div>
</div>
</div>
<!-- Map area -->
<div class="map">
<div class="label">[IMG: Map of Paris region with walking route]</div>
<!-- Red destination pin -->
<svg class="red-pin" viewBox="0 0 24 24">
<path d="M12 2c3.8 0 7 3.2 7 7 0 5-7 13-7 13S5 14 5 9c0-3.8 3.2-7 7-7z" fill="#EA4335"></path>
<circle cx="12" cy="9" r="3" fill="#fff"></circle>
</svg>
<!-- Dotted route -->
<div class="route">
<!-- a mix of blue and gray dots to suggest the trail -->
<div class="dot"></div><div class="dot"></div><div class="dot"></div>
<div class="dot gray"></div><div class="dot gray"></div><div class="dot"></div>
<div class="dot"></div><div class="dot"></div><div class="dot gray"></div>
<div class="dot"></div><div class="dot"></div><div class="dot"></div>
<div class="dot gray"></div><div class="dot"></div><div class="dot"></div>
<div class="dot"></div><div class="dot gray"></div><div class="dot"></div>
<div class="dot"></div><div class="dot"></div><div class="dot gray"></div>
<div class="dot"></div><div class="dot"></div><div class="dot"></div>
<div class="dot gray"></div><div class="dot"></div><div class="dot"></div>
<div class="dot"></div>
</div>
<!-- Overlay chips -->
<div class="chip" style="left: 120px; top: 320px;">🚶 1 d 4 hr</div>
<div class="chip blue" style="left: 640px; top: 560px;">🚶 1 d 3 hr</div>
<!-- Floating actions -->
<div class="fab small" style="right: 40px; top: 80px;">
<svg width="48" height="48" viewBox="0 0 24 24">
<rect x="5" y="5" width="10" height="10" fill="#5f6368"></rect>
<rect x="9" y="9" width="10" height="10" fill="#5f6368" opacity="0.65"></rect>
</svg>
</div>
<div class="fab small" style="right: 40px; top: 360px;">
<svg width="48" height="48" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#5f6368" stroke-width="2" fill="none"></circle>
<line x1="15" y1="15" x2="20" y2="20" stroke="#5f6368" stroke-width="2"></line>
</svg>
</div>
<div class="fab" style="right: 40px; bottom: 460px;">
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="5" fill="#fbbc04"></circle>
<path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.8 4.8l2.1 2.1M17.1 17.1l2.1 2.1M4.8 19.2l2.1-2.1M19.2 4.8l-2.1 2.1" stroke="#fbbc04" stroke-width="1.5"></path>
</svg>
</div>
<!-- Scale indicator (simple) -->
<div style="position:absolute; right: 180px; bottom: 520px; color:#3c4043; font-size:28px;">
<div style="display:flex; align-items:center; gap:16px;">
<svg width="160" height="30" viewBox="0 0 160 30">
<line x1="0" y1="20" x2="70" y2="20" stroke="#3c4043" stroke-width="3"></line>
<line x1="90" y1="20" x2="160" y2="20" stroke="#3c4043" stroke-width="3"></line>
</svg>
<span>10 mi</span><span style="margin-left:10px;">20 km</span>
</div>
</div>
<!-- Street view thumbnail -->
<div class="thumb">[IMG: Street View near destination]</div>
</div>
<!-- Bottom sheet -->
<div class="bottom-sheet">
<div class="drag-handle"></div>
<div class="sheet-content">
<div class="summary">
1 d 3 hr (118 km)
<span class="alt">↑ 390 m ↓ 472 m</span>
</div>
<div class="via">via D97</div>
<div class="actions">
<div class="btn primary">
<svg width="44" height="44" viewBox="0 0 24 24" style="vertical-align:middle; margin-right:12px;">
<path d="M12 2l6 10H6l6-10zm0 20a2 2 0 100-4 2 2 0 000 4z" fill="#fff"></path>
</svg>
Start
</div>
<div class="btn outline">
<svg width="44" height="44" viewBox="0 0 24 24" style="vertical-align:middle; margin-right:12px;">
<path d="M5 6h14v2H5zm0 5h14v2H5zm0 5h14v2H5z" fill="#1A73E8"></path>
</svg>
Steps
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</div>
</body>
</html> |