| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Date Picker UI</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: linear-gradient(180deg, #cfe8f3 0%, #eaf6fb 40%, #e6f2f8 100%); |
| border-radius: 36px; |
| box-shadow: 0 20px 60px rgba(0,0,0,0.2); |
| } |
| |
| |
| .status-bar { |
| position: absolute; top: 0; left: 0; right: 0; height: 155px; |
| background: rgba(120,120,120,0.55); |
| display: flex; align-items: center; justify-content: space-between; |
| padding: 0 36px; |
| color: #fff; font-weight: 600; font-size: 42px; |
| } |
| .status-right { display: flex; gap: 28px; align-items: center; } |
| .status-icon svg { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 6; } |
| |
| |
| .hero-card { |
| position: absolute; top: 220px; left: 40px; width: 1000px; height: 1500px; |
| background: #ffffffcc; |
| border-radius: 48px; |
| box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04), 0 20px 40px rgba(0,0,0,0.12); |
| padding: 80px 60px; |
| } |
| .logo-diamond { |
| width: 90px; height: 90px; background: #f4b321; |
| border-radius: 16px; transform: rotate(45deg); margin: 0 auto 20px; |
| position: relative; |
| } |
| .logo-diamond::after { |
| content: ""; position: absolute; width: 40px; height: 20px; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; |
| background: rgba(0,0,0,0.12); left: 50%; top: 50%; transform: translate(-50%,-20%) rotate(-45deg); |
| } |
| .hero-title { |
| text-align: center; color: #123a57; font-size: 64px; font-weight: 800; line-height: 1.2; |
| margin-bottom: 50px; |
| } |
| |
| .field-row { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 20px; } |
| .pill-field { |
| height: 140px; background: #fff; border-radius: 28px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); |
| padding: 30px 36px; color: #324c5f; |
| } |
| .pill-label { font-size: 36px; opacity: 0.7; } |
| .pill-value { font-size: 48px; font-weight: 700; margin-top: 8px; } |
| |
| .suggestions { |
| position: absolute; bottom: 220px; left: 60px; right: 60px; display: flex; gap: 28px; |
| } |
| .city-card { |
| flex: 1; background: #fff; border-radius: 60px; padding: 36px 40px; box-shadow: 0 10px 24px rgba(0,0,0,0.08); |
| } |
| .city-sub { color: #556a7a; font-size: 34px; font-weight: 600; } |
| .city-title { color: #182c40; font-size: 48px; font-weight: 800; } |
| .image-thumb { |
| width: 480px; height: 240px; background: #E0E0E0; border: 1px solid #BDBDBD; |
| display: flex; justify-content: center; align-items: center; color: #757575; border-radius: 24px; |
| } |
| |
| |
| .bottom-nav { |
| position: absolute; bottom: 120px; left: 0; width: 100%; height: 220px; background: #fff; |
| border-top-left-radius: 36px; border-top-right-radius: 36px; box-shadow: 0 -10px 30px rgba(0,0,0,0.15); |
| display: flex; justify-content: space-around; align-items: center; |
| } |
| .nav-item { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #2b4e66; } |
| .nav-item svg { width: 68px; height: 68px; stroke: #2b4e66; stroke-width: 6; fill: none; } |
| .nav-item.active { color: #0a6fe8; } |
| .nav-item.active svg { stroke: #0a6fe8; } |
| .nav-label { font-size: 34px; font-weight: 800; letter-spacing: 0.5px; } |
| |
| |
| .home-indicator { |
| position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); |
| width: 360px; height: 16px; background: #000; opacity: 0.2; border-radius: 16px; |
| } |
| |
| |
| .overlay { |
| position: absolute; inset: 0; background: rgba(0,0,0,0.35); |
| } |
| .dialog { |
| position: absolute; left: 50%; top: 700px; transform: translateX(-50%); |
| width: 900px; background: #fff; border-radius: 48px; overflow: hidden; |
| box-shadow: 0 30px 80px rgba(0,0,0,0.35); |
| } |
| .dialog-header { |
| background: #0a88ff; color: #fff; padding: 36px 40px 50px; position: relative; |
| } |
| .header-top { font-size: 30px; font-weight: 800; letter-spacing: 1px; opacity: 0.95; } |
| .header-date { margin-top: 22px; font-size: 84px; font-weight: 800; letter-spacing: -0.5px; } |
| .pencil { |
| position: absolute; right: 36px; top: 52px; |
| } |
| .pencil svg { width: 60px; height: 60px; fill: none; stroke: #fff; stroke-width: 8; } |
| |
| .calendar { |
| background: #fff; padding: 40px 44px 34px; |
| } |
| .month-row { |
| display: flex; justify-content: space-between; align-items: center; color: #7a8da0; |
| font-size: 42px; font-weight: 700; margin-bottom: 24px; |
| } |
| .month-left { display: flex; align-items: center; gap: 16px; } |
| .caret-down { width: 32px; height: 32px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 12px solid #7a8da0; margin-left: 6px; } |
| .nav-arrows { display: flex; gap: 24px; } |
| .nav-arrows svg { width: 42px; height: 42px; stroke: #7a8da0; stroke-width: 8; fill: none; } |
| |
| .weekday-row { |
| display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; color: #293f53; opacity: 0.75; |
| font-size: 40px; font-weight: 700; margin-bottom: 20px; |
| } |
| .day-grid { |
| display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; |
| } |
| .day { |
| height: 110px; display: flex; align-items: center; justify-content: center; |
| color: #5a7083; font-size: 40px; font-weight: 700; |
| } |
| .muted { opacity: 0.35; } |
| .selected { |
| background: #0a88ff; color: #fff; border-radius: 999px; |
| } |
| .ring { |
| border: 6px solid #2d5a77; border-radius: 999px; color: #2d5a77; font-weight: 800; |
| } |
| |
| .dialog-footer { |
| display: flex; justify-content: flex-end; align-items: center; gap: 40px; |
| padding: 24px 40px 40px; color: #0a88ff; font-size: 44px; font-weight: 800; |
| } |
| .dialog-footer .cancel { margin-right: auto; } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>2:51</div> |
| <div class="status-right"> |
| <div class="status-icon"> |
| |
| <svg viewBox="0 0 24 24"><path d="M3 4h18v12H9l-5 4v-4H3z"/></svg> |
| </div> |
| <div class="status-icon"> |
| |
| <svg viewBox="0 0 24 24"><path d="M2 8c10-8 20 0 20 0M5 12c7-5 14 0 14 0M8 16c4-3 8 0 8 0M12 20h0"/></svg> |
| </div> |
| <div class="status-icon"> |
| |
| <svg viewBox="0 0 24 24"><rect x="2" y="6" width="18" height="12" rx="2"/><rect x="20" y="10" width="2" height="4"/></svg> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="hero-card"> |
| <div class="logo-diamond"></div> |
| <div class="hero-title">What are your<br>travel plans?</div> |
|
|
| <div class="field-row"> |
| <div class="pill-field"> |
| <div class="pill-label">From</div> |
| <div class="pill-value">Boston</div> |
| </div> |
| <div class="pill-field"> |
| <div class="pill-label">To</div> |
| <div class="pill-value">Atlanta</div> |
| </div> |
| <div class="pill-field"> |
| <div class="pill-label">Depart</div> |
| <div class="pill-value">Flexible</div> |
| </div> |
| <div class="pill-field"> |
| <div class="pill-label">Passengers</div> |
| <div class="pill-value">1 Adult</div> |
| </div> |
| </div> |
|
|
| <div class="suggestions"> |
| <div class="city-card"> |
| <div class="city-sub">Boston</div> |
| <div class="city-title">New York</div> |
| </div> |
| <div class="city-card"> |
| <div class="city-sub">Miami</div> |
| <div class="city-title">Orlando</div> |
| </div> |
| <div class="image-thumb">[IMG: Neon city street]</div> |
| </div> |
| </div> |
|
|
| |
| <div class="overlay"></div> |
|
|
| |
| <div class="dialog"> |
| <div class="dialog-header"> |
| <div class="header-top">SELECT DATE</div> |
| <div class="header-date">Nov 14, 2023</div> |
| <div class="pencil"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M3 17l2 4 4-2 10-10-4-4L5 15z"/> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="calendar"> |
| <div class="month-row"> |
| <div class="month-left">November 2023 <span class="caret-down"></span></div> |
| <div class="nav-arrows"> |
| <svg viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6"/></svg> |
| <svg viewBox="0 0 24 24"><path d="M9 6l6 6-6 6"/></svg> |
| </div> |
| </div> |
|
|
| <div class="weekday-row"> |
| <div>S</div><div>M</div><div>T</div><div>W</div><div>T</div><div>F</div><div>S</div> |
| </div> |
|
|
| <div class="day-grid"> |
| |
| <div class="day muted"></div> |
| <div class="day muted"></div> |
| <div class="day muted"></div> |
| <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">5</div><div class="day">6</div><div class="day">7</div><div class="day">8</div><div class="day ring">9</div><div class="day">10</div><div class="day">11</div> |
| |
| <div class="day">12</div><div class="day">13</div><div class="day selected">14</div><div class="day">15</div><div class="day">16</div><div class="day">17</div><div class="day">18</div> |
| |
| <div class="day">19</div><div class="day">20</div><div class="day">21</div><div class="day">22</div><div class="day">23</div><div class="day">24</div><div class="day">25</div> |
| |
| <div class="day">26</div><div class="day">27</div><div class="day">28</div><div class="day">29</div><div class="day">30</div><div class="day muted"></div><div class="day muted"></div> |
| </div> |
| </div> |
|
|
| <div class="dialog-footer"> |
| <div class="cancel">Cancel</div> |
| <div>OK</div> |
| </div> |
| </div> |
|
|
| |
| <div class="bottom-nav"> |
| <div class="nav-item active"> |
| <svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4-4"/></svg> |
| <div class="nav-label">SEARCH</div> |
| </div> |
| <div class="nav-item"> |
| <svg viewBox="0 0 24 24"><rect x="5" y="7" width="14" height="12" rx="2"/><path d="M9 7V4h6v3"/></svg> |
| <div class="nav-label">TRIPS</div> |
| </div> |
| <div class="nav-item"> |
| <svg viewBox="0 0 24 24"><circle cx="12" cy="7" r="3"/><path d="M12 12v7"/></svg> |
| <div class="nav-label">HELP</div> |
| </div> |
| <div class="nav-item"> |
| <svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-7 8-7s8 3 8 7"/></svg> |
| <div class="nav-label">PROFILE</div> |
| </div> |
| </div> |
|
|
| <div class="home-indicator"></div> |
| </div> |
| </body> |
| </html> |