Álvaro Valenzuela Valdes commited on
Commit
71e92c7
·
1 Parent(s): 43e744c

style: Implementation of Premium 2026 scrollbar and Z-Index supremacy

Browse files
Files changed (2) hide show
  1. frontend/app/page.tsx +1 -1
  2. frontend/globals.css +15 -8
frontend/app/page.tsx CHANGED
@@ -171,7 +171,7 @@ export default function HomePage() {
171
 
172
  <div className="flex flex-col md:flex-row min-h-screen gap-8 p-6 md:p-10">
173
  {/* Sidebar Container */}
174
- <div className={`${isMobileMenuOpen ? "fixed inset-0 z-[60] flex" : "hidden"} md:block md:w-[84px] md:shrink-0 md:sticky md:top-8 md:h-[calc(100vh-4rem)] transition-all duration-500`}>
175
  {isMobileMenuOpen && (
176
  <div className="absolute inset-0 bg-black/80 backdrop-blur-sm md:hidden" onClick={() => setIsMobileMenuOpen(false)} />
177
  )}
 
171
 
172
  <div className="flex flex-col md:flex-row min-h-screen gap-8 p-6 md:p-10">
173
  {/* Sidebar Container */}
174
+ <div className={`${isMobileMenuOpen ? "fixed inset-0 z-[100] flex" : "hidden"} md:block md:w-[84px] md:shrink-0 md:sticky md:top-8 md:h-[calc(100vh-4rem)] transition-all duration-500 z-[100]`}>
175
  {isMobileMenuOpen && (
176
  <div className="absolute inset-0 bg-black/80 backdrop-blur-sm md:hidden" onClick={() => setIsMobileMenuOpen(false)} />
177
  )}
frontend/globals.css CHANGED
@@ -63,30 +63,37 @@
63
  }
64
  }
65
 
66
- /* Custom scrollbar */
67
  .custom-scrollbar::-webkit-scrollbar {
68
- width: 4px;
69
  height: 0px;
70
  }
71
  .custom-scrollbar::-webkit-scrollbar-track {
72
  background: transparent;
73
  }
74
  .custom-scrollbar::-webkit-scrollbar-thumb {
75
- background: rgba(168, 85, 247, 0.2);
76
- border-radius: 10px;
 
77
  }
78
  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
79
- background: rgba(168, 85, 247, 0.4);
 
80
  }
81
 
 
82
  ::-webkit-scrollbar {
83
- width: 6px;
84
  }
85
  ::-webkit-scrollbar-track {
86
- @apply bg-transparent;
87
  }
88
  ::-webkit-scrollbar-thumb {
89
- @apply bg-white/5 rounded-full hover:bg-white/10 transition-colors;
 
 
 
 
90
  }
91
 
92
  ::selection {
 
63
  }
64
  }
65
 
66
+ /* Custom scrollbar Premium 2026 */
67
  .custom-scrollbar::-webkit-scrollbar {
68
+ width: 2px;
69
  height: 0px;
70
  }
71
  .custom-scrollbar::-webkit-scrollbar-track {
72
  background: transparent;
73
  }
74
  .custom-scrollbar::-webkit-scrollbar-thumb {
75
+ background: linear-gradient(to bottom, transparent, #a855f7, transparent);
76
+ border-radius: 20px;
77
+ box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
78
  }
79
  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
80
+ background: #a855f7;
81
+ width: 4px;
82
  }
83
 
84
+ /* Global scrollbar refinement */
85
  ::-webkit-scrollbar {
86
+ width: 4px;
87
  }
88
  ::-webkit-scrollbar-track {
89
+ background: transparent;
90
  }
91
  ::-webkit-scrollbar-thumb {
92
+ background: rgba(255, 255, 255, 0.05);
93
+ border-radius: 10px;
94
+ }
95
+ ::-webkit-scrollbar-thumb:hover {
96
+ background: rgba(168, 85, 247, 0.2);
97
  }
98
 
99
  ::selection {