forked from ankushChatterjee/simple-audio-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
139 lines (118 loc) · 3.21 KB
/
style.css
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
body,html {
padding:0;
margin:0;
height:100vh;
width:100vw;
display: flex;
justify-content:center;
align-items: center;
background-color: #333333;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='%23222222' stroke-width='10' %3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
}
.seekbar {
-webkit-appearance: none;
width: 300px;
background: transparent;
}
.seekbar::-webkit-slider-thumb {
-webkit-appearance: none;
}
.seekbar:focus {
outline: none;
}
.seekbar::-webkit-slider-thumb {
-webkit-appearance: none;
height: 20px;
width: 10px;
background: #222;
cursor: pointer;
}
.seekbar::-moz-range-thumb {
height: 20px;
width: 10px;
background: #222;
cursor: pointer;
}
.seekbar::-webkit-slider-runnable-track {
width: 100%;
height: 20px;
cursor: pointer;
background: #B0B0B0;
}
.seekbar:focus::-webkit-slider-runnable-track {
background: #B0B0B0;
}
.seekbar::-moz-range-track {
width: 100%;
height: 20px;
cursor: pointer;
background: #B0B0B0;
}
.volume {
-webkit-appearance: none;
width: 100px;
background: transparent;
}
.volume::-webkit-slider-thumb {
-webkit-appearance: none;
}
.volume:focus {
outline: none;
}
.volume::-webkit-slider-thumb {
-webkit-appearance: none;
height: 10px;
width: 10px;
background: #222;
cursor: pointer;
}
.volume::-moz-range-thumb {
height: 10px;
width: 10px;
background: #222;
cursor: pointer;
}
.volume::-webkit-slider-runnable-track {
width: 100%;
height: 10px;
cursor: pointer;
background: #10AEF5;
}
.volume:focus::-webkit-slider-runnable-track {
background: #10AEF5;
}
.volume::-moz-range-track {
width: 100%;
height: 10px;
cursor: pointer;
background: #10AEF5;
}
audio {
display: none;
}
.play-pause {
border: none;
background: transparent;
color: #10AEF5;
outline: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.controls {
width: 480px;
display:flex;
flex-direction:row;
align-items: center;
justify-content: space-between;;
}
.audio-player{
background: #020202;
padding: 20px;
border-radius: 9px;
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.white {
color : #fff;
}