-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
116 lines (102 loc) · 2.02 KB
/
styles.css
File metadata and controls
116 lines (102 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #000;
overflow: hidden;
font-family: Arial, sans-serif;
}
#visualizer {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 1;
}
canvas {
width: 100%;
height: 100%;
}
.controls {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
padding: 15px;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.controls.hidden {
opacity: 0;
transform: translate(-50%, 100%);
pointer-events: none;
}
button {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
}
button:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
}
#audioFile {
color: white;
}
#progressContainer {
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
overflow: hidden;
}
#progressBar {
width: 0%;
height: 100%;
background: linear-gradient(90deg, #00ff88, #00ffee);
transition: width 0.3s ease;
}
.progress-bar {
width: 100%;
height: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
position: relative;
margin-top: 10px;
display: none;
}
.progress-bar.active {
display: block;
}
#progress-fill {
height: 100%;
background: linear-gradient(90deg, #00ff88, #00ffcc);
border-radius: 10px;
width: 0%;
transition: width 0.3s ease;
}
#progress-text {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 12px;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}