AndroidCode / code /10182 /10182_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
7.47 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Filter UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
color: #1f2d1a;
}
.status-bar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #555;
font-size: 40px;
}
.status-icons {
display: flex; align-items: center; gap: 26px;
}
.top-appbar {
height: 150px;
display: flex; align-items: center;
padding: 0 36px;
box-shadow: 0 1px 6px rgba(0,0,0,0.08);
background: #fff;
}
.back-icon {
width: 72px; height: 72px; margin-right: 20px;
}
.title {
font-size: 58px; font-weight: 600; color: #1f2d1a;
}
.content {
position: absolute;
left: 0; right: 0;
top: 260px; /* below status+appbar */
bottom: 0;
overflow: hidden;
}
.section {
padding: 28px 44px;
}
.link-green {
color: #244a18; font-size: 42px; font-weight: 600;
}
.divider {
height: 2px; background: #e5e5e5; margin: 24px 0;
}
.section-title {
font-size: 54px; font-weight: 700; color: #244a18; margin-bottom: 24px;
}
.row {
display: flex; align-items: center; justify-content: space-between;
padding: 32px 0;
}
.label-wrap { display: flex; align-items: center; gap: 20px; }
.row-label { font-size: 46px; color: #333; }
.info-icon { width: 42px; height: 42px; }
.checkbox {
width: 86px; height: 86px; border: 6px solid #cfcfcf; border-radius: 24px;
}
.range-title { font-size: 46px; color: #333; }
.range-head { display: flex; align-items: baseline; justify-content: space-between; }
.range-values { font-size: 40px; color: #3a3a3a; margin-top: 8px; }
.slider {
position: relative;
height: 84px;
margin-top: 28px;
}
.slider-track {
position: absolute; left: 44px; right: 44px; top: 36px;
height: 10px; background: #274c17; border-radius: 10px;
}
.slider-handle {
position: absolute; top: 16px;
width: 64px; height: 64px; background: #fff;
border: 4px solid #dedede; border-radius: 50%;
box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.handle-left { left: 44px; }
.handle-right { right: 44px; }
/* Bottom sheet */
.bottom-sheet {
position: absolute; left: 0; right: 0; bottom: 84px;
height: 320px;
background: #ffffff;
box-shadow: 0 -8px 24px rgba(0,0,0,0.1);
border-top-left-radius: 24px; border-top-right-radius: 24px;
padding: 40px 48px;
display: flex; align-items: center; justify-content: space-between;
}
.clear-link {
font-size: 46px; color: #244a18; text-decoration: underline;
}
.primary-btn {
background: #244a18; color: #fff;
font-size: 48px; font-weight: 700;
padding: 36px 72px; border-radius: 80px;
box-shadow: 0 6px 16px rgba(36,74,24,0.3);
}
/* Gesture bar */
.gesture {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 24px; width: 360px; height: 12px;
background: #9b9b9b; border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:27</div>
<div class="status-icons">
<!-- simple wifi icon -->
<svg width="54" height="54" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#6f6f6f" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 11c3-3 11-3 14 0" stroke="#6f6f6f" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M8 14c2-2 6-2 8 0" stroke="#6f6f6f" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="18" r="2" fill="#6f6f6f"/>
</svg>
<!-- battery with bolt -->
<svg width="54" height="54" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" stroke="#6f6f6f" stroke-width="2" fill="none"/>
<rect x="20" y="10" width="2" height="4" fill="#6f6f6f"/>
<path d="M11 7l-3 5h3l-2 5 6-8h-4z" fill="#6f6f6f"/>
</svg>
</div>
</div>
<!-- App bar -->
<div class="top-appbar">
<svg class="back-icon" viewBox="0 0 24 24">
<path d="M15 19L8 12l7-7" stroke="#2e2e2e" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="title">Filter</div>
</div>
<!-- Content -->
<div class="content">
<div class="section">
<div class="link-green">Show more</div>
<div class="divider"></div>
<div class="section-title">Difficulty</div>
<div class="row">
<div class="label-wrap">
<div class="row-label">Easy</div>
<svg class="info-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#9b9b9b" stroke-width="2" fill="none"/>
<rect x="11" y="10" width="2" height="7" fill="#9b9b9b"/>
<circle cx="12" cy="7" r="1.5" fill="#9b9b9b"/>
</svg>
</div>
<div class="checkbox"></div>
</div>
<div class="row">
<div class="label-wrap">
<div class="row-label">Moderate</div>
<svg class="info-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#9b9b9b" stroke-width="2" fill="none"/>
<rect x="11" y="10" width="2" height="7" fill="#9b9b9b"/>
<circle cx="12" cy="7" r="1.5" fill="#9b9b9b"/>
</svg>
</div>
<div class="checkbox"></div>
</div>
<div class="row">
<div class="label-wrap">
<div class="row-label">Hard</div>
<svg class="info-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#9b9b9b" stroke-width="2" fill="none"/>
<rect x="11" y="10" width="2" height="7" fill="#9b9b9b"/>
<circle cx="12" cy="7" r="1.5" fill="#9b9b9b"/>
</svg>
</div>
<div class="checkbox"></div>
</div>
<div class="divider"></div>
<div class="section-title">Length</div>
<div class="range-head">
<div class="range-values">0 mi</div>
<div class="range-values">50+ mi</div>
</div>
<div class="slider">
<div class="slider-track"></div>
<div class="slider-handle handle-left"></div>
<div class="slider-handle handle-right"></div>
</div>
<div class="divider" style="margin-top:36px;"></div>
<div class="section-title">Elevation gain</div>
<div class="range-head">
<div class="range-values">0 ft</div>
<div class="range-values">5,000+ ft</div>
</div>
<div class="slider">
<div class="slider-track"></div>
<div class="slider-handle handle-left"></div>
<div class="slider-handle handle-right"></div>
</div>
<div class="divider" style="margin-top:36px;"></div>
<div class="section-title">Suitability</div>
<!-- list items would continue below -->
</div>
</div>
<!-- Bottom sheet actions -->
<div class="bottom-sheet">
<div class="clear-link">Clear</div>
<div class="primary-btn">See 253 trails</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>