| <!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> |
| :root{ |
| --bg:#ffffff; |
| --text:#1a1a1a; |
| --muted:#6f6f6f; |
| --green:#234B1B; |
| --green-2:#295a20; |
| --border:#d8d8d3; |
| --divider:#e6e6e1; |
| --blue:#3B82F6; |
| } |
| body{ margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif; color:var(--text); } |
| #render-target{ |
| width:1080px; height:2400px; |
| position:relative; overflow:hidden; |
| background:var(--bg); |
| } |
| |
| .status{ |
| height:90px; padding:0 36px; |
| display:flex; align-items:center; justify-content:space-between; |
| color:#3c3c3c; font-size:40px; letter-spacing:0.5px; |
| } |
| .status .icons{ display:flex; gap:28px; align-items:center; } |
| .status svg{ width:40px; height:40px; } |
| |
| .header{ |
| height:140px; display:flex; align-items:center; |
| padding:0 36px; |
| } |
| .back{ |
| width:64px; height:64px; margin-right:24px; |
| display:flex; align-items:center; justify-content:center; |
| } |
| .header .title{ |
| font-size:60px; font-weight:600; color:var(--green); |
| } |
| |
| .content{ padding:24px 48px 360px 48px; } |
| .section-title{ |
| font-size:54px; font-weight:700; color:var(--green); margin:28px 0 24px; |
| } |
| .row{ |
| height:140px; display:flex; align-items:center; justify-content:space-between; |
| border-radius:12px; |
| } |
| .row .label{ font-size:48px; } |
| .radio{ |
| width:84px; height:84px; border-radius:50%; |
| border:10px solid var(--border); position:relative; |
| box-sizing:border-box; |
| } |
| .radio.selected{ border-color:var(--border); } |
| .radio.selected::after{ |
| content:""; position:absolute; left:50%; top:50%; |
| width:32px; height:32px; border-radius:50%; |
| background:var(--green); transform:translate(-50%,-50%); |
| } |
| .divider{ height:2px; background:var(--divider); margin:20px 0 32px; } |
| |
| .distance-head{ display:flex; align-items:center; gap:18px; } |
| .distance-sub{ color:var(--muted); font-size:40px; margin-top:8px; } |
| .range-labels{ display:flex; justify-content:space-between; align-items:center; margin-top:32px; font-size:42px; } |
| .slider-wrap{ position:relative; height:84px; margin-top:16px; } |
| .slider-track{ |
| position:absolute; left:0; right:0; top:30px; |
| height:16px; background:var(--green-2); border-radius:12px; |
| } |
| .tick{ position:absolute; top:22px; width:10px; height:10px; background:#eaeaea; border-radius:50%; } |
| .knob{ |
| position:absolute; right:-6px; top:12px; width:72px; height:72px; |
| background:#fff; border:6px solid var(--border); border-radius:50%; |
| box-shadow:0 2px 4px rgba(0,0,0,0.08); |
| } |
| |
| .activity .row .label{ font-size:48px; } |
| |
| .sheet{ |
| position:absolute; left:0; right:0; bottom:0; height:300px; |
| background:#fff; border-top-left-radius:40px; border-top-right-radius:40px; |
| box-shadow:0 -8px 24px rgba(0,0,0,0.08); |
| padding:40px 48px; |
| } |
| .sheet-inner{ |
| display:flex; align-items:center; justify-content:space-between; |
| } |
| .clear-link{ |
| font-size:44px; color:var(--green); font-weight:600; |
| } |
| .cta{ |
| background:var(--green); color:#fff; font-size:44px; font-weight:700; |
| padding:34px 64px; border-radius:80px; |
| box-shadow:0 6px 0 rgba(0,0,0,0.02); letter-spacing:0.3px; |
| } |
| .gesture-bar{ |
| position:absolute; left:50%; transform:translateX(-50%); |
| bottom:24px; width:380px; height:14px; background:#bfbfbf; border-radius:10px; |
| } |
| |
| .hex{ width:56px; height:56px; } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
| |
| <div class="status"> |
| <div class="time">8:24</div> |
| <div class="icons"> |
| |
| <svg viewBox="0 0 24 24"> |
| <path d="M12 20c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" fill="#555"/> |
| <path d="M2 8c5.5-5.3 14.5-5.3 20 0" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/> |
| <path d="M5 11c3.9-3.6 10.1-3.6 14 0" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/> |
| <path d="M8 14c2.5-2.4 6.5-2.4 9 0" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/> |
| </svg> |
| |
| <svg viewBox="0 0 28 16"> |
| <rect x="1" y="3" width="22" height="10" rx="2" ry="2" fill="none" stroke="#555" stroke-width="2"/> |
| <rect x="3" y="5" width="18" height="6" rx="1" ry="1" fill="#555"/> |
| <rect x="24" y="6" width="3" height="4" rx="1" fill="#555"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="header"> |
| <div class="back"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M15.5 4.5L7 12l8.5 7.5" fill="none" stroke="#234B1B" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| <div class="title">Filter</div> |
| </div> |
|
|
| |
| <div class="content"> |
| <div class="section-title">Sort</div> |
|
|
| <div class="row"> |
| <div class="label">Best match</div> |
| <div class="radio selected"></div> |
| </div> |
| <div class="row"> |
| <div class="label">Most popular</div> |
| <div class="radio"></div> |
| </div> |
| <div class="row"> |
| <div class="label">Closest</div> |
| <div class="radio"></div> |
| </div> |
| <div class="row"> |
| <div class="label">Newly added</div> |
| <div class="radio"></div> |
| </div> |
|
|
| <div class="divider"></div> |
|
|
| |
| <div class="distance"> |
| <div class="distance-head"> |
| <svg class="hex" viewBox="0 0 24 24"> |
| <path d="M6 3l12 0 4 9-4 9-12 0-4-9 4-9z" fill="#E6F0FF" stroke="#3B82F6" stroke-width="1.5"/> |
| <rect x="10.5" y="7.5" width="3" height="9" fill="#3B82F6"/> |
| <rect x="7.5" y="10.5" width="9" height="3" fill="#3B82F6"/> |
| </svg> |
| <div class="section-title" style="margin:0;">Distance away</div> |
| </div> |
| <div class="distance-sub">See trails based on your current location</div> |
|
|
| <div class="range-labels"> |
| <div>0 mi</div> |
| <div>Any</div> |
| </div> |
| <div class="slider-wrap"> |
| <div class="slider-track"></div> |
| <div class="tick" style="left:40px;"></div> |
| <div class="tick" style="left:200px;"></div> |
| <div class="tick" style="left:360px;"></div> |
| <div class="tick" style="left:520px;"></div> |
| <div class="tick" style="left:680px;"></div> |
| <div class="tick" style="left:840px;"></div> |
| <div class="knob"></div> |
| </div> |
| </div> |
|
|
| <div class="divider" style="margin-top:40px;"></div> |
|
|
| |
| <div class="activity"> |
| <div class="section-title">Activity</div> |
|
|
| <div class="row"> |
| <div class="label">Hiking</div> |
| <div class="radio"></div> |
| </div> |
| <div class="row"> |
| <div class="label">Mountain biking</div> |
| <div class="radio"></div> |
| </div> |
| <div class="row"> |
| <div class="label">Running</div> |
| <div class="radio"></div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="sheet"> |
| <div class="sheet-inner"> |
| <div class="clear-link">Clear</div> |
| <div class="cta">See 253 trails</div> |
| </div> |
| </div> |
|
|
| <div class="gesture-bar"></div> |
| </div> |
| </body> |
| </html> |