File size: 12,177 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 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<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; box-shadow: 0 0 0 rgba(0,0,0,0); border-radius: 0;
}
/* Status bar */
.status-bar {
height: 90px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; color: #000; font-size: 32px;
}
.status-right { display: flex; align-items: center; gap: 22px; }
.icon-small { width: 26px; height: 26px; }
/* Search header */
.search-header { padding: 10px 24px 0 24px; }
.search-row { display: flex; align-items: center; gap: 16px; }
.back-btn {
width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
}
.search-bar {
flex: 1; position: relative; height: 86px; border: 3px solid #000; border-radius: 44px; background: #fff;
display: flex; align-items: center; padding: 0 120px 0 28px; box-sizing: border-box;
}
.search-text { font-size: 34px; color: #0b73ff; }
.clear-btn {
position: absolute; right: 92px; width: 46px; height: 46px; border-radius: 23px; background: #E9E9E9;
display: flex; align-items: center; justify-content: center; border: 1px solid #CFCFCF;
}
.search-action {
position: absolute; right: 10px; width: 70px; height: 70px; border-radius: 35px; background: #000;
display: flex; align-items: center; justify-content: center;
}
/* Sections */
.content { padding: 12px 24px 0 24px; color: #000; }
.section-title { font-size: 32px; font-weight: 600; margin: 28px 0 16px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 18px; }
.pill {
background: #F3F3F3; color: #222; border-radius: 30px; padding: 16px 24px; font-size: 30px; border: 1px solid #E5E5E5;
}
.section-header {
display: flex; align-items: center; justify-content: space-between;
}
.trash {
width: 44px; height: 44px; border-radius: 22px; background: #F3F3F3; display: flex; align-items: center; justify-content: center; border: 1px solid #E1E1E1;
}
/* Browsing recommendation */
.browse-header {
display: flex; align-items: center; justify-content: space-between; margin: 34px 0 18px; font-size: 32px; font-weight: 600;
}
.cards { display: flex; gap: 22px; }
.card {
width: 236px;
}
.img-placeholder {
width: 236px; height: 236px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 26px; text-align: center;
}
.price-row {
font-size: 28px; color: #000; margin-top: 10px; display: flex; gap: 10px; align-items: baseline;
}
.sold { color: #666; font-size: 26px; }
/* Suggestions strip above keyboard */
.suggest-strip {
position: absolute; bottom: 820px; left: 0; right: 0; height: 80px; background: #202426;
display: flex; align-items: center; gap: 18px; padding: 0 24px;
}
.suggest-chip {
background: #2B3032; color: #E9EBEC; padding: 12px 18px; border-radius: 18px; font-size: 30px; border: 1px solid #3A3F42;
}
/* Keyboard */
.keyboard {
position: absolute; bottom: 0; left: 0; width: 100%; height: 820px; background: #14181A; border-top: 1px solid #2A2F31;
box-sizing: border-box; padding: 20px 18px;
}
.key-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.key {
width: 86px; height: 102px; background: #212629; border-radius: 16px; color: #E5E8EA; font-size: 40px;
display: flex; align-items: center; justify-content: center; border: 1px solid #2B3134;
}
.key-wide { width: 120px; }
.key-shift { width: 120px; }
.key-bottom { height: 112px; }
.space { flex: 1; min-width: 560px; height: 112px; background: #212629; border-radius: 16px; border: 1px solid #2B3134; }
.search-green {
width: 120px; height: 112px; background: #7DE3B3; border-radius: 60px; display: flex; align-items: center; justify-content: center; margin-left: 12px;
}
.bottom-bar {
position: absolute; bottom: 786px; left: 50%; transform: translateX(-50%);
width: 360px; height: 10px; background: #D9D9D9; border-radius: 5px;
}
.kbd-top-icons {
display: flex; gap: 22px; color: #E5E8EA; font-size: 28px; margin-bottom: 18px; align-items: center;
}
.kbd-grid-toggle {
width: 64px; height: 64px; background: #212629; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #2B3134;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:53</div>
<div class="status-right">
<!-- simple status icons -->
<svg class="icon-small" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="#000" stroke-width="2"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2" fill="none" stroke="#000" stroke-width="2"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path d="M3 12h18" stroke="#000" stroke-width="2"/></svg>
<div style="font-size:28px;">95%</div>
</div>
</div>
<!-- Search header -->
<div class="search-header">
<div class="search-row">
<div class="back-btn">
<svg width="34" height="34" viewBox="0 0 24 24">
<path d="M15 6l-6 6 6 6" fill="none" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-bar">
<div class="search-text">42-size formal shoes</div>
<div class="clear-btn">
<svg width="22" height="22" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#777" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="search-action">
<svg width="30" height="30" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M20 20l-4-4" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="section-title">Suggested searches</div>
<div class="pill-list">
<div class="pill">white t shirt</div>
<div class="pill">lights</div>
<div class="pill">dress shoes</div>
<div class="pill">More</div>
</div>
<div class="section-title section-header" style="margin-top:34px;">
<div>Recently searched</div>
<div class="trash">
<svg width="22" height="22" viewBox="0 0 24 24">
<path d="M4 7h16M9 7V5h6v2M6 7l1 12h10l1-12" fill="none" stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="pill-list">
<div class="pill">mens sports shoes</div>
<div class="pill">Clohco shoes</div>
<div class="pill">Clohco shoes.</div>
<div class="pill">Nike shoes</div>
<div class="pill">formal shoes</div>
<div class="pill">spoke wrench</div>
<div class="pill">More</div>
</div>
<div class="section-title" style="margin-top:34px;">Popular right now</div>
<div class="pill-list">
<div class="pill">🔥 men shoes</div>
<div class="pill">🔥 men dress shoes</div>
<div class="pill">badminton racket</div>
<div class="pill">t shirts</div>
<div class="pill">kids shoes</div>
<div class="pill">mens pants</div>
<div class="pill">More</div>
</div>
<div class="browse-header">
<div>Browsing history recommendation</div>
<div style="display:flex; align-items:center; gap:6px; color:#007aff;">
<span style="font-size:30px;">›</span>
</div>
</div>
<div class="cards">
<div class="card">
<div class="img-placeholder">[IMG: Badminton Racket Set]</div>
<div class="price-row"><strong>$92.48</strong><span class="sold">9 sold</span></div>
</div>
<div class="card">
<div class="img-placeholder">[IMG: Black Formal Shoe]</div>
<div class="price-row"><strong>$18.97</strong><span class="sold">1K+ sold</span></div>
</div>
<div class="card">
<div class="img-placeholder">[IMG: Cabinet Light Bar]</div>
<div class="price-row"><strong>$4.28</strong><span class="sold">100K+ sold</span></div>
</div>
<div class="card">
<div class="img-placeholder">[IMG: White T-Shirt Pack]</div>
<div class="price-row"><strong>$10.18</strong><span class="sold">38K+ sold</span></div>
</div>
</div>
</div>
<!-- suggestions strip above keyboard -->
<div class="suggest-strip">
<div class="kbd-grid-toggle">
<svg width="26" height="26" viewBox="0 0 24 24">
<rect x="3" y="3" width="6" height="6" fill="#8A9196"/>
<rect x="15" y="3" width="6" height="6" fill="#8A9196"/>
<rect x="3" y="15" width="6" height="6" fill="#8A9196"/>
<rect x="15" y="15" width="6" height="6" fill="#8A9196"/>
</svg>
</div>
<div class="suggest-chip">shoes</div>
<div class="suggest-chip">shoestring</div>
<div class="suggest-chip">👟</div>
<div style="flex:1;"></div>
<div class="suggest-chip" style="display:flex; align-items:center; gap:8px;">
<svg width="26" height="26" viewBox="0 0 24 24">
<path d="M21 21l-4-4" stroke="#E9EBEC" stroke-width="2" stroke-linecap="round"/>
<circle cx="11" cy="11" r="7" fill="none" stroke="#E9EBEC" stroke-width="2"/>
</svg>
</div>
</div>
<!-- keyboard -->
<div class="keyboard">
<div class="kbd-top-icons">
<div class="kbd-grid-toggle">
<svg width="26" height="26" viewBox="0 0 24 24">
<rect x="3" y="3" width="6" height="6" fill="#8A9196"/>
<rect x="15" y="3" width="6" height="6" fill="#8A9196"/>
<rect x="3" y="15" width="6" height="6" fill="#8A9196"/>
<rect x="15" y="15" width="6" height="6" fill="#8A9196"/>
</svg>
</div>
<div style="font-size:30px;">shoes</div>
<div style="font-size:30px;">shoestring</div>
<div style="font-size:30px;">👟</div>
</div>
<!-- Row 1 -->
<div class="key-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>
<!-- Row 2 -->
<div class="key-row" style="padding: 0 40px;">
<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>
<!-- Row 3 -->
<div class="key-row">
<div class="key-shift key">⇧</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 key">
<svg width="30" height="30" viewBox="0 0 24 24">
<path d="M5 12h12M11 8l-4 4 4 4" stroke="#E5E8EA" stroke-width="2" stroke-linecap="round" fill="none"/>
</svg>
</div>
</div>
<!-- Row 4 -->
<div class="key-row">
<div class="key-wide key-bottom">?123</div>
<div class="key-bottom" style="width:86px;border:1px solid #2B3134;background:#212629;border-radius:16px;">,</div>
<div class="space"></div>
<div class="key-bottom" style="width:86px;border:1px solid #2B3134;background:#212629;border-radius:16px;">.</div>
<div class="search-green">
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" fill="none" stroke="#0b2d1f" stroke-width="2"/>
<path d="M20 20l-4-4" stroke="#0b2d1f" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<div class="bottom-bar"></div>
</div>
</body>
</html> |