AndroidCode / code /10109 /10109_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
11.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search Suggestions - Dark UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #000000;
font-family: Arial, Helvetica, sans-serif;
color: #FFFFFF;
}
/* 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: #EDEDED;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 18px;
}
.icon-dot {
width: 8px;
height: 8px;
background: #BDBDBD;
border-radius: 50%;
display: inline-block;
}
.battery {
width: 44px;
height: 22px;
border: 2px solid #E0E0E0;
border-radius: 4px;
position: relative;
}
.battery::after {
content: '';
position: absolute;
right: -6px;
top: 6px;
width: 6px;
height: 10px;
background: #E0E0E0;
border-radius: 2px;
}
.battery .level {
width: 28px;
height: 100%;
background: #E0E0E0;
}
/* Search bar */
.search-wrap {
position: absolute;
top: 120px;
left: 36px;
right: 36px;
}
.search-bar {
height: 112px;
background: #1E1E1E;
border-radius: 56px;
display: flex;
align-items: center;
padding: 0 26px;
box-shadow: inset 0 0 0 1px #2A2A2A;
}
.search-bar .left,
.search-bar .right {
display: flex;
align-items: center;
gap: 22px;
}
.search-bar .left {
gap: 26px;
}
.search-bar .query {
font-size: 46px;
color: #E7E7E7;
letter-spacing: 0.2px;
}
.spacer {
flex: 1;
}
.icon-btn svg { width: 44px; height: 44px; fill: none; stroke: #CFCFCF; stroke-width: 3.5; }
/* Suggestions */
.suggestions {
position: absolute;
top: 252px;
left: 0;
width: 100%;
bottom: 910px; /* leave room for keyboard and handle */
overflow: hidden;
}
.sug {
display: flex;
align-items: center;
padding: 26px 36px;
border-bottom: 1px solid #121212;
}
.sug .text {
flex: 1;
display: flex;
flex-direction: column;
}
.sug .primary {
font-size: 42px;
color: #DDDDDD;
}
.sug .primary .dim { color: #BDBDBD; font-weight: 500; }
.sug .primary strong { color: #FFFFFF; font-weight: 700; }
.sug .secondary {
margin-top: 6px;
font-size: 28px;
color: #8E8E8E;
}
.sug .launch {
width: 56px; height: 56px;
display: flex; align-items: center; justify-content: center;
}
.sug .launch svg {
width: 40px; height: 40px; stroke: #CFCFCF; stroke-width: 3.5; fill: none;
}
/* Keyboard */
#keyboard {
position: absolute;
left: 0;
right: 0;
bottom: 86px;
height: 820px;
background: #1B1B1D;
border-top-left-radius: 26px;
border-top-right-radius: 26px;
box-shadow: 0 -2px 0 #111;
display: flex;
flex-direction: column;
padding: 18px 18px 26px;
}
.suggest-strip {
height: 96px;
display: flex;
align-items: center;
gap: 16px;
padding: 0 10px;
}
.chip {
background: #2A2A2F;
color: #E2E2E2;
padding: 12px 18px;
border-radius: 18px;
font-size: 30px;
}
.strip-icon svg { width: 42px; height: 42px; stroke: #CFCFCF; fill: none; stroke-width: 3; }
.row {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
}
.key {
width: 88px;
height: 120px;
background: #2A2A2F;
color: #E0E0E0;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 42px;
user-select: none;
}
.key.wide { width: 118px; }
.key.back { width: 118px; }
.space { width: 480px; }
.key.dark { background: #242428; color: #D0D0D0; }
.action-key {
width: 118px;
height: 120px;
background: #D7D8FF;
color: #1B1B1D;
border-radius: 28px;
font-weight: bold;
}
.key svg { width: 40px; height: 40px; stroke: #E0E0E0; fill: none; stroke-width: 3.5; }
/* Bottom gesture handle */
.handle {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 10px;
background: #E6E6E6;
border-radius: 6px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="time">8:47</div>
<div class="status-icons">
<!-- simple placeholders for icons -->
<svg width="28" height="28" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" stroke="#E0E0E0" fill="none" stroke-width="2"/></svg>
<svg width="28" height="28" viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2" stroke="#E0E0E0" fill="none" stroke-width="2"/><path d="M3 8l9 6 9-6" stroke="#E0E0E0" fill="none" stroke-width="2"/></svg>
<svg width="28" height="28" viewBox="0 0 24 24"><path d="M4 18h16M7 14h10M9 10h6M11 6h2" stroke="#E0E0E0" fill="none" stroke-width="2"/></svg>
<span class="icon-dot"></span>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- Search Bar -->
<div class="search-wrap">
<div class="search-bar">
<div class="left">
<!-- back arrow -->
<span class="icon-btn">
<svg viewBox="0 0 24 24"><path d="M15 4 L7 12 L15 20" stroke-linecap="round" stroke-linejoin="round"/></svg>
</span>
<div class="query">trackpants</div>
</div>
<div class="spacer"></div>
<div class="right">
<!-- clear X -->
<span class="icon-btn">
<svg viewBox="0 0 24 24"><path d="M6 6 L18 18 M18 6 L6 18" stroke-linecap="round"/></svg>
</span>
<!-- camera/lens -->
<span class="icon-btn">
<svg viewBox="0 0 24 24">
<rect x="4" y="7" width="16" height="11" rx="2"></rect>
<path d="M9 7l2-3h2l2 3" stroke-linecap="round"></path>
<circle cx="12" cy="12.5" r="3.2"></circle>
</svg>
</span>
</div>
</div>
</div>
<!-- Suggestions List -->
<div class="suggestions">
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span></div>
<div class="secondary">Men's Clothing</div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span></div>
<div class="secondary">Women's Clothing</div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>mens</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>vintage</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>women</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>mens vintage</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>nike</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>xl</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
<div class="sug">
<div class="text">
<div class="primary"><span class="dim">track pants</span> <strong>medium</strong></div>
</div>
<div class="launch">
<svg viewBox="0 0 24 24"><path d="M7 17 L17 7" stroke-linecap="round"/><path d="M9 7H17V15" stroke-linecap="round"/></svg>
</div>
</div>
</div>
<!-- Keyboard -->
<div id="keyboard">
<div class="suggest-strip">
<span class="strip-icon">
<svg viewBox="0 0 24 24">
<path d="M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z"></path>
</svg>
</span>
<span class="chip">trackpants</span>
<span class="chip">track pants</span>
<div class="spacer"></div>
<span class="strip-icon">
<svg viewBox="0 0 24 24">
<path d="M12 3v10M7 8h10" stroke-linecap="round"></path>
<circle cx="12" cy="18" r="3"></circle>
</svg>
</span>
</div>
<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>
<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>
<div class="row">
<div class="key wide">
<svg viewBox="0 0 24 24"><path d="M8 17l-3-5 3-5" stroke-linecap="round" stroke-linejoin="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 back">
<svg viewBox="0 0 24 24"><path d="M4 12h14M10 6l-6 6 6 6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
<div class="row">
<div class="key dark wide">?12