added filter buttons

This commit is contained in:
SlimusMinus
2026-06-11 01:00:19 +03:00
parent 66ef2f623f
commit 148820e9d3
2 changed files with 83 additions and 10 deletions

View File

@@ -35,6 +35,33 @@
.f-topbar-center { flex: 1; display: flex; justify-content: center; }
.f-topbar-spacer { width: 32px; flex-shrink: 0; }
/* ── Filter Bar ── */
.f-filter-bar {
display: flex; gap: 10px;
padding: 12px 16px;
border-bottom: 1px solid var(--border);
background: rgba(13,16,24,.4); backdrop-filter: blur(8px);
justify-content: center;
}
.f-filter-btn {
display: flex; align-items: center; gap: 6px;
padding: 10px 18px; border-radius: 12px;
font-family: var(--font); font-size: 0.9rem; font-weight: 600;
background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
color: rgba(255,255,255,.6); cursor: pointer;
transition: all 0.25s ease;
}
.f-filter-btn:hover {
background: rgba(255,255,255,.1); border-color: rgba(45,224,200,.3);
color: rgba(255,255,255,.8);
}
.f-filter-btn.active {
background: rgba(45,224,200,.15); border-color: rgba(45,224,200,.5);
color: #2de0c8; box-shadow: 0 0 12px rgba(45,224,200,.25);
font-weight: 700;
}
/* ── Feed Wrap + Scroll ── */
.f-wrap { display: flex; flex: 1; overflow: hidden; min-height: 0; }
@@ -63,6 +90,16 @@
padding: 10px 16px;
font-size: 0.85rem;
}
/* Фильтр компактнее */
.f-filter-bar {
padding: 10px 12px;
gap: 8px;
}
.f-filter-btn {
padding: 8px 14px;
font-size: 0.85rem;
}
}
@media (max-width: 600px) {
@@ -77,4 +114,9 @@
height: 18px;
font-size: 1rem;
}
.f-filter-btn {
padding: 8px 12px;
font-size: 0.8rem;
}
}