AndroidCode / code /10121 /10121_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
8.96 kB
<!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>