46 lines
871 B
SCSS
46 lines
871 B
SCSS
.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;
|
|
} |