Skip to content

Commit 09b478c

Browse files
committed
Minify,Fix a problem
1 parent d9fb54f commit 09b478c

11 files changed

Lines changed: 217 additions & 455 deletions

File tree

demo/cplayer.css

Lines changed: 26 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,18 @@
11
@charset "UTF-8";
2-
@-webkit-keyframes changeSize {
3-
0% {
4-
width: 0;
5-
height: 0;
6-
top: 50%;
7-
left: 50%;
8-
}
9-
100% {
10-
width: 200%;
11-
height: 200%;
12-
top: -50%;
13-
left: -50%;
14-
}
15-
}
16-
@keyframes changeSize {
17-
0% {
18-
width: 0;
19-
height: 0;
20-
top: 50%;
21-
left: 50%;
22-
}
23-
100% {
24-
width: 200%;
25-
height: 200%;
26-
top: -50%;
27-
left: -50%;
28-
}
29-
}
30-
2+
/*@keyframes changeSize{
3+
0%{
4+
width:100%;
5+
height:100%;
6+
top:0;
7+
left:0;
8+
}
9+
100%{
10+
width:200%;
11+
height:200%;
12+
top:-50%;
13+
left:-50%;
14+
}
15+
}*/
3116
c-player {
3217
display: -webkit-box;
3318
display: -webkit-flex;
@@ -96,8 +81,6 @@ c-player .lyric lyric-body {
9681
-webkit-transform: translateY(6em);
9782
-ms-transform: translateY(6em);
9883
transform: translateY(6em);
99-
-webkit-transition: all 0.25s;
100-
transition: all 0.25s;
10184
}
10285

10386
c-player .lyric lyric-body lrc {
@@ -112,8 +95,6 @@ c-player .lyric lyric-body lrc {
11295
font-size: large;
11396
font-family: "LiHei Pro","Microsoft Yahei",sans-serif;
11497
width: 100%;
115-
-webkit-transition: 0.25s background ease;
116-
transition: 0.25s background ease;
11798
}
11899

119100
c-player .lyric lyric-body lrc.now {
@@ -226,7 +207,7 @@ c-player .controls .c-left .play-icon {
226207
height: 3.2em;
227208
-webkit-border-radius: 100%;
228209
border-radius: 100%;
229-
background-color: #addaaf;
210+
background-color: #7dc3da;
230211
color: white;
231212
cursor: pointer;
232213
}
@@ -248,7 +229,7 @@ c-player .controls .c-center {
248229
padding: 0.5em;
249230
}
250231

251-
@media screen and (max-width: 800px) {
232+
@media screen and (max-width: 600px) {
252233
c-player .controls .c-center {
253234
display: none;
254235
}
@@ -277,7 +258,7 @@ c-player .controls .c-center .time .time-body {
277258
c-player .controls .c-center .time .time-body .time-line {
278259
width: 0%;
279260
height: 100%;
280-
background-color: #66bb6a;
261+
background-color: #359abc;
281262
will-change: width;
282263
-webkit-transition: 0.1s width ease-in;
283264
transition: 0.1s width ease-in;
@@ -290,12 +271,12 @@ c-player .controls .c-center .time .time-body .time-line .time-point {
290271
width: 1em;
291272
height: 1em;
292273
margin: -0.25em -0.5em 0 0;
293-
background-color: #addaaf;
274+
background-color: #7dc3da;
294275
-webkit-border-radius: 100%;
295276
border-radius: 100%;
296277
position: absolute;
297278
right: 0;
298-
/*&::before{
279+
/**&::before{
299280
content:"";
300281
display:block;
301282
width:0;
@@ -306,7 +287,7 @@ c-player .controls .c-center .time .time-body .time-line .time-point {
306287
background-color:rgba($b-color,.5);
307288
animation:changeSize 1s ease-in-out infinite alternate;
308289
border-radius: 100%;
309-
}***********/
290+
}**********/
310291
}
311292

312293
c-player .controls .c-right {
@@ -324,7 +305,7 @@ c-player .controls .c-right {
324305
align-items: center;
325306
}
326307

327-
@media screen and (max-width: 800px) {
308+
@media screen and (max-width: 600px) {
328309
c-player .controls .c-right {
329310
-webkit-box-flex: 1;
330311
-webkit-flex: 1;
@@ -347,7 +328,6 @@ c-player .controls .c-right .volume {
347328
-webkit-box-align: center;
348329
-webkit-align-items: center;
349330
-ms-flex-align: center;
350-
-ms-grid-row-align: center;
351331
align-items: center;
352332
-ms-touch-action: none;
353333
touch-action: none;
@@ -372,7 +352,7 @@ c-player .controls .c-right .volume .volume-body {
372352
c-player .controls .c-right .volume .volume-body .volume-line {
373353
width: 0%;
374354
height: 100%;
375-
background-color: #66bb6a;
355+
background-color: #359abc;
376356
will-change: width;
377357
-webkit-transition: 0.1s width ease-in;
378358
transition: 0.1s width ease-in;
@@ -385,12 +365,12 @@ c-player .controls .c-right .volume .volume-body .volume-line .volume-point {
385365
width: 1em;
386366
height: 1em;
387367
margin: -0.25em -0.5em 0 0;
388-
background-color: #addaaf;
368+
background-color: #7dc3da;
389369
-webkit-border-radius: 100%;
390370
border-radius: 100%;
391371
position: absolute;
392372
right: 0;
393-
/*&::before{
373+
/**&::before{
394374
content:"";
395375
display:block;
396376
width:0;
@@ -401,7 +381,7 @@ c-player .controls .c-right .volume .volume-body .volume-line .volume-point {
401381
background-color:rgba($b-color,.5);
402382
animation:changeSize 1s ease-in-out infinite alternate;
403383
border-radius: 100%;
404-
}***********/
384+
}**********/
405385
}
406386

407387
c-player .controls .c-right .volume .volume-body {
@@ -553,7 +533,7 @@ c-player .list list-body > *:hover::before, c-player .list list-body > *:active:
553533
}
554534

555535
c-player .list list-body > *::before {
556-
background: #addaaf;
536+
background: #7dc3da;
557537
-webkit-transition: 0.2s width 0s ease;
558538
transition: 0.2s width 0s ease;
559539
float: left;
@@ -614,7 +594,6 @@ c-player .list list-body .music-name {
614594
min-height: 2em;
615595
padding: 1em;
616596
-webkit-box-sizing: border-box;
617-
-moz-box-sizing: border-box;
618597
box-sizing: border-box;
619598
-webkit-transition: background 0.5s;
620599
transition: background 0.5s;

0 commit comments

Comments
 (0)