AndroidCode / code /10188 /10188_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
8 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Filter Screen</title>
<style>
:root{
--bg:#000000;
--text:#ffffff;
--muted:#cfcfcf;
--card:#1d1d1f;
--card2:#232325;
--accent:#ff6b2e;
--teal:#6ee7c8;
--divider:#2c2c2e;
}
body{ margin:0; padding:0; background:transparent; }
#render-target{
width:1080px; height:2400px; position:relative; overflow:hidden;
background:var(--bg); color:var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.screen{ padding:36px 56px 0 56px; }
.status{
height:54px; display:flex; align-items:center; justify-content:space-between;
color:#eaeaea; font-size:32px; opacity:.9;
}
.status .icons{ display:flex; align-items:center; gap:18px; }
.topbar{
display:flex; align-items:center; justify-content:space-between;
margin-top:18px; padding:14px 8px 10px;
}
.topbar .title{ font-weight:700; font-size:64px; letter-spacing:.2px; }
.link-orange{ color:var(--accent); font-size:40px; }
.section{
margin-top:48px;
}
.section h3{
margin:0 0 16px 0; font-size:44px; font-weight:700;
}
.row{
display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.row .value{
color:var(--muted); font-size:40px;
display:flex; align-items:center; gap:12px;
}
.chev{
width:28px; height:28px; fill:var(--accent);
}
.grid{
margin-top:18px;
display:grid; grid-template-columns:repeat(3, 1fr);
gap:28px;
}
.card{
background:var(--card); border-radius:36px; height:230px;
display:flex; flex-direction:column; align-items:center; justify-content:center;
color:#e8e8e8; border:1px solid #2b2b2d;
}
.card .label{ margin-top:16px; font-size:38px; font-weight:600; }
.card.selected{
border:3px solid var(--accent); color:var(--accent); background:#1b1b1c;
}
.list-item{
padding:34px 0; border-bottom:1px solid transparent;
display:flex; align-items:center; justify-content:space-between;
}
.list-item h4{ margin:0; font-size:46px; font-weight:700; }
.list-item .chev{ transform:rotate(0deg); }
.list-item.up .chev{ transform:rotate(180deg); }
.spacer{ height:340px; }
.bottom-bar{
position:absolute; bottom:0; left:0; width:100%;
border-top:1px solid var(--divider); padding:26px 44px 40px;
background:rgba(0,0,0,0.85);
}
.bottom-inner{
display:flex; align-items:center; justify-content:space-between;
}
.btn-outline{
padding:24px 40px; border:2px solid var(--teal); color:var(--teal);
border-radius:48px; font-size:38px; font-weight:600; background:transparent;
}
.results{ color:#dddddd; font-size:38px; }
.home-indicator{
position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
width:280px; height:10px; background:#e6e6e6; border-radius:8px; opacity:.9;
}
/* Simple icon styles */
.ico{ width:72px; height:72px; stroke:#ffffff; fill:none; stroke-width:3; }
.selected .ico{ stroke:var(--accent); }
</style>
</head>
<body>
<div id="render-target">
<div class="screen">
<!-- Status bar -->
<div class="status">
<div>8:52</div>
<div class="icons">
<!-- simple wifi and battery placeholders -->
<svg width="28" height="22" viewBox="0 0 20 14" fill="none" stroke="#fff" stroke-width="2"><path d="M1 5c5-5 13-5 18 0M4 8c3-3 9-3 12 0M7 11c2-2 6-2 8 0"/><circle cx="11" cy="12" r="1.5" fill="#fff" stroke="none"/></svg>
<svg width="22" height="22" viewBox="0 0 20 14" fill="none" stroke="#fff" stroke-width="2"><rect x="1" y="3" width="16" height="8" rx="2"/><path d="M19 6v2"/></svg>
</div>
</div>
<!-- Top bar -->
<div class="topbar">
<div class="link-orange">Cancel</div>
<div class="title">Filter</div>
<div class="link-orange">Show results</div>
</div>
<!-- Sort by -->
<div class="section">
<div class="row">
<h3>Sort by</h3>
<div class="value">
<span>Relevance</span>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
</div>
</div>
<!-- Category -->
<div class="section">
<div class="row">
<h3>Category</h3>
<svg class="chev" viewBox="0 0 24 24" style="transform:rotate(180deg)"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
<div class="grid">
<!-- Starter -->
<div class="card">
<svg class="ico" viewBox="0 0 64 64">
<path d="M12 38h40l-4 10H16z"/>
<path d="M20 20c0 4 4 4 4 8M32 20c0 4 4 4 4 8M26 26c0 3 3 3 3 6" />
</svg>
<div class="label">Starter</div>
</div>
<!-- Main -->
<div class="card">
<svg class="ico" viewBox="0 0 64 64">
<circle cx="32" cy="32" r="22"/>
<path d="M24 28h16M32 20v24"/>
</svg>
<div class="label">Main</div>
</div>
<!-- Dessert -->
<div class="card">
<svg class="ico" viewBox="0 0 64 64">
<path d="M16 36h32l-3 8H19z"/>
<path d="M22 30c3-6 17-6 20 0" />
<circle cx="32" cy="24" r="3"/>
</svg>
<div class="label">Dessert</div>
</div>
<!-- Snack (selected) -->
<div class="card selected">
<svg class="ico" viewBox="0 0 64 64">
<path d="M14 34c8-10 28-10 36 0" />
<path d="M22 30l6 4M32 28l6 4M26 37l6 4" />
<rect x="14" y="32" width="36" height="10" rx="5"/>
</svg>
<div class="label">Snack</div>
</div>
<!-- Breakfast -->
<div class="card">
<svg class="ico" viewBox="0 0 64 64">
<path d="M16 36h26a8 8 0 0 1-8 8H22a6 6 0 0 1-6-8z"/>
<path d="M42 36h6a6 6 0 0 1-6 6"/>
<path d="M22 22c0 3 3 3 3 6M30 22c0 3 3 3 3 6"/>
</svg>
<div class="label">Breakfast</div>
</div>
<!-- Drink -->
<div class="card">
<svg class="ico" viewBox="0 0 64 64">
<path d="M22 14h20l-4 38H26z"/>
<path d="M22 20h20"/>
<path d="M24 30l16-4"/>
</svg>
<div class="label">Drink</div>
</div>
</div>
</div>
<!-- Collapsible list -->
<div class="section">
<div class="list-item">
<h4>Diet</h4>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
<div class="list-item">
<h4>Cuisine</h4>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
<div class="list-item">
<h4>Main ingredients</h4>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
<div class="list-item">
<h4>Occasion</h4>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
<div class="list-item">
<h4>Appliances</h4>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
<div class="list-item">
<h4>Type</h4>
<svg class="chev" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="var(--accent)" stroke-width="2" fill="none"/></svg>
</div>
</div>
<div class="spacer"></div>
</div>
<!-- Bottom bar -->
<div class="bottom-bar">
<div class="bottom-inner">
<div class="btn-outline">Reset filter</div>
<div class="results">50 results</div>
</div>
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>