feat: Improve chapter display in artplayer-plugin-chapter

This commit is contained in:
Harvey Zack committed 2024-06-02 19:26:33 +08:00
1 parent 2326628b86
commit 41cdde4b79
4 files changed
+42 -31

No files matched your search

@@ -21,15 +21,22 @@
transform: scaleY(1.25);
.art-chapter {
position: relative;
cursor: pointer;
height: 50%;
border-radius: 10px;
overflow: hidden;
transition: height var(--art-transition-duration) ease;
background-color: var(--art-progress-color);
display: flex;
align-items: center;
height: 100%;
&:hover {
.art-chapter-inner {
position: relative;
cursor: pointer;
width: 100%;
height: 50%;
border-radius: 10px;
overflow: hidden;
transition: height var(--art-transition-duration) ease;
background-color: var(--art-progress-color);
}
&:hover .art-chapter-inner {
height: 100%;
}
}