| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="UTF-8"> |
| <title>Greyhound Booking UI Mock</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; } |
| #render-target { |
| width: 1080px; height: 2400px; position: relative; overflow: hidden; |
| background: #f3f3f3; border-radius: 0; box-shadow: none; |
| } |
| |
| |
| .top-bar { |
| position: relative; |
| width: 100%; |
| height: 250px; |
| background: #0a5964; |
| color: #fff; |
| } |
| .logo { |
| position: absolute; |
| left: 42px; |
| bottom: 32px; |
| width: 400px; |
| height: 90px; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| display: flex; align-items: center; justify-content: center; |
| color: #757575; font-size: 32px; letter-spacing: 1px; |
| } |
| |
| |
| .card { |
| background: #ffffff; |
| border-radius: 18px; |
| box-shadow: 0 2px 8px rgba(0,0,0,0.12); |
| margin: 24px 28px; |
| padding: 30px 28px; |
| } |
| |
| |
| .input-wrap { margin-bottom: 26px; } |
| .label-row { |
| display: flex; align-items: center; gap: 12px; |
| color: #6e6e6e; font-size: 28px; margin: 6px 4px 14px 4px; |
| } |
| .label-row .line { flex: 1; border-top: 2px solid #d3d3d3; height: 0; } |
| .field { |
| border: 2px solid #cfcfcf; border-radius: 16px; |
| padding: 28px; color: #333; font-size: 40px; line-height: 1.2; |
| display: flex; align-items: center; justify-content: space-between; |
| } |
| |
| .two-cols { display: flex; gap: 26px; } |
| .two-cols .col { flex: 1; } |
| |
| .swap-circle { |
| position: absolute; right: 46px; top: 290px; |
| width: 128px; height: 128px; border-radius: 64px; |
| background: #ffffff; border: 4px solid #cfd8dc; |
| display: flex; align-items: center; justify-content: center; |
| box-shadow: 0 2px 6px rgba(0,0,0,0.08); |
| } |
| .search-btn { |
| margin-top: 14px; |
| height: 140px; border-radius: 14px; background: #b15512; |
| color: #fff; font-size: 42px; font-weight: 700; letter-spacing: 4px; |
| display: flex; align-items: center; justify-content: center; |
| box-shadow: 0 4px 8px rgba(0,0,0,0.18); |
| } |
| |
| |
| .news-title { |
| color: #7a7a7a; font-size: 26px; letter-spacing: 2px; margin: 4px 0 18px 6px; |
| } |
| .news-heading { |
| font-size: 56px; color: #222; margin: 0 6px 22px 6px; font-weight: 700; |
| } |
| .banner { |
| width: 100%; height: 520px; |
| background: #E0E0E0; border: 1px solid #BDBDBD; |
| display: flex; align-items: center; justify-content: center; |
| color: #757575; font-size: 34px; margin-bottom: 24px; |
| } |
| .news-text { font-size: 34px; color: #555; line-height: 1.5; margin: 0 6px 18px 6px; } |
| .news-link { font-size: 36px; color: #0a5964; font-weight: 700; letter-spacing: 2px; margin: 12px 6px; } |
| |
| |
| .bottom-nav { |
| position: absolute; left: 0; bottom: 0; |
| width: 100%; height: 200px; background: #ffffff; border-top: 1px solid #ddd; |
| display: flex; align-items: center; justify-content: space-around; |
| } |
| .nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; } |
| .nav-label { font-size: 32px; color: #7a7a7a; } |
| .nav-item.active .nav-label { color: #0a5964; font-weight: 700; } |
| .home-indicator { |
| position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); |
| width: 300px; height: 12px; border-radius: 6px; background: #cfcfcf; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| <div class="top-bar"> |
| <div class="logo">[IMG: Greyhound logo]</div> |
| </div> |
|
|
| <div class="card" style="position: relative;"> |
| <div class="input-wrap"> |
| <div class="label-row"><span>From</span><span class="line"></span></div> |
| <div class="field">Hamilton, ON</div> |
| </div> |
|
|
| <div class="input-wrap"> |
| <div class="label-row"><span>To</span><span class="line"></span></div> |
| <div class="field">Richmond, VA</div> |
| </div> |
|
|
| <div class="swap-circle"> |
| <svg width="70" height="70" viewBox="0 0 24 24"> |
| |
| <path d="M12 5 L8 9 L10 9 L10 17 L12 17 L12 9 L14 9 Z" fill="#0a5964"/> |
| |
| <path d="M12 19 L16 15 L14 15 L14 7 L12 7 L12 15 L10 15 Z" fill="#0a5964"/> |
| </svg> |
| </div> |
|
|
| <div class="two-cols"> |
| <div class="col input-wrap"> |
| <div class="label-row"><span>Departing</span><span class="line"></span></div> |
| <div class="field">Oct 26, 2023</div> |
| </div> |
| <div class="col input-wrap"> |
| <div class="label-row"><span>Return</span><span class="line"></span></div> |
| <div class="field"> |
| <span>Tap to add</span> |
| <svg width="44" height="44" viewBox="0 0 24 24"> |
| <path d="M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z" fill="#0a5964"/> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="input-wrap"> |
| <div class="label-row"><span>Passengers/Bikes</span><span class="line"></span></div> |
| <div class="field">1 adult</div> |
| </div> |
|
|
| <div class="search-btn">SEARCH</div> |
| </div> |
|
|
| <div class="card"> |
| <div class="news-title">WHAT'S NEW?</div> |
| <div class="news-heading">Greyhound and Flix join forces!</div> |
| <div class="banner">[IMG: Greyhound and FlixBus coaches on road]</div> |
| <div class="news-text">Our network has expanded! See how this benefits you.</div> |
| <div class="news-link">FIND OUT MORE</div> |
| </div> |
|
|
| <div class="bottom-nav"> |
| <div class="nav-item active"> |
| <svg width="72" height="72" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="10" fill="#0a5964"/> |
| <circle cx="12" cy="12" r="5" fill="#ffffff"/> |
| </svg> |
| <div class="nav-label">Booking</div> |
| </div> |
| <div class="nav-item"> |
| <svg width="72" height="72" viewBox="0 0 24 24"> |
| <path d="M4 7h14v10H4z" fill="#d0d0d0"/> |
| <circle cx="7" cy="12" r="1.6" fill="#ffffff"/> |
| <circle cx="15" cy="12" r="1.6" fill="#ffffff"/> |
| </svg> |
| <div class="nav-label">Tickets</div> |
| </div> |
| <div class="nav-item"> |
| <svg width="72" height="72" viewBox="0 0 24 24"> |
| <path d="M12 3c-3.3 0-6 2.6-6 5.8 0 4.4 6 11.2 6 11.2s6-6.8 6-11.2C18 5.6 15.3 3 12 3z" fill="#d0d0d0"/> |
| <circle cx="12" cy="9" r="2.6" fill="#ffffff"/> |
| </svg> |
| <div class="nav-label">Stops</div> |
| </div> |
| <div class="nav-item"> |
| <svg width="72" height="72" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="10" fill="#d0d0d0"/> |
| <rect x="11" y="7" width="2" height="2.6" fill="#ffffff"/> |
| <rect x="11" y="10.5" width="2" height="6.5" fill="#ffffff"/> |
| </svg> |
| <div class="nav-label">More</div> |
| </div> |
| <div class="home-indicator"></div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |