AndroidCode / code /10182 /10182_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
7.26 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; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif; color: #223522; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
color: #3c3c3c;
font-size: 38px;
}
.status-icons { display: flex; gap: 28px; align-items: center; }
/* App bar */
.app-bar {
height: 150px;
display: flex;
align-items: center;
padding: 0 40px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
background: #fff;
}
.app-title {
font-size: 56px;
font-weight: 600;
margin-left: 24px;
color: #263C24;
}
.back-icon { width: 56px; height: 56px; }
/* Content */
.content {
padding: 36px 48px 0 48px;
}
.link-row {
font-size: 42px;
color: #2E4A2A;
font-weight: 600;
margin: 12px 0 36px;
}
.divider {
height: 2px;
background: #E5E5E5;
margin: 0 0 36px 0;
}
.section-title {
font-size: 58px;
font-weight: 700;
color: #224222;
margin: 20px 0 12px;
}
.option-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 26px 0;
}
.option-left {
display: flex;
align-items: center;
gap: 20px;
font-size: 46px;
color: #243A24;
}
.info-icon { width: 40px; height: 40px; }
.checkbox {
width: 76px;
height: 76px;
border-radius: 18px;
border: 3px solid #C9C9C2;
background: #fff;
}
.checkbox.checked {
background: #204A17;
border-color: #204A17;
display: flex;
align-items: center;
justify-content: center;
}
.checkmark { width: 44px; height: 44px; }
/* Range rows */
.range-title {
font-size: 58px;
font-weight: 700;
color: #224222;
margin-top: 30px;
}
.range-labels {
display: flex;
justify-content: space-between;
font-size: 40px;
color: #2F3D2F;
margin-top: 10px;
}
.slider {
position: relative;
height: 56px;
margin: 20px 0 36px;
}
.track {
position: absolute;
top: 24px;
left: 0;
right: 0;
height: 10px;
background: #234615;
border-radius: 8px;
}
.thumb {
position: absolute;
top: 8px;
width: 56px;
height: 56px;
background: #fff;
border: 2px solid #CFCFCF;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.thumb.left { left: -2px; }
.thumb.right { right: -2px; }
/* Bottom sheet */
.bottom-sheet {
position: absolute;
left: 0;
right: 0;
bottom: 120px;
height: 300px;
background: #fff;
box-shadow: 0 -10px 22px rgba(0,0,0,0.18);
border-top-left-radius: 36px;
border-top-right-radius: 36px;
padding: 36px 48px;
display: flex;
align-items: center;
justify-content: space-between;
}
.clear-link {
font-size: 46px;
color: #2E4A2A;
text-decoration: underline;
font-weight: 600;
}
.cta {
background: #224815;
color: white;
border: none;
border-radius: 70px;
padding: 34px 56px;
font-size: 48px;
font-weight: 700;
width: 520px;
text-align: center;
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 14px;
background: #A6A6A6;
border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:28</div>
<div class="status-icons">
<!-- Tiny filled rectangle to mimic icons -->
<svg width="42" height="42"><rect x="6" y="6" width="30" height="30" rx="4" fill="#7A7A7A"/></svg>
<svg width="42" height="42"><polygon points="21,6 36,36 6,36" fill="#7A7A7A"/></svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<svg class="back-icon" viewBox="0 0 24 24">
<path d="M15.5 5.5L8 12l7.5 6.5" fill="none" stroke="#2A3F28" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="app-title">Filter</div>
</div>
<!-- Content -->
<div class="content">
<div class="link-row">Show more</div>
<div class="divider"></div>
<div class="section-title">Difficulty</div>
<div class="option-row">
<div class="option-left">
<span>Easy</span>
<svg class="info-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#999" stroke-width="2"/>
<line x1="12" y1="10" x2="12" y2="16" stroke="#999" stroke-width="2"/>
<circle cx="12" cy="7" r="1.6" fill="#999"/>
</svg>
</div>
<div class="checkbox"></div>
</div>
<div class="option-row">
<div class="option-left">
<span>Moderate</span>
<svg class="info-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#999" stroke-width="2"/>
<line x1="12" y1="10" x2="12" y2="16" stroke="#999" stroke-width="2"/>
<circle cx="12" cy="7" r="1.6" fill="#999"/>
</svg>
</div>
<div class="checkbox"></div>
</div>
<div class="option-row">
<div class="option-left">
<span>Hard</span>
<svg class="info-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#999" stroke-width="2"/>
<line x1="12" y1="10" x2="12" y2="16" stroke="#999" stroke-width="2"/>
<circle cx="12" cy="7" r="1.6" fill="#999"/>
</svg>
</div>
<div class="checkbox checked">
<svg class="checkmark" viewBox="0 0 24 24">
<path d="M5 12.5l5 5 9-11" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="divider"></div>
<div class="range-title">Length</div>
<div class="range-labels">
<div>0 mi</div>
<div>50+ mi</div>
</div>
<div class="slider">
<div class="track"></div>
<div class="thumb left"></div>
<div class="thumb right"></div>
</div>
<div class="divider"></div>
<div class="range-title">Elevation gain</div>
<div class="range-labels">
<div>0 ft</div>
<div>5,000+ ft</div>
</div>
<div class="slider">
<div class="track"></div>
<div class="thumb left"></div>
<div class="thumb right"></div>
</div>
<div class="divider" style="margin-top: 36px;"></div>
<div class="section-title" style="margin-bottom: 24px;">Suitability</div>
<!-- Content below is intentionally obscured by bottom sheet to mimic screenshot -->
</div>
<!-- Bottom sheet -->
<div class="bottom-sheet">
<div class="clear-link">Clear</div>
<button class="cta">See 2 trails</button>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>