| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=1080, initial-scale=1.0" /> |
| <title>Search with Suggestions</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #ffffff; |
| } |
| |
| |
| .status-bar { |
| height: 120px; |
| background: #0f0f10; |
| color: #fff; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 0 36px; |
| box-sizing: border-box; |
| } |
| .status-time { font-size: 40px; letter-spacing: 1px; } |
| .status-icons { display: flex; align-items: center; gap: 22px; } |
| .dot { width: 14px; height: 14px; background: #cfcfcf; border-radius: 50%; opacity: 0.9; } |
| .icon-wifi, .icon-battery { |
| width: 44px; height: 24px; |
| border: 2px solid #cfcfcf; border-radius: 6px; position: relative; |
| } |
| .icon-wifi:before { content:""; position:absolute; inset: 3px 6px; border-top: 3px solid #cfcfcf; border-left: 3px solid transparent; border-right: 3px solid transparent; border-radius: 50%; } |
| .icon-battery:after { content:""; position:absolute; right:-8px; top:6px; width:8px; height:12px; background:#cfcfcf; border-radius:2px; } |
| |
| |
| .search-header { |
| position: relative; |
| background: #ffffff; |
| padding: 24px 32px; |
| box-sizing: border-box; |
| border-bottom: 1px solid #e6e6e6; |
| } |
| .search-row { |
| display: flex; align-items: center; gap: 24px; |
| } |
| .btn-icon { |
| width: 72px; height: 72px; display:flex; align-items:center; justify-content:center; |
| } |
| .search-input { |
| flex: 1; |
| font-size: 46px; |
| line-height: 64px; |
| color: #111; |
| } |
| .search-input .query { color: #111; } |
| .floating-clear { |
| position: absolute; |
| right: 28px; |
| top: 22px; |
| width: 76px; height: 76px; |
| background: #2ca4ff; |
| border-radius: 14px; |
| display: flex; align-items: center; justify-content: center; |
| } |
| .divider { height:1px; background:#e8e8e8; } |
| |
| |
| .list { |
| padding: 8px 0 0 0; |
| } |
| .item { |
| display: flex; |
| gap: 28px; |
| padding: 32px 36px; |
| box-sizing: border-box; |
| align-items: center; |
| } |
| .item + .item { border-top: 1px solid #eeeeee; } |
| .item .icon-addr { |
| width: 54px; height: 54px; border-radius: 8px; |
| background: #1f2937; display:flex; align-items:center; justify-content:center; |
| } |
| .item .texts { line-height: 1.2; } |
| .title { font-size: 42px; color: #1b1b1b; } |
| .title .accent { color: #1e88e5; font-weight: 600; } |
| .subtitle { font-size: 32px; color: #8a8a8a; margin-top: 8px; } |
| .section-row { |
| display: flex; align-items: center; justify-content: space-between; |
| padding: 22px 36px; box-sizing: border-box; color: #6b7280; font-size: 34px; |
| border-top: 1px solid #eeeeee; |
| } |
| .section-row .action { color: #1e88e5; font-weight: 600; } |
| |
| |
| .keyboard { |
| position: absolute; |
| left: 0; right: 0; bottom: 0; |
| height: 820px; |
| background: #eef1e8; |
| border-top: 1px solid #d8ddcf; |
| box-sizing: border-box; |
| padding: 14px 18px 34px; |
| } |
| .kb-suggestions { |
| height: 92px; |
| background: #eef1e8; |
| display: flex; align-items: center; justify-content: space-between; |
| padding: 0 10px 0 8px; |
| } |
| .kb-suggestions .chip { |
| display:flex; align-items:center; gap:16px; color:#1f2937; font-size:40px; |
| } |
| .kb-rows { display: grid; grid-template-rows: repeat(3, 1fr); gap: 18px; margin-top: 6px; } |
| .row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; } |
| .key { |
| background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; |
| height: 120px; display:flex; align-items:center; justify-content:center; |
| font-size: 42px; color:#1f2937; |
| } |
| .key.mod { background: #d9e8d4; } |
| .space { grid-column: span 5; } |
| .enter { background: #bfe3c0; font-weight: 700; } |
| .gesture-bar { |
| position: absolute; bottom: 8px; left: 50%; |
| transform: translateX(-50%); width: 320px; height: 10px; |
| background: #3a3a3a; border-radius: 8px; opacity: 0.6; |
| } |
| |
| |
| svg { display: block; } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
| |
| <div class="status-bar"> |
| <div class="status-time">5:59</div> |
| <div class="status-icons"> |
| <div class="dot"></div> |
| <div class="dot"></div> |
| <div class="icon-wifi"></div> |
| <div class="icon-battery"></div> |
| </div> |
| </div> |
|
|
| |
| <div class="search-header"> |
| <div class="search-row"> |
| <div class="btn-icon"> |
| <svg width="42" height="42" viewBox="0 0 24 24" stroke="#1f2937" stroke-width="2.5" fill="none" stroke-linecap="round"> |
| <path d="M4 4 L20 20"></path> |
| <path d="M20 4 L4 20"></path> |
| </svg> |
| </div> |
| <div class="search-input"> |
| <span class="query">Honolulu</span> |
| </div> |
| </div> |
| <div class="floating-clear"> |
| <svg width="34" height="34" viewBox="0 0 24 24" stroke="#fff" stroke-width="2.5" fill="none" stroke-linecap="round"> |
| <path d="M5 5 L19 19"></path> |
| <path d="M19 5 L5 19"></path> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="list"> |
| <div class="item"> |
| <div class="icon-addr"> |
| <svg width="32" height="32" viewBox="0 0 24 24" fill="#ffffff"> |
| <rect x="5" y="4" width="14" height="16" rx="2"></rect> |
| <rect x="8" y="7" width="3" height="3" fill="#0f172a"></rect> |
| <rect x="13" y="7" width="3" height="3" fill="#0f172a"></rect> |
| <rect x="8" y="12" width="3" height="3" fill="#0f172a"></rect> |
| <rect x="13" y="12" width="3" height="3" fill="#0f172a"></rect> |
| </svg> |
| </div> |
| <div class="texts"> |
| <div class="title"><span class="accent">Honolulu</span>, Hawaii, United States</div> |
| <div class="subtitle">United States</div> |
| </div> |
| </div> |
|
|
| <div class="section-row"> |
| <div>Recent locations</div> |
| <div class="action">Clear</div> |
| </div> |
|
|
| <div class="item"> |
| <div class="icon-addr"> |
| <svg width="32" height="32" viewBox="0 0 24 24" fill="#ffffff"> |
| <rect x="5" y="4" width="14" height="16" rx="2"></rect> |
| <rect x="8" y="7" width="3" height="3" fill="#0f172a"></rect> |
| <rect x="13" y="7" width="3" height="3" fill="#0f172a"></rect> |
| <rect x="8" y="12" width="3" height="3" fill="#0f172a"></rect> |
| <rect x="13" y="12" width="3" height="3" fill="#0f172a"></rect> |
| </svg> |
| </div> |
| <div class="texts"> |
| <div class="title">Seattle, Washington, United States</div> |
| <div class="subtitle">United States</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="keyboard"> |
| <div class="kb-suggestions"> |
| <div class="chip"> |
| <svg width="46" height="46" viewBox="0 0 24 24" fill="#4b5563"> |
| <circle cx="12" cy="12" r="10" fill="#a7c7a0"></circle> |
| <rect x="6" y="6" width="12" height="12" rx="2" fill="#eef1e8"></rect> |
| </svg> |
| <span>Honolulu</span> |
| </div> |
| <svg width="44" height="44" viewBox="0 0 24 24" fill="#4b5563"> |
| <path d="M12 3a3 3 0 0 0-3 3v5a3 3 0 1 0 6 0V6a3 3 0 0 0-3-3z"></path> |
| <path d="M7 19c3 2 7 2 10 0" stroke="#4b5563" stroke-width="2" fill="none" stroke-linecap="round"></path> |
| </svg> |
| </div> |
|
|
| <div class="kb-rows"> |
| <div class="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="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="row"> |
| <div class="key mod"> |
| <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#1f2937" stroke-width="2" stroke-linecap="round"> |
| <path d="M12 5 L6 12 H10 V19 H14 V12 H18 Z"></path> |
| </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 mod"> |
| <svg width="38" height="38" viewBox="0 0 24 24" fill="none" stroke="#1f2937" stroke-width="2" stroke-linecap="round"> |
| <path d="M20 12 H6"></path> |
| <path d="M10 8 L6 12 L10 16"></path> |
| <rect x="3" y="7" width="3" height="10"></rect> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="row" style="margin-top:18px;"> |
| <div class="key mod">?123</div> |
| <div class="key mod">,</div> |
| <div class="key mod"> |
| <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#1f2937" stroke-width="2" stroke-linecap="round"> |
| <circle cx="9" cy="15" r="2.5"></circle> |
| <path d="M12 6 L6 6 M18 6 L12 6"></path> |
| </svg> |
| </div> |
| <div class="key space"></div> |
| <div class="key">.</div> |
| <div class="key enter"> |
| <svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="#1f2937" stroke-width="2" stroke-linecap="round"> |
| <path d="M4 12 H14"></path> |
| <path d="M10 8 L14 12 L10 16"></path> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="gesture-bar"></div> |
| </div> |
| </div> |
| </body> |
| </html> |