File size: 8,517 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Search UI Mock</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: "Roboto", system-ui, -apple-system, Arial, Helvetica, sans-serif; }
#render-target {
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#191617; /* dark app background */
border-radius:24px;
box-shadow: 0 8px 30px rgba(0,0,0,0.35);
color:#e9d4da;
}
.status-bar {
position:absolute; top:0; left:0; right:0;
height:92px; padding:0 36px;
display:flex; align-items:center; justify-content:space-between;
color:#e9d4da; font-size:34px; letter-spacing:0.5px;
}
.status-left { display:flex; align-items:center; gap:18px; }
.status-right { display:flex; align-items:center; gap:22px; }
.dot { width:10px; height:10px; background:#e9d4da; border-radius:50%; opacity:0.7; }
.icon-circle {
width:28px; height:28px; border-radius:50%;
border:2px solid #e9d4da33;
}
/* Top search bar */
.search-area {
position:absolute; top:92px; left:0; right:0;
height:128px; display:flex; align-items:center;
padding:0 32px 0 24px; gap:24px;
}
.back-btn, .clear-btn {
width:60px; height:60px; display:flex; align-items:center; justify-content:center;
}
.search-text {
flex:1; font-size:48px; color:#f0d7de;
display:flex; align-items:center;
}
.caret {
width:3px; height:56px; background:#f0b7c4; margin-left:10px; border-radius:2px;
}
.divider {
position:absolute; top:220px; left:0; right:0;
height:2px; background:#3a3336;
}
/* Suggestion list */
.suggestion {
position:absolute; top:222px; left:0; right:0;
height:120px; display:flex; align-items:center; justify-content:space-between;
padding:0 40px; font-size:42px; color:#e9d4da;
}
.suggestion .time { color:#c9b7bf; }
/* Keyboard */
.keyboard {
position:absolute; bottom:0; left:0; right:0;
height:900px; background:#1b1718; border-top-left-radius:26px; border-top-right-radius:26px;
box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
}
.candidate-strip {
height:110px; display:flex; align-items:center; gap:26px;
padding:0 28px; border-bottom:2px solid #2b2527;
color:#f1d9df; font-size:40px;
}
.cand-left {
width:74px; height:74px; border-radius:20px; background:#2a2527; display:flex; align-items:center; justify-content:center;
color:#cbb8bf; font-size:36px; border:1px solid #3a3436;
}
.cand-divider { width:2px; height:46px; background:#3a3336; }
.cand-spacer { flex:1; }
.mic {
width:74px; height:74px; border-radius:37px; background:#2a2527; display:flex; align-items:center; justify-content:center;
border:1px solid #3a3436;
}
.rows { padding-top:16px; }
.row { display:flex; gap:14px; padding:0 24px; margin-top:18px; }
.key {
flex:1; height:120px; background:#2a2627; border-radius:22px; color:#ead0d8; display:flex; align-items:center; justify-content:center;
font-size:46px; border:1px solid #3a3436;
}
.key.small { flex:0 0 96px; }
.key.medium { flex:0 0 120px; }
.key.wide { flex:0 0 160px; }
.key.space { flex:1.6; font-size:38px; color:#cbb8bf; }
.key.circle {
height:150px; flex:0 0 150px; border-radius:75px; font-size:38px;
background:#e7c2ce; color:#1b1718; border:none;
}
.key.circle.gray { background:#2a2527; color:#e6d3da; border:1px solid #3a3436; }
.key.search {
background:#f0c8d2; color:#1b1718; border:none; font-weight:600;
}
.backspace {
flex:0 0 150px; height:120px; border-radius:22px; background:#2a2627; border:1px solid #3a3436; display:flex; align-items:center; justify-content:center;
}
.gesture-bar {
position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
width:220px; height:8px; background:#e7e7e7; border-radius:6px; opacity:0.8;
}
/* SVG colors */
svg { display:block; }
.ico { stroke:#e9d4da; fill:none; stroke-width:6; }
.ico-pink { stroke:#f0b7c4; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div style="font-weight:600;">8:51</div>
<div class="icon-circle"></div>
<div class="icon-circle" style="transform: rotate(45deg);"></div>
<div class="icon-circle"></div>
<div class="dot"></div>
</div>
<div class="status-right">
<!-- WiFi -->
<svg width="40" height="34" viewBox="0 0 40 34">
<path class="ico" d="M4 12c8-8 24-8 32 0M9 18c6-6 16-6 22 0M15 23c3-3 8-3 11 0M20 29l2 2" stroke="#e9d4da" />
</svg>
<!-- Signal -->
<svg width="36" height="34" viewBox="0 0 36 34">
<path class="ico" d="M4 28h4M12 22h4M20 16h4M28 8h4" stroke="#e9d4da"/>
</svg>
<!-- Battery -->
<svg width="48" height="28" viewBox="0 0 48 28">
<rect x="2" y="4" width="38" height="20" rx="4" stroke="#e9d4da" fill="none" stroke-width="4"/>
<rect x="6" y="8" width="30" height="12" rx="3" fill="#e9d4da"/>
<rect x="42" y="9" width="4" height="10" rx="2" fill="#e9d4da"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-area">
<div class="back-btn">
<svg width="44" height="44" viewBox="0 0 44 44">
<path class="ico ico-pink" d="M28 10L14 22l14 12" />
</svg>
</div>
<div class="search-text">Queenstown New Zealand<div class="caret"></div></div>
<div class="clear-btn">
<svg width="44" height="44" viewBox="0 0 44 44">
<path class="ico" d="M12 12l20 20M32 12L12 32" />
</svg>
</div>
</div>
<div class="divider"></div>
<!-- Suggestion -->
<div class="suggestion">
<div>Queenstown, New Zealand</div>
<div class="time">4:21 AM</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="candidate-strip">
<div class="cand-left">⌨︎</div>
<div>Zealand</div>
<div class="cand-divider"></div>
<div>Zealand's</div>
<div class="cand-spacer"></div>
<div class="mic">
<svg width="32" height="32" viewBox="0 0 32 32">
<rect x="10" y="6" width="12" height="14" rx="6" fill="#e6d3da"/>
<path d="M6 16c0 6 5 10 10 10s10-4 10-10" stroke="#e6d3da" stroke-width="3" fill="none"/>
<path d="M16 26v4" stroke="#e6d3da" stroke-width="3"/>
</svg>
</div>
</div>
<div class="rows">
<!-- Row 1 -->
<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>
<!-- Row 2 -->
<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>
<!-- Row 3 -->
<div class="row">
<div class="key wide">⇧</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="backspace">
<svg width="64" height="42" viewBox="0 0 64 42">
<path d="M8 21l12-12h30a6 6 0 016 6v12a6 6 0 01-6 6H20L8 21z" fill="#3a3436"/>
<path d="M30 14l12 14M42 14L30 28" stroke="#e6d3da" stroke-width="4"/>
</svg>
</div>
</div>
<!-- Row 4 -->
<div class="row" style="align-items:center;">
<div class="key circle">?123</div>
<div class="key medium">,</div>
<div class="key circle gray">☺</div>
<div class="key space">space</div>
<div class="key medium">.</div>
<div class="key circle search">
<svg width="36" height="36" viewBox="0 0 36 36">
<circle cx="16" cy="16" r="10" stroke="#1b1718" stroke-width="4" fill="none"/>
<path d="M24 24l8 8" stroke="#1b1718" stroke-width="4" />
</svg>
</div>
</div>
</div>
<div class="gesture-bar"></div>
</div>
</div>
</body>
</html> |