AndroidCode / code /10113 /10113_15.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
8.88 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Greyhound Mobile UI</title>
<style>
:root{
--teal:#0A5A66;
--text:#2b2b2b;
--muted:#6d6d6d;
--bg:#F2F4F5;
--card:#ffffff;
--line:#D4D7DA;
--shadow:0 6px 16px rgba(0,0,0,0.12);
--orange:#B65A12;
}
body{ margin:0; padding:0; background:transparent; font-family: "Segoe UI", Roboto, Arial, sans-serif; color:var(--text); }
#render-target{
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:var(--bg);
border-radius:0;
box-shadow:none;
}
/* Header */
.header{
position:relative;
width:100%; height:310px;
background:var(--teal);
color:#fff;
}
.topbar{
height:84px;
display:flex; align-items:center; justify-content:space-between;
padding:0 40px; font-weight:600; color:#fff;
font-size:36px;
}
.status-right{ display:flex; align-items:center; gap:26px; }
.logo-wrap{
position:absolute; left:40px; top:110px;
width:420px; height:100px;
display:flex; align-items:center;
}
.img-placeholder{
background:#E0E0E0; border:1px solid #BDBDBD; color:#757575;
display:flex; align-items:center; justify-content:center;
font-size:28px; border-radius:6px;
}
/* Search Card */
.card{
background:var(--card);
width:1000px; margin:20px 40px 0;
border:1px solid #E3E6E8; border-radius:14px;
box-shadow:0 2px 4px rgba(0,0,0,0.06);
padding:26px 26px 30px;
}
.field{ position:relative; margin-bottom:26px; }
.field-label{
display:flex; align-items:center; gap:18px;
color:var(--muted); font-size:28px; letter-spacing:0.5px;
margin:0 8px 12px;
}
.field-label .line{
flex:1; height:1px; background:#CFD4D8; transform:translateY(1px);
}
.input{
border:2px solid #C9CDD1; border-radius:16px;
padding:34px; height:130px;
font-size:46px; line-height:62px; color:#333;
display:flex; align-items:center; justify-content:flex-start;
background:#fff;
}
.row{ display:flex; gap:24px; }
.row .col{ flex:1; }
/* Swap button between From/To */
.swap-btn{
position:absolute; right:26px; top:160px;
width:120px; height:120px; border-radius:60px;
border:3px solid #55767C; background:#fff;
display:flex; align-items:center; justify-content:center;
box-shadow:var(--shadow);
}
.swap-btn svg{ width:70px; height:70px; }
.swap-btn path{ stroke:#0A5A66; stroke-width:10; fill:none; }
/* Return plus icon */
.plus-btn{
position:absolute; right:40px; top:76px;
width:64px; height:64px; border-radius:32px;
border:2px solid #889097; display:flex; align-items:center; justify-content:center;
color:#0A5A66; background:#fff;
}
.plus-btn svg{ width:36px; height:36px; }
.plus-btn path{ stroke:#0A5A66; stroke-width:10; }
/* Search button */
.search-btn{
margin-top:8px;
height:110px; border-radius:12px;
background:var(--orange); color:#fff;
display:flex; align-items:center; justify-content:center;
font-size:40px; letter-spacing:4px; font-weight:700;
box-shadow:0 6px 12px rgba(0,0,0,0.15);
}
/* What's New card */
.news-card{ margin-top:24px; }
.overline{
color:#798087; font-size:26px; letter-spacing:3px;
font-weight:700; margin-bottom:12px;
}
.news-title{ font-size:56px; font-weight:800; margin:8px 0 20px; }
.hero-img{ width:100%; height:520px; }
.news-text{ font-size:38px; color:#5a5a5a; margin-top:26px; line-height:1.4; }
.link{ margin-top:26px; color:#0A5A66; font-size:36px; font-weight:700; }
/* Bottom Nav */
.bottom-nav{
position:absolute; left:0; bottom:0;
width:100%; height:220px; background:#fff;
border-top:1px solid #E0E3E6; box-shadow:0 -6px 12px rgba(0,0,0,0.08);
}
.nav-items{ display:flex; height:100%; align-items:center; justify-content:space-around; }
.nav-item{ display:flex; flex-direction:column; align-items:center; gap:18px; color:#70747a; }
.nav-item svg{ width:64px; height:64px; }
.nav-item.active{ color:#0A5A66; }
.nav-item.active .icon-wrap{
width:92px; height:92px; border-radius:46px; background:#E7F3F5;
display:flex; align-items:center; justify-content:center;
}
.nav-label{ font-size:30px; font-weight:600; }
/* Android gesture pill (visual only) */
.gesture-pill{
position:absolute; bottom:10px; left:50%; transform:translateX(-50%);
width:240px; height:16px; background:#0d0d0d; border-radius:10px; opacity:0.25;
}
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="topbar">
<div>10:23</div>
<div class="status-right">
<!-- simple status icons -->
<svg viewBox="0 0 64 64" width="48" height="48">
<path d="M4 44c8-8 20-18 28-18s20 10 28 18" stroke="#fff" stroke-width="6" fill="none" />
<circle cx="32" cy="26" r="5" fill="#fff"/>
</svg>
<svg viewBox="0 0 80 40" width="52" height="40">
<rect x="4" y="6" width="60" height="28" rx="6" stroke="#fff" stroke-width="6" fill="none"/>
<rect x="10" y="12" width="40" height="16" fill="#fff"/>
<rect x="66" y="14" width="8" height="12" rx="2" fill="#fff"/>
</svg>
</div>
</div>
<div class="logo-wrap">
<div class="img-placeholder" style="width:420px; height:100px;">[IMG: Greyhound logo]</div>
</div>
</div>
<!-- Search widget card -->
<div class="card search-card">
<div class="field">
<div class="field-label"><span>From</span><div class="line"></div></div>
<div class="input">Hamilton, ON</div>
</div>
<div class="field" style="margin-bottom:34px;">
<div class="field-label"><span>To</span><div class="line"></div></div>
<div class="input">Richmond, VA</div>
<div class="swap-btn" aria-label="Swap From/To">
<svg viewBox="0 0 100 100">
<path d="M34 66 L50 50 L66 66" />
<path d="M34 34 L50 50 L66 34" />
</svg>
</div>
</div>
<div class="row">
<div class="col field">
<div class="field-label"><span>Departing</span><div class="line"></div></div>
<div class="input">Oct 26, 2023</div>
</div>
<div class="col field" style="position:relative;">
<div class="field-label"><span>Return</span><div class="line"></div></div>
<div class="input">Tap to add</div>
<div class="plus-btn" aria-label="Add return">
<svg viewBox="0 0 100 100">
<path d="M50 20 L50 80 M20 50 L80 50" />
</svg>
</div>
</div>
</div>
<div class="field">
<div class="field-label"><span>Passengers/Bikes</span><div class="line"></div></div>
<div class="input">3 adults</div>
</div>
<div class="search-btn">SEARCH</div>
</div>
<!-- News card -->
<div class="card news-card">
<div class="overline">WHAT'S NEW?</div>
<div class="news-title">Greyhound and Flix join forces!</div>
<div class="img-placeholder hero-img">[IMG: Two buses (Greyhound & FlixBus)]</div>
<div class="news-text">Our network has expanded! See how this benefits you.</div>
<div class="link">FIND OUT MORE</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-items">
<div class="nav-item active">
<div class="icon-wrap">
<svg viewBox="0 0 100 100">
<circle cx="46" cy="46" r="26" stroke="#0A5A66" stroke-width="8" fill="none"/>
<line x1="64" y1="64" x2="86" y2="86" stroke="#0A5A66" stroke-width="10" stroke-linecap="round"/>
</svg>
</div>
<div class="nav-label">Booking</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 100 100">
<rect x="16" y="26" width="68" height="40" rx="8" stroke="#81868C" stroke-width="8" fill="none"/>
<circle cx="30" cy="46" r="6" fill="#81868C"/>
<circle cx="70" cy="46" r="6" fill="#81868C"/>
</svg>
<div class="nav-label">Tickets</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 100 100">
<path d="M50 16c-16 0-28 12-28 28 0 22 28 40 28 40s28-18 28-40c0-16-12-28-28-28z" stroke="#81868C" stroke-width="8" fill="none"/>
<circle cx="50" cy="44" r="8" fill="#81868C"/>
</svg>
<div class="nav-label">Stops</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 100 100">
<circle cx="50" cy="50" r="34" stroke="#81868C" stroke-width="8" fill="none"/>
<rect x="46" y="42" width="8" height="24" fill="#81868C"/>
<circle cx="50" cy="32" r="6" fill="#81868C"/>
</svg>
<div class="nav-label">More</div>
</div>
</div>
</div>
<div class="gesture-pill"></div>
</div>
</body>
</html>