File size: 9,324 Bytes
67530d2 | 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 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Filters UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #111; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 120px;
background: #e6e6e6;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 600;
font-size: 40px;
color: #111;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 26px;
}
.dot { width: 14px; height: 14px; background: #6b6b6b; border-radius: 50%; }
.icon-box { width: 38px; height: 24px; border: 3px solid #4b4b4b; border-radius: 4px; position: relative; }
.icon-box::after { content: ""; position: absolute; right: 4px; top: 4px; bottom: 4px; width: 16px; background: #4b4b4b; border-radius: 2px; }
/* Top app bar */
.appbar {
height: 140px;
display: flex;
align-items: center;
padding: 0 36px;
background: #fff;
border-bottom: 1px solid #ececec;
}
.appbar h1 {
margin: 0 0 0 22px;
font-size: 56px;
font-weight: 700;
}
.clear-link {
margin-left: auto;
color: #2a3cff;
font-size: 44px;
font-weight: 700;
text-decoration: none;
}
.back-btn {
width: 60px; height: 60px;
display: inline-flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 56px; height: 56px; }
/* Layout below appbar */
.content {
position: absolute;
top: 260px; /* 120 + 140 */
bottom: 350px; /* apply bar + navbar combined reserved later */
left: 0; right: 0;
display: flex;
overflow: hidden;
}
.sidebar {
width: 320px;
background: #f1f2f6;
border-right: 1px solid #e6e6e9;
overflow-y: auto;
}
.side-item {
padding: 34px 30px;
font-size: 42px;
color: #1b1b1b;
border-bottom: 1px solid #ececf0;
display: flex;
align-items: center;
justify-content: space-between;
min-height: 120px;
}
.side-item.muted { color: #6b6b6b; }
.side-item.active { color: #4a45ff; font-weight: 700; background: #ffffff; }
.tick {
width: 34px; height: 34px; color: #6a58ff;
}
.options {
flex: 1;
overflow-y: auto;
padding: 8px 20px 40px 28px;
background: #fff;
}
.opt-row {
display: flex;
align-items: center;
gap: 26px;
padding: 34px 24px;
margin: 8px 8px;
border-bottom: 1px solid #f1f1f1;
}
.checkbox {
width: 54px; height: 54px;
border: 6px solid #2a2a2a;
border-radius: 8px;
box-sizing: border-box;
background: #fff;
}
.opt-label {
font-size: 46px;
color: #222;
letter-spacing: 0.3px;
}
/* Apply bar (above bottom nav) */
.apply-bar {
position: absolute;
left: 0; right: 0;
bottom: 170px; /* keep nav visible */
height: 180px;
background: #ffffff;
border-top: 1px solid #ececec;
display: flex;
align-items: center;
padding: 0 36px;
gap: 24px;
}
.found {
flex: 1;
}
.found .count {
font-size: 52px; font-weight: 800; color: #111;
}
.found .sub {
font-size: 34px; color: #6b6b6b; margin-top: 6px;
}
.apply-btn {
width: 500px; height: 118px; background: #5b4dff;
border-radius: 16px; color: #fff; font-size: 46px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 6px 14px rgba(91,77,255,0.3);
}
/* Bottom navigation */
.navbar {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 170px;
background: #fff;
border-top: 1px solid #e9e9e9;
display: flex;
align-items: center;
justify-content: space-around;
font-size: 32px;
color: #6b6b6b;
}
.nav-item {
width: 180px;
display: flex; flex-direction: column;
align-items: center; justify-content: center;
position: relative;
gap: 10px;
}
.nav-item svg { width: 54px; height: 54px; }
.nav-item.active { color: #5b4dff; }
.active-indicator {
position: absolute; bottom: 0; height: 10px; width: 120px; background: #5b4dff; border-radius: 6px;
}
.badge {
position: absolute;
top: 8px; right: 46px;
width: 28px; height: 28px; background: #ff3b30; color: #fff; font-size: 22px;
display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>11:28</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="icon-box"></div>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="back-btn" aria-label="Back">
<svg viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"></path>
</svg>
</div>
<h1>Filters</h1>
<a class="clear-link" href="#">Clear Filters</a>
</div>
<!-- Main content -->
<div class="content">
<!-- Sidebar -->
<div class="sidebar">
<div class="side-item">Price</div>
<div class="side-item">Brand</div>
<div class="side-item">Deliver At
<svg class="tick" viewBox="0 0 24 24" fill="none" stroke="#6a58ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 6L9 17l-5-5"></path>
</svg>
</div>
<div class="side-item">Gender</div>
<div class="side-item">Discount</div>
<div class="side-item active">Size</div>
<div class="side-item">Sleeves</div>
<div class="side-item">Collar</div>
<div class="side-item">Fabric</div>
<div class="side-item">Pattern</div>
<div class="side-item">Occasion</div>
<div class="side-item">Color</div>
</div>
<!-- Options list -->
<div class="options">
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">3XS</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">2XS</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">XS</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">S</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">M</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">L</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">XL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">XXL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">3XL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">4XL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">5XL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">6XL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">7XL</div></div>
<div class="opt-row"><div class="checkbox"></div><div class="opt-label">Free</div></div>
</div>
</div>
<!-- Apply bar -->
<div class="apply-bar">
<div class="found">
<div class="count">200,777</div>
<div class="sub">products found</div>
</div>
<div class="apply-btn">Apply</div>
</div>
<!-- Bottom navigation -->
<div class="navbar">
<div class="nav-item">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M3 10l9-7 9 7v8a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4H9v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
</svg>
<div>Home</div>
</div>
<div class="nav-item active">
<svg viewBox="0 0 24 24" fill="none" stroke="#5b4dff" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M21 21l-4.3-4.3"></path>
</svg>
<div>Search</div>
<div class="active-indicator"></div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="7" height="7"></rect>
<rect x="14" y="3" width="7" height="7"></rect>
<rect x="3" y="14" width="7" height="7"></rect>
<rect x="14" y="14" width="7" height="7"></rect>
</svg>
<div>Categories</div>
<div class="badge"></div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 21c0-4 4-7 8-7s8 3 8 7"></path>
</svg>
<div>Account</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M6 6h15l-1.5 9h-12z"></path>
<circle cx="9" cy="20" r="2"></circle>
<circle cx="18" cy="20" r="2"></circle>
</svg>
<div>Cart</div>
<div class="badge">1</div>
</div>
</div>
</div>
</body>
</html> |