Skip to content

Commit 2859343

Browse files
committed
update
1 parent 8f792ce commit 2859343

5 files changed

Lines changed: 541 additions & 400 deletions

File tree

Lines changed: 122 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,127 @@
1-
.fixed {
2-
z-index: 50;
1+
/* CSS Variables for Theming (Adapts to Light/Dark mode gracefully) */
2+
:root {
3+
--color-bg: #0f172a;
4+
--color-surface: #1e293b;
5+
--color-text: #f8fafc;
6+
--theme-color: #3b82f6;
7+
--theme-color-rgb: 59, 130, 246;
8+
--list-hover: rgba(255, 255, 255, 0.05);
9+
--input-bg: rgba(255, 255, 255, 0.05);
10+
--input-text: #f8fafc;
311
}
412

5-
img {
6-
object-fit: cover;
13+
@media (prefers-color-scheme: light) {
14+
:root {
15+
--color-bg: #f8fafc;
16+
--color-surface: #ffffff;
17+
--color-text: #0f172a;
18+
--list-hover: rgba(0, 0, 0, 0.03);
19+
--input-bg: #e2e8f0;
20+
--input-text: #0f172a;
21+
}
722
}
823

9-
input.no-select {
10-
user-select: none;
11-
-webkit-user-select: none;
12-
-moz-user-select: none;
13-
-ms-user-select: none;
24+
/* Custom Slider Styling */
25+
.custom-slider {
26+
-webkit-appearance: none;
27+
border-radius: 9999px;
28+
}
29+
30+
.custom-slider::-webkit-slider-runnable-track {
31+
width: 100%;
32+
height: 100%;
33+
background: transparent;
34+
border-radius: 9999px;
35+
}
36+
37+
.custom-slider::-webkit-slider-thumb {
38+
-webkit-appearance: none;
39+
height: 16px;
40+
width: 16px;
41+
border-radius: 50%;
42+
background: var(--theme-color);
43+
box-shadow: 0 0 10px rgba(var(--theme-color-rgb), 0.6);
44+
margin-top: -5px;
45+
/* Centers the thumb relative to track */
46+
cursor: pointer;
47+
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
48+
}
49+
50+
.custom-slider:hover::-webkit-slider-thumb {
51+
transform: scale(1.3);
52+
}
53+
54+
/* Animations */
55+
@keyframes slide-up {
56+
from {
57+
transform: translateY(120%);
58+
opacity: 0;
59+
}
60+
61+
to {
62+
transform: translateY(0);
63+
opacity: 1;
64+
}
65+
}
66+
67+
.animate-slide-up {
68+
animation: slide-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
69+
}
70+
71+
@keyframes fade-in {
72+
from {
73+
opacity: 0;
74+
backdrop-filter: blur(0px);
75+
}
76+
77+
to {
78+
opacity: 1;
79+
backdrop-filter: blur(20px);
80+
}
81+
}
82+
83+
.animate-fade-in {
84+
animation: fade-in 0.4s ease-out forwards;
85+
}
86+
87+
@keyframes spin-slow {
88+
from {
89+
transform: rotate(0deg);
90+
}
91+
92+
to {
93+
transform: rotate(360deg);
94+
}
95+
}
96+
97+
.animate-spin-slow {
98+
animation: spin-slow 12s linear infinite;
99+
}
100+
101+
/* Equalizer Bars */
102+
.eq-bar {
103+
width: 3px;
104+
background-color: var(--theme-color);
105+
border-radius: 2px;
106+
animation: eq-bounce 1s infinite ease-in-out;
107+
}
108+
109+
.eq-bar:nth-child(2) {
110+
animation-delay: 0.2s;
111+
}
112+
113+
.eq-bar:nth-child(3) {
114+
animation-delay: 0.4s;
115+
}
116+
117+
@keyframes eq-bounce {
118+
119+
0%,
120+
100% {
121+
height: 4px;
122+
}
123+
124+
50% {
125+
height: 16px;
126+
}
14127
}

0 commit comments

Comments
 (0)