11$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 ;
44
55.aplayer-narrow {
66 width : $aplayer-height ;
@@ -13,16 +13,32 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
1313 & .aplayer-narrow {
1414 width : $aplayer-height-lrc ;
1515 }
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+ }
2334 }
24- & .aplayer .aplayer-lrc {
25- display : block ;
35+ }
36+
37+ .aplayer-list {
38+ & .aplayer {
39+ .aplayer-info {
40+ border-bottom : 1px solid #e9e9e9 ;
41+ }
2642 }
2743}
2844
@@ -135,6 +151,7 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
135151 margin-bottom : 13px ;
136152 user-select : text ;
137153 cursor : default ;
154+ padding-bottom : 2px ;
138155
139156 .aplayer-title {
140157 font-size : 14px ;
@@ -285,7 +302,7 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
285302 background : #fff ;
286303 text-align : center ;
287304 overflow : hidden ;
288- margin : -10px 0 10 px ;
305+ margin : -10px 0 7 px ;
289306
290307 & :before {
291308 position : absolute ;
@@ -311,17 +328,17 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
311328 width : 100% ;
312329 height : 33% ;
313330 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 );
318335 }
319336
320337 p {
321338 font-size : 12px ;
322339 color : #666 ;
323- line-height : 20 px !important ;
324- height : 20 px !important ;
340+ line-height : 16 px !important ;
341+ height : 16 px !important ;
325342 padding : 0 !important ;
326343 margin : 0 !important ;
327344 transition : all 0.5s ease-out ;
@@ -380,6 +397,10 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
380397 transition : all 0.2s ease ;
381398 overflow : hidden ;
382399
400+ & :first-child {
401+ border-top : none ;
402+ }
403+
383404 & :hover {
384405 background : #efefef ;
385406 }
0 commit comments