AndroidCode / code /10143 /10143_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
9.42 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Live Tracker UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
color: #111;
}
/* Status bar */
.status-bar {
height: 120px;
background: #000;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-weight: 600;
font-size: 36px;
letter-spacing: 0.5px;
justify-content: space-between;
}
.status-right {
display: flex;
align-items: center;
gap: 24px;
}
.status-dot { width: 12px; height: 12px; background: #fff; border-radius: 50%; opacity: 0.9; }
/* Header / top section */
.top-area {
padding: 36px;
box-sizing: border-box;
}
.top-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.title-wrap {
display: flex;
align-items: center;
gap: 28px;
}
.title-text {
display: flex;
flex-direction: column;
gap: 4px;
}
.title-text h1 {
margin: 0;
font-size: 48px;
font-weight: 800;
letter-spacing: 0.2px;
}
.subtitle {
color: #6b7280;
font-size: 34px;
font-weight: 500;
}
.rail-row {
margin-top: 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
.rail-left {
display: flex;
align-items: center;
gap: 22px;
font-size: 40px;
font-weight: 600;
}
.rail-right {
display: flex;
align-items: center;
gap: 16px;
}
.share-btn {
margin-top: 26px;
border: 1px solid #DADCE0;
border-radius: 20px;
height: 120px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
box-sizing: border-box;
font-size: 40px;
font-weight: 600;
color: #111;
background: #fff;
box-shadow: 0 1px 0 #eee inset;
}
/* Timeline */
.timeline {
position: relative;
padding: 24px 36px 0 36px;
box-sizing: border-box;
}
.line {
position: absolute;
left: 100px;
top: 40px;
bottom: 580px;
width: 6px;
background: #6b7280;
border-radius: 3px;
opacity: 0.7;
}
.stop {
position: relative;
padding-left: 160px;
margin: 44px 0 60px 0;
}
.stop .dot {
position: absolute;
left: 86px;
top: 4px;
width: 36px;
height: 36px;
background: #6b7280;
border-radius: 50%;
}
.stop .time {
font-size: 56px;
font-weight: 800;
color: #1f2937;
letter-spacing: 0.3px;
}
.stop .place {
font-size: 48px;
font-weight: 700;
margin-left: 28px;
}
/* Change card */
.change-card {
margin: 20px 36px;
background: #f3f4f6;
border-radius: 28px;
padding: 32px;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 28px;
}
.change-text {
display: flex;
flex-direction: column;
gap: 8px;
}
.change-title {
font-size: 42px;
font-weight: 800;
}
.change-sub {
font-size: 34px;
color: #6b7280;
font-weight: 600;
}
/* Second rail row */
.rail-row.secondary {
margin: 24px 36px 0 36px;
}
.rail-sub {
font-size: 34px;
color: #6b7280;
font-weight: 600;
margin-top: 4px;
}
/* Link row with ellipsis */
.link-row {
display: flex;
align-items: center;
gap: 28px;
padding: 24px 36px;
color: #1a73e8;
font-size: 38px;
font-weight: 600;
}
/* second timeline section */
.timeline2 {
position: relative;
padding: 10px 36px 0 36px;
box-sizing: border-box;
}
.line2 {
position: absolute;
left: 100px;
top: 0;
bottom: 440px;
width: 6px;
background: #6b7280;
border-radius: 3px;
opacity: 0.7;
}
/* Bottom sheet button */
.bottom-sheet {
position: absolute;
left: 0;
right: 0;
bottom: 100px;
padding: 0 36px;
box-sizing: border-box;
}
.track-btn {
height: 120px;
border: 1px solid #DADCE0;
border-radius: 24px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
font-weight: 800;
box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
/* Simple image placeholders */
.img-placeholder {
width: 140px;
height: 56px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 28px;
border-radius: 8px;
}
/* Icon base */
.icon-btn { width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; }
.small-icon { width: 48px; height: 48px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:27</div>
<div class="status-right">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
</div>
</div>
<!-- Header area -->
<div class="top-area">
<div class="top-row">
<div class="title-wrap">
<div class="icon-btn">
<svg viewBox="0 0 24 24" width="40" height="40" fill="none" stroke="#111" stroke-width="2.8" stroke-linecap="round">
<path d="M5 5L19 19M19 5L5 19"></path>
</svg>
</div>
<div class="title-text">
<h1>Live tracker</h1>
<div class="subtitle">6h 21m, 2 changes</div>
</div>
</div>
<div class="icon-btn">
<svg viewBox="0 0 24 24" width="44" height="44" fill="none" stroke="#111" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 12a9 9 0 0115-6M21 12a9 9 0 01-15 6"></path>
<path d="M3 4v6h6M21 20v-6h-6"></path>
</svg>
</div>
</div>
<div class="rail-row">
<div class="rail-left">
<svg class="small-icon" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2">
<rect x="6" y="6" width="12" height="10" rx="2"></rect>
<circle cx="9" cy="18" r="1.4"></circle>
<circle cx="15" cy="18" r="1.4"></circle>
<path d="M8 9h8M8 12h8"></path>
</svg>
<div>IC 528</div>
</div>
<div class="rail-right">
<div class="img-placeholder" style="width:120px;height:48px;">[IMG: NS logo]</div>
</div>
</div>
<div class="share-btn">
<span>Share journey</span>
<svg viewBox="0 0 24 24" width="44" height="44" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="18" cy="5" r="3"></circle>
<circle cx="6" cy="12" r="3"></circle>
<circle cx="18" cy="19" r="3"></circle>
<path d="M8.7 11l7-4M8.7 13l7 4"></path>
</svg>
</div>
</div>
<!-- First timeline section -->
<div class="timeline">
<div class="line"></div>
<div class="stop">
<div class="dot"></div>
<span class="time">10:36 AM</span>
<span class="place">Gouda</span>
</div>
<div class="stop" style="margin-top: 80px;">
<div class="dot"></div>
<span class="time">10:55 AM</span>
<span class="place">Rotterdam Centraal</span>
</div>
</div>
<!-- Change card -->
<div class="change-card">
<svg viewBox="0 0 24 24" width="52" height="52" fill="none" stroke="#111" stroke-width="2.4" stroke-linecap="round">
<path d="M6 4v16M18 8v8"></path>
<path d="M3 12h6M15 12h6"></path>
</svg>
<div class="change-text">
<div class="change-title">Change at Rotterdam Centraal</div>
<div class="change-sub">1h 3m to change</div>
</div>
</div>
<!-- Second rail row -->
<div class="rail-row secondary">
<div class="rail-left">
<svg class="small-icon" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2">
<rect x="6" y="6" width="12" height="10" rx="2"></rect>
<circle cx="9" cy="18" r="1.4"></circle>
<circle cx="15" cy="18" r="1.4"></circle>
<path d="M8 9h8M8 12h8"></path>
</svg>
<div>
<div style="font-weight:700;">ER 9340</div>
<div class="rail-sub">to Paris Gare du Nord</div>
</div>
</div>
<div class="rail-right">
<div class="img-placeholder" style="width:180px;height:56px;">[IMG: eurostar logo]</div>
</div>
</div>
<!-- Link row -->
<div class="link-row">
<svg viewBox="0 0 24 24" width="36" height="36" fill="#6b7280">
<circle cx="12" cy="4" r="2"></circle>
<circle cx="12" cy="12" r="2"></circle>
<circle cx="12" cy="20" r="2"></circle>
</svg>
<span>View earlier stops</span>
</div>
<!-- Second timeline part -->
<div class="timeline2">
<div class="line2"></div>
<div class="stop" style="margin-top: 40px;">
<div class="dot"></div>
<span class="time">11:58 AM</span>
<span class="place">Rotterdam Centraal</span>
</div>
<div style="padding-left: 160px; margin-top: 18px; color: #1a73e8; font-size: 36px; font-weight: 600;">
View stops
</div>
</div>
<!-- Bottom sheet button -->
<div class="bottom-sheet">
<div class="track-btn">Track</div>
</div>
</div>
</body>
</html>