AndroidCode / code /10113 /10113_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
7.96 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Greyhound Booking UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #f5f5f5;
border-radius: 0;
}
/* Header */
.app-header {
position: relative;
width: 100%;
height: 220px;
background: #0B5662; /* deep teal */
color: #fff;
padding: 32px 36px 24px 36px;
box-sizing: border-box;
}
.status-row {
height: 42px;
margin-bottom: 22px;
opacity: 0.9;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28px;
letter-spacing: 0.5px;
}
.logo-wrap {
display: flex;
align-items: center;
gap: 18px;
}
.greyhound-logo {
width: 330px;
height: 64px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
border-radius: 6px;
font-size: 26px;
}
/* Cards */
.card {
background: #fff;
border-radius: 16px;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
margin: 18px 24px;
padding: 22px;
box-sizing: border-box;
}
/* Form */
.form-card { position: relative; padding: 28px; }
.field {
margin-bottom: 22px;
}
.field .label {
font-size: 26px;
color: #7a7a7a;
margin: 6px 8px 8px;
letter-spacing: 0.4px;
}
.input-box {
border: 2px solid #cfcfcf;
border-radius: 14px;
padding: 26px 28px;
font-size: 44px;
color: #333;
background: #fff;
}
.row {
display: flex;
gap: 18px;
}
.row .col {
flex: 1;
}
/* Swap circle between From/To */
.swap-circle {
position: absolute;
right: 32px;
top: 274px;
width: 120px;
height: 120px;
border-radius: 60px;
border: 3px solid #184e57;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.swap-circle svg { width: 64px; height: 64px; }
.add-icon {
position: absolute;
right: 56px;
top: 540px;
width: 48px; height: 48px;
color: #0B5662;
}
/* Search button */
.search-btn {
background: #B45A12;
color: #fff;
font-weight: 700;
letter-spacing: 2px;
text-align: center;
padding: 32px 20px;
border-radius: 12px;
margin: 18px 8px 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.15);
font-size: 36px;
}
/* What's New card */
.whats-new .kicker {
color: #7a7a7a;
font-size: 26px;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 10px;
}
.whats-new h1 {
font-size: 60px;
line-height: 1.15;
color: #222;
margin: 0 0 20px;
font-weight: 700;
}
.hero-img {
width: 100%;
height: 540px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
margin: 10px 0 20px;
font-size: 32px;
}
.whats-new .desc {
font-size: 36px;
color: #4c4c4c;
line-height: 1.4;
margin: 8px 0 18px;
}
.whats-new .link {
color: #0B5662;
font-size: 36px;
font-weight: 600;
text-decoration: underline;
}
/* Bottom navigation */
.bottom-bar {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 170px;
background: #ffffff;
box-shadow: 0 -3px 6px rgba(0,0,0,0.08);
display: flex;
justify-content: space-around;
align-items: center;
padding-bottom: 8px;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
color: #777;
font-size: 28px;
}
.nav-item.active { color: #0B5662; font-weight: 700; }
.nav-item svg { width: 56px; height: 56px; }
.pill {
width: 96px; height: 96px;
background: rgba(11,86,98,0.12);
border-radius: 48px;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="app-header">
<div class="status-row">
<div>10:16</div>
<div>• • •</div>
</div>
<div class="logo-wrap">
<div class="greyhound-logo">[IMG: Greyhound logo]</div>
</div>
</div>
<!-- Booking form card -->
<div class="card form-card">
<div class="field">
<div class="label">From</div>
<div class="input-box">Hamilton, ON</div>
</div>
<div class="field">
<div class="label">To</div>
<div class="input-box">Albenga</div>
</div>
<div class="swap-circle" aria-label="Swap From/To">
<svg viewBox="0 0 24 24">
<path d="M7 15l-3-3 3-3" fill="none" stroke="#0B5662" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M10 12H4" fill="none" stroke="#0B5662" stroke-width="2" stroke-linecap="round"></path>
<path d="M17 9l3 3-3 3" fill="none" stroke="#0B5662" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M14 12h6" fill="none" stroke="#0B5662" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
<div class="row">
<div class="field col">
<div class="label">Departing</div>
<div class="input-box">Oct 25, 2023</div>
</div>
<div class="field col" style="position: relative;">
<div class="label">Return</div>
<div class="input-box">Tap to add</div>
<div class="add-icon" aria-hidden="true">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#0B5662" stroke-width="3" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<div class="field">
<div class="label">Passengers/Bikes</div>
<div class="input-box">1 adult</div>
</div>
<div class="search-btn">SEARCH</div>
</div>
<!-- What's New card -->
<div class="card whats-new" style="margin-top: 12px;">
<div class="kicker">WHAT'S NEW?</div>
<h1>Greyhound and Flix join forces!</h1>
<div class="hero-img">[IMG: Greyhound and Flix buses at sunset]</div>
<div class="desc">Our network has expanded! See how this benefits you.</div>
<div class="link">FIND OUT MORE</div>
</div>
<!-- Bottom navigation bar -->
<div class="bottom-bar">
<div class="nav-item active">
<div class="pill">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="8" fill="none" stroke="#0B5662" stroke-width="2"></circle>
<path d="M21 21l-4.3-4.3" stroke="#0B5662" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
<div>Booking</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path d="M4 7h16v10H4z" fill="none" stroke="#777" stroke-width="2"></path>
<path d="M7 7v-2h10v2" fill="none" stroke="#777" stroke-width="2"></path>
<circle cx="8" cy="12" r="1.5" fill="#777"></circle>
<circle cx="16" cy="12" r="1.5" fill="#777"></circle>
</svg>
<div>Tickets</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path d="M12 3C8.7 3 6 5.7 6 9c0 5.3 6 12 6 12s6-6.7 6-12c0-3.3-2.7-6-6-6z" fill="none" stroke="#777" stroke-width="2"></path>
<circle cx="12" cy="9" r="2.5" fill="#777"></circle>
</svg>
<div>Stops</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#777" stroke-width="2"></circle>
<path d="M12 8v8M12 6h0" stroke="#777" stroke-width="2" stroke-linecap="round"></path>
</svg>
<div>More</div>
</div>
</div>
</div>
</body>
</html>