AndroidCode / code /10131 /10131_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
7.21 kB
<!DOCTYPE html>
<html>
<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;
}
/* Top status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 110px;
padding: 0 40px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #333;
font-size: 36px;
}
.status-icons {
display: flex;
align-items: center;
gap: 24px;
}
.status-icons svg { display: block; }
/* Header */
.header {
position: absolute;
top: 110px;
left: 0;
width: 1080px;
height: 120px;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 36px;
}
.back-icon {
width: 60px;
height: 60px;
margin-right: 20px;
}
.header-title {
font-size: 48px;
font-weight: 600;
color: #222;
}
.clear-filters {
margin-left: auto;
font-size: 38px;
color: #666;
}
/* Layout */
.content {
position: absolute;
top: 230px;
left: 0;
width: 1080px;
height: 1730px;
display: flex;
}
.sidebar {
width: 320px;
background: #eef1f4;
border-right: 1px solid #e3e3e3;
padding-top: 10px;
box-sizing: border-box;
}
.side-item {
padding: 36px 30px;
font-size: 36px;
color: #333;
border-bottom: 1px solid #e6e6e6;
position: relative;
}
.side-item.blue { color: #1a73e8; }
.side-item .tick {
position: absolute;
right: 22px;
top: 50%;
transform: translateY(-50%);
width: 34px;
height: 34px;
}
.main {
flex: 1;
padding: 20px 40px;
box-sizing: border-box;
}
.filter-option {
display: flex;
align-items: center;
padding: 34px 0;
gap: 28px;
}
.checkbox {
width: 56px;
height: 56px;
border: 4px solid #2d2d2d;
border-radius: 8px;
box-sizing: border-box;
}
.filter-label {
font-size: 40px;
color: #222;
}
.filter-option.disabled .checkbox {
border-color: #d6d6d6;
background: #f5f5f5;
}
.filter-option.disabled .filter-label {
color: #cfcfcf;
}
/* Bottom bar */
.bottom-area {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 340px;
box-sizing: border-box;
padding: 40px 40px 120px 40px;
}
.bottom-content {
display: flex;
align-items: center;
}
.count {
font-size: 46px;
font-weight: 700;
color: #222;
}
.subtext {
font-size: 30px;
color: #9e9e9e;
margin-top: 10px;
}
.apply-btn {
margin-left: auto;
width: 520px;
height: 110px;
background: #ff6a00;
color: #fff;
font-size: 44px;
font-weight: 600;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
}
/* Gesture pill / nav bar */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000;
display: flex;
align-items: center;
justify-content: center;
}
.pill {
width: 300px;
height: 16px;
background: #cfcfcf;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="statusbar">
<div>8:40</div>
<div class="status-icons">
<!-- Signal -->
<svg width="36" height="36" viewBox="0 0 24 24">
<rect x="2" y="14" width="3" height="8" fill="#666"/>
<rect x="7" y="10" width="3" height="12" fill="#666"/>
<rect x="12" y="6" width="3" height="16" fill="#666"/>
<rect x="17" y="2" width="3" height="20" fill="#666"/>
</svg>
<!-- WiFi -->
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M2 9c5-4 15-4 20 0" stroke="#666" stroke-width="2" fill="none"/>
<path d="M5 12c3-3 11-3 14 0" stroke="#666" stroke-width="2" fill="none"/>
<path d="M9 15c2-2 6-2 8 0" stroke="#666" stroke-width="2" fill="none"/>
<circle cx="12" cy="18" r="2" fill="#666"/>
</svg>
<!-- Battery -->
<svg width="44" height="36" viewBox="0 0 28 16">
<rect x="1" y="3" width="22" height="10" rx="2" ry="2" stroke="#666" stroke-width="2" fill="none"/>
<rect x="3" y="5" width="16" height="6" fill="#666"/>
<rect x="23" y="6" width="4" height="4" fill="#666"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<svg class="back-icon" viewBox="0 0 24 24">
<path d="M15 6l-6 6 6 6" stroke="#222" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="header-title">Filters</div>
<div class="clear-filters">Clear Filters</div>
</div>
<!-- Main content area -->
<div class="content">
<!-- Sidebar -->
<div class="sidebar">
<div class="side-item blue">Price</div>
<div class="side-item">Plus (FAssured)</div>
<div class="side-item">Deliver At
<svg class="tick" viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11" stroke="#1a73e8" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="side-item">Brand</div>
<div class="side-item">Customer Ratings</div>
<div class="side-item">Offers</div>
<div class="side-item">Discount</div>
<div class="side-item">Material</div>
<div class="side-item">Type</div>
<div class="side-item">GST Invoice Available</div>
<div class="side-item">Color</div>
<div class="side-item">Availability</div>
<div class="side-item">Category</div>
</div>
<!-- Right panel -->
<div class="main">
<div class="filter-option">
<div class="checkbox"></div>
<div class="filter-label">Rs. 500 and Below</div>
</div>
<div class="filter-option">
<div class="checkbox"></div>
<div class="filter-label">Rs. 501 - Rs. 1000</div>
</div>
<div class="filter-option">
<div class="checkbox"></div>
<div class="filter-label">Rs. 1001 - Rs. 2000</div>
</div>
<div class="filter-option">
<div class="checkbox"></div>
<div class="filter-label">Rs. 2001 - Rs. 5000</div>
</div>
<div class="filter-option disabled">
<div class="checkbox"></div>
<div class="filter-label">Rs. 5001 - Rs. 10000</div>
</div>
<div class="filter-option disabled">
<div class="checkbox"></div>
<div class="filter-label">Rs. 10001 and Above</div>
</div>
</div>
</div>
<!-- Bottom area -->
<div class="bottom-area">
<div class="bottom-content">
<div>
<div class="count">338</div>
<div class="subtext">products found</div>
</div>
<div class="apply-btn">Apply</div>
</div>
</div>
<!-- Navigation pill bar -->
<div class="nav-bar">
<div class="pill"></div>
</div>
</div>
</body>
</html>