Bilibili-Evolved/registry/lib/components/touch/double-click-control/_default-state.scss
the1812 a064849234 Add 3.x player support (#3187)
- PlayerAgent
- VideoControlBar
- bpx polyfill
- DoubleClickEvent
- doubleClickControl
- touchPlayerControl
2022-08-31 09:00:26 +08:00

51 lines
1.1 KiB
SCSS

@mixin default-state {
.bilibili-player-video {
&-control-bottom,
&-control-mask,
&-progress-shadow,
&-top {
opacity: 0 !important;
visibility: hidden !important;
}
}
.bpx-player-shadow-progress-area,
.bilibili-player-video-control-wrap {
opacity: 1 !important;
visibility: visible !important;
}
.bilibili-player-video-control-top {
opacity: 1 !important;
left: 0 !important;
right: 0 !important;
bottom: -7px !important;
visibility: visible !important;
}
.bpx-player-control-top,
.bpx-player-control-mask,
.bpx-player-control-bottom,
.bpx-player-top-wrap {
opacity: 0 !important;
visibility: hidden !important;
}
.squirtle-progress-wrap {
top: unset !important;
bottom: 0 !important;
height: 2px !important;
width: 100% !important;
margin: 0 !important;
.squirtle-progress-bar {
height: 2px !important;
bottom: 0 !important;
}
}
.squirtle-high-energy {
width: 100% !important;
top: unset !important;
bottom: 2px !important;
margin: 0 !important;
}
.squirtle-controller-wrap {
display: none !important;
}
}