File size: 8,955 Bytes
0e1717f | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Directions UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #FAFAFA;
font-family: Arial, Helvetica, sans-serif;
color: #212121;
}
.status-bar {
height: 110px;
padding: 0 36px;
display: flex; align-items: center; justify-content: space-between;
color: #424242; font-size: 32px;
}
.status-icons { display: flex; gap: 28px; align-items: center; }
.icon { width: 40px; height: 40px; display: inline-block; }
.content { padding: 0 36px; }
.top-row {
display: flex; align-items: center;
gap: 24px; margin-top: 14px; margin-bottom: 20px;
}
.back-btn { width: 64px; height: 64px; }
.menu-dots { width: 44px; height: 44px; }
.field {
height: 112px; border: 1px solid #DADCE0; border-radius: 24px;
display: flex; align-items: center;
padding: 0 32px; font-size: 38px; background: #FFFFFF;
}
.field + .field { margin-top: 18px; }
.placeholder { color: #9E9E9E; }
.pin {
width: 40px; height: 40px; margin-right: 16px; border-radius: 50%;
background: #EA4335;
}
.swap {
position: absolute; right: 56px; top: 330px; /* aligned to second field */
width: 56px; height: 56px;
}
.modes {
display: flex; gap: 52px; align-items: center;
margin-top: 28px; margin-left: 12px;
}
.mode {
width: 124px; height: 124px; border-radius: 62px;
background: #E3F2FD; display: flex; align-items: center; justify-content: center;
}
.mode svg { width: 72px; height: 72px; }
.mode.secondary { background: #F1F3F4; }
.list {
margin-top: 24px; background: #FFFFFF; border-top: 1px solid #E0E0E0;
}
.item {
display: flex; gap: 28px; padding: 32px 36px;
align-items: center; border-bottom: 1px solid #E0E0E0;
}
.lead {
width: 86px; height: 86px; border-radius: 43px; background: #ECEFF1;
display: flex; align-items: center; justify-content: center;
}
.texts { flex: 1; }
.title { font-size: 38px; line-height: 46px; }
.sub { font-size: 30px; color: #757575; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more {
text-align: center; color: #1a73e8; font-size: 34px;
padding: 28px 0;
}
.spacer {
height: 760px; background: #F5F7F8;
}
.home-indicator {
position: absolute; bottom: 36px; left: 50%;
transform: translateX(-50%);
width: 320px; height: 12px; border-radius: 6px; background: #9E9E9E;
}
/* Simple icon strokes */
svg { fill: none; stroke: #616161; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.primary-stroke svg { stroke: #1a73e8; }
.red-stroke svg { stroke: #EA4335; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:55</div>
<div class="status-icons">
<!-- simple dots as placeholders -->
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#616161"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#616161"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#616161"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#616161"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#616161"/></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M3 12h18"></path></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M4 4l16 16M20 4L4 20"></path></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M6 18h12M9 21h6"></path></svg>
</div>
</div>
<div class="content">
<div class="top-row">
<!-- Back arrow -->
<svg class="back-btn" viewBox="0 0 24 24"><path d="M15 6l-6 6 6 6"></path></svg>
<!-- First field -->
<div style="flex:1">
<div class="field">
<span class="placeholder">Choose start location</span>
</div>
<div class="field">
<div class="pin"></div>
<span>Pouce Coupe Museum</span>
</div>
</div>
<!-- Vertical dots -->
<svg class="menu-dots" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#616161"></circle>
<circle cx="12" cy="12" r="2" fill="#616161"></circle>
<circle cx="12" cy="19" r="2" fill="#616161"></circle>
</svg>
</div>
<!-- Swap icon -->
<svg class="swap" viewBox="0 0 24 24">
<path d="M8 4v8M8 4l-3 3M8 4l3 3"></path>
<path d="M16 20v-8M16 20l-3-3M16 20l3-3"></path>
</svg>
<!-- Transport modes -->
<div class="modes">
<div class="mode primary-stroke">
<!-- Car icon -->
<svg viewBox="0 0 24 24">
<path d="M5 14h14l-2-6H7l-2 6Z"></path>
<circle cx="8" cy="16" r="2"></circle>
<circle cx="16" cy="16" r="2"></circle>
</svg>
</div>
<div class="mode secondary">
<!-- Bike icon -->
<svg viewBox="0 0 24 24">
<circle cx="7" cy="16" r="4"></circle>
<circle cx="17" cy="16" r="4"></circle>
<path d="M10 16l3-6h3"></path>
<path d="M8 12l2 4"></path>
</svg>
</div>
<div class="mode secondary">
<!-- Train icon -->
<svg viewBox="0 0 24 24">
<rect x="6" y="5" width="12" height="10" rx="2"></rect>
<path d="M8 17l-2 3M16 17l2 3"></path>
<circle cx="10" cy="10" r="1.5"></circle>
<circle cx="14" cy="10" r="1.5"></circle>
</svg>
</div>
<div class="mode secondary">
<!-- Walk icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2"></circle>
<path d="M12 7l-2 4-3 2M12 7l2 4 3 2M10 17l-2 4M14 17l2 4"></path>
</svg>
</div>
</div>
</div>
<!-- Recent list -->
<div class="list">
<div class="item">
<div class="lead">
<!-- Clock icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v5l3 2"></path>
</svg>
</div>
<div class="texts">
<div class="title">Dawson Creek</div>
<div class="sub">BC, Canada</div>
</div>
</div>
<div class="item">
<div class="lead">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v5l3 2"></path>
</svg>
</div>
<div class="texts">
<div class="title">South Peace Community Arts Council</div>
<div class="sub">Alaska Avenue, Dawson Creek, BC, Canada</div>
</div>
</div>
<div class="item">
<div class="lead">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v5l3 2"></path>
</svg>
</div>
<div class="texts">
<div class="title">933-927 British Columbia 97</div>
<div class="sub">Dawson Creek, BC, Canada</div>
</div>
</div>
<div class="item">
<div class="lead">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v5l3 2"></path>
</svg>
</div>
<div class="texts">
<div class="title">Tourism Dawson Creek</div>
<div class="sub">Alaska Avenue, Dawson Creek, BC, Canada</div>
</div>
</div>
<div class="item">
<div class="lead">
<!-- Share icon -->
<svg viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2"></circle>
<circle cx="18" cy="6" r="2"></circle>
<circle cx="18" cy="18" r="2"></circle>
<path d="M8 12l8-6M8 12l8 6"></path>
</svg>
</div>
<div class="texts">
<div class="title">Lal Qila, Chandni Chowk</div>
<div class="sub">Delhi, Delhi</div>
</div>
</div>
<div class="item">
<div class="lead">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v5l3 2"></path>
</svg>
</div>
<div class="texts">
<div class="title">Taj Mahal</div>
<div class="sub">Dharmapuri, Forest Colony, Tajganj, Agra, Uttar Pradesh</div>
</div>
</div>
<div class="item">
<div class="lead">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v5l3 2"></path>
</svg>
</div>
<div class="texts">
<div class="title">V S K Garden</div>
<div class="sub">S-4, Knowledge Park III, Greater Noida, Uttar Pradesh</div>
</div>
</div>
<div class="more">More from recent history</div>
</div>
<div class="spacer"></div>
<div class="home-indicator"></div>
</div>
</body>
</html> |