File size: 6,794 Bytes
c32f9a6 | 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 | <!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, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif; color: #212121; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden; background: #ffffff;
}
/* Top app bar */
.topbar {
height: 150px;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
border-bottom: 1px solid #eee;
}
.topbar .back {
width: 60px; height: 60px; margin-right: 20px; display: flex; align-items: center; justify-content: center;
}
.topbar .title {
font-size: 48px; font-weight: 600; letter-spacing: 0.2px;
}
.topbar .actions {
margin-left: auto;
font-size: 38px;
color: #000;
}
/* Layout */
.content {
position: absolute;
top: 150px; bottom: 180px; left: 0; right: 0;
display: flex;
}
/* Left sidebar */
.sidebar {
width: 330px;
background: #EFF2F5;
padding: 30px 24px 30px 40px;
box-sizing: border-box;
overflow: hidden;
}
.filter-item {
font-size: 34px;
padding: 28px 8px;
border-radius: 8px;
display: flex;
align-items: center;
position: relative;
color: #333;
}
.filter-item.active {
background: #E9EDF3;
font-weight: 600;
}
.filter-item.blue {
color: #1A73E8;
font-weight: 600;
}
.filter-item .tick {
position: absolute;
right: 12px;
width: 30px; height: 30px;
}
/* Right panel */
.panel {
flex: 1;
padding: 30px 50px;
box-sizing: border-box;
overflow: hidden;
}
/* Search bar */
.searchbar {
height: 110px;
border: 1px solid #DADCE0;
border-radius: 12px;
display: flex;
align-items: center;
padding: 0 24px;
box-sizing: border-box;
color: #757575;
font-size: 34px;
background: #FAFAFA;
margin: 10px 0 30px 0;
}
.searchbar svg { margin-right: 20px; }
.searchbar .placeholder { color: #9E9E9E; }
/* Brand checkbox list */
.option {
display: flex;
align-items: center;
font-size: 36px;
margin: 28px 0;
color: #222;
}
.checkbox {
width: 54px; height: 54px;
border: 4px solid #222;
border-radius: 8px;
margin-right: 22px;
position: relative;
box-sizing: border-box;
}
.checkbox.checked {
border-color: #2E6BF0;
background: #2E6BF0;
}
.checkbox.checked svg {
position: absolute; top: 10px; left: 12px;
width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 5;
}
.view-more {
color: #2E6BF0;
font-weight: 700;
font-size: 36px;
margin-top: 20px;
}
/* Bottom bar */
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 0;
height: 180px;
background: #ffffff;
border-top: 1px solid #eee;
display: flex;
align-items: center;
padding: 0 50px;
box-sizing: border-box;
}
.count {
font-size: 44px; font-weight: 700; color: #222;
}
.count .sub {
font-size: 30px; color: #9E9E9E; font-weight: 500; margin-top: 6px;
}
.apply {
margin-left: auto;
width: 440px; height: 110px;
background: #FF6D00;
color: #fff;
font-size: 40px; font-weight: 700;
border: none; border-radius: 16px;
box-shadow: 0 3px 0 rgba(0,0,0,0.1);
cursor: pointer;
}
</style>
</head>
<body>
<div id="render-target">
<div class="topbar">
<div class="back">
<svg viewBox="0 0 48 48">
<path d="M30 8 L14 24 L30 40" stroke="#000" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="title">Filters</div>
<div class="actions">Clear Filters</div>
</div>
<div class="content">
<!-- Left sidebar -->
<div class="sidebar">
<div class="filter-item">Price</div>
<div class="filter-item">Plus (FAssured)</div>
<div class="filter-item active">Deliver At
<svg class="tick" viewBox="0 0 24 24">
<path d="M5 12 L10 17 L19 8" stroke="#2E6BF0" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="filter-item blue">Brand</div>
<div class="filter-item">Customer Ratings</div>
<div class="filter-item">Offers</div>
<div class="filter-item">Discount</div>
<div class="filter-item">Material</div>
<div class="filter-item">Type</div>
<div class="filter-item">GST Invoice Available</div>
<div class="filter-item">Color</div>
<div class="filter-item">Availability</div>
<div class="filter-item">Category</div>
</div>
<!-- Right panel content -->
<div class="panel">
<div class="searchbar">
<svg viewBox="0 0 48 48" width="44" height="44">
<circle cx="20" cy="20" r="12" stroke="#9E9E9E" stroke-width="3" fill="none"></circle>
<line x1="30" y1="30" x2="44" y2="44" stroke="#9E9E9E" stroke-width="3"></line>
</svg>
<span class="placeholder">Search Brand</span>
</div>
<div class="brand-list">
<div class="option">
<div class="checkbox"></div>
<span>AB WORLD CLASS</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>ABR</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>AKS</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>ATLANTIC</span>
</div>
<div class="option">
<div class="checkbox checked">
<svg viewBox="0 0 24 24"><path d="M5 12 L10 17 L19 8"></path></svg>
</div>
<span>BESTLINING</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>Brassley</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>chakachak</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>Circle</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>Crust</span>
</div>
<div class="option">
<div class="checkbox"></div>
<span>DSNS</span>
</div>
<div class="view-more">View More</div>
</div>
</div>
</div>
<div class="bottom-bar">
<div>
<div class="count">338</div>
<div class="sub">products found</div>
</div>
<button class="apply">Apply</button>
</div>
</div>
</body>
</html> |