-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplayer.css
More file actions
109 lines (93 loc) · 1.58 KB
/
player.css
File metadata and controls
109 lines (93 loc) · 1.58 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
body {
font-family: sans-serif;
background-color: #f0f0f0;
color: #333;
}
#player-container {
max-width: 600px;
margin: 50px auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#audio-info {
text-align: center;
margin-bottom: 20px;
}
#current-track {
font-size: 18px;
}
#audio-player {
width: 100%;
margin-bottom: 20px;
}
#controls {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 20px;
}
#controls button,
#playlist-controls button,
.button {
background-color: #007bff;
color: white;
border: none;
padding: 8px 15px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}
#controls button:hover,
#playlist-controls button:hover,
.button:hover {
background-color: #0056b3;
}
#playlist-controls {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-bottom: 10px;
}
#playlist {
list-style-type: none;
padding: 0;
}
#playlist li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ddd;
}
#playlist li:hover {
background-color: #f0f0f0;
}
#playlist li.active {
background-color: #007bff;
color: #fff;
}
#playlist li span {
flex-grow: 1;
cursor: pointer;
}
.remove-button {
background-color: #dc3545;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
font-size: 12px;
margin-left: 10px;
}
.remove-button:hover {
background-color: #c82333;
}
.drag-handle {
cursor: grab;
margin-right: 10px;
font-size: 18px;
color: #555;
}