AndroidCode / code /10041 /10041_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Travel Results - Modal</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
}
/* Status bar */
.statusbar {
height: 90px;
padding: 0 36px;
display: flex; align-items: center; justify-content: space-between;
color: #4a4a4a; font-size: 34px;
}
.status-icons { display: flex; gap: 28px; align-items: center; }
.icon-battery, .icon-signal, .icon-wifi {
width: 40px; height: 28px;
border: 3px solid #4a4a4a; border-radius: 6px;
}
.icon-battery::after {
content: ""; position: absolute; width: 6px; height: 16px; right: -10px; top: 6px;
background: #4a4a4a; border-radius: 2px;
}
/* Header */
.header {
padding: 16px 36px 24px 36px;
border-bottom: 1px solid #e6e6e6;
background: #f8f9fb;
}
.header-row { display: flex; align-items: center; gap: 24px; }
.back-btn {
width: 72px; height: 72px; border-radius: 36px; display: flex; align-items: center; justify-content: center;
background: transparent;
}
.title {
font-size: 52px; font-weight: 700; color: #222;
}
.subtitle {
margin-top: 6px; margin-left: 96px;
font-size: 30px; color: #7b8b91;
}
/* Tabs / filters */
.tabs { display: flex; gap: 24px; padding: 24px 36px; background: #f0f3f5; border-bottom: 1px solid #e3e7ea; }
.pill {
min-width: 220px; padding: 20px 26px; border-radius: 22px;
background: #ffffff; border: 2px solid #d3d8dc; color: #7a8a91; text-align: center;
box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.pill .label { font-size: 28px; font-weight: 700; letter-spacing: 1px; }
.pill .sublabel { font-size: 24px; margin-top: 8px; color: #8fa1a8; }
.pill.selected {
background: #33a7aa; border-color: #33a7aa; color: #fff;
}
.pill.selected .sublabel { color: #e6f3f3; }
/* Cards */
.list { padding: 24px 36px; }
.card {
background: #ffffff; border: 1px solid #e1e6ea; border-radius: 28px;
box-shadow: 0 6px 20px rgba(0,0,0,0.06);
padding: 30px; margin-bottom: 28px; position: relative;
}
.card-header {
display: flex; align-items: center; justify-content: space-between; color: #6b7f86; font-weight: 700;
letter-spacing: 0.5px; font-size: 28px; margin-bottom: 24px;
}
.card-header .left { display: flex; align-items: center; gap: 18px; }
.card-header .right { display: flex; align-items: center; gap: 24px; }
.rating { display: flex; align-items: center; gap: 8px; color: #2aa3a8; font-weight: 700; }
.price { color: #2aa3a8; font-weight: 800; font-size: 34px; }
.times {
display: grid; grid-template-columns: 1fr 160px 1fr; align-items: center; gap: 24px;
color: #2d3b41;
}
.time {
font-size: 48px; font-weight: 800;
}
.travel-arrow {
display: flex; align-items: center; justify-content: center; color: #a8b3b8;
font-size: 26px;
}
.stations { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; color: #7e8f96; font-size: 28px; }
/* Second card chips */
.chips { display: flex; gap: 18px; margin-top: 22px; }
.chip {
padding: 16px 26px; border-radius: 24px; border: 2px solid #d7dee2; color: #6f848b; font-size: 28px; background: #f6fafb;
}
.chip.teal { background: #d9f0ef; border-color: #bde4e3; color: #2aa3a8; }
/* Overlay modal */
.overlay {
position: absolute; inset: 0; background: rgba(0,0,0,0.25);
}
.modal {
position: absolute; left: 50%; top: 48%;
transform: translate(-50%, -50%);
width: 900px; background: #fff; border-radius: 36px;
box-shadow: 0 14px 40px rgba(0,0,0,0.2);
padding: 48px; text-align: center;
}
.modal .close {
position: absolute; right: 24px; top: 24px;
width: 64px; height: 64px; border-radius: 32px; background: #eef1f3;
display: flex; align-items: center; justify-content: center;
border: 2px solid #e1e4e7;
}
.ring {
width: 520px; height: 520px; margin: 10px auto 30px auto; border-radius: 50%;
background: conic-gradient(#2aa3a8 0 290deg, #cfd6db 290deg 360deg);
display: flex; align-items: center; justify-content: center;
}
.ring::after {
content: ""; width: 460px; height: 460px; border-radius: 50%; background: #fff; display: block;
}
.logo-holder {
position: absolute; width: 300px; height: 300px; left: 50%; top: 50%;
transform: translate(-50%, -50%);
background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 24px;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 30px;
}
.modal h2 {
margin: 24px 0 16px 0; font-size: 44px; color: #3a4246; font-weight: 800;
}
.modal p {
margin: 6px 0; font-size: 30px; color: #6e7d84;
}
/* Small SVG helpers */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div>9:42</div>
<div class="status-icons">
<div style="width: 40px; height: 40px; border-radius: 50%; border: 3px solid #4a4a4a;"></div>
<div style="width: 46px; height: 32px; border: 3px solid #4a4a4a; border-radius: 6px;"></div>
<div class="icon-wifi" style="border-radius: 50%; border: 3px solid #4a4a4a; width: 34px; height: 34px;"></div>
<div class="icon-battery" style="position: relative;"></div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-row">
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M15 5 L8 12 L15 19" stroke="#555" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div>
<div class="title">New York to Newark</div>
<div class="subtitle">Departure on Monday, 8/14</div>
</div>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="pill">
<div class="label" style="display:flex; align-items:center; justify-content:center; gap:10px;">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M5 7 H19 M9 12 H19 M13 17 H19" stroke="#7a8a91" stroke-width="2" stroke-linecap="round"/>
<circle cx="5" cy="7" r="2" fill="#7a8a91"/>
<circle cx="9" cy="12" r="2" fill="#7a8a91"/>
<circle cx="13" cy="17" r="2" fill="#7a8a91"/>
</svg>
FILTERS
</div>
</div>
<div class="pill selected">
<div class="label">WANDERLIST</div>
<div class="sublabel">48 trips</div>
</div>
<div class="pill">
<div class="label">CHEAPEST</div>
<div class="sublabel">$5.00</div>
</div>
<div class="pill">
<div class="label">EARLIEST</div>
<div class="sublabel">3:20a</div>
</div>
</div>
<!-- List of results -->
<div class="list">
<!-- Card 1 -->
<div class="card">
<div class="card-header">
<div class="left">
<svg width="40" height="40" viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="10" rx="2" ry="2" fill="#a7b7bd"/>
<circle cx="8" cy="18" r="1.5" fill="#a7b7bd"/>
<circle cx="16" cy="18" r="1.5" fill="#a7b7bd"/>
</svg>
<div>AMTRAK NORTHEAST REG...</div>
</div>
<div class="right">
<div class="rating">
<svg width="26" height="26" viewBox="0 0 24 24">
<path d="M12 3 L14.8 9.2 L21.5 9.5 L16 13.6 L18 20 L12 16.8 L6 20 L8 13.6 L2.5 9.5 L9.2 9.2 Z" fill="#2aa3a8"/>
</svg>
4.5
</div>
<div class="price">$5.00</div>
</div>
</div>
<div class="times">
<div class="time">3:20 AM</div>
<div class="travel-arrow">
<svg width="160" height="30" viewBox="0 0 160 30">
<line x1="0" y1="15" x2="140" y2="15" stroke="#b9c4c9" stroke-width="3" stroke-linecap="round"/>
<polygon points="145,15 135,10 135,20" fill="#b9c4c9"/>
<text x="40" y="12" font-size="20" fill="#a8b3b8">0h 15m</text>
</svg>
</div>
<div class="time">3:35 AM</div>
</div>
<div class="stations">
<div>NY Moynihan Train Hall ...</div>
<div style="text-align:right;">Newark Penn Station</div>
</div>
</div>
<!-- Modal sits over cards, but cards continue underneath -->
<!-- Card 2 (teaser, beneath modal) -->
<div class="card" style="opacity: 0.65;">
<div class="card-header">
<div class="left">
<svg width="40" height="40" viewBox="0 0 24 24">
<rect x="3" y="7" width="18" height="9" rx="2" fill="#a7b7bd"/>
<circle cx="7" cy="18" r="1.5" fill="#a7b7bd"/>
<circle cx="17" cy="18" r="1.5" fill="#a7b7bd"/>
</svg>
<div>FLIXBUS US</div>
</div>
<div class="price">$17.99</div>
</div>
<div class="times">
<div class="time">10:30 PM</div>
<div class="travel-arrow">
<svg width="160" height="30" viewBox="0 0 160 30">
<line x1="0" y1="15" x2="140" y2="15" stroke="#b9c4c9" stroke-width="3" stroke-linecap="round"/>
<polygon points="145,15 135,10 135,20" fill="#b9c4c9"/>
<text x="30" y="12" font-size="20" fill="#a8b3b8">0h 20m</text>
</svg>
</div>
<div class="time">10:50 PM</div>
</div>
<div class="stations">
<div>300-310 W 31 St (SW C...)</div>
<div style="text-align:right;">1 Raymond Plaza W</div>
</div>
<div class="chips">
<div class="chip">Details ▼</div>
<div class="chip">0 transfers</div>
<div class="chip teal">E-ticket</div>
</div>
</div>
</div>
<!-- Overlay + Modal -->
<div class="overlay"></div>
<div class="modal">
<div class="close">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M6 6 L18 18 M18 6 L6 18" stroke="#7d8a90" stroke-width="2.5" stroke-linecap="round"/>
</svg>
</div>
<div class="ring"></div>
<div class="logo-holder">[IMG: Green Monkey Logo]</div>
<h2>Confirming availability...</h2>
<p>Prices change often and tickets sell out.</p>
<p>Thank you for your patience.</p>
</div>
</div>
</body>
</html>