AndroidCode / code /10046 /10046_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search for a city UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #1C1819; /* very dark theme background */
color: #E7E3E6;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
font-size: 40px;
}
.status-right {
display: flex;
gap: 24px;
align-items: center;
}
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #FFFFFF;
opacity: 0.85;
}
.status-icon {
width: 34px;
height: 34px;
border-radius: 6px;
border: 2px solid #FFFFFF;
opacity: 0.9;
}
.wifi {
border: none;
width: 38px;
height: 28px;
position: relative;
}
.wifi::before, .wifi::after {
content: "";
position: absolute;
left: 0;
right: 0;
margin: auto;
border: 3px solid #fff;
border-top-left-radius: 24px;
border-top-right-radius: 24px;
border-bottom: none;
}
.wifi::before { top: 3px; width: 36px; height: 26px; opacity: 0.8; }
.wifi::after { top: 10px; width: 22px; height: 14px; opacity: 0.8; }
/* App bar */
.app-bar {
position: absolute;
top: 110px;
left: 0;
width: 1080px;
height: 150px;
display: flex;
align-items: center;
padding: 0 36px;
color: #D0CBCE;
font-size: 44px;
letter-spacing: 0.2px;
}
.app-bar svg {
margin-right: 24px;
}
.divider {
position: absolute;
top: 260px;
left: 0;
width: 1080px;
height: 2px;
background: #544C51;
opacity: 0.7;
}
/* Empty state */
.empty-state {
position: absolute;
top: 600px;
left: 0;
width: 1080px;
display: flex;
flex-direction: column;
align-items: center;
gap: 36px;
}
.big-search {
width: 320px;
height: 320px;
}
.empty-text {
color: #B9B6B9;
font-size: 48px;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 110px; /* leave room for gesture bar */
width: 1080px;
background: #141213;
border-top-left-radius: 32px;
border-top-right-radius: 32px;
padding: 28px 28px 34px;
box-sizing: border-box;
}
.kb-tools {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 12px 18px;
color: #EAE6EA;
}
.tool {
display: flex;
align-items: center;
justify-content: center;
width: 88px;
height: 72px;
border-radius: 36px;
background: #1F1D1E;
color: #EAE6EA;
font-size: 30px;
}
.tool-label {
font-weight: 700;
letter-spacing: 1px;
}
.tool svg { width: 36px; height: 36px; }
.kb-row {
display: flex;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
padding: 0 12px;
}
.key {
flex: 1 1 auto;
max-width: 92px;
height: 120px;
background: #2A2729;
border-radius: 26px;
color: #EEE6EA;
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.key.small { max-width: 80px; }
.key.wide { flex: 1 1 180px; max-width: none; }
.key.space {
flex: 1 1 520px;
height: 120px;
background: #2A2729;
border-radius: 26px;
color: #CFC7CB;
font-size: 34px;
}
.special {
background: #E7C5D1;
color: #2B2729;
}
.action-round {
width: 132px;
height: 132px;
border-radius: 50%;
background: #E7C5D1;
color: #2B2729;
display: flex;
align-items: center;
justify-content: center;
font-size: 52px;
}
.backspace {
font-size: 44px;
}
/* Floating mic button (right side) */
.mic-btn {
position: absolute;
right: 36px;
top: -36px;
width: 110px;
height: 110px;
border-radius: 55px;
background: #2A2729;
display: flex;
align-items: center;
justify-content: center;
color: #EAE6EA;
}
/* Gesture bar */
.gesture-bar {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 220px;
height: 12px;
border-radius: 8px;
background: #E8E4E7;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">8:50</div>
<div class="status-right">
<div class="status-icon"></div>
<div class="status-icon" style="transform: rotate(90deg);"></div>
<div class="status-icon"></div>
<div class="status-dot"></div>
<div class="wifi"></div>
<div class="status-icon"></div>
<div class="status-icon"></div>
</div>
</div>
<!-- App bar with back arrow and title -->
<div class="app-bar">
<svg width="56" height="56" viewBox="0 0 56 56" xmlns="http://www.w3.org/2000/svg">
<polyline points="36,10 20,28 36,46" fill="none" stroke="#D0CBCE" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div>Search for a city</div>
</div>
<div class="divider"></div>
<!-- Empty state content -->
<div class="empty-state">
<svg class="big-search" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<circle cx="92" cy="90" r="54" fill="none" stroke="#9D9A9E" stroke-width="14"/>
<line x1="132" y1="130" x2="175" y2="173" stroke="#9D9A9E" stroke-width="14" stroke-linecap="square"/>
</svg>
<div class="empty-text">Search for a city</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="mic-btn">
<!-- simple mic icon -->
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 14a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v5a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0m5 5v3" stroke="#EAE6EA" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="kb-tools">
<div class="tool">
<svg viewBox="0 0 24 24">
<rect x="3" y="3" width="7" height="7" fill="#EAE6EA"/><rect x="14" y="3" width="7" height="7" fill="#EAE6EA"/>
<rect x="3" y="14" width="7" height="7" fill="#EAE6EA"/><rect x="14" y="14" width="7" height="7" fill="#EAE6EA"/>
</svg>
</div>
<div class="tool">🙂</div>
<div class="tool tool-label">GIF</div>
<div class="tool">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#EAE6EA" stroke-width="2" fill="none"/>
<path d="M12 7v5l3 3" stroke="#EAE6EA" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24">
<path d="M4 5h10v4H4zM10 11h10v4H10zM4 17h10v4H4z" fill="#EAE6EA"/>
</svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#EAE6EA" stroke-width="2" fill="none"/>
<circle cx="8" cy="8" r="2" fill="#EAE6EA"/>
<circle cx="16" cy="16" r="2" fill="#EAE6EA"/>
</svg>
</div>
</div>
<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 class="key backspace"></div>
</div>
<div class="kb-row">
<div class="key small"></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 small">.</div>
<div class="key backspace"></div>
</div>
<div class="kb-row" style="align-items:center;">
<div class="action-round special">?123</div>
<div class="key small">,</div>
<div class="action-round">🙂</div>
<div class="key space">space</div>
<div class="key small">.</div>
<div class="action-round special">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#2B2729" stroke-width="2" fill="none"/>
<line x1="14.5" y1="14.5" x2="20" y2="20" stroke="#2B2729" stroke-width="2"/>
</svg>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture-bar"></div>
</div>
</body>
</html>