lrc show/hide button in fixed mode

This commit is contained in:
DIYgod
2018-03-22 23:47:17 +08:00
parent a002a4b180
commit 4552dd093a
10 changed files with 86 additions and 10 deletions
+14 -2
View File
@@ -150,7 +150,8 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height - 6;
.aplayer-icon-back,
.aplayer-icon-play,
.aplayer-icon-forward {
.aplayer-icon-forward,
.aplayer-icon-lrc {
display: inline-block;
}
@@ -230,10 +231,17 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height - 6;
.aplayer-icon-order,
.aplayer-icon-back,
.aplayer-icon-play,
.aplayer-icon-forward {
.aplayer-icon-forward,
.aplayer-icon-lrc {
display: none;
}
.aplayer-icon-lrc-inactivity {
svg {
opacity: 0.4;
}
}
.aplayer-icon-forward {
transform: rotate(180deg);
}
@@ -547,6 +555,10 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height - 6;
}
}
&.aplayer-lrc-hide {
display: none;
}
.aplayer-lrc-contents {
width: 100%;
transition: all 0.5s ease-out;