AndroidCode / code /10128 /10128_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
6.65 kB
<html>
<head>
<meta charset="UTF-8">
<title>Filters UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: linear-gradient(180deg, #97D5D2 0%, #BDE3C9 100%);
color: #121212;
}
/* Top status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
color: #0b2c2c;
}
.status-left { display: flex; align-items: center; gap: 22px; }
.time { font-size: 40px; font-weight: 600; letter-spacing: 1px; }
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.icon { width: 40px; height: 40px; }
/* Header */
.header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 160px;
background: #ffffff;
box-sizing: border-box;
padding: 40px 46px;
border-bottom: 1px solid #e6e6e6;
display: flex;
align-items: center;
}
.header-title {
font-size: 60px;
font-weight: 700;
color: #1c1c1c;
}
.header-close {
margin-left: auto;
font-size: 50px;
color: #1372a6;
font-weight: 600;
}
/* Content area */
.content {
position: absolute;
top: 280px; /* below header */
left: 0;
width: 1080px;
height: 1870px;
background: #ffffff;
display: flex;
}
/* Left sidebar */
.sidebar {
width: 330px;
background: #eef1f2;
border-right: 1px solid #e3e6e8;
padding-top: 30px;
box-sizing: border-box;
}
.sidebar-section {
padding: 32px 28px;
font-size: 40px;
color: #101010;
border-bottom: 1px solid #e7eaec;
}
.sidebar-section.small { font-size: 38px; }
.sidebar-section.selected {
background: #616769;
color: #ffffff;
font-weight: 700;
}
/* Right main area */
.main {
width: 750px;
padding: 40px 36px 160px 36px;
box-sizing: border-box;
overflow: hidden;
}
.main h2 {
margin: 0 0 24px 0;
font-size: 46px;
font-weight: 700;
}
.chip-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 26px;
}
.chip {
height: 100px;
background: #f4f4f4;
border: 1px solid #e0e0e0;
border-radius: 28px;
display: flex;
align-items: center;
justify-content: center;
font-size: 42px;
color: #111111;
}
/* Bottom CTA */
.cta {
position: absolute;
right: 40px;
bottom: 180px;
background: #216b7b;
color: #ffffff;
padding: 34px 46px;
border-radius: 26px;
font-size: 42px;
font-weight: 700;
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 40px;
left: 0;
width: 100%;
height: 30px;
display: flex;
justify-content: center;
}
.gesture > div {
width: 500px;
height: 10px;
background: #9c9c9c;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div class="time">11:05</div>
<!-- simple mail icon -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="2" fill="#1c4b4b"></rect>
<polyline points="4,6 12,12 20,6" fill="none" stroke="#9fd1cf" stroke-width="2"></polyline>
</svg>
<!-- cloud icon -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="10" cy="13" r="5" fill="#1c4b4b"></circle>
<rect x="14" y="12" width="7" height="5" rx="2" fill="#1c4b4b"></rect>
</svg>
</div>
<div class="status-right">
<!-- wifi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 9c5-4 15-4 20 0" stroke="#1c4b4b" stroke-width="2" fill="none"></path>
<path d="M5 12c4-3 10-3 14 0" stroke="#1c4b4b" stroke-width="2" fill="none"></path>
<circle cx="12" cy="17" r="2" fill="#1c4b4b"></circle>
</svg>
<!-- battery icon -->
<svg class="icon" viewBox="0 0 32 24">
<rect x="2" y="5" width="24" height="14" rx="2" fill="#1c4b4b"></rect>
<rect x="27" y="9" width="3" height="6" rx="1" fill="#1c4b4b"></rect>
<rect x="5" y="7" width="18" height="10" fill="#9fd1cf"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-title">Filters</div>
<div class="header-close">Close</div>
</div>
<!-- Content -->
<div class="content">
<!-- Sidebar -->
<div class="sidebar">
<div class="sidebar-section">Prime & Delivery</div>
<div class="sidebar-section">Categories</div>
<div class="sidebar-section">Brands</div>
<div class="sidebar-section">Colours</div>
<div class="sidebar-section">Sizes</div>
<div class="sidebar-section">Price and Deals</div>
<div class="sidebar-section">Customer Reviews</div>
<div class="sidebar-section">Sort by</div>
<div class="sidebar-section selected">Men's Formal Shoes</div>
<div class="sidebar-section small">Shoes Special<br>Features</div>
<div class="sidebar-section">Shoe Outer<br>Material</div>
<div class="sidebar-section">Shoes Closure Type</div>
<div class="sidebar-section">Sole Width</div>
<div class="sidebar-section">Shoes Lifestyle</div>
<div class="sidebar-section">Lace-Up Flat Style</div>
<div class="sidebar-section">Shoe Toe Style</div>
<div class="sidebar-section">Height Map</div>
</div>
<!-- Main -->
<div class="main">
<h2>Men's Shoe Size (UK/India)</h2>
<div class="chip-grid">
<div class="chip">3</div>
<div class="chip">4</div>
<div class="chip">5</div>
<div class="chip">6</div>
<div class="chip">6.5</div>
<div class="chip">7</div>
<div class="chip">7.5</div>
<div class="chip">8</div>
<div class="chip">8.5</div>
<div class="chip">9</div>
<div class="chip">9.5</div>
<div class="chip">10</div>
<div class="chip">10.5</div>
<div class="chip">11</div>
<div class="chip">11.5</div>
<div class="chip">12</div>
<div class="chip">13</div>
<div class="chip">14</div>
<div class="chip">15</div>
</div>
</div>
</div>
<!-- Bottom CTA -->
<div class="cta">Show 10,000+ results</div>
<!-- Gesture bar -->
<div class="gesture"><div></div></div>
</div>
</body>
</html>