File size: 10,669 Bytes
ff1f000 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Search UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.statusbar {
position: absolute; top: 0; left: 0; right: 0;
height: 120px; padding: 24px 32px;
display: flex; align-items: center; justify-content: space-between;
color: #2b2b2b; font-size: 36px; font-weight: 600;
}
.sb-right { display: flex; align-items: center; gap: 28px; }
.sb-icon { width: 44px; height: 44px; }
/* Search header */
.search-row {
position: absolute; top: 120px; left: 0; right: 0;
padding: 22px 28px 18px 28px; background: #fff;
box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.search-wrap { display: flex; align-items: center; gap: 24px; }
.icon-btn {
width: 72px; height: 72px; border-radius: 36px;
display: flex; align-items: center; justify-content: center;
color: #5f6b7a; border: 1px solid #e6e6e6; background: #fff;
}
.search-input {
flex: 1; height: 104px; border-radius: 24px;
border: 3px solid #2389FF; background: #fff;
display: flex; align-items: center; padding: 0 28px; gap: 24px;
box-sizing: border-box;
}
.search-input .placeholder {
font-size: 40px; color: #8aa3bd; font-weight: 500;
}
/* Current location CTA */
.cta {
position: absolute; top: 260px; left: 32px; right: 32px;
background: #EAF5FF; border-radius: 26px; height: 120px;
display: flex; align-items: center; padding: 0 28px; gap: 26px;
border: 1px solid #CFE6FF;
color: #1E88E5; font-size: 42px; font-weight: 600;
}
.cta .target {
width: 64px; height: 64px; border-radius: 32px;
border: 2px solid #8FCCFF; display: flex; align-items: center; justify-content: center;
background: #fff;
}
/* Recently searched */
.recent {
position: absolute; top: 420px; left: 36px; right: 36px;
}
.recent-head {
display: flex; justify-content: space-between; align-items: center;
color: #90A4AE; font-size: 38px; margin-bottom: 18px;
}
.recent-head .clear { color: #2389FF; font-weight: 600; }
.divider { height: 2px; background: #e8edf3; }
.result {
display: flex; align-items: flex-start; gap: 26px;
padding: 34px 0; border-bottom: 1px solid #eef2f6;
}
.result:last-child { border-bottom: none; }
.res-icon {
width: 56px; height: 56px; color: #6d8aa0;
}
.res-text { line-height: 1.28; }
.res-title { font-size: 46px; color: #203A4B; font-weight: 700; }
.res-sub { font-size: 42px; color: #8EA3B4; font-weight: 500; }
/* Keyboard mock */
.keyboard {
position: absolute; left: 0; right: 0; bottom: 0;
height: 900px; background: #1f1b19; color: #e9d5c6;
border-top-left-radius: 24px; border-top-right-radius: 24px;
box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}
.kb-top {
height: 120px; padding: 20px 28px; display: flex; align-items: center; gap: 32px;
}
.kb-pill {
width: 72px; height: 72px; border-radius: 18px; background: #2a2421;
display: flex; align-items: center; justify-content: center; color: #e9d5c6;
border: 1px solid rgba(255,255,255,0.06);
}
.kb-rows { padding: 0 22px; }
.kb-row { display: flex; justify-content: center; gap: 18px; margin-top: 20px; }
.key {
width: 86px; height: 108px; border-radius: 22px; background: #2a2421;
display: flex; align-items: center; justify-content: center;
font-size: 44px; font-weight: 600; border: 1px solid rgba(255,255,255,0.05);
}
.key-wide { width: 180px; }
.space { width: 540px; }
.accent {
background: #e7c9b3; color: #2a2421; font-weight: 700;
}
.gesture {
position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
width: 220px; height: 10px; background: rgba(255,255,255,0.9); border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div>2:46</div>
<div class="sb-right">
<!-- simple mail icon -->
<svg class="sb-icon" viewBox="0 0 24 24">
<path d="M3 6h18v12H3z" fill="none" stroke="#555" stroke-width="2"/>
<path d="M3 6l9 6 9-6" fill="none" stroke="#555" stroke-width="2"/>
</svg>
<!-- cast icon -->
<svg class="sb-icon" viewBox="0 0 24 24">
<path d="M3 4h18v14H3z" fill="none" stroke="#555" stroke-width="2"/>
<path d="M3 20c2-3 6-3 8 0" fill="none" stroke="#555" stroke-width="2"/>
<path d="M3 16c1-1 3-1 4 0" fill="none" stroke="#555" stroke-width="2"/>
</svg>
<!-- signal/battery group -->
<svg class="sb-icon" viewBox="0 0 24 24">
<path d="M2 16h12v6H2z" fill="none" stroke="#555" stroke-width="2"/>
<rect x="14" y="18" width="2" height="2" fill="#555"/>
<rect x="4" y="18" width="8" height="2" fill="#555"/>
</svg>
</div>
</div>
<!-- Search header -->
<div class="search-row">
<div class="search-wrap">
<div class="icon-btn">
<!-- X icon -->
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M5 5l14 14M19 5L5 19" stroke="#6b7785" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="search-input">
<!-- leading circle icon -->
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#8aa3bd" stroke-width="2"/>
<circle cx="12" cy="12" r="3" fill="#8aa3bd"/>
</svg>
<div class="placeholder">Leaving from...</div>
</div>
</div>
</div>
<!-- Use current location CTA -->
<div class="cta">
<div class="target">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#1E88E5" stroke-width="2"/>
<path d="M12 5v14M5 12h14" stroke="#1E88E5" stroke-width="2"/>
<circle cx="12" cy="12" r="2" fill="#1E88E5"/>
</svg>
</div>
<div>Use current location</div>
</div>
<!-- Recently searched -->
<div class="recent">
<div class="recent-head">
<div>Recently searched</div>
<div class="clear">Clear</div>
</div>
<div class="divider"></div>
<!-- Item 1 -->
<div class="result">
<svg class="res-icon" viewBox="0 0 24 24">
<path d="M12 2c3.3 0 6 2.6 6 5.8 0 4.6-6 13.2-6 13.2S6 12.4 6 7.8C6 4.6 8.7 2 12 2z" fill="#87a1b3"/>
<circle cx="12" cy="8" r="2.5" fill="#fff"/>
</svg>
<div class="res-text">
<div class="res-title">Gajnice Train Station</div>
<div class="res-sub">Zagreb</div>
</div>
</div>
<!-- Item 2 -->
<div class="result">
<svg class="res-icon" viewBox="0 0 24 24">
<path d="M12 2c3.3 0 6 2.6 6 5.8 0 4.6-6 13.2-6 13.2S6 12.4 6 7.8C6 4.6 8.7 2 12 2z" fill="#87a1b3"/>
<circle cx="12" cy="8" r="2.5" fill="#fff"/>
</svg>
<div class="res-text">
<div class="res-title">Paris Gare de l'Est</div>
<div class="res-sub">Paris</div>
</div>
</div>
<!-- Item 3 -->
<div class="result">
<svg class="res-icon" viewBox="0 0 24 24">
<path d="M3 21h18V7H3v14zM6 10h3v3H6v-3zm6 0h3v3h-3v-3z" fill="#87a1b3"/>
</svg>
<div class="res-text">
<div class="res-title">Antwerp</div>
<div class="res-sub">Antwerp, Belgium</div>
</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-top">
<div class="kb-pill">
<svg width="32" height="32" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="#dac2b0" stroke-width="2"/></svg>
</div>
<div class="kb-pill">
<svg width="32" height="32" viewBox="0 0 24 24"><path d="M12 2v20M2 12h20" stroke="#dac2b0" stroke-width="2"/></svg>
</div>
<div class="kb-pill">GIF</div>
<div class="kb-pill">
<svg width="30" height="30" viewBox="0 0 24 24"><path d="M12 3l-2 9h4l-2 9" stroke="#dac2b0" stroke-width="2" fill="none"/></svg>
</div>
<div class="kb-pill">
<svg width="30" height="30" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16" stroke="#dac2b0" stroke-width="2"/></svg>
</div>
<div class="kb-pill">
<svg width="30" height="30" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="none" stroke="#dac2b0" stroke-width="2"/></svg>
</div>
<div class="kb-pill">
<svg width="30" height="30" viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19" stroke="#dac2b0" stroke-width="2"/></svg>
</div>
</div>
<div class="kb-rows">
<div class="kb-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="kb-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="kb-row">
<div class="key-wide">
<svg width="40" height="40" viewBox="0 0 24 24"><path d="M6 18l4-6-4-6" stroke="#e9d5c6" stroke-width="2" fill="none" stroke-linecap="round"/></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-wide">
<svg width="40" height="40" viewBox="0 0 24 24"><path d="M4 7h16M9 7l6 6-6 6" stroke="#e9d5c6" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
</div>
</div>
<div class="kb-row">
<div class="key accent key-wide">?123</div>
<div class="key">,</div>
<div class="key key-wide">
<svg width="34" height="34" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="#e9d5c6"/><path d="M12 2v6M12 16v6M2 12h6M16 12h6" stroke="#e9d5c6" stroke-width="2"/></svg>
</div>
<div class="key space"></div>
<div class="key">.</div>
<div class="key accent key-wide">
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M6 12l4 4 8-8" stroke="#2a2421" stroke-width="3" fill="none" stroke-linecap="round"/></svg>
</div>
</div>
</div>
<div class="gesture"></div>
</div>
</div>
</body>
</html> |