AndroidCode / code /10157 /10157_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
6.42 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search Overlay UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Helvetica Neue", Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #ffffff; color: #111;
}
/* Status bar */
.status-bar {
height: 110px; background: #000; color: #fff; padding: 0 40px;
display: flex; align-items: center; font-size: 36px; letter-spacing: 1px;
}
.status-bar .time { font-weight: 600; }
.status-bar .spacer { flex: 1; }
.status-bar .icons { opacity: 0.9; }
/* Search overlay */
.search-overlay { padding: 46px 48px 0; }
.close-btn {
position: absolute; right: 36px; top: 140px; width: 64px; height: 64px;
border: none; background: transparent; cursor: pointer;
}
.close-btn svg { width: 100%; height: 100%; stroke: #222; stroke-width: 6; }
.search-row {
display: flex; align-items: center; margin-top: 10px;
}
.search-placeholder {
flex: 1; font-size: 68px; line-height: 1.2; color: #cfcfcf; font-weight: 300;
}
.mic {
width: 56px; height: 56px; margin-left: 20px;
}
.mic svg { width: 100%; height: 100%; stroke: #5e5e5e; stroke-width: 4; fill: none; }
.divider {
height: 2px; background: #1b2343; margin: 28px 0 40px;
}
.section-title {
font-size: 40px; font-weight: 800; letter-spacing: 2px; color: #000; margin-bottom: 22px; text-transform: uppercase;
}
.link-list { list-style: none; padding: 0; margin: 0 0 40px 0; }
.link-list li {
font-size: 44px; line-height: 72px; color: #152048;
}
.favorite-sub { font-size: 34px; font-weight: 700; color: #222; margin: 20px 0; }
.product-hero {
width: 100%; height: 520px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 36px; letter-spacing: 0.5px;
}
/* Navy banner */
.nav-banner {
width: 100%; height: 110px; background: #0a1030; color: #fff;
display: flex; align-items: center; justify-content: center; margin-top: 10px;
}
.nav-item {
flex: 1; text-align: center; font-size: 36px; letter-spacing: 2px;
padding: 20px 0; border-right: 1px solid rgba(255,255,255,0.3);
}
.nav-item:last-child { border-right: none; }
/* Keyboard mock */
.keyboard {
width: 100%; height: 880px; background: #f1eff6; border-top-left-radius: 24px; border-top-right-radius: 24px;
box-shadow: 0 -2px 0 rgba(0,0,0,0.05); margin-top: 18px; padding: 24px 22px;
}
.kb-top {
display: flex; gap: 18px; margin-bottom: 16px; align-items: center;
}
.kb-top .chip {
padding: 14px 20px; background: #ffffff; border: 1px solid #d6d3e3; border-radius: 22px; font-size: 28px; color: #333;
}
.row { display: flex; justify-content: center; gap: 14px; margin: 18px 0; }
.key {
flex: 1; max-width: 90px; height: 104px; background: #fff; border: 1px solid #d6d3e3;
border-radius: 26px; display: flex; align-items: center; justify-content: center;
font-size: 44px; color: #111; font-weight: 600;
}
.wide { flex: 2; max-width: none; }
.space { flex: 5; height: 110px; }
.bottom-row { display: flex; gap: 14px; align-items: center; margin-top: 20px; }
.bottom-row .key { font-size: 34px; font-weight: 700; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">10:52</div>
<div class="spacer"></div>
<div class="icons">•••</div>
</div>
<!-- Search overlay content -->
<div class="search-overlay">
<button class="close-btn" aria-label="Close">
<svg viewBox="0 0 24 24">
<line x1="4" y1="4" x2="20" y2="20"></line>
<line x1="20" y1="4" x2="4" y2="20"></line>
</svg>
</button>
<div class="search-row">
<div class="search-placeholder">What are you looking for?</div>
<div class="mic" aria-label="Voice Search">
<svg viewBox="0 0 24 24">
<rect x="9" y="4" width="6" height="10" rx="3"></rect>
<path d="M5 11c0 4 3 6 7 6s7-2 7-6" />
<path d="M12 17v3" />
</svg>
</div>
</div>
<div class="divider"></div>
<div class="section">
<div class="section-title">TRENDING NOW:</div>
<ul class="link-list">
<li>Advanced Night Repair</li>
<li>Double Wear</li>
<li>Pure Color</li>
<li>Moisturizer</li>
<li>Serum</li>
</ul>
</div>
<div class="section">
<div class="section-title">FAVORITE PRODUCTS:</div>
<div class="favorite-sub">Best Seller</div>
</div>
<div class="product-hero">[IMG: Serum Bottle Product]</div>
</div>
<!-- Navy banner -->
<div class="nav-banner">
<div class="nav-item">LIVE CHAT</div>
<div class="nav-item">JOIN LOYALTY</div>
<div class="nav-item">OFFERS</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-top">
<div class="chip">GIF</div>
<div class="chip">Settings</div>
<div class="chip">Translate</div>
<div class="chip">Palette</div>
<div class="chip">Mic</div>
</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">Shift</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">Back</div>
</div>
<div class="bottom-row">
<div class="key wide">?123</div>
<div class="key">,</div>
<div class="key">🙂</div>
<div class="key space"></div>
<div class="key">.</div>
<div class="key wide">Enter</div>
</div>
</div>
</div>
</body>
</html>