File size: 11,171 Bytes
fa881a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search UI Mock</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: #ffffff;
border-radius: 18px;
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
/* Status bar */
.status-bar {
height: 90px;
padding: 0 34px;
display: flex;
align-items: center;
justify-content: space-between;
color: #000;
font-size: 32px;
}
.status-left { display: flex; align-items: center; gap: 18px; }
.status-right { display: flex; align-items: center; gap: 20px; font-size: 28px; color: #555; }
.dot { width: 10px; height: 10px; background:#777; border-radius:50%; display:inline-block; }
.battery {
display:flex; align-items:center; gap:8px; color:#222; font-size:28px;
}
.battery .icon {
width: 32px; height: 18px; border: 2px solid #333; border-radius: 4px; position: relative;
}
.battery .icon::after {
content:''; position:absolute; right:-6px; top:5px; width:4px; height:8px; background:#333; border-radius:2px;
}
.battery .fill { width: 70%; height: 100%; background:#4CAF50; }
/* Header search */
.header {
position: relative;
padding: 10px 30px 20px 30px;
}
.back-btn {
width: 60px; height: 60px; display:flex; align-items:center; justify-content:center; position:absolute; left:24px; top:24px;
}
.search-bar {
margin: 10px 30px 0 100px;
position: relative;
}
.search-pill {
height: 100px;
border: 3px solid #000;
border-radius: 50px;
background: #fff;
display: flex;
align-items: center;
padding: 0 140px 0 30px;
font-size: 34px;
color: #6f6f6f;
}
.camera-btn {
position: absolute;
right: 120px;
top: 18px;
width: 64px; height: 64px;
border-radius: 50%;
border: 2px solid #000;
display:flex; align-items:center; justify-content:center;
}
.search-action {
position: absolute;
right: 20px;
top: 10px;
width: 84px; height: 84px;
border-radius: 42px;
background:#000;
display:flex; align-items:center; justify-content:center;
}
/* Section titles */
.section { padding: 10px 34px; }
.section h3 {
margin: 24px 0 16px 0; font-size: 36px; color:#111; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip {
background: #F5F5F5;
border: 1px solid #E0E0E0;
border-radius: 28px;
padding: 14px 24px;
font-size: 32px;
color: #333;
}
.chip.small { font-size: 30px; }
.trash {
position: absolute; right: 34px; top: 12px; width: 50px; height: 50px; display:flex; align-items:center; justify-content:center; color:#888;
}
.subhead { position: relative; }
/* Browsing history */
.browse-header {
display: flex; align-items: center; justify-content: space-between;
font-size: 34px; color:#111; font-weight: 600; margin-top: 18px;
}
.products {
display: flex;
gap: 24px;
padding: 18px 34px;
overflow: hidden;
}
.card {
width: 236px;
}
.card .img {
width: 236px; height: 236px;
background:#E0E0E0;
border: 1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center;
color:#757575; font-size: 24px; text-align:center; padding: 6px;
}
.price-row {
display:flex; align-items:center; gap: 8px; margin-top: 10px;
font-size: 28px; color:#111;
}
.sold { color:#777; font-size: 26px; }
/* Keyboard mock */
.keyboard {
position: absolute;
left: 0;
bottom: 40px;
width: 1080px;
height: 920px;
background: #101417;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
padding: 20px 24px;
box-sizing: border-box;
color: #e9ecef;
}
.kb-top {
display:flex; align-items:center; gap: 28px; margin-bottom: 14px;
}
.kb-top .icon {
width: 74px; height: 74px; border-radius: 18px; background:#1d2226; display:flex; align-items:center; justify-content:center; font-size: 28px;
color:#cfd8dc;
}
.keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 16px; margin-top: 12px; }
.key {
height: 106px;
background: #192025;
border: 1px solid #222a30;
border-radius: 18px;
display:flex; align-items:center; justify-content:center;
font-size: 40px; color:#e0e0e0;
}
.row2 { grid-template-columns: repeat(9, 1fr); }
.row3 { grid-template-columns: repeat(7, 1fr); }
.kb-bottom {
display:flex; align-items:center; gap: 16px; margin-top: 18px;
}
.key-wide { flex: 1; height: 100px; background:#192025; border:1px solid #222a30; border-radius: 18px; display:flex; align-items:center; justify-content:center; font-size: 34px; color:#dfe5ea; }
.action-left, .action-right {
width: 140px; height: 100px; border-radius: 48px; display:flex; align-items:center; justify-content:center; font-size: 36px;
}
.action-left { background:#7FD1B9; color:#0a0f12; }
.action-right { background:#7FD1B9; color:#0a0f12; }
.home-indicator {
position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
width: 400px; height: 10px; border-radius: 5px; background:#d0d0d0;
}
/* Simple icons */
svg { display:block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div style="font-weight:600;">8:52</div>
<span class="dot"></span>
<span style="font-size:28px;">✉️</span>
<span style="font-size:28px;">📧</span>
<span style="font-size:28px;">⚠️</span>
<span class="dot"></span>
</div>
<div class="status-right">
<div class="battery">
<div class="icon"><div class="fill"></div></div>
<div>95%</div>
</div>
</div>
</div>
<!-- Search header -->
<div class="header">
<div class="back-btn">
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M15 19L8 12l7-7" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-bar">
<div class="search-pill">men dress shoes clearance</div>
<div class="camera-btn">
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M7 7h10l2 3v7H5V10z" stroke="#000" stroke-width="2" fill="none"/>
<circle cx="12" cy="12" r="3" stroke="#000" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="search-action">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#fff" stroke-width="2" fill="none"/>
<path d="M16.5 16.5L21 21" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Suggested searches -->
<div class="section">
<h3>Suggested searches</h3>
<div class="chips">
<div class="chip">white t shirt</div>
<div class="chip">lights</div>
<div class="chip">dress shoes</div>
<div class="chip">More ▾</div>
</div>
</div>
<!-- Recently searched -->
<div class="section subhead">
<h3>Recently searched</h3>
<div class="trash">
<svg width="30" height="30" viewBox="0 0 24 24">
<path d="M4 7h16M9 7V5h6v2M6 7l1 12h10l1-12" stroke="#999" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="chips">
<div class="chip">mens sports shoes</div>
<div class="chip">Clohco shoes</div>
<div class="chip">Clohco shoes.</div>
<div class="chip">Nike shoes</div>
<div class="chip">formal shoes</div>
<div class="chip">spoke wrench</div>
<div class="chip">More ▾</div>
</div>
</div>
<!-- Popular right now -->
<div class="section">
<h3>Popular right now</h3>
<div class="chips">
<div class="chip">🔥 men shoes</div>
<div class="chip">🔥 men dress shoes</div>
<div class="chip">badminton racket</div>
<div class="chip">t shirts</div>
<div class="chip">kids shoes</div>
<div class="chip">mens pants</div>
<div class="chip">More ▾</div>
</div>
</div>
<!-- Browsing history recommendation -->
<div class="section">
<div class="browse-header">
<div>Browsing history recommendation</div>
<div>›</div>
</div>
<div class="products">
<div class="card">
<div class="img">[IMG: Badminton rackets]</div>
<div class="price-row">
<div style="font-weight:700;">$92.48</div>
<div class="sold">9 sold</div>
</div>
</div>
<div class="card">
<div class="img">[IMG: Black dress shoe]</div>
<div class="price-row">
<div style="font-weight:700;">$18.97</div>
<div class="sold">1K+ sold</div>
</div>
</div>
<div class="card">
<div class="img">[IMG: Under-cabinet light]</div>
<div class="price-row">
<div style="font-weight:700;">$4.28</div>
<div class="sold">100K+ sold</div>
</div>
</div>
<div class="card">
<div class="img">[IMG: White t-shirts pack]</div>
<div class="price-row">
<div style="font-weight:700;">$10.18</div>
<div class="sold">38K+ sold</div>
</div>
</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-top">
<div class="icon">⌗</div>
<div class="icon">🙂</div>
<div class="icon">GIF</div>
<div class="icon">G↔️</div>
<div class="icon">🎨</div>
<div class="icon">🎤</div>
</div>
<div class="keys">
<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="keys row2">
<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="keys row3">
<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>
<div class="kb-bottom">
<div class="action-left">?123</div>
<div class="key-wide">,</div>
<div class="key-wide">🙂</div>
<div class="key-wide">space</div>
<div class="key-wide">.</div>
<div class="action-right">
<svg width="30" height="30" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#0a0f12" stroke-width="2" fill="none"/>
<path d="M16.5 16.5L21 21" stroke="#0a0f12" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html> |