| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <title>Search UI Mock</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: #FFFFFF; |
| } |
| |
| |
| .statusbar { |
| position: absolute; top: 0; left: 0; right: 0; |
| height: 120px; padding: 24px 32px; |
| display: flex; align-items: center; justify-content: space-between; |
| color: #2b2b2b; font-size: 36px; font-weight: 600; |
| } |
| .sb-right { display: flex; align-items: center; gap: 28px; } |
| .sb-icon { width: 44px; height: 44px; } |
| |
| |
| .search-row { |
| position: absolute; top: 120px; left: 0; right: 0; |
| padding: 22px 28px 18px 28px; background: #fff; |
| box-shadow: 0 1px 0 rgba(0,0,0,0.08); |
| } |
| .search-wrap { display: flex; align-items: center; gap: 24px; } |
| .icon-btn { |
| width: 72px; height: 72px; border-radius: 36px; |
| display: flex; align-items: center; justify-content: center; |
| color: #5f6b7a; border: 1px solid #e6e6e6; background: #fff; |
| } |
| .search-input { |
| flex: 1; height: 104px; border-radius: 24px; |
| border: 3px solid #2389FF; background: #fff; |
| display: flex; align-items: center; padding: 0 28px; gap: 24px; |
| box-sizing: border-box; |
| } |
| .search-input .placeholder { |
| font-size: 40px; color: #8aa3bd; font-weight: 500; |
| } |
| |
| |
| .cta { |
| position: absolute; top: 260px; left: 32px; right: 32px; |
| background: #EAF5FF; border-radius: 26px; height: 120px; |
| display: flex; align-items: center; padding: 0 28px; gap: 26px; |
| border: 1px solid #CFE6FF; |
| color: #1E88E5; font-size: 42px; font-weight: 600; |
| } |
| .cta .target { |
| width: 64px; height: 64px; border-radius: 32px; |
| border: 2px solid #8FCCFF; display: flex; align-items: center; justify-content: center; |
| background: #fff; |
| } |
| |
| |
| .recent { |
| position: absolute; top: 420px; left: 36px; right: 36px; |
| } |
| .recent-head { |
| display: flex; justify-content: space-between; align-items: center; |
| color: #90A4AE; font-size: 38px; margin-bottom: 18px; |
| } |
| .recent-head .clear { color: #2389FF; font-weight: 600; } |
| .divider { height: 2px; background: #e8edf3; } |
| |
| .result { |
| display: flex; align-items: flex-start; gap: 26px; |
| padding: 34px 0; border-bottom: 1px solid #eef2f6; |
| } |
| .result:last-child { border-bottom: none; } |
| .res-icon { |
| width: 56px; height: 56px; color: #6d8aa0; |
| } |
| .res-text { line-height: 1.28; } |
| .res-title { font-size: 46px; color: #203A4B; font-weight: 700; } |
| .res-sub { font-size: 42px; color: #8EA3B4; font-weight: 500; } |
| |
| |
| .keyboard { |
| position: absolute; left: 0; right: 0; bottom: 0; |
| height: 900px; background: #1f1b19; color: #e9d5c6; |
| border-top-left-radius: 24px; border-top-right-radius: 24px; |
| box-shadow: 0 -4px 12px rgba(0,0,0,0.2); |
| } |
| .kb-top { |
| height: 120px; padding: 20px 28px; display: flex; align-items: center; gap: 32px; |
| } |
| .kb-pill { |
| width: 72px; height: 72px; border-radius: 18px; background: #2a2421; |
| display: flex; align-items: center; justify-content: center; color: #e9d5c6; |
| border: 1px solid rgba(255,255,255,0.06); |
| } |
| .kb-rows { padding: 0 22px; } |
| .kb-row { display: flex; justify-content: center; gap: 18px; margin-top: 20px; } |
| .key { |
| width: 86px; height: 108px; border-radius: 22px; background: #2a2421; |
| display: flex; align-items: center; justify-content: center; |
| font-size: 44px; font-weight: 600; border: 1px solid rgba(255,255,255,0.05); |
| } |
| .key-wide { width: 180px; } |
| .space { width: 540px; } |
| .accent { |
| background: #e7c9b3; color: #2a2421; font-weight: 700; |
| } |
| .gesture { |
| position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); |
| width: 220px; height: 10px; background: rgba(255,255,255,0.9); border-radius: 10px; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="statusbar"> |
| <div>2:46</div> |
| <div class="sb-right"> |
| |
| <svg class="sb-icon" viewBox="0 0 24 24"> |
| <path d="M3 6h18v12H3z" fill="none" stroke="#555" stroke-width="2"/> |
| <path d="M3 6l9 6 9-6" fill="none" stroke="#555" stroke-width="2"/> |
| </svg> |
| |
| <svg class="sb-icon" viewBox="0 0 24 24"> |
| <path d="M3 4h18v14H3z" fill="none" stroke="#555" stroke-width="2"/> |
| <path d="M3 20c2-3 6-3 8 0" fill="none" stroke="#555" stroke-width="2"/> |
| <path d="M3 16c1-1 3-1 4 0" fill="none" stroke="#555" stroke-width="2"/> |
| </svg> |
| |
| <svg class="sb-icon" viewBox="0 0 24 24"> |
| <path d="M2 16h12v6H2z" fill="none" stroke="#555" stroke-width="2"/> |
| <rect x="14" y="18" width="2" height="2" fill="#555"/> |
| <rect x="4" y="18" width="8" height="2" fill="#555"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="search-row"> |
| <div class="search-wrap"> |
| <div class="icon-btn"> |
| |
| <svg width="36" height="36" viewBox="0 0 24 24"> |
| <path d="M5 5l14 14M19 5L5 19" stroke="#6b7785" stroke-width="2" stroke-linecap="round"/> |
| </svg> |
| </div> |
| <div class="search-input"> |
| |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="9" fill="none" stroke="#8aa3bd" stroke-width="2"/> |
| <circle cx="12" cy="12" r="3" fill="#8aa3bd"/> |
| </svg> |
| <div class="placeholder">Leaving from...</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="cta"> |
| <div class="target"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="9" fill="none" stroke="#1E88E5" stroke-width="2"/> |
| <path d="M12 5v14M5 12h14" stroke="#1E88E5" stroke-width="2"/> |
| <circle cx="12" cy="12" r="2" fill="#1E88E5"/> |
| </svg> |
| </div> |
| <div>Use current location</div> |
| </div> |
|
|
| |
| <div class="recent"> |
| <div class="recent-head"> |
| <div>Recently searched</div> |
| <div class="clear">Clear</div> |
| </div> |
| <div class="divider"></div> |
|
|
| |
| <div class="result"> |
| <svg class="res-icon" viewBox="0 0 24 24"> |
| <path d="M12 2c3.3 0 6 2.6 6 5.8 0 4.6-6 13.2-6 13.2S6 12.4 6 7.8C6 4.6 8.7 2 12 2z" fill="#87a1b3"/> |
| <circle cx="12" cy="8" r="2.5" fill="#fff"/> |
| </svg> |
| <div class="res-text"> |
| <div class="res-title">Gajnice Train Station</div> |
| <div class="res-sub">Zagreb</div> |
| </div> |
| </div> |
|
|
| |
| <div class="result"> |
| <svg class="res-icon" viewBox="0 0 24 24"> |
| <path d="M12 2c3.3 0 6 2.6 6 5.8 0 4.6-6 13.2-6 13.2S6 12.4 6 7.8C6 4.6 8.7 2 12 2z" fill="#87a1b3"/> |
| <circle cx="12" cy="8" r="2.5" fill="#fff"/> |
| </svg> |
| <div class="res-text"> |
| <div class="res-title">Paris Gare de l'Est</div> |
| <div class="res-sub">Paris</div> |
| </div> |
| </div> |
|
|
| |
| <div class="result"> |
| <svg class="res-icon" viewBox="0 0 24 24"> |
| <path d="M3 21h18V7H3v14zM6 10h3v3H6v-3zm6 0h3v3h-3v-3z" fill="#87a1b3"/> |
| </svg> |
| <div class="res-text"> |
| <div class="res-title">Antwerp</div> |
| <div class="res-sub">Antwerp, Belgium</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="keyboard"> |
| <div class="kb-top"> |
| <div class="kb-pill"> |
| <svg width="32" height="32" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="#dac2b0" stroke-width="2"/></svg> |
| </div> |
| <div class="kb-pill"> |
| <svg width="32" height="32" viewBox="0 0 24 24"><path d="M12 2v20M2 12h20" stroke="#dac2b0" stroke-width="2"/></svg> |
| </div> |
| <div class="kb-pill">GIF</div> |
| <div class="kb-pill"> |
| <svg width="30" height="30" viewBox="0 0 24 24"><path d="M12 3l-2 9h4l-2 9" stroke="#dac2b0" stroke-width="2" fill="none"/></svg> |
| </div> |
| <div class="kb-pill"> |
| <svg width="30" height="30" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16" stroke="#dac2b0" stroke-width="2"/></svg> |
| </div> |
| <div class="kb-pill"> |
| <svg width="30" height="30" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="none" stroke="#dac2b0" stroke-width="2"/></svg> |
| </div> |
| <div class="kb-pill"> |
| <svg width="30" height="30" viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19" stroke="#dac2b0" stroke-width="2"/></svg> |
| </div> |
| </div> |
|
|
| <div class="kb-rows"> |
| <div class="kb-row"> |
| <div class="key">q</div><div class="key">w</div><div class="key">e</div><div class="key">r</div><div class="key">t</div><div class="key">y</div><div class="key">u</div><div class="key">i</div><div class="key">o</div><div class="key">p</div> |
| </div> |
| <div class="kb-row"> |
| <div class="key">a</div><div class="key">s</div><div class="key">d</div><div class="key">f</div><div class="key">g</div><div class="key">h</div><div class="key">j</div><div class="key">k</div><div class="key">l</div> |
| </div> |
| <div class="kb-row"> |
| <div class="key-wide"> |
| <svg width="40" height="40" viewBox="0 0 24 24"><path d="M6 18l4-6-4-6" stroke="#e9d5c6" stroke-width="2" fill="none" stroke-linecap="round"/></svg> |
| </div> |
| <div class="key">z</div><div class="key">x</div><div class="key">c</div><div class="key">v</div><div class="key">b</div><div class="key">n</div><div class="key">m</div> |
| <div class="key-wide"> |
| <svg width="40" height="40" viewBox="0 0 24 24"><path d="M4 7h16M9 7l6 6-6 6" stroke="#e9d5c6" stroke-width="2" fill="none" stroke-linecap="round"/></svg> |
| </div> |
| </div> |
| <div class="kb-row"> |
| <div class="key accent key-wide">?123</div> |
| <div class="key">,</div> |
| <div class="key key-wide"> |
| <svg width="34" height="34" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="#e9d5c6"/><path d="M12 2v6M12 16v6M2 12h6M16 12h6" stroke="#e9d5c6" stroke-width="2"/></svg> |
| </div> |
| <div class="key space"></div> |
| <div class="key">.</div> |
| <div class="key accent key-wide"> |
| <svg width="36" height="36" viewBox="0 0 24 24"><path d="M6 12l4 4 8-8" stroke="#2a2421" stroke-width="3" fill="none" stroke-linecap="round"/></svg> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="gesture"></div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |