AndroidCode / code /10153 /10153_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
6.92 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Filters UI</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;
}
/* Header / status gradient */
.header {
position: relative;
width: 100%;
height: 210px;
background: linear-gradient(180deg, #89d7d3 0%, #b6e6e3 60%, #ffffff 100%);
box-sizing: border-box;
padding: 24px 36px;
}
.status-bar {
display: flex; align-items: center; justify-content: space-between;
color: #1b1b1b; font-weight: 600; font-size: 36px;
margin-bottom: 32px;
}
.status-left { display: flex; align-items: center; gap: 14px; }
.status-right { display: flex; align-items: center; gap: 22px; }
.status-icon { width: 40px; height: 40px; display: inline-block; }
.top-row {
display: flex; align-items: center; justify-content: space-between;
padding: 0 6px;
}
.title { font-size: 54px; font-weight: 700; color: #222; }
.link-close { font-size: 48px; color: #0a6a77; text-decoration: none; font-weight: 600; }
/* Main two-column layout */
.main {
position: absolute;
top: 210px; left: 0; right: 0; bottom: 190px;
display: flex;
}
.sidebar {
width: 360px; background: #f1f2f3; border-right: 1px solid #e3e4e6;
padding-top: 24px; box-sizing: border-box;
}
.side-item {
padding: 32px 28px;
font-size: 40px; color: #222;
border-bottom: 1px solid #ececec;
}
.side-item.active {
background: #6f7275; color: #ffffff; font-style: italic;
}
.content {
flex: 1; background: #fff; padding: 32px 38px; box-sizing: border-box;
}
.section-title {
font-size: 44px; font-weight: 700; color: #222; margin: 18px 0 18px;
}
.chips {
display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 26px;
}
.chip {
background: #efefef; color: #333; border-radius: 28px;
padding: 18px 26px; font-size: 38px; line-height: 1; border: 1px solid #e0e0e0;
}
/* Bottom action bar */
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 0; height: 190px;
border-top: 1px solid #d7dadd;
background: #ffffff;
box-shadow: 0 -2px 4px rgba(0,0,0,0.06);
padding: 22px 32px; box-sizing: border-box;
display: flex; align-items: center; justify-content: space-between;
}
.btn {
padding: 28px 40px; border-radius: 28px; font-size: 44px; font-weight: 600; cursor: pointer;
}
.btn-outline {
color: #0a6a77; background: #ffffff; border: 2px solid #e3e9ea;
box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.btn-primary {
color: #ffffff; background: #0a6a77; border: 0; box-shadow: 0 6px 10px rgba(10,106,119,0.25);
}
/* Gesture bar */
.gesture {
position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
width: 420px; height: 12px; background: #7b7b7b; border-radius: 10px;
opacity: 0.75;
}
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="status-bar">
<div class="status-left">
<span>1:05</span>
<!-- simple lock icon -->
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="6" y="10" width="12" height="10" rx="2" fill="#1b1b1b"></rect>
<path d="M8 10V7a4 4 0 118 0v3" stroke="#1b1b1b" stroke-width="2" fill="none"></path>
</svg>
<!-- small badge -->
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#3f3f3f"></circle>
<text x="12" y="16" font-size="12" fill="#fff" text-anchor="middle">LR</text>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M3 17h18" stroke="#3f3f3f" stroke-width="2"></path>
<path d="M5 14h14" stroke="#3f3f3f" stroke-width="2"></path>
<path d="M8 11h8" stroke="#3f3f3f" stroke-width="2"></path>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="2" fill="#3f3f3f"></circle>
</svg>
</div>
<div class="status-right">
<!-- wifi -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M2 8c5-5 15-5 20 0" stroke="#1b1b1b" stroke-width="2" fill="none"></path>
<path d="M5 11c3-3 11-3 14 0" stroke="#1b1b1b" stroke-width="2" fill="none"></path>
<path d="M8 14c2-2 6-2 8 0" stroke="#1b1b1b" stroke-width="2" fill="none"></path>
<circle cx="12" cy="17" r="1.8" fill="#1b1b1b"></circle>
</svg>
<!-- battery -->
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" stroke="#1b1b1b" stroke-width="2" fill="none"></rect>
<rect x="21" y="9" width="2" height="6" fill="#1b1b1b"></rect>
<rect x="4" y="8" width="12" height="8" fill="#1b1b1b"></rect>
</svg>
</div>
</div>
<div class="top-row">
<div class="title">Filters (1)</div>
<a class="link-close" href="#">Close</a>
</div>
</div>
<div class="main">
<div class="sidebar">
<div class="side-item">Prime &amp; Delivery</div>
<div class="side-item">Categories <span style="background:#dedede; border-radius:12px; padding:6px 10px; font-size:28px; margin-left:8px;">1</span></div>
<div class="side-item">Brands</div>
<div class="side-item">Price and Deals</div>
<div class="side-item">Customer Reviews</div>
<div class="side-item">Sort by</div>
<div class="side-item active">Lapdesks</div>
<div class="side-item">Item Depth Front To Back</div>
<div class="side-item">Item Height Base to Top</div>
<div class="side-item">Item Width Side To Side</div>
<div class="side-item">Finish Type</div>
<div class="side-item">Special Features</div>
<div class="side-item">New Arrivals</div>
<div class="side-item">Availability</div>
</div>
<div class="content">
<div class="section-title">Computers &amp; Accessories Brands</div>
<div class="chips">
<div class="chip">Made for Amazon</div>
<div class="chip">Top Brands</div>
</div>
<div class="section-title">Brands</div>
<div class="chips">
<div class="chip">Portronics</div>
<div class="chip">Rife</div>
<div class="chip">Isomars</div>
<div class="chip">EUREKA ERGONOMIC</div>
<div class="chip">MemeHo</div>
<div class="chip">ABOUT SPACE</div>
</div>
</div>
</div>
<div class="bottom-bar">
<button class="btn btn-outline">Clear Filters</button>
<button class="btn btn-primary">Show 996 results</button>
</div>
<div class="gesture"></div>
</div>
</body>
</html>