-
Notifications
You must be signed in to change notification settings - Fork 0
/
first.css
351 lines (267 loc) · 5.36 KB
/
first.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
body{
overflow: hidden;
}
#picture{/*旋转图片所在区域*/
position: absolute;
overflow: hidden;
/*left: 43.5%;*/
/*text-align: center;*/
width: 20.508%;
height: 38.043%;
left: 39.746%;
top: 23%;
border-radius: 50%;
-moz-border-radius: 50%;
box-shadow: 0px 0px 5px;
-moz-box-shadow: 0px 0px 5px;
}
#img{/*旋转的图片*/
width: 100%;
height: 100%;
}
.musicName{/*当前播放的歌歌名*/
position: absolute;
left: 10%;
width: 80%;
height: 7%;
top: 5%;
text-align: center;
}
#skipTo{/*跳跃时间*/
position: absolute;
width:15%;
height: 6%;
text-align: center;
left: 42.5%;
top: 63%;;
}
#now{/*当前时间*/
position: absolute;
width:15%;
height: 6%;
text-align: center;
left: 42.5%;
top: 74%;
}
.btn{/*3个按钮*/
position: absolute;
width: 16.634%;
height: 95%;
text-align: center;
cursor: pointer;
border-radius: 50%;
-moz-border-radius: 50%;
transition: box-shadow 0.2s;
-moz-transition: box-shadow 0.2s;
-webkit-transition: box-shadow 0.2s;
-o-transition: box-shadow 0.2s;
}
.btn:hover{/*3个按钮悬停*/
/*background-color: rgb(20, 170, 230);*/
box-shadow: 0px 0px 10px;
-moz-box-shadow: 0px 0px 10px;
/*opacity: 0.1;*/
}
.btnColl{/*整个控制台区域*/
position: absolute;
height: 13%;
width: 40%;
left: 30%;
/*margin:auto;*/
top: 78%;
font-size: 50%;
}
#play{/*播放按钮的区域*/
left: 0;
opacity: 0.5;
}
#pause{/*暂停按钮的区域*/
left: 0px;
opacity: 0.5;
display: none;
}
#next{/*切歌按钮的区域*/
right: 0px;
opacity: 0.5;
}
.btnCon{/*按钮内部图片*/
position: absolute;
top: 25%;
left: 25%;
height: 50%;
width: 50%;
text-align: center;
vertical-align:center;
}
#player{/*整个播放界面*/
overflow: hidden;
border-radius:15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
position: fixed;
width: 512px;
height: 276px;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.35);
top: 18%;
margin: auto;
transition: background-color 0.2s, box-shadow 0.2s;
-moz-transition: background-color 0.2s, box-shadow 0.2s;
-webkit-transition: background-color 0.2s, box-shadow 0.2s;
-o-transition: background-color 0.2s, box-shadow 0.2s;
}
#player:hover{/*播放界面悬停*/
box-shadow: 0px 0px 10px;
-moz-box-shadow: 0px 0px 10px;
background-color: rgba(255,255,255,0.7);
}
#slide{/*进度条区域*/
overflow: hidden;
position: absolute;
top: 70%;
left: -100%;
width: 100%;
height: 3%;
background-color: rgb(123, 116, 116);
}
#skip{/*进度条在操控台的可填充区域*/
background-color: rgb(207, 201, 201);
position: absolute;
top: 70%;
left: 0%;
width: 100%;
height: 3%;
opacity: 0.2;
cursor: pointer;
transition: box-shadow 0.1s;
-moz-transition: box-shadow 0.1s;
-webkit-transition: box-shadow 0.1s;
-o-transition: box-shadow 0.1s;
}
#skip:hover{/*进度条填充区域悬停*/
box-shadow: 0px 0px 10px;
-moz-box-shadow: 0px 0px 10px;
}
.list {/*歌单区域*/
overflow: scroll;
overflow-x: hidden;
cursor: pointer;
position: absolute;
width: 102%;
height: 100%;
background-color: rgba(90,90,90,0.5);
color: white;
top: 0%;
left: 98%;
}
.list:hover{/*歌单区域悬停*/
box-shadow: 0px 0px 10px;
-moz-box-shadow: 0px 0px 10px;
}
.musicNameInList{/*歌单内的歌名*/
margin: 5% 10%;
cursor: pointer;
color: rgb(200, 185, 185);
transition:color 0.2s ;
-moz-transition:color 0.2s ; /* Firefox 4 */
-webkit-transition:color 0.2s ; /* Safari and Chrome */
-o-transition:color 0.2s ; /* Opera */
}
.musicNameInList:hover{/*歌单内歌名悬停*/
color: rgb(255,255,255);
}
#volFild{/*音量条填充区域*/
background-color: rgb(207, 201, 201);
opacity: 0.35;
position: absolute;
width: 15%;
height: 3%;
bottom: 3%;
left: 82%;
cursor: pointer;
transition: box-shadow 0.2s;
-moz-transition: box-shadow 0.2s;
-webkit-transition: box-shadow 0.2s;
-o-transition: box-shadow 0.2s;
}
#volFild:hover{/*音量条填充区域悬停*/
box-shadow: 0px 0px 5px;
-moz-box-shadow: 0px 0px 5px;
}
#vol{/*音量条(实体)*/
position: absolute;
width: 15%;
height: 3%;
bottom: 3%;
left: 82%;
background-color: rgb(123, 116, 116);
opacity: 1;
}
#volum{/*音量数值*/
position: absolute;
width: 10%;
height: 7%;
left: 71.5%;
bottom: 0%;
font-size: 80%;
}
.spectrogram{/*频谱分析图*/
position: absolute;
top: 23%;
width: 32%;
height:38.047%;
}
.bg{/*各张背景图片*/
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 110%;
}
#spectrogramL{/*之左*/
left: 6%;
}
#spectrogramR{/*之右*/
right: 6%;
}
.gramBlock{/*频谱分析图小块*/
position: absolute;
width: 5%;
height: 0%;
bottom: 0%;
background-color: rgba(0, 0, 0, 0);
box-shadow: 0px 0px 5px;
-moz-box-shadow: 0px 0px 5px;
}
/*各个频谱分析图小块*/
#lgb0,#rgb9{
left: 0%;
}
#lgb1,#rgb8{
left: 10%;
}
#lgb2,#rgb7{
left: 20%;
}
#lgb3,#rgb6{
left: 30%;
}
#lgb4,#rgb5{
left: 40%;
}
#lgb5,#rgb4{
left: 50%;
}
#lgb6,#rgb3{
left: 60%;
}
#lgb7,#rgb2{
left: 70%;
}
#lgb8,#rgb1{
left: 80%;
}
#lgb9,#rgb0{
left: 90%;
}