| <!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; |
| color: #333; |
| } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #F4F5F6; |
| } |
| |
| |
| .app-bar { |
| position: relative; |
| width: 100%; |
| height: 300px; |
| background: #0A5D69; |
| color: #fff; |
| } |
| .status-row { |
| height: 96px; |
| display: flex; |
| align-items: center; |
| padding: 0 36px; |
| font-weight: 600; |
| font-size: 36px; |
| letter-spacing: 0.5px; |
| } |
| .status-row .spacer { |
| flex: 1; |
| } |
| .status-icon { |
| width: 42px; |
| height: 42px; |
| margin-left: 22px; |
| border-radius: 50%; |
| border: 2px solid rgba(255,255,255,0.8); |
| } |
| .brand-row { |
| height: 204px; |
| display: flex; |
| align-items: center; |
| padding: 0 36px; |
| } |
| .brand-placeholder { |
| width: 420px; |
| height: 120px; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #757575; |
| border-radius: 6px; |
| } |
| |
| |
| .card { |
| background: #fff; |
| margin: 18px 24px; |
| border-radius: 12px; |
| box-shadow: 0 2px 0 rgba(0,0,0,0.06), 0 6px 12px rgba(0,0,0,0.08); |
| } |
| |
| |
| .search-card { |
| margin-top: 18px; |
| padding: 28px; |
| position: relative; |
| } |
| .field { |
| position: relative; |
| border: 2px solid #CFCFCF; |
| border-radius: 16px; |
| margin-bottom: 28px; |
| padding: 42px 28px 28px 28px; |
| background: #fff; |
| } |
| .label { |
| position: absolute; |
| top: -12px; |
| left: 22px; |
| display: flex; |
| align-items: center; |
| width: calc(100% - 44px); |
| } |
| .label span { |
| font-size: 26px; |
| color: #7A7A7A; |
| background: #fff; |
| padding-right: 10px; |
| } |
| .label .line { |
| height: 2px; |
| flex: 1; |
| background: #CFCFCF; |
| margin-left: 10px; |
| } |
| .value { |
| font-size: 44px; |
| color: #2E2E2E; |
| } |
| |
| |
| .row { |
| display: flex; |
| gap: 26px; |
| } |
| .small-field { |
| flex: 1; |
| } |
| |
| |
| .swap-btn { |
| position: absolute; |
| right: 46px; |
| top: 256px; |
| width: 120px; |
| height: 120px; |
| border-radius: 60px; |
| background: #fff; |
| border: 3px solid #9FB7BC; |
| box-shadow: 0 3px 8px rgba(0,0,0,0.12); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .swap-btn svg path { |
| stroke: #0A5D69; |
| stroke-width: 10; |
| fill: none; |
| stroke-linecap: round; |
| stroke-linejoin: round; |
| } |
| |
| |
| .return-extra { |
| position: absolute; |
| right: 24px; |
| top: 50%; |
| transform: translateY(-50%); |
| } |
| .plus-icon { |
| width: 54px; |
| height: 54px; |
| } |
| .plus-icon path { |
| stroke: #0A5D69; |
| stroke-width: 10; |
| fill: none; |
| stroke-linecap: round; |
| } |
| |
| |
| .search-btn { |
| margin-top: 10px; |
| width: 100%; |
| height: 120px; |
| background: #B55A12; |
| border-radius: 12px; |
| color: #fff; |
| font-weight: 800; |
| font-size: 42px; |
| letter-spacing: 3px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| box-shadow: 0 6px 10px rgba(0,0,0,0.12); |
| } |
| |
| |
| .news-card { |
| padding: 30px; |
| } |
| .news-overline { |
| font-size: 28px; |
| letter-spacing: 1.5px; |
| color: #7A7A7A; |
| text-transform: uppercase; |
| margin-bottom: 12px; |
| } |
| .news-title { |
| font-size: 58px; |
| font-weight: 700; |
| color: #262626; |
| margin-bottom: 24px; |
| line-height: 1.2; |
| } |
| .news-image { |
| width: 100%; |
| height: 540px; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #757575; |
| border-radius: 10px; |
| margin-bottom: 26px; |
| } |
| .news-text { |
| font-size: 36px; |
| color: #5A5A5A; |
| line-height: 1.4; |
| margin-bottom: 18px; |
| } |
| .news-link { |
| font-size: 36px; |
| color: #0A5D69; |
| font-weight: 700; |
| } |
| |
| |
| .bottom-nav { |
| position: absolute; |
| bottom: 0; |
| left: 0; |
| width: 100%; |
| height: 190px; |
| background: #FFFFFF; |
| border-top: 2px solid #E5E5E5; |
| display: flex; |
| align-items: center; |
| justify-content: space-around; |
| padding-bottom: 10px; |
| } |
| .nav-item { |
| width: 220px; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| color: #8B8B8B; |
| font-size: 30px; |
| } |
| .nav-item.active { |
| color: #0A5D69; |
| } |
| .nav-icon { |
| width: 90px; |
| height: 90px; |
| margin-bottom: 10px; |
| } |
| .nav-item.active .nav-icon { |
| background: rgba(10,93,105,0.12); |
| border-radius: 45px; |
| } |
| .nav-icon svg path, .nav-icon svg circle { |
| stroke: #7F7F7F; |
| stroke-width: 8; |
| fill: none; |
| } |
| .nav-item.active .nav-icon svg path, |
| .nav-item.active .nav-icon svg circle { |
| stroke: #0A5D69; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
| <div class="app-bar"> |
| <div class="status-row"> |
| <div>10:18</div> |
| <div class="spacer"></div> |
| <div class="status-icon"></div> |
| <div class="status-icon"></div> |
| </div> |
| <div class="brand-row"> |
| <div class="brand-placeholder">[IMG: Greyhound logo]</div> |
| </div> |
| </div> |
|
|
| <div class="card search-card"> |
| <div class="field"> |
| <div class="label"><span>From</span><div class="line"></div></div> |
| <div class="value">Hamilton, ON</div> |
| </div> |
|
|
| <div class="field"> |
| <div class="label"><span>To</span><div class="line"></div></div> |
| <div class="value">Richmond, VA</div> |
| </div> |
|
|
| <div class="row"> |
| <div class="field small-field"> |
| <div class="label"><span>Departing</span><div class="line"></div></div> |
| <div class="value">Oct 25, 2023</div> |
| </div> |
| <div class="field small-field" style="position: relative;"> |
| <div class="label"><span>Return</span><div class="line"></div></div> |
| <div class="value" style="color:#7A7A7A;">Tap to add</div> |
| <div class="return-extra"> |
| <svg class="plus-icon" viewBox="0 0 100 100"> |
| <path d="M50 20 L50 80 M20 50 L80 50" /> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="field"> |
| <div class="label"><span>Passengers/Bikes</span><div class="line"></div></div> |
| <div class="value">1 adult</div> |
| </div> |
|
|
| <div class="search-btn">SEARCH</div> |
|
|
| <div class="swap-btn" title="Swap From/To"> |
| <svg width="90" height="90" viewBox="0 0 100 100"> |
| |
| <path d="M32 70 L32 30 M20 42 L32 30 L44 42" /> |
| |
| <path d="M68 30 L68 70 M56 58 L68 70 L80 58" /> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="card news-card"> |
| <div class="news-overline">WHAT'S NEW?</div> |
| <div class="news-title">Greyhound and Flix join forces!</div> |
| <div class="news-image">[IMG: Buses - Greyhound and FlixBus]</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"> |
| <div class="nav-icon"> |
| <svg viewBox="0 0 100 100"> |
| <circle cx="44" cy="44" r="22"></circle> |
| <path d="M72 72 L90 90"></path> |
| </svg> |
| </div> |
| <div>Booking</div> |
| </div> |
| <div class="nav-item"> |
| <div class="nav-icon"> |
| <svg viewBox="0 0 100 100"> |
| <path d="M20 30 L80 30 L80 70 L20 70 Z"></path> |
| <path d="M35 30 L35 20 M65 30 L65 20"></path> |
| <path d="M35 50 L65 50"></path> |
| </svg> |
| </div> |
| <div>Tickets</div> |
| </div> |
| <div class="nav-item"> |
| <div class="nav-icon"> |
| <svg viewBox="0 0 100 100"> |
| <path d="M50 20 C65 20 78 33 78 48 C78 66 50 90 50 90 C50 90 22 66 22 48 C22 33 35 20 50 20 Z"></path> |
| <circle cx="50" cy="48" r="10"></circle> |
| </svg> |
| </div> |
| <div>Stops</div> |
| </div> |
| <div class="nav-item"> |
| <div class="nav-icon"> |
| <svg viewBox="0 0 100 100"> |
| <circle cx="50" cy="50" r="32"></circle> |
| <path d="M50 30 L50 54"></path> |
| <path d="M50 66 L50 70"></path> |
| </svg> |
| </div> |
| <div>More</div> |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |