Skip to content

Commit 2814625

Browse files
Merge pull request #1570 from anujsharma8d/fix/remove-stickybar
fix: remove sticky filter bar
2 parents 873c9cc + cd697cf commit 2814625

2 files changed

Lines changed: 6 additions & 300 deletions

File tree

web-app/css/styles.css

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

2420-
/* ═══════════════════════════════════════════════════════════════
2421-
STICKY FILTER BAR
2422-
═══════════════════════════════════════════════════════════════ */
2423-
.sticky-filter-bar {
2424-
position: fixed;
2425-
top: calc(var(--nav-height) + 24px);
2426-
left: 50%;
2427-
transform: translateX(-50%);
2428-
z-index: 999;
2429-
opacity: 0;
2430-
pointer-events: none;
2431-
transition:
2432-
opacity var(--duration-base) ease,
2433-
transform var(--duration-base) ease;
2434-
width: calc(100% - 32px);
2435-
max-width: 600px;
2436-
}
2437-
2438-
.sticky-filter-bar.visible {
2439-
opacity: 1;
2440-
pointer-events: auto;
2441-
}
2442-
2443-
.sticky-filter-inner {
2444-
display: flex;
2445-
align-items: center;
2446-
justify-content: center;
2447-
gap: 4px;
2448-
padding: 6px;
2449-
background: var(--surface);
2450-
border: 1px solid var(--border);
2451-
border-radius: 14px;
2452-
backdrop-filter: blur(20px);
2453-
overflow-x: auto;
2454-
scrollbar-width: none;
2455-
}
2456-
2457-
.sticky-filter-inner::-webkit-scrollbar {
2458-
display: none;
2459-
}
2460-
2461-
.sticky-tab {
2462-
display: inline-flex;
2463-
align-items: center;
2464-
gap: 6px;
2465-
padding: 8px 14px;
2466-
border-radius: 10px;
2467-
font-family: var(--font-sans);
2468-
font-size: 0.8rem;
2469-
font-weight: 500;
2470-
color: var(--text-secondary);
2471-
background: transparent;
2472-
border: none;
2473-
white-space: nowrap;
2474-
cursor: pointer;
2475-
transition: all var(--duration-fast) ease;
2476-
}
2477-
2478-
.sticky-tab:hover {
2479-
color: var(--text);
2480-
background: var(--bg-glass);
2481-
}
2482-
2483-
.sticky-tab.active {
2484-
color: var(--text);
2485-
background: var(--accent-soft);
2486-
border: 1px solid var(--border-accent);
2487-
}
2488-
2489-
.sticky-tab svg {
2490-
width: 14px;
2491-
height: 14px;
2492-
}
2493-
24942420
/* ═══════════════════════════════════════════════════════════════
24952421
PLAYGROUND SECTION
24962422
═══════════════════════════════════════════════════════════════ */
@@ -3616,11 +3542,6 @@ body.sidebar-collapsed .playground-section {
36163542
margin-bottom: 24px;
36173543
}
36183544

3619-
.sticky-filter-bar {
3620-
top: 72px;
3621-
width: calc(100% - 16px);
3622-
}
3623-
36243545
.cursor-glow {
36253546
display: none;
36263547
}
@@ -3910,96 +3831,6 @@ textarea:focus-visible,
39103831
transform: translateX(-50%) translateY(0);
39113832
}
39123833

3913-
/* ═══════════════════════════════════════
3914-
STICKY CATEGORY FILTER BAR
3915-
═══════════════════════════════════════ */
3916-
.sticky-filter-bar {
3917-
position: fixed;
3918-
top: 0;
3919-
/* will be offset by JS after measuring navbar */
3920-
left: 0;
3921-
right: 0;
3922-
z-index: 999;
3923-
background: color-mix(in srgb, var(--surface-color) 90%, transparent);
3924-
backdrop-filter: blur(10px);
3925-
-webkit-backdrop-filter: blur(10px);
3926-
border-bottom: 1px solid var(--border-color);
3927-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
3928-
3929-
opacity: 0;
3930-
pointer-events: none;
3931-
transform: translateY(-100%);
3932-
transition:
3933-
opacity 0.25s ease,
3934-
transform 0.25s ease;
3935-
}
3936-
3937-
.sticky-filter-bar.visible {
3938-
opacity: 1;
3939-
pointer-events: auto;
3940-
transform: translateY(0);
3941-
}
3942-
3943-
.sticky-filter-inner {
3944-
display: flex;
3945-
align-items: center;
3946-
justify-content: center;
3947-
gap: 0.25rem;
3948-
padding: 0.55rem 1.25rem;
3949-
max-width: 1200px;
3950-
margin: 0 auto;
3951-
overflow-x: auto;
3952-
scrollbar-width: none;
3953-
-ms-overflow-style: none;
3954-
}
3955-
3956-
.sticky-filter-inner::-webkit-scrollbar {
3957-
display: none;
3958-
}
3959-
3960-
.sticky-tab {
3961-
display: inline-flex;
3962-
align-items: center;
3963-
gap: 0.38rem;
3964-
background: transparent;
3965-
border: 0;
3966-
border-radius: 50px;
3967-
padding: 0.35rem 0.9rem;
3968-
cursor: pointer;
3969-
font-size: 0.82rem;
3970-
font-family: "IBM Plex Mono", monospace;
3971-
font-weight: 600;
3972-
color: var(--text-secondary);
3973-
text-transform: lowercase;
3974-
transition:
3975-
background-color 0.18s ease,
3976-
color 0.18s ease;
3977-
white-space: nowrap;
3978-
}
3979-
3980-
.sticky-tab i {
3981-
width: 14px;
3982-
height: 14px;
3983-
stroke-width: 2;
3984-
flex-shrink: 0;
3985-
}
3986-
3987-
.sticky-tab:hover {
3988-
background: var(--accent-soft);
3989-
color: var(--text-color);
3990-
}
3991-
3992-
.sticky-tab.active {
3993-
background: var(--accent-soft);
3994-
color: var(--accent-color);
3995-
border: 1px solid var(--accent-border);
3996-
}
3997-
3998-
.sticky-tab:focus-visible {
3999-
outline: 2px solid var(--accent-color);
4000-
outline-offset: 2px;
4001-
}
4002-
40033834
/* ═══════════════════════════════════════
40043835
CONSOLIDATED RESPONSIVE BREAKPOINTS
40053836
═══════════════════════════════════════ */
@@ -4222,16 +4053,6 @@ textarea:focus-visible,
42224053
font-size: 0.95rem;
42234054
}
42244055

4225-
.sticky-filter-inner {
4226-
justify-content: flex-start;
4227-
padding: 0.45rem 1rem;
4228-
gap: 0.18rem;
4229-
}
4230-
4231-
.sticky-tab {
4232-
padding: 0.3rem 0.7rem;
4233-
font-size: 0.78rem;
4234-
}
42354056
}
42364057

42374058
@media (max-width: 375px) {
@@ -4357,9 +4178,6 @@ textarea:focus-visible,
43574178
transform: none;
43584179
}
43594180

4360-
.sticky-filter-bar {
4361-
transition: none;
4362-
}
43634181
}
43644182

43654183
/* ==========================================================================
@@ -4627,76 +4445,6 @@ html[data-theme="dark"] body {
46274445
padding: 0 1rem;
46284446
}
46294447

4630-
.sticky-filter-bar {
4631-
position: sticky;
4632-
top: 88px;
4633-
z-index: 950;
4634-
display: flex;
4635-
flex-wrap: wrap;
4636-
gap: 10px;
4637-
justify-content: center;
4638-
width: min(1120px, calc(100% - 32px));
4639-
margin: 0 auto 18px;
4640-
padding: 12px;
4641-
border-radius: 18px;
4642-
background: rgba(255, 255, 255, 0.72);
4643-
border: 1px solid rgba(128, 104, 85, 0.12);
4644-
backdrop-filter: blur(18px) saturate(1.2);
4645-
-webkit-backdrop-filter: blur(18px) saturate(1.2);
4646-
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
4647-
opacity: 0;
4648-
transform: translateY(-8px);
4649-
pointer-events: none;
4650-
transition: opacity 180ms ease, transform 180ms ease;
4651-
}
4652-
4653-
.sticky-filter-bar.visible {
4654-
opacity: 1;
4655-
transform: translateY(0);
4656-
pointer-events: auto;
4657-
}
4658-
4659-
[data-theme="dark"] .sticky-filter-bar {
4660-
background: rgba(14, 18, 28, 0.88);
4661-
border-color: rgba(255, 255, 255, 0.08);
4662-
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
4663-
}
4664-
4665-
.sticky-tab {
4666-
display: inline-flex;
4667-
align-items: center;
4668-
justify-content: center;
4669-
min-height: 40px;
4670-
padding: 0 16px;
4671-
border-radius: 999px;
4672-
border: 1px solid rgba(128, 104, 85, 0.12);
4673-
background: rgba(255, 255, 255, 0.45);
4674-
color: var(--text-secondary);
4675-
font-family: var(--font-sans);
4676-
font-size: 0.88rem;
4677-
font-weight: 600;
4678-
letter-spacing: -0.01em;
4679-
transition: all var(--duration-fast) ease;
4680-
}
4681-
4682-
.sticky-tab:hover {
4683-
color: var(--text);
4684-
border-color: var(--border-accent);
4685-
background: var(--accent-soft);
4686-
}
4687-
4688-
.sticky-tab.active {
4689-
color: var(--text);
4690-
border-color: var(--accent-glow);
4691-
background: var(--accent-soft);
4692-
box-shadow: 0 0 0 1px var(--accent-glow);
4693-
}
4694-
4695-
[data-theme="dark"] .sticky-tab {
4696-
background: rgba(255, 255, 255, 0.03);
4697-
border-color: rgba(255, 255, 255, 0.08);
4698-
}
4699-
47004448
/* ── Hero Timeline (right side) ───────────────────────────── */
47014449
.hero-timeline {
47024450
position: absolute;
@@ -4914,7 +4662,6 @@ html[data-theme="dark"] body {
49144662
.achievement-card,
49154663
.featured-lab-card,
49164664
.project-card,
4917-
.sticky-filter-bar,
49184665
.playground-section,
49194666
.footer,
49204667
.modal-content {
@@ -5340,23 +5087,20 @@ button:focus-visible,
53405087
top: 2px;
53415088
}
53425089

5343-
.hero-features,
5344-
.sticky-filter-inner {
5090+
.hero-features{
53455091
background: rgba(255, 255, 255, 0.58);
53465092
border: 1px solid rgba(128, 104, 85, 0.08);
53475093
border-radius: 24px;
53485094
padding: 0.65rem;
53495095
gap: 0.55rem;
53505096
}
53515097

5352-
[data-theme="dark"] .hero-features,
5353-
[data-theme="dark"] .sticky-filter-inner {
5098+
[data-theme="dark"] .hero-features{
53545099
background: rgba(255, 255, 255, 0.06);
53555100
border-color: rgba(255, 239, 223, 0.1);
53565101
}
53575102

5358-
.feature-badge,
5359-
.sticky-tab {
5103+
.feature-badge{
53605104
border-radius: 999px;
53615105
padding: 0.8rem 1rem;
53625106
text-transform: none;
@@ -5373,34 +5117,22 @@ button:focus-visible,
53735117
display: none;
53745118
}
53755119

5376-
.feature-badge.active,
5377-
.sticky-tab.active {
5120+
.feature-badge.active{
53785121
background: linear-gradient(135deg,
53795122
rgba(255, 198, 132, 0.32),
53805123
rgba(125, 220, 185, 0.3));
53815124
color: var(--text-color);
53825125
border: 1px solid rgba(128, 104, 85, 0.1);
53835126
}
53845127

5385-
[data-theme="dark"] .feature-badge,
5386-
[data-theme="dark"] .sticky-tab {
5128+
[data-theme="dark"] .feature-badge{
53875129
color: var(--text-secondary);
53885130
}
53895131

5390-
[data-theme="dark"] .feature-badge.active,
5391-
[data-theme="dark"] .sticky-tab.active {
5132+
[data-theme="dark"] .feature-badge.active {
53925133
border-color: rgba(255, 239, 223, 0.12);
53935134
}
53945135

5395-
.sticky-filter-bar {
5396-
top: 16px;
5397-
left: 12px;
5398-
right: 12px;
5399-
width: auto;
5400-
background: transparent;
5401-
border-bottom: 0;
5402-
box-shadow: none;
5403-
}
54045136

54055137
.hero-card-topline,
54065138
.progress-card-header,
@@ -6112,13 +5844,6 @@ body.sidebar-collapsed .sidebar-dock .sidebar-footer .sidebar-main-controls {
61125844

61135845
}
61145846

6115-
@media (max-width: 1280px) {
6116-
6117-
.sticky-filter-bar{
6118-
display:none ;
6119-
}
6120-
6121-
}
61225847

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

0 commit comments

Comments
 (0)