| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Date Picker Mock - Mobile</title> |
| <style> |
| body { |
| margin: 0; |
| padding: 0; |
| background: transparent; |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; |
| } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #f5f6f7; |
| color: #1b2f36; |
| } |
| |
| |
| .status-bar { |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: 140px; |
| background: #083b46; |
| color: #fff; |
| display: flex; |
| align-items: center; |
| padding: 0 40px; |
| box-sizing: border-box; |
| } |
| .status-left { |
| font-weight: 600; |
| font-size: 40px; |
| letter-spacing: 0.5px; |
| } |
| .status-right { |
| margin-left: auto; |
| display: flex; |
| align-items: center; |
| gap: 28px; |
| } |
| .status-icon { |
| width: 40px; |
| height: 40px; |
| opacity: 0.95; |
| } |
| |
| |
| .app-header { |
| position: absolute; |
| top: 140px; |
| left: 0; |
| right: 0; |
| height: 280px; |
| background: #083b46; |
| padding: 36px 40px; |
| box-sizing: border-box; |
| } |
| .logo-placeholder { |
| width: 360px; |
| height: 90px; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| color: #757575; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| border-radius: 6px; |
| font-size: 30px; |
| letter-spacing: 1px; |
| opacity: 0.85; |
| } |
| |
| |
| .content { |
| position: absolute; |
| top: 420px; |
| left: 0; |
| right: 0; |
| bottom: 190px; |
| padding: 36px; |
| box-sizing: border-box; |
| overflow: hidden; |
| } |
| .card { |
| background: #ffffff; |
| border-radius: 22px; |
| border: 1px solid #e3e3e3; |
| box-shadow: 0 2px 6px rgba(0,0,0,0.06); |
| padding: 28px; |
| box-sizing: border-box; |
| } |
| .form-card { |
| padding: 28px; |
| } |
| .field { |
| border: 2px solid #d9d9d9; |
| border-radius: 18px; |
| padding: 34px; |
| margin-bottom: 22px; |
| color: #6a6f73; |
| font-size: 40px; |
| background: #fff; |
| position: relative; |
| } |
| .field .label { |
| display: block; |
| color: #60757c; |
| font-size: 28px; |
| margin-bottom: 10px; |
| opacity: 0.9; |
| } |
| .swap-btn { |
| position: absolute; |
| right: 24px; |
| top: 140px; |
| width: 120px; |
| height: 120px; |
| background: #ffffff; |
| border-radius: 60px; |
| border: 2px solid #d6d6d6; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| box-shadow: 0 4px 10px rgba(0,0,0,0.08); |
| } |
| |
| .cta { |
| margin-top: 22px; |
| width: 300px; |
| height: 110px; |
| border-radius: 16px; |
| background: #b85e23; |
| color: #fff; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-weight: 600; |
| font-size: 36px; |
| } |
| |
| .promo-card { |
| margin-top: 28px; |
| padding: 0; |
| overflow: hidden; |
| } |
| .promo-image { |
| height: 400px; |
| background: #E0E0E0; |
| border-bottom: 1px solid #BDBDBD; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #757575; |
| font-size: 34px; |
| } |
| .promo-body { |
| padding: 28px; |
| color: #5f6a6f; |
| font-size: 36px; |
| } |
| |
| |
| .bottom-nav { |
| position: absolute; |
| left: 0; |
| right: 0; |
| bottom: 100px; |
| height: 160px; |
| background: #ffffff; |
| border-top: 1px solid #e3e3e3; |
| display: flex; |
| justify-content: space-around; |
| align-items: center; |
| } |
| .nav-item { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| color: #9aa5aa; |
| font-size: 32px; |
| gap: 14px; |
| } |
| .nav-item.active { |
| color: #0c5160; |
| font-weight: 600; |
| } |
| .home-indicator { |
| position: absolute; |
| bottom: 36px; |
| left: 50%; |
| transform: translateX(-50%); |
| width: 300px; |
| height: 12px; |
| background: #cfd3d7; |
| border-radius: 12px; |
| } |
| |
| |
| .overlay { |
| position: absolute; |
| inset: 0; |
| background: rgba(0,0,0,0.35); |
| } |
| .date-modal { |
| position: absolute; |
| left: 80px; |
| top: 520px; |
| width: 920px; |
| height: 1200px; |
| background: #ffffff; |
| border-radius: 24px; |
| box-shadow: 0 20px 60px rgba(0,0,0,0.25); |
| overflow: hidden; |
| display: flex; |
| flex-direction: column; |
| } |
| .date-top { |
| background: #0c5160; |
| color: #ffffff; |
| padding: 36px 40px 28px; |
| } |
| .date-top .subtitle { |
| text-transform: uppercase; |
| letter-spacing: 4px; |
| opacity: 0.9; |
| font-size: 28px; |
| margin-bottom: 18px; |
| } |
| .date-top .big-date { |
| font-size: 82px; |
| font-weight: 700; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| } |
| .date-body { |
| background: #ffffff; |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| padding: 30px 36px 0; |
| } |
| .month-row { |
| display: flex; |
| align-items: center; |
| gap: 20px; |
| margin-bottom: 24px; |
| } |
| .month-name { |
| font-size: 40px; |
| color: #6f7a80; |
| font-weight: 700; |
| letter-spacing: 1px; |
| } |
| .spacer { |
| flex: 1; |
| } |
| .icon-btn { |
| width: 64px; |
| height: 64px; |
| border-radius: 12px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #4d636c; |
| } |
| .dow { |
| display: grid; |
| grid-template-columns: repeat(7, 1fr); |
| gap: 16px; |
| color: #9aa5aa; |
| text-align: center; |
| font-weight: 700; |
| letter-spacing: 2px; |
| margin-bottom: 8px; |
| } |
| .days { |
| display: grid; |
| grid-template-columns: repeat(7, 1fr); |
| gap: 16px; |
| padding: 16px 0 0; |
| color: #8f999f; |
| font-size: 40px; |
| } |
| .day { |
| height: 96px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| border-radius: 48px; |
| } |
| .day.selected { |
| background: #0c5160; |
| color: #ffffff; |
| font-weight: 700; |
| } |
| .dialog-actions { |
| display: flex; |
| justify-content: flex-end; |
| align-items: center; |
| gap: 60px; |
| padding: 26px 40px 34px; |
| border-top: 1px solid rgba(0,0,0,0.06); |
| } |
| .action { |
| color: #0c5160; |
| font-weight: 800; |
| letter-spacing: 4px; |
| text-transform: uppercase; |
| font-size: 38px; |
| } |
| |
| |
| .muted { |
| color: #c5c9cc; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div class="status-left">10:19</div> |
| <div class="status-right"> |
| |
| <svg class="status-icon" viewBox="0 0 24 24" fill="#fff" aria-hidden="true"><circle cx="12" cy="12" r="9"/></svg> |
| <svg class="status-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><rect x="5" y="3" width="14" height="18" rx="3"/><path d="M9 7h6"/></svg> |
| <svg class="status-icon" viewBox="0 0 24 24" fill="#fff"><path d="M4 12h16l-6 4v4l-4-2v-2z"/></svg> |
| <svg class="status-icon" viewBox="0 0 24 24" fill="#fff"><circle cx="12" cy="12" r="3"/><path d="M2 12h4M18 12h4M12 2v4M12 18v4" stroke="#fff" stroke-width="2" fill="none"/></svg> |
| <svg class="status-icon" viewBox="0 0 24 24" fill="#fff"><circle cx="12" cy="12" r="2"/></svg> |
| <svg class="status-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M2 18c2-3 6-6 10-6s8 3 10 6"/><path d="M6 18c1.5-2 4.5-4 6-4s4.5 2 6 4"/></svg> |
| <svg class="status-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><rect x="7" y="3" width="10" height="18" rx="2"/><rect x="10" y="1" width="4" height="2" fill="#fff" stroke="none"/></svg> |
| </div> |
| </div> |
|
|
| |
| <div class="app-header"> |
| <div class="logo-placeholder">[IMG: Greyhound Logo]</div> |
| </div> |
|
|
| |
| <div class="content"> |
| <div class="card form-card"> |
| <div class="field"> |
| <span class="label">From</span> |
| Hamilton, ON |
| </div> |
| <div class="field"> |
| <span class="label">To</span> |
| Richmond, ON |
| </div> |
| <div class="swap-btn"> |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#0c5160"> |
| <path d="M7 4l-3 3 3 3V8h7V6H7V4zM17 20l3-3-3-3v2h-7v2h7v2z"/> |
| </svg> |
| </div> |
| <div class="field"> |
| <span class="label">Date</span> |
| Oct 25, 2023 |
| </div> |
| <div class="field"> |
| <span class="label">Passengers</span> |
| 1 Adult |
| </div> |
| <div class="cta">Search</div> |
| </div> |
|
|
| <div class="card promo-card"> |
| <div class="promo-image">[IMG: City Skyline / Bus Road]</div> |
| <div class="promo-body"> |
| Our network has expanded! See how this benefits you. |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="bottom-nav"> |
| <div class="nav-item active"> |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#0c5160"><path d="M12 2l9 7v11H3V9l9-7z"/></svg> |
| <div>Booking</div> |
| </div> |
| <div class="nav-item"> |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#9aa5aa"><path d="M3 6h18v12H3z"/><path d="M3 10h18" fill="none" stroke="#9aa5aa" stroke-width="2"/></svg> |
| <div>Tickets</div> |
| </div> |
| <div class="nav-item"> |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#9aa5aa"><path d="M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7zm0 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></svg> |
| <div>Stops</div> |
| </div> |
| <div class="nav-item"> |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#9aa5aa"><circle cx="12" cy="12" r="10"/><rect x="11" y="10" width="2" height="7" fill="#fff"/><rect x="11" y="7" width="2" height="2" fill="#fff"/></svg> |
| <div>More</div> |
| </div> |
| </div> |
| <div class="home-indicator"></div> |
|
|
| |
| <div class="overlay"></div> |
| <div class="date-modal"> |
| <div class="date-top"> |
| <div class="subtitle">Select Date</div> |
| <div class="big-date"> |
| <span>Oct 25, 2023</span> |
| <svg width="64" height="64" viewBox="0 0 24 24" fill="#ffffff" aria-hidden="true"> |
| <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1.003 1.003 0 0 0 0-1.42l-2.34-2.34a1.003 1.003 0 0 0-1.42 0l-1.83 1.83 3.75 3.75 1.84-1.82z"/> |
| </svg> |
| </div> |
| </div> |
| <div class="date-body"> |
| <div class="month-row"> |
| <div class="month-name">OCTOBER 2023</div> |
| <svg width="28" height="28" viewBox="0 0 24 24" fill="#6f7a80"><path d="M7 10l5 5 5-5H7z"/></svg> |
| <div class="spacer"></div> |
| <div class="icon-btn"> |
| <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#6f7a80" stroke-width="2"> |
| <path d="M15 18l-6-6 6-6"/> |
| </svg> |
| </div> |
| <div class="icon-btn"> |
| <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#6f7a80" stroke-width="2"> |
| <path d="M9 6l6 6-6 6"/> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="dow"> |
| <div>S</div><div>M</div><div>T</div><div>W</div><div>T</div><div>F</div><div>S</div> |
| </div> |
|
|
| <div class="days"> |
| <div class="day muted">1</div> |
| <div class="day muted">2</div> |
| <div class="day muted">3</div> |
| <div class="day muted">4</div> |
| <div class="day muted">5</div> |
| <div class="day muted">6</div> |
| <div class="day muted">7</div> |
|
|
| <div class="day muted">8</div> |
| <div class="day muted">9</div> |
| <div class="day muted">10</div> |
| <div class="day muted">11</div> |
| <div class="day muted">12</div> |
| <div class="day muted">13</div> |
| <div class="day muted">14</div> |
|
|
| <div class="day muted">15</div> |
| <div class="day muted">16</div> |
| <div class="day muted">17</div> |
| <div class="day muted">18</div> |
| <div class="day muted">19</div> |
| <div class="day muted">20</div> |
| <div class="day muted">21</div> |
|
|
| <div class="day muted">22</div> |
| <div class="day muted">23</div> |
| <div class="day muted">24</div> |
| <div class="day selected">25</div> |
| <div class="day muted">26</div> |
| <div class="day muted">27</div> |
| <div class="day muted">28</div> |
|
|
| <div class="day muted">29</div> |
| <div class="day muted">30</div> |
| <div class="day muted">31</div> |
| <div class="day"></div> |
| <div class="day"></div> |
| <div class="day"></div> |
| <div class="day"></div> |
| </div> |
|
|
| <div class="dialog-actions"> |
| <div class="action">Cancel</div> |
| <div class="action">OK</div> |
| </div> |
| </div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |