Skip to content

Commit a1d2264

Browse files
committed
fix: remove sticky filter bar
1 parent 7cdc45c commit a1d2264

2 files changed

Lines changed: 6 additions & 311 deletions

File tree

web-app/css/styles.css

Lines changed: 6 additions & 281 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,80 +2621,6 @@ body.sidebar-active .sidebar-dock {
26212621
color: var(--text-secondary);
26222622
}
26232623

2624-
/* ═══════════════════════════════════════════════════════════════
2625-
STICKY FILTER BAR
2626-
═══════════════════════════════════════════════════════════════ */
2627-
.sticky-filter-bar {
2628-
position: fixed;
2629-
top: calc(var(--nav-height) + 24px);
2630-
left: 50%;
2631-
transform: translateX(-50%);
2632-
z-index: 999;
2633-
opacity: 0;
2634-
pointer-events: none;
2635-
transition:
2636-
opacity var(--duration-base) ease,
2637-
transform var(--duration-base) ease;
2638-
width: calc(100% - 32px);
2639-
max-width: 600px;
2640-
}
2641-
2642-
.sticky-filter-bar.visible {
2643-
opacity: 1;
2644-
pointer-events: auto;
2645-
}
2646-
2647-
.sticky-filter-inner {
2648-
display: flex;
2649-
align-items: center;
2650-
justify-content: center;
2651-
gap: 4px;
2652-
padding: 6px;
2653-
background: var(--surface);
2654-
border: 1px solid var(--border);
2655-
border-radius: 14px;
2656-
backdrop-filter: blur(20px);
2657-
overflow-x: auto;
2658-
scrollbar-width: none;
2659-
}
2660-
2661-
.sticky-filter-inner::-webkit-scrollbar {
2662-
display: none;
2663-
}
2664-
2665-
.sticky-tab {
2666-
display: inline-flex;
2667-
align-items: center;
2668-
gap: 6px;
2669-
padding: 8px 14px;
2670-
border-radius: 10px;
2671-
font-family: var(--font-sans);
2672-
font-size: 0.8rem;
2673-
font-weight: 500;
2674-
color: var(--text-secondary);
2675-
background: transparent;
2676-
border: none;
2677-
white-space: nowrap;
2678-
cursor: pointer;
2679-
transition: all var(--duration-fast) ease;
2680-
}
2681-
2682-
.sticky-tab:hover {
2683-
color: var(--text);
2684-
background: var(--bg-glass);
2685-
}
2686-
2687-
.sticky-tab.active {
2688-
color: var(--text);
2689-
background: var(--accent-soft);
2690-
border: 1px solid var(--border-accent);
2691-
}
2692-
2693-
.sticky-tab svg {
2694-
width: 14px;
2695-
height: 14px;
2696-
}
2697-
26982624
/* ═══════════════════════════════════════════════════════════════
26992625
PLAYGROUND SECTION
27002626
═══════════════════════════════════════════════════════════════ */
@@ -3840,11 +3766,6 @@ body.sidebar-collapsed .playground-section {
38403766
margin-bottom: 24px;
38413767
}
38423768

3843-
.sticky-filter-bar {
3844-
top: 72px;
3845-
width: calc(100% - 16px);
3846-
}
3847-
38483769
.cursor-glow {
38493770
display: none;
38503771
}
@@ -4134,96 +4055,6 @@ textarea:focus-visible,
41344055
transform: translateX(-50%) translateY(0);
41354056
}
41364057

4137-
/* ═══════════════════════════════════════
4138-
STICKY CATEGORY FILTER BAR
4139-
═══════════════════════════════════════ */
4140-
.sticky-filter-bar {
4141-
position: fixed;
4142-
top: 0;
4143-
/* will be offset by JS after measuring navbar */
4144-
left: 0;
4145-
right: 0;
4146-
z-index: 999;
4147-
background: color-mix(in srgb, var(--surface-color) 90%, transparent);
4148-
backdrop-filter: blur(10px);
4149-
-webkit-backdrop-filter: blur(10px);
4150-
border-bottom: 1px solid var(--border-color);
4151-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
4152-
4153-
opacity: 0;
4154-
pointer-events: none;
4155-
transform: translateY(-100%);
4156-
transition:
4157-
opacity 0.25s ease,
4158-
transform 0.25s ease;
4159-
}
4160-
4161-
.sticky-filter-bar.visible {
4162-
opacity: 1;
4163-
pointer-events: auto;
4164-
transform: translateY(0);
4165-
}
4166-
4167-
.sticky-filter-inner {
4168-
display: flex;
4169-
align-items: center;
4170-
justify-content: center;
4171-
gap: 0.25rem;
4172-
padding: 0.55rem 1.25rem;
4173-
max-width: 1200px;
4174-
margin: 0 auto;
4175-
overflow-x: auto;
4176-
scrollbar-width: none;
4177-
-ms-overflow-style: none;
4178-
}
4179-
4180-
.sticky-filter-inner::-webkit-scrollbar {
4181-
display: none;
4182-
}
4183-
4184-
.sticky-tab {
4185-
display: inline-flex;
4186-
align-items: center;
4187-
gap: 0.38rem;
4188-
background: transparent;
4189-
border: 0;
4190-
border-radius: 50px;
4191-
padding: 0.35rem 0.9rem;
4192-
cursor: pointer;
4193-
font-size: 0.82rem;
4194-
font-family: "IBM Plex Mono", monospace;
4195-
font-weight: 600;
4196-
color: var(--text-secondary);
4197-
text-transform: lowercase;
4198-
transition:
4199-
background-color 0.18s ease,
4200-
color 0.18s ease;
4201-
white-space: nowrap;
4202-
}
4203-
4204-
.sticky-tab i {
4205-
width: 14px;
4206-
height: 14px;
4207-
stroke-width: 2;
4208-
flex-shrink: 0;
4209-
}
4210-
4211-
.sticky-tab:hover {
4212-
background: var(--accent-soft);
4213-
color: var(--text-color);
4214-
}
4215-
4216-
.sticky-tab.active {
4217-
background: var(--accent-soft);
4218-
color: var(--accent-color);
4219-
border: 1px solid var(--accent-border);
4220-
}
4221-
4222-
.sticky-tab:focus-visible {
4223-
outline: 2px solid var(--accent-color);
4224-
outline-offset: 2px;
4225-
}
4226-
42274058
/* ═══════════════════════════════════════
42284059
CONSOLIDATED RESPONSIVE BREAKPOINTS
42294060
═══════════════════════════════════════ */
@@ -4446,16 +4277,6 @@ textarea:focus-visible,
44464277
font-size: 0.95rem;
44474278
}
44484279

4449-
.sticky-filter-inner {
4450-
justify-content: flex-start;
4451-
padding: 0.45rem 1rem;
4452-
gap: 0.18rem;
4453-
}
4454-
4455-
.sticky-tab {
4456-
padding: 0.3rem 0.7rem;
4457-
font-size: 0.78rem;
4458-
}
44594280
}
44604281

44614282
@media (max-width: 375px) {
@@ -4581,9 +4402,6 @@ textarea:focus-visible,
45814402
transform: none;
45824403
}
45834404

4584-
.sticky-filter-bar {
4585-
transition: none;
4586-
}
45874405
}
45884406

45894407
/* ==========================================================================
@@ -4851,76 +4669,6 @@ html[data-theme="dark"] body {
48514669
padding: 0 1rem;
48524670
}
48534671

4854-
.sticky-filter-bar {
4855-
position: sticky;
4856-
top: 88px;
4857-
z-index: 950;
4858-
display: flex;
4859-
flex-wrap: wrap;
4860-
gap: 10px;
4861-
justify-content: center;
4862-
width: min(1120px, calc(100% - 32px));
4863-
margin: 0 auto 18px;
4864-
padding: 12px;
4865-
border-radius: 18px;
4866-
background: rgba(255, 255, 255, 0.72);
4867-
border: 1px solid rgba(128, 104, 85, 0.12);
4868-
backdrop-filter: blur(18px) saturate(1.2);
4869-
-webkit-backdrop-filter: blur(18px) saturate(1.2);
4870-
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
4871-
opacity: 0;
4872-
transform: translateY(-8px);
4873-
pointer-events: none;
4874-
transition: opacity 180ms ease, transform 180ms ease;
4875-
}
4876-
4877-
.sticky-filter-bar.visible {
4878-
opacity: 1;
4879-
transform: translateY(0);
4880-
pointer-events: auto;
4881-
}
4882-
4883-
[data-theme="dark"] .sticky-filter-bar {
4884-
background: rgba(14, 18, 28, 0.88);
4885-
border-color: rgba(255, 255, 255, 0.08);
4886-
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
4887-
}
4888-
4889-
.sticky-tab {
4890-
display: inline-flex;
4891-
align-items: center;
4892-
justify-content: center;
4893-
min-height: 40px;
4894-
padding: 0 16px;
4895-
border-radius: 999px;
4896-
border: 1px solid rgba(128, 104, 85, 0.12);
4897-
background: rgba(255, 255, 255, 0.45);
4898-
color: var(--text-secondary);
4899-
font-family: var(--font-sans);
4900-
font-size: 0.88rem;
4901-
font-weight: 600;
4902-
letter-spacing: -0.01em;
4903-
transition: all var(--duration-fast) ease;
4904-
}
4905-
4906-
.sticky-tab:hover {
4907-
color: var(--text);
4908-
border-color: var(--border-accent);
4909-
background: var(--accent-soft);
4910-
}
4911-
4912-
.sticky-tab.active {
4913-
color: var(--text);
4914-
border-color: var(--accent-glow);
4915-
background: var(--accent-soft);
4916-
box-shadow: 0 0 0 1px var(--accent-glow);
4917-
}
4918-
4919-
[data-theme="dark"] .sticky-tab {
4920-
background: rgba(255, 255, 255, 0.03);
4921-
border-color: rgba(255, 255, 255, 0.08);
4922-
}
4923-
49244672
/* ── Hero Timeline (right side) ───────────────────────────── */
49254673
.hero-timeline {
49264674
position: absolute;
@@ -5138,7 +4886,6 @@ html[data-theme="dark"] body {
51384886
.achievement-card,
51394887
.featured-lab-card,
51404888
.project-card,
5141-
.sticky-filter-bar,
51424889
.playground-section,
51434890
.footer,
51444891
.modal-content {
@@ -5562,23 +5309,20 @@ button:focus-visible,
55625309
top: 2px;
55635310
}
55645311

5565-
.hero-features,
5566-
.sticky-filter-inner {
5312+
.hero-features{
55675313
background: rgba(255, 255, 255, 0.58);
55685314
border: 1px solid rgba(128, 104, 85, 0.08);
55695315
border-radius: 24px;
55705316
padding: 0.65rem;
55715317
gap: 0.55rem;
55725318
}
55735319

5574-
[data-theme="dark"] .hero-features,
5575-
[data-theme="dark"] .sticky-filter-inner {
5320+
[data-theme="dark"] .hero-features{
55765321
background: rgba(255, 255, 255, 0.06);
55775322
border-color: rgba(255, 239, 223, 0.1);
55785323
}
55795324

5580-
.feature-badge,
5581-
.sticky-tab {
5325+
.feature-badge{
55825326
border-radius: 999px;
55835327
padding: 0.8rem 1rem;
55845328
text-transform: none;
@@ -5595,34 +5339,22 @@ button:focus-visible,
55955339
display: none;
55965340
}
55975341

5598-
.feature-badge.active,
5599-
.sticky-tab.active {
5342+
.feature-badge.active{
56005343
background: linear-gradient(135deg,
56015344
rgba(255, 198, 132, 0.32),
56025345
rgba(125, 220, 185, 0.3));
56035346
color: var(--text-color);
56045347
border: 1px solid rgba(128, 104, 85, 0.1);
56055348
}
56065349

5607-
[data-theme="dark"] .feature-badge,
5608-
[data-theme="dark"] .sticky-tab {
5350+
[data-theme="dark"] .feature-badge{
56095351
color: var(--text-secondary);
56105352
}
56115353

5612-
[data-theme="dark"] .feature-badge.active,
5613-
[data-theme="dark"] .sticky-tab.active {
5354+
[data-theme="dark"] .feature-badge.active {
56145355
border-color: rgba(255, 239, 223, 0.12);
56155356
}
56165357

5617-
.sticky-filter-bar {
5618-
top: 16px;
5619-
left: 12px;
5620-
right: 12px;
5621-
width: auto;
5622-
background: transparent;
5623-
border-bottom: 0;
5624-
box-shadow: none;
5625-
}
56265358

56275359
.hero-card-topline,
56285360
.progress-card-header,
@@ -6628,13 +6360,6 @@ body.sidebar-collapsed .sidebar-dock .sidebar-footer .sidebar-main-controls {
66286360

66296361
}
66306362

6631-
@media (max-width: 1280px) {
6632-
6633-
.sticky-filter-bar{
6634-
display:none ;
6635-
}
6636-
6637-
}
66386363

66396364
/* Make cards take full width of their grid cell */
66406365
.project-card {

0 commit comments

Comments
 (0)