feat: 优化视频插件
This commit is contained in:
1 parent
8d738ef3f9
commit
5173b28ec5
6 files changed
+122
-28
No files matched your search
@@ -0,0 +1,46 @@
|
||||
.lock-div {
|
||||
position: absolute;
|
||||
z-index: 20;
|
||||
left: 15px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 30px;
|
||||
aspect-ratio: 1;
|
||||
cursor: pointer;
|
||||
color: #f2f2f2;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transition: opacity 0.5s ease, visibility 0.5s ease, width 0.25s ease, left 0.25s ease;
|
||||
svg {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
&:hover {
|
||||
width: 36px;
|
||||
left: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.xgplayer.xgplayer-inactive .lock-div {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.overlay-div {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
display: none;
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.xgplayer.xgplayer-inactive .overlay-div {
|
||||
pointer-events: none;
|
||||
cursor: none;
|
||||
}
|
||||
Reference in new issue
Block a user