Skip to content

Commit 8aa8ba9

Browse files
committed
fix the css conflict between mini mode and play list
1 parent f867b54 commit 8aa8ba9

1 file changed

Lines changed: 42 additions & 48 deletions

File tree

src/css/index.scss

Lines changed: 42 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,6 @@ $aplayer-height: 66px;
22
$lrc-height: 30px;
33
$aplayer-height-lrc: $aplayer-height + $lrc-height - 6;
44

5-
.aplayer-narrow {
6-
width: $aplayer-height;
7-
.aplayer-info {
8-
display: none;
9-
}
10-
}
11-
12-
.aplayer-withlrc {
13-
&.aplayer-narrow {
14-
width: $aplayer-height-lrc;
15-
}
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-
}
34-
}
35-
}
36-
37-
.aplayer-withlist {
38-
&.aplayer {
39-
.aplayer-info {
40-
border-bottom: 1px solid #e9e9e9;
41-
}
42-
43-
.aplayer-list {
44-
display: block;
45-
}
46-
47-
.aplayer-icon-menu {
48-
display: inline !important;
49-
}
50-
}
51-
}
52-
535
.aplayer {
546
background: #fff;
557
font-family: Arial, Helvetica, sans-serif;
@@ -74,6 +26,48 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height - 6;
7426
}
7527
}
7628

29+
&.aplayer-withlist {
30+
.aplayer-info {
31+
border-bottom: 1px solid #e9e9e9;
32+
}
33+
.aplayer-list {
34+
display: block;
35+
}
36+
.aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu {
37+
display: inline;
38+
}
39+
}
40+
41+
&.aplayer-withlrc {
42+
.aplayer-pic {
43+
height: $aplayer-height-lrc;
44+
width: $aplayer-height-lrc;
45+
}
46+
.aplayer-info {
47+
margin-left: $aplayer-height-lrc;
48+
height: $aplayer-height-lrc;
49+
padding: 10px 7px 0 7px;
50+
}
51+
.aplayer-lrc {
52+
display: block;
53+
}
54+
}
55+
56+
&.aplayer-narrow {
57+
width: $aplayer-height;
58+
59+
.aplayer-info {
60+
display: none;
61+
}
62+
.aplayer-list {
63+
display: none;
64+
}
65+
.aplayer-pic {
66+
height: $aplayer-height;
67+
width: $aplayer-height;
68+
}
69+
}
70+
7771
&.aplayer-mobile {
7872
.aplayer-icon-volume-down {
7973
display: none;

0 commit comments

Comments
 (0)