| <!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, Helvetica, Arial, sans-serif; |
| color: #111; |
| } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #ffffff; |
| } |
| |
| |
| .status-bar { |
| height: 120px; |
| background: #e7e7e7; |
| display: flex; |
| align-items: center; |
| padding: 0 36px; |
| box-sizing: border-box; |
| font-size: 34px; |
| color: #222; |
| } |
| .status-bar .right { |
| margin-left: auto; |
| display: flex; |
| align-items: center; |
| gap: 26px; |
| } |
| .sb-dot { |
| width: 12px; height: 12px; background:#444; border-radius:50%; |
| display:inline-block; |
| } |
| .sb-icon { |
| width: 36px; height: 24px; border: 3px solid #444; border-radius: 4px; position: relative; |
| } |
| .sb-icon:after { |
| content: ""; position: absolute; right: -10px; top: 4px; width: 6px; height: 16px; background:#444; border-radius: 2px; |
| } |
| |
| |
| .header { |
| height: 140px; |
| display: flex; |
| align-items: center; |
| padding: 0 32px; |
| box-sizing: border-box; |
| border-bottom: 1px solid #eee; |
| } |
| .back-btn { |
| width: 72px; height: 72px; display:flex; align-items:center; justify-content:center; |
| } |
| .header h1 { |
| font-size: 48px; |
| font-weight: 600; |
| margin: 0 0 0 8px; |
| } |
| .clear-link { |
| margin-left: auto; |
| color: #2046ff; |
| font-size: 40px; |
| font-weight: 600; |
| cursor: pointer; |
| } |
| |
| |
| .filters-wrap { |
| position: absolute; |
| top: 260px; |
| bottom: 300px; |
| left: 0; |
| right: 0; |
| display: grid; |
| grid-template-columns: 320px 1fr; |
| } |
| |
| |
| .left-menu { |
| overflow: hidden; |
| border-right: 1px solid #eee; |
| } |
| .menu-item { |
| height: 140px; |
| display: flex; |
| align-items: center; |
| padding: 0 36px; |
| box-sizing: border-box; |
| font-size: 38px; |
| color: #222; |
| background: #f2f3f6; |
| border-bottom: 10px solid #ffffff00; |
| } |
| .menu-item + .menu-item { |
| margin-top: 16px; |
| } |
| .menu-item.active { |
| color: #5b43ff; |
| background: #ffffff; |
| } |
| .menu-item.selected { |
| position: relative; |
| } |
| .menu-item.selected .tick { |
| margin-left: auto; |
| width: 42px; height: 42px; color: #5b43ff; |
| } |
| |
| |
| .right-list { |
| overflow: auto; |
| padding: 8px 40px 40px 40px; |
| } |
| .option { |
| display: flex; |
| align-items: center; |
| gap: 28px; |
| padding: 26px 0; |
| font-size: 40px; |
| } |
| .box { |
| width: 60px; height: 60px; border: 4px solid #222; border-radius: 10px; box-sizing: border-box; |
| display: inline-flex; align-items: center; justify-content: center; |
| } |
| .box.checked { |
| border-color: #5b43ff; |
| background: #5b43ff; |
| } |
| .checkmark { |
| width: 34px; height: 34px; |
| } |
| |
| |
| .apply-bar { |
| position: absolute; |
| left: 0; right: 0; |
| bottom: 210px; |
| height: 140px; |
| background: #ffffff; |
| border-top: 1px solid #eaeaea; |
| box-shadow: 0 -2px 12px rgba(0,0,0,0.06); |
| display: flex; |
| align-items: center; |
| padding: 0 36px; |
| box-sizing: border-box; |
| gap: 24px; |
| } |
| .count { |
| flex: 1; |
| display: flex; flex-direction: column; |
| } |
| .count .num { |
| font-size: 44px; font-weight: 700; |
| } |
| .count .sub { |
| font-size: 30px; color: #666; |
| margin-top: 6px; |
| } |
| .apply-btn { |
| width: 520px; height: 100px; border-radius: 16px; background: #5b43ff; color: #fff; font-size: 40px; font-weight: 700; border: none; |
| } |
| |
| |
| .tabbar { |
| position: absolute; |
| left: 0; right: 0; bottom: 80px; |
| height: 130px; |
| background: #fff; |
| border-top: 1px solid #e6e6e6; |
| display: grid; |
| grid-template-columns: repeat(5, 1fr); |
| align-items: center; |
| } |
| .tab-item { |
| display: flex; flex-direction: column; align-items: center; justify-content: center; |
| gap: 10px; |
| position: relative; |
| } |
| .tab-item svg { width: 48px; height: 48px; } |
| .tab-item span { font-size: 28px; color: #777; } |
| .tab-item.active span { color: #5b43ff; } |
| .active-indicator { |
| position: absolute; bottom: -1px; height: 6px; width: 120px; background: #5b43ff; border-radius: 3px; |
| } |
| .badge { |
| position: absolute; right: 150px; top: 12px; |
| min-width: 24px; height: 24px; background: #ff3b30; color: #fff; font-size: 20px; padding: 2px 6px; border-radius: 12px; display: flex; align-items: center; justify-content: center; |
| } |
| .dot { |
| position: absolute; right: 170px; top: 18px; |
| width: 14px; height: 14px; background: #ff3b30; border-radius: 50%; |
| } |
| |
| |
| .home-indicator { |
| position: absolute; left: 50%; transform: translateX(-50%); |
| bottom: 20px; width: 320px; height: 12px; background: #000; opacity: 0.2; border-radius: 8px; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>11:28</div> |
| <div class="right"> |
| <div style="background:#bbb; padding:6px 10px; border-radius:8px; font-size:26px; color:#333;">B</div> |
| <div class="sb-dot"></div> |
| <div class="sb-dot"></div> |
| <div class="sb-dot"></div> |
| <div class="sb-icon"></div> |
| </div> |
| </div> |
|
|
| |
| <div class="header"> |
| <div class="back-btn" aria-label="Back"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M15.5 4 7 12l8.5 8" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| <h1>Filters</h1> |
| <div class="clear-link">Clear Filters</div> |
| </div> |
|
|
| |
| <div class="filters-wrap"> |
| |
| <div class="left-menu"> |
| <div class="menu-item">Price</div> |
| <div class="menu-item">Brand</div> |
| <div class="menu-item selected"> |
| Deliver At |
| <svg class="tick" viewBox="0 0 24 24"> |
| <path d="M4 13l4 4L20 7" fill="none" stroke="#5b43ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| <div class="menu-item">Gender</div> |
| <div class="menu-item">Discount</div> |
| <div class="menu-item active">Size</div> |
| <div class="menu-item">Sleeves</div> |
| <div class="menu-item">Collar</div> |
| <div class="menu-item">Fabric</div> |
| <div class="menu-item">Pattern</div> |
| <div class="menu-item">Occasion</div> |
| <div class="menu-item">Color</div> |
| </div> |
|
|
| |
| <div class="right-list"> |
| <div class="option"> |
| <div class="box"></div><div>3XS</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>2XS</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>XS</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>S</div> |
| </div> |
| <div class="option"> |
| <div class="box checked"> |
| <svg class="checkmark" viewBox="0 0 24 24"> |
| <path d="M4 12.5l4 4L20 7" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| <div>M</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>L</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>XL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>XXL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>3XL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>4XL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>5XL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>6XL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>7XL</div> |
| </div> |
| <div class="option"> |
| <div class="box"></div><div>Free</div> |
| </div> |
| <div style="height:80px"></div> |
| </div> |
| </div> |
|
|
| |
| <div class="apply-bar"> |
| <div class="count"> |
| <div class="num">200,777</div> |
| <div class="sub">products found</div> |
| </div> |
| <button class="apply-btn">Apply</button> |
| </div> |
|
|
| |
| <div class="tabbar"> |
| <div class="tab-item"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="1.6"> |
| <path d="M3 10l9-7 9 7v9a2 2 0 0 1-2 2h-4V13H9v8H5a2 2 0 0 1-2-2z"/> |
| </svg> |
| <span>Home</span> |
| </div> |
| <div class="tab-item active"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#5b43ff" stroke-width="1.8"> |
| <circle cx="11" cy="11" r="7"/> |
| <path d="M20 20l-3-3"/> |
| </svg> |
| <span>Search</span> |
| <div class="active-indicator"></div> |
| </div> |
| <div class="tab-item"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="1.6"> |
| <rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/> |
| <rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/> |
| </svg> |
| <span>Categories</span> |
| <div class="dot"></div> |
| </div> |
| <div class="tab-item"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="1.6"> |
| <circle cx="12" cy="8" r="4"/><path d="M4 21c1-4 5-6 8-6s7 2 8 6"/> |
| </svg> |
| <span>Account</span> |
| </div> |
| <div class="tab-item"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="1.6"> |
| <path d="M6 6h15l-2 9H7L6 6z"/><circle cx="9" cy="20" r="1.5"/><circle cx="18" cy="20" r="1.5"/> |
| </svg> |
| <span>Cart</span> |
| <div class="badge">1</div> |
| </div> |
| </div> |
|
|
| |
| <div class="home-indicator"></div> |
| </div> |
| </body> |
| </html> |