| <!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; |
| } |
| |
| |
| .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; |
| } |
| |
| |
| .content { |
| position: absolute; |
| top: 150px; bottom: 180px; left: 0; right: 0; |
| display: flex; |
| } |
| |
| |
| .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; |
| } |
| |
| |
| .panel { |
| flex: 1; |
| padding: 30px 50px; |
| box-sizing: border-box; |
| overflow: hidden; |
| } |
| |
| |
| .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; } |
| |
| |
| .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 { |
| 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"> |
| |
| <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> |
|
|
| |
| <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> |