Download code/10182/10182_6.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 8.42 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/550168196f09318e379f9bc19dd67ea42c23124c/code/10182/10182_6.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@550168196f09318e379f9bc19dd67ea42c23124c/code/10182/10182_6.html
-
curl -L -o 10182_6.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/550168196f09318e379f9bc19dd67ea42c23124c/code/10182/10182_6.html
8.42 kB
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> | |
| <title>Filter UI</title> | |
| <style> | |
| :root { | |
| --green: #234E1E; | |
| --green-700: #1D4017; | |
| --text: #222222; | |
| --muted: #6D6D6D; | |
| --divider: #E5E5E5; | |
| --radio: #CFCFCF; | |
| --bg: #FFFFFF; | |
| --blue: #3E7BFF; | |
| } | |
| body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--text); } | |
| #render-target { | |
| width: 1080px; | |
| height: 2400px; | |
| position: relative; | |
| overflow: hidden; | |
| background: var(--bg); | |
| border-radius: 24px; | |
| box-shadow: 0 18px 40px rgba(0,0,0,0.15); | |
| } | |
| /* Status bar */ | |
| .status-bar { | |
| height: 120px; | |
| padding: 0 48px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| color: #222; | |
| font-weight: 600; | |
| font-size: 44px; | |
| } | |
| .status-right { | |
| display: flex; | |
| gap: 28px; | |
| align-items: center; | |
| } | |
| .status-icon svg { display: block; } | |
| /* Header */ | |
| .header { | |
| height: 120px; | |
| display: flex; | |
| align-items: center; | |
| gap: 22px; | |
| padding: 0 48px; | |
| } | |
| .header .title { | |
| font-size: 54px; | |
| font-weight: 700; | |
| color: var(--green); | |
| letter-spacing: 0.2px; | |
| } | |
| .back-btn { | |
| width: 56px; | |
| height: 56px; | |
| } | |
| .back-btn svg { width: 56px; height: 56px; fill: var(--green); } | |
| /* Scroll content */ | |
| .content { | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| top: 240px; /* status + header */ | |
| bottom: 260px; /* space for bottom sheet */ | |
| overflow-y: auto; | |
| padding: 0 48px 40px 48px; | |
| } | |
| .section h2 { | |
| font-size: 52px; | |
| margin: 30px 0 12px 0; | |
| color: var(--green); | |
| font-weight: 800; | |
| } | |
| .option { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 46px 6px; | |
| font-size: 44px; | |
| } | |
| .radio { | |
| position: relative; | |
| width: 56px; | |
| height: 56px; | |
| border-radius: 50%; | |
| border: 6px solid var(--radio); | |
| background: #fff; | |
| } | |
| .radio.checked { | |
| border-color: #CFCFCF; | |
| } | |
| .radio.checked::after { | |
| content: ""; | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 26px; | |
| height: 26px; | |
| background: var(--green); | |
| border-radius: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .divider { | |
| height: 2px; | |
| background: var(--divider); | |
| margin: 18px 0 0 0; | |
| } | |
| /* Distance away */ | |
| .distance-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 18px; | |
| margin-top: 28px; | |
| } | |
| .distance-header h2 { | |
| margin: 0; | |
| } | |
| .badge { | |
| width: 56px; | |
| height: 56px; | |
| } | |
| .subtext { | |
| color: #5F6C5F; | |
| font-size: 40px; | |
| margin-top: 12px; | |
| } | |
| .distance-range { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-top: 34px; | |
| font-size: 40px; | |
| color: #2A2A2A; | |
| } | |
| .slider { | |
| margin-top: 26px; | |
| padding-right: 16px; | |
| } | |
| .track { | |
| position: relative; | |
| height: 14px; | |
| border-radius: 8px; | |
| background: #D9D9D9; | |
| } | |
| .progress { | |
| position: absolute; | |
| height: 14px; | |
| border-radius: 8px 0 0 8px; | |
| background: var(--green); | |
| width: 82%; | |
| left: 0; | |
| top: 0; | |
| } | |
| .thumb { | |
| position: absolute; | |
| top: 50%; | |
| left: calc(82% - 10px); | |
| width: 64px; | |
| height: 64px; | |
| transform: translateY(-50%); | |
| background: #ffffff; | |
| border-radius: 50%; | |
| box-shadow: 0 4px 8px rgba(0,0,0,0.15); | |
| border: 4px solid #E3E3E3; | |
| } | |
| .ticks { | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| pointer-events: none; | |
| } | |
| .tick { | |
| position: absolute; | |
| width: 10px; | |
| height: 10px; | |
| background: #E9E9E9; | |
| border-radius: 50%; | |
| } | |
| .tick.g { background: #D6E0D6; } /* subtle dots on green part */ | |
| .tick:nth-child(1) { left: 8%; } | |
| .tick:nth-child(2) { left: 26%; } | |
| .tick:nth-child(3) { left: 44%; } | |
| .tick:nth-child(4) { left: 62%; } | |
| .tick:nth-child(5) { left: 80%; } | |
| .tick:nth-child(6) { left: 97%; background: #CFCFCF; } | |
| /* Activity section tweaks */ | |
| .activity .option { padding: 40px 6px; } | |
| /* Bottom sheet */ | |
| .bottom-sheet { | |
| position: absolute; | |
| left: 0; right: 0; bottom: 120px; | |
| height: 240px; | |
| background: #FFFFFF; | |
| border-top: 2px solid var(--divider); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 0 48px; | |
| } | |
| .left-link { | |
| font-size: 44px; | |
| color: var(--green); | |
| font-weight: 700; | |
| } | |
| .primary { | |
| font-size: 44px; | |
| font-weight: 800; | |
| color: #fff; | |
| background: var(--green); | |
| border: none; | |
| border-radius: 70px; | |
| padding: 34px 60px; | |
| width: 520px; | |
| box-shadow: 0 8px 16px rgba(35,78,30,0.3); | |
| } | |
| /* Nav handle */ | |
| .nav-handle { | |
| position: absolute; | |
| left: 50%; | |
| bottom: 36px; | |
| transform: translateX(-50%); | |
| width: 300px; | |
| height: 14px; | |
| background: #BDBDBD; | |
| border-radius: 8px; | |
| opacity: 0.8; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <!-- Status bar --> | |
| <div class="status-bar"> | |
| <div class="time">8:27</div> | |
| <div class="status-right"> | |
| <div class="status-icon"> | |
| <!-- Wi-Fi icon --> | |
| <svg width="48" height="48" viewBox="0 0 24 24"> | |
| <path fill="#555" d="M12 18.5c.9 0 1.5.6 1.5 1.5s-.6 1.5-1.5 1.5-1.5-.6-1.5-1.5.6-1.5 1.5-1.5ZM3 9.5a12 12 0 0 1 18 0l-1.7 1.7a9.7 9.7 0 0 0-14.6 0L3 9.5Zm4.1 4.1a7 7 0 0 1 9.8 0L15.2 15a4.7 4.7 0 0 0-6.6 0l-1.5-1.4Z"/> | |
| </svg> | |
| </div> | |
| <div class="status-icon"> | |
| <!-- Battery icon --> | |
| <svg width="48" height="48" viewBox="0 0 24 24"> | |
| <rect x="2" y="6" width="18" height="12" rx="2" fill="#555"/> | |
| <rect x="4" y="8" width="14" height="8" rx="1" fill="#fff"/> | |
| <rect x="4" y="8" width="10" height="8" rx="1" fill="#7CB342"/> | |
| <rect x="20" y="9" width="2" height="6" rx="1" fill="#555"/> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Header --> | |
| <div class="header"> | |
| <div class="back-btn"> | |
| <svg viewBox="0 0 24 24"> | |
| <path d="M15.5 19a1 1 0 0 1-.7-.3l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 1 1 1.4 1.4L10.4 12l5.8 5.3a1 1 0 0 1-.7 1.7Z"/> | |
| </svg> | |
| </div> | |
| <div class="title">Filter</div> | |
| </div> | |
| <!-- Content --> | |
| <div class="content"> | |
| <div class="section"> | |
| <h2>Sort</h2> | |
| <div class="option"><span>Best match</span><div class="radio checked"></div></div> | |
| <div class="option"><span>Most popular</span><div class="radio"></div></div> | |
| <div class="option"><span>Closest</span><div class="radio"></div></div> | |
| <div class="option"><span>Newly added</span><div class="radio"></div></div> | |
| </div> | |
| <div class="divider"></div> | |
| <div class="section"> | |
| <div class="distance-header"> | |
| <div class="badge"> | |
| <!-- Hex badge with plus --> | |
| <svg viewBox="0 0 24 24"> | |
| <polygon points="12,2 20,7 20,17 12,22 4,17 4,7" fill="#4F86FF"/> | |
| <rect x="11" y="7" width="2" height="10" fill="#fff"/> | |
| <rect x="7" y="11" width="10" height="2" fill="#fff"/> | |
| </svg> | |
| </div> | |
| <h2>Distance away</h2> | |
| </div> | |
| <div class="subtext">See trails based on your current location</div> | |
| <div class="distance-range"> | |
| <div class="min">0 mi</div> | |
| <div class="max">60 mi</div> | |
| </div> | |
| <div class="slider"> | |
| <div class="track"> | |
| <div class="progress"></div> | |
| <div class="ticks"> | |
| <div class="tick g"></div> | |
| <div class="tick g"></div> | |
| <div class="tick g"></div> | |
| <div class="tick g"></div> | |
| <div class="tick g"></div> | |
| <div class="tick"></div> | |
| </div> | |
| <div class="thumb"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="divider"></div> | |
| <div class="section activity"> | |
| <h2>Activity</h2> | |
| <div class="option"><span>Hiking</span><div class="radio"></div></div> | |
| <div class="option"><span>Mountain biking</span><div class="radio"></div></div> | |
| <div class="option"><span>Running</span><div class="radio"></div></div> | |
| </div> | |
| </div> | |
| <!-- Bottom sheet --> | |
| <div class="bottom-sheet"> | |
| <div class="left-link">Clear</div> | |
| <button class="primary">See 253 trails</button> | |
| </div> | |
| <!-- Navigation handle --> | |
| <div class="nav-handle"></div> | |
| </div> | |
| </body> | |
| </html> |