mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 21:31:20 -08:00
feat: Improve chapter display in artplayer-plugin-chapter
This commit is contained in:
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%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user