AndroidCode / code /10153 /10153_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
6.88 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: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
color: #111;
}
/* Top status bar with gradient */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: linear-gradient(90deg, #b6e7cf 0%, #9fe3e5 100%);
display: flex;
align-items: center;
padding: 0 34px;
box-sizing: border-box;
}
.status-time {
font-size: 38px;
font-weight: 600;
color: #102b2d;
}
.status-icons {
margin-left: auto;
display: flex;
align-items: center;
gap: 22px;
}
.status-icons svg { width: 42px; height: 42px; fill: #1b3a3c; }
/* Header */
.header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 120px;
background: #fff;
display: flex;
align-items: center;
border-bottom: 1px solid #e2e6e8;
box-sizing: border-box;
padding: 0 36px;
}
.header-title {
font-size: 52px;
font-weight: 700;
color: #1a1a1a;
}
.header-action {
margin-left: auto;
font-size: 44px;
color: #0a6b73;
font-weight: 600;
cursor: default;
}
/* Main layout */
.main {
position: absolute;
top: 240px;
left: 0;
right: 0;
bottom: 220px;
display: flex;
}
/* Left filter list */
.left-panel {
width: 340px;
background: #f1f3f4;
border-right: 1px solid #e2e6e8;
box-sizing: border-box;
padding-top: 18px;
}
.filter-item {
position: relative;
padding: 34px 28px;
font-size: 36px;
color: #1c1c1c;
min-height: 96px;
display: flex;
align-items: center;
}
.filter-item + .filter-item { border-top: 1px solid #e7eaec; }
.filter-item .count {
margin-left: auto;
background: #fff;
border: 1px solid #d0d5d9;
color: #4b4f52;
border-radius: 14px;
font-size: 30px;
padding: 6px 14px;
}
.filter-item.selected {
background: #6d7377;
color: #ffffff;
font-style: italic;
}
/* Right content area */
.right-panel {
flex: 1;
padding: 34px 36px;
box-sizing: border-box;
overflow: hidden;
}
.section-title {
font-size: 40px;
font-weight: 700;
color: #202223;
margin: 12px 0 10px;
}
.subtitle {
font-size: 34px;
color: #444;
margin-top: 26px;
margin-bottom: 10px;
font-weight: 700;
}
.chip-row {
display: flex;
flex-wrap: wrap;
gap: 22px 26px;
margin-top: 16px;
}
.chip {
display: inline-flex;
align-items: center;
padding: 18px 26px;
background: #eeeeee;
border: 1px solid #e0e0e0;
border-radius: 26px;
font-size: 34px;
color: #111;
white-space: nowrap;
}
.chip.primary {
background: #d9eef0;
border-color: #a9d7da;
color: #0a6b73;
font-weight: 700;
}
.chip .close-x {
display: inline-flex;
margin-left: 18px;
}
.chip .close-x svg { width: 28px; height: 28px; stroke: #0a6b73; stroke-width: 3; fill: none; }
.pill {
display: inline-block;
padding: 16px 26px;
border-radius: 22px;
background: #efefef;
border: 1px solid #e0e0e0;
color: #333;
font-size: 32px;
font-weight: 600;
}
/* Bottom bar */
.bottom-bar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 220px;
background: #ffffff;
border-top: 1px solid #dfe5e7;
box-sizing: border-box;
padding: 28px 36px;
display: flex;
align-items: center;
gap: 20px;
}
.btn {
border-radius: 28px;
font-size: 40px;
padding: 26px 34px;
cursor: default;
}
.btn-outline {
color: #0a6b73;
background: #ffffff;
border: 2px solid #d7e7ea;
box-shadow: 0 2px 0 rgba(0,0,0,0.03);
}
.btn-primary {
margin-left: auto;
background: #0a6b73;
color: #ffffff;
border: none;
padding: 28px 40px;
border-radius: 30px;
box-shadow: 0 6px 0 rgba(0,0,0,0.06);
}
/* Gesture pill */
.gesture {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
width: 400px;
height: 16px;
background: #80868b;
border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-time">1:06</div>
<div class="status-icons">
<!-- lock -->
<svg viewBox="0 0 24 24"><path d="M6 10V7a6 6 0 0 1 12 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1zm2 0h8V7a4 4 0 0 0-8 0v3z"/></svg>
<!-- wifi -->
<svg viewBox="0 0 24 24"><path d="M12 20.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM2 9a16 16 0 0 1 20 0l-1.6 1.6a13 13 0 0 0-16.8 0L2 9zm4 4a10 10 0 0 1 12 0l-1.6 1.6a8 8 0 0 0-8.8 0L6 13z"/></svg>
<!-- battery -->
<svg viewBox="0 0 28 16"><path d="M1 4a3 3 0 0 1 3-3h18a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V4zM26 6h2v4h-2z"/></svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-title">Filters (2)</div>
<div class="header-action">Close</div>
</div>
<!-- Main Content -->
<div class="main">
<!-- Left panel -->
<div class="left-panel">
<div class="filter-item">Prime &amp; Delivery</div>
<div class="filter-item">Categories <span class="count">1</span></div>
<div class="filter-item">Brands <span class="count">1</span></div>
<div class="filter-item">Price and Deals</div>
<div class="filter-item">Customer Reviews</div>
<div class="filter-item">Sort by</div>
<div class="filter-item selected">Lapdesks</div>
<div class="filter-item">Availability</div>
</div>
<!-- Right panel -->
<div class="right-panel">
<div class="section-title">Computers &amp; Accessories Brands</div>
<div class="pill">Top Brands</div>
<div class="subtitle">Brands</div>
<div class="chip-row">
<div class="chip primary">
EUREKA ERGONOMIC
<span class="close-x" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18"/></svg>
</span>
</div>
<div class="chip">Portronics</div>
<div class="chip">Rife</div>
<div class="chip">Isomars</div>
<div class="chip">MemeHo</div>
<div class="chip">ABOUT SPACE</div>
</div>
</div>
</div>
<!-- Bottom Bar -->
<div class="bottom-bar">
<div class="btn btn-outline">Clear Filters</div>
<div class="btn btn-primary">Show 3 results</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>