AndroidCode / code /10153 /10153_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
7.14 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Filters Panel Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
color: #111;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 36px;
background: linear-gradient(90deg, #9fd7d3 0%, #b9e4da 100%);
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
}
.sb-time {
font-size: 38px;
font-weight: 600;
color: #0f2b2a;
}
.sb-icons {
display: flex;
align-items: center;
gap: 22px;
}
.sb-icon {
width: 40px;
height: 40px;
}
/* Header */
.header {
height: 120px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
border-bottom: 1px solid #e3e7ea;
background: #fff;
box-sizing: border-box;
}
.header h1 {
margin: 0;
font-size: 48px;
font-weight: 700;
}
.close-link {
font-size: 42px;
color: #187b90;
font-weight: 600;
}
/* Main content layout */
.content {
position: absolute;
top: 230px; /* below status + header */
bottom: 200px; /* leave space for bottom bar */
left: 0;
right: 0;
display: flex;
}
.sidebar {
width: 340px;
border-right: 1px solid #e5e7ea;
background: #f2f4f5;
box-sizing: border-box;
padding-top: 10px;
}
.side-item {
padding: 36px 30px;
font-size: 38px;
line-height: 1.2;
border-bottom: 1px solid #eef0f2;
}
.side-item.small {
display: flex;
align-items: center;
justify-content: space-between;
}
.side-item .badge {
background: #cfd6db;
color: #2a2f33;
border-radius: 18px;
font-size: 28px;
padding: 6px 18px;
}
.side-item.highlight {
background: #d1d5d8;
font-style: italic;
font-weight: 700;
color: #2c2f31;
}
.main {
flex: 1;
padding: 34px 40px;
box-sizing: border-box;
background: #ffffff;
}
/* Breadcrumbs */
.breadcrumbs {
display: flex;
flex-wrap: wrap;
gap: 12px;
font-size: 36px;
margin-bottom: 28px;
}
.breadcrumbs a {
color: #0f777f;
text-decoration: none;
font-weight: 700;
}
.crumb-sep {
color: #80959a;
}
.section-title {
font-size: 46px;
font-weight: 700;
margin: 8px 0 28px 0;
}
.sub-title {
font-size: 42px;
font-weight: 700;
margin: 28px 0 20px 0;
}
/* Pills */
.pills {
display: flex;
gap: 26px;
margin-top: 12px;
}
.pill {
padding: 24px 36px;
border-radius: 24px;
font-size: 36px;
font-weight: 600;
background: #efefef;
color: #333;
border: 1px solid #e0e0e0;
}
.pill.teal {
background: #e6f3f4;
color: #0f7780;
border-color: #b9dfe3;
}
/* Bottom action bar */
.bottom-bar {
position: absolute;
left: 0;
right: 0;
bottom: 120px;
height: 160px;
background: #fff;
border-top: 1px solid #dae0e3;
box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
box-sizing: border-box;
}
.btn {
padding: 26px 40px;
font-size: 40px;
border-radius: 26px;
font-weight: 700;
}
.btn.outline {
border: 2px solid #dfe7eb;
color: #0f7d86;
background: #ffffff;
}
.btn.primary {
background: #0c6f7a;
color: #fff;
border: 2px solid #0c6f7a;
box-shadow: 0 6px 0 rgba(0,0,0,0.12);
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 380px;
height: 12px;
background: #808080;
border-radius: 8px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="sb-time">1:05</div>
<div class="sb-icons">
<!-- Simple lock icon -->
<svg class="sb-icon" viewBox="0 0 24 24">
<rect x="5" y="10" width="14" height="10" rx="2" fill="#2b4d4b"></rect>
<path d="M7 10V8a5 5 0 0110 0v2" stroke="#2b4d4b" stroke-width="2" fill="none"></path>
</svg>
<!-- Wifi -->
<svg class="sb-icon" viewBox="0 0 24 24">
<path d="M2 8c5-5 15-5 20 0" stroke="#2b4d4b" stroke-width="2" fill="none"/>
<path d="M5 11c4-4 10-4 14 0" stroke="#2b4d4b" stroke-width="2" fill="none"/>
<path d="M8 14c3-3 5-3 8 0" stroke="#2b4d4b" stroke-width="2" fill="none"/>
<circle cx="12" cy="18" r="2" fill="#2b4d4b"/>
</svg>
<!-- Battery -->
<svg class="sb-icon" viewBox="0 0 28 24">
<rect x="1" y="6" width="22" height="12" rx="2" fill="none" stroke="#2b4d4b" stroke-width="2"></rect>
<rect x="3" y="8" width="14" height="8" rx="1" fill="#2b4d4b"></rect>
<rect x="23" y="9" width="3" height="6" rx="1" fill="#2b4d4b"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<h1>Filters (1)</h1>
<div class="close-link">Close</div>
</div>
<!-- Content -->
<div class="content">
<!-- Sidebar -->
<div class="sidebar">
<div class="side-item">Prime &amp; Delivery</div>
<div class="side-item small">
<span>Categories</span>
<span class="badge">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 highlight">Lapdesks</div>
<div class="side-item">Item Depth Front<br>To Back</div>
<div class="side-item">Item Height Base<br>to Top</div>
<div class="side-item">Item Width Side To<br>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>
<!-- Main panel -->
<div class="main">
<div class="breadcrumbs">
<a href="#">Any Category</a><span class="crumb-sep">></span>
<a href="#">Computers &amp; Accessories</a><span class="crumb-sep">></span>
<a href="#">Computer Accessories &amp; Peripherals</a><span class="crumb-sep">></span>
</div>
<div class="section-title">Laptop Accessories</div>
<div class="sub-title">Laptop Accessories</div>
<div class="pills">
<div class="pill">All</div>
<div class="pill teal">Lapdesks</div>
</div>
</div>
</div>
<!-- Bottom action bar -->
<div class="bottom-bar">
<button class="btn outline">Clear Filters</button>
<button class="btn primary">Show 996 results</button>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>