mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 19:01:20 -08:00
feat: Add support for video chapters in artplayer-plugin-chapter
This commit is contained in:
1 parent
a59942ca58
commit
3e3e355e34
8 files changed
+411
-19
No files matched your search
@@ -1,3 +1,37 @@
|
||||
.artplayer-plugin-chapter {
|
||||
//
|
||||
.art-progress {
|
||||
.art-control-progress-inner {
|
||||
height: 100% !important;
|
||||
background-color: transparent !important;
|
||||
|
||||
& > .art-progress-hover,
|
||||
& > .art-progress-loaded,
|
||||
& > .art-progress-played {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.art-chapters {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
height: 100%;
|
||||
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);
|
||||
|
||||
&:hover {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user