Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10225_2.html313 linesDownload Raw Back to 10225
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<meta name="viewport" content="width=1080, initial-scale=1.0">6<title>Search UI Mock</title>7<style>8  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }9  #render-target {10    position: relative;11    overflow: hidden;12    width: 1080px;13    height: 2400px;14    background: #ffffff;15    color: #111;16  }17 18  /* Status bar */19  .status-bar {20    height: 96px;21    padding: 0 36px;22    display: flex;23    align-items: center;24    justify-content: space-between;25    color: #242424;26    font-size: 36px;27  }28  .status-right {29    display: flex;30    align-items: center;31    gap: 22px;32  }33  .dot { width: 10px; height: 10px; background:#686868; border-radius: 50%; display:inline-block; }34  .battery {35    width: 44px; height: 20px; border: 2px solid #666; border-radius: 4px; position: relative;36  }37  .battery::after { content: ""; position: absolute; right: -6px; top: 5px; width: 4px; height: 10px; background: #666; border-radius: 1px; }38  .battery .level { position:absolute; left:2px; top:2px; height:14px; width:30px; background:#666; border-radius: 2px; }39 40  /* Search bar */41  .search-wrap {42    padding: 18px 40px 0 40px;43  }44  .search-bar {45    height: 116px;46    border: 2px solid #E6E6E6;47    border-radius: 60px;48    display: flex;49    align-items: center;50    padding: 0 26px;51    gap: 16px;52  }53  .icon-btn {54    width: 88px;55    height: 88px;56    display: flex;57    align-items: center;58    justify-content: center;59    border-radius: 44px;60    color: #111;61  }62  .search-input-area {63    flex: 1;64    color: #bbb;65    font-size: 44px;66    letter-spacing: 1px;67  }68 69  /* Tip text */70  .tip {71    margin: 34px 40px 0 40px;72    color: #565656;73    font-size: 40px;74    line-height: 58px;75  }76  .tip strong { color: #111; }77 78  /* Recently searched */79  .recent-header {80    margin: 40px 40px 0 40px;81    display: flex;82    align-items: center;83    justify-content: space-between;84  }85  .recent-header .title {86    font-size: 54px;87    font-weight: 800;88    letter-spacing: 0.2px;89  }90  .recent-header .clear {91    font-size: 40px;92    color: #A0A0A0;93  }94  .chips {95    padding: 24px 40px;96  }97  .chip {98    display: inline-flex;99    align-items: center;100    justify-content: center;101    padding: 28px 46px;102    border-radius: 100px;103    background: #F1F1F1;104    color: #111;105    font-weight: 700;106    font-size: 42px;107  }108 109  /* Info note */110  .note {111    margin: 80px 40px 0 40px;112    border-left: 10px solid #D9D9D9;113    padding-left: 26px;114    color: #666;115    font-size: 40px;116    line-height: 58px;117    max-width: 920px;118  }119 120  /* Bottom navigation (above keyboard) */121  .bottom-nav {122    position: absolute;123    left: 0; right: 0;124    bottom: 760px; /* sits above the keyboard placeholder */125    height: 160px;126    border-top: 1px solid #ECECEC;127    background: #ffffff;128    display: flex;129    align-items: center;130    justify-content: space-around;131  }132  .nav-item {133    display: flex;134    flex-direction: column;135    align-items: center;136    gap: 10px;137    color: #B0B0B0;138  }139  .nav-item.active { color: #111; }140 141  /* Keyboard placeholder */142  .keyboard {143    position: absolute;144    left: 0; right: 0; bottom: 0;145    height: 760px;146    background: #1f1f1f;147    border-top-left-radius: 18px;148    border-top-right-radius: 18px;149    padding: 22px 24px 28px 24px;150    color: #EDEDED;151  }152  .kb-toolbar {153    height: 74px;154    display: flex;155    align-items: center;156    gap: 26px;157  }158  .kb-dot {159    width: 48px; height: 48px;160    background: #2b2b2b;161    border: 1px solid #3a3a3a;162    border-radius: 12px;163  }164  .kb-rows {165    margin-top: 8px;166    display: grid;167    grid-template-rows: repeat(4, 1fr);168    gap: 16px;169    height: calc(100% - 100px);170  }171  .kb-row {172    display: grid;173    grid-template-columns: repeat(10, 1fr);174    gap: 12px;175  }176  .key {177    display: flex; align-items: center; justify-content: center;178    background: #2b2b2b;179    border: 1px solid #3a3a3a;180    border-radius: 16px;181    font-size: 36px;182    color: #f2f2f2;183  }184  .key.small { font-size: 30px; }185  .key.wide { grid-column: span 2; }186  .key.xwide { grid-column: span 3; }187  .key.search {188    background: #B9D8F6;189    color: #0a2038;190    border-color: #A7C9EC;191    font-weight: 700;192  }193</style>194</head>195<body>196<div id="render-target">197 198  <!-- Status bar -->199  <div class="status-bar">200    <div>10:27</div>201    <div class="status-right">202      <!-- simple icons -->203      <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#666" stroke-width="2"><circle cx="11" cy="11" r="7"/><line x1="20" y1="20" x2="16.6" y2="16.6"/></svg>204      <span class="dot"></span>205      <svg width="32" height="32" viewBox="0 0 24 24" fill="#666"><path d="M10 3a7 7 0 100 14 7 7 0 000-14z"/></svg>206      <svg width="34" height="34" viewBox="0 0 24 24" fill="none" stroke="#666" stroke-width="2"><path d="M3 5h18M3 12h18M3 19h18"/></svg>207      <div class="battery"><div class="level"></div></div>208    </div>209  </div>210 211  <!-- Search bar -->212  <div class="search-wrap">213    <div class="search-bar">214      <div class="icon-btn" aria-label="Back">215        <svg width="48" height="48" viewBox="0 0 48 48" fill="none" stroke="#111" stroke-width="4" stroke-linecap="round" stroke-linejoin="round">216          <path d="M30 10 L16 24 L30 38"></path>217        </svg>218      </div>219      <div class="search-input-area">|</div>220      <div class="icon-btn" aria-label="Camera search">221        <svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2">222          <rect x="3" y="6" width="18" height="13" rx="2"></rect>223          <path d="M9 6l1.5-2h3L15 6"></path>224          <circle cx="12" cy="12" r="3.2"></circle>225        </svg>226      </div>227    </div>228  </div>229 230  <!-- Tip -->231  <div class="tip">232    Tip! Try searching for <strong>grey 3 seat sofa</strong>, <strong>white bookshelf</strong> or <strong>dining chair</strong>233  </div>234 235  <!-- Recently searched -->236  <div class="recent-header">237    <div class="title">Recently searched</div>238    <div class="clear">Clear</div>239  </div>240  <div class="chips">241    <div class="chip">switch</div>242  </div>243 244  <!-- Info note -->245  <div class="note">246    Your search and browse activity is only used to make results more relevant247  </div>248 249  <!-- Bottom navigation -->250  <div class="bottom-nav">251    <div class="nav-item">252      <svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="#B0B0B0" stroke-width="2"><path d="M3 11l9-8 9 8"/><path d="M5 10v10h14V10"/></svg>253    </div>254    <div class="nav-item active">255      <svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2"><circle cx="11" cy="11" r="7"/><line x1="20" y1="20" x2="16.6" y2="16.6"/></svg>256    </div>257    <div class="nav-item">258      <svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="#B0B0B0" stroke-width="2"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></svg>259    </div>260    <div class="nav-item">261      <svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="#B0B0B0" stroke-width="2"><path d="M12 21s-7-4.5-7-10a4 4 0 018 0 4 4 0 018 0c0 5.5-7 10-7 10z"/></svg>262    </div>263    <div class="nav-item">264      <svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="#B0B0B0" stroke-width="2"><path d="M6 6h15l-1.6 9.5a2 2 0 01-2 1.7H8.5a2 2 0 01-2-1.7L5 4H2"/><circle cx="9" cy="20" r="1.5"/><circle cx="17" cy="20" r="1.5"/></svg>265    </div>266  </div>267 268  <!-- Keyboard placeholder -->269  <div class="keyboard">270    <div class="kb-toolbar">271      <div class="kb-dot"></div>272      <div class="kb-dot"></div>273      <div class="kb-dot"></div>274      <div class="kb-dot"></div>275      <div class="kb-dot"></div>276      <div class="kb-dot"></div>277      <div style="margin-left:auto; display:flex; align-items:center; gap:18px;">278        <div class="kb-dot" style="width:58px;"></div>279        <div class="kb-dot" style="width:58px;"></div>280      </div>281    </div>282    <div class="kb-rows">283      <div class="kb-row">284        <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>285      </div>286      <div class="kb-row">287        <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>288        <div class="key small">289          <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#f2f2f2" stroke-width="2"><path d="M21 4H8l-1 2H3v13a1 1 0 001 1h17a1 1 0 001-1V5a1 1 0 00-1-1z"/><circle cx="12" cy="13" r="3.2"/></svg>290        </div>291      </div>292      <div class="kb-row">293        <div class="key wide small">⇧</div>294        <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>295        <div class="key wide small">296          <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#f2f2f2" stroke-width="2"><path d="M21 7l-8 8-4-4-6 6"/><path d="M15 7h6v6"/></svg>297        </div>298      </div>299      <div class="kb-row">300        <div class="key xwide small">?123</div>301        <div class="key small">,</div>302        <div class="key xwide">space</div>303        <div class="key small">.</div>304        <div class="key search">305          <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#0a2038" stroke-width="2"><circle cx="11" cy="11" r="7"/><line x1="20" y1="20" x2="16.6" y2="16.6"/></svg>306        </div>307      </div>308    </div>309  </div>310 311</div>312</body>313</html>
GD-ML/AndroidCode · Team Ai