1
1
$aplayer-height : 66px ;
2
- $lrc-height : 40 px ;
3
- $aplayer-height-lrc : $aplayer-height + $lrc-height ;
2
+ $lrc-height : 30 px ;
3
+ $aplayer-height-lrc : $aplayer-height + $lrc-height - 6 ;
4
4
5
5
.aplayer-narrow {
6
6
width : $aplayer-height ;
@@ -13,16 +13,32 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
13
13
& .aplayer-narrow {
14
14
width : $aplayer-height-lrc ;
15
15
}
16
- & .aplayer .aplayer-pic {
17
- height : $aplayer-height-lrc ;
18
- width : $aplayer-height-lrc ;
19
- }
20
- & .aplayer .aplayer-info {
21
- margin-left : $aplayer-height-lrc ;
22
- height : $aplayer-height-lrc ;
16
+ & .aplayer {
17
+ .aplayer-pic {
18
+ height : $aplayer-height-lrc ;
19
+ width : $aplayer-height-lrc ;
20
+ }
21
+
22
+ .aplayer-info {
23
+ margin-left : $aplayer-height-lrc ;
24
+ height : $aplayer-height-lrc ;
25
+ }
26
+
27
+ .aplayer-lrc {
28
+ display : block ;
29
+ }
30
+
31
+ .aplayer-info {
32
+ padding : 10px 7px 0 7px ;
33
+ }
23
34
}
24
- & .aplayer .aplayer-lrc {
25
- display : block ;
35
+ }
36
+
37
+ .aplayer-list {
38
+ & .aplayer {
39
+ .aplayer-info {
40
+ border-bottom : 1px solid #e9e9e9 ;
41
+ }
26
42
}
27
43
}
28
44
@@ -135,6 +151,7 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
135
151
margin-bottom : 13px ;
136
152
user-select : text ;
137
153
cursor : default ;
154
+ padding-bottom : 2px ;
138
155
139
156
.aplayer-title {
140
157
font-size : 14px ;
@@ -285,7 +302,7 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
285
302
background : #fff ;
286
303
text-align : center ;
287
304
overflow : hidden ;
288
- margin : -10px 0 10 px ;
305
+ margin : -10px 0 7 px ;
289
306
290
307
& :before {
291
308
position : absolute ;
@@ -311,17 +328,17 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
311
328
width : 100% ;
312
329
height : 33% ;
313
330
content : ' ' ;
314
- background : -moz-linear-gradient (bottom , rgba (255 ,255 ,255 ,1 ) 0% , rgba (255 ,255 ,255 ,0 ) 100% );
315
- background : -webkit-linear-gradient (bottom , rgba (255 ,255 ,255 ,1 ) 0% ,rgba (255 ,255 ,255 ,0 ) 100% );
316
- background : linear-gradient (to top , rgba (255 ,255 ,255 ,1 ) 0% ,rgba (255 ,255 ,255 ,0 ) 100% );
317
- filter : progid:DXImageTransform.Microsoft .gradient ( startColorstr= ' #00ffffff' , endColorstr= ' #ffffff ' ,GradientType=0 );
331
+ background : -moz-linear-gradient (top , rgba (255 ,255 ,255 ,0 ) 0% , rgba (255 ,255 ,255 ,0.8 ) 100% );
332
+ background : -webkit-linear-gradient (top , rgba (255 ,255 ,255 ,0 ) 0% ,rgba (255 ,255 ,255 ,0.8 ) 100% );
333
+ background : linear-gradient (to bottom , rgba (255 ,255 ,255 ,0 ) 0% ,rgba (255 ,255 ,255 ,0.8 ) 100% );
334
+ filter : progid:DXImageTransform.Microsoft .gradient ( startColorstr= ' #00ffffff' , endColorstr= ' #ccffffff ' ,GradientType=0 );
318
335
}
319
336
320
337
p {
321
338
font-size : 12px ;
322
339
color : #666 ;
323
- line-height : 20 px !important ;
324
- height : 20 px !important ;
340
+ line-height : 16 px !important ;
341
+ height : 16 px !important ;
325
342
padding : 0 !important ;
326
343
margin : 0 !important ;
327
344
transition : all 0.5s ease-out ;
@@ -380,6 +397,10 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
380
397
transition : all 0.2s ease ;
381
398
overflow : hidden ;
382
399
400
+ & :first-child {
401
+ border-top : none ;
402
+ }
403
+
383
404
& :hover {
384
405
background : #efefef ;
385
406
}
0 commit comments