File size: 7,432 Bytes
5501681 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | <!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 bar */
.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 */
.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 */
.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 away */
.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 */
.activity .row .label{ font-size:48px; }
/* Bottom sheet */
.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;
}
/* Icon styles */
.hex{ width:56px; height:56px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status">
<div class="time">8:24</div>
<div class="icons">
<!-- simple wifi icon -->
<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>
<!-- battery -->
<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>
<!-- Header -->
<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>
<!-- Content -->
<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>
<!-- Distance away section -->
<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>
<!-- Activity section -->
<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>
<!-- Bottom sheet -->
<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> |