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

45 lines
912 B
SCSS

@import 'common';
@mixin subtitle {
&.bilibili-player-area .subtitle-position.subtitle-position {
&-bc,
&-bl,
&-br {
bottom: 20px !important;
}
}
&.touch-video-control-show .subtitle-position.subtitle-position {
&-bc,
&-bl,
&-br {
bottom: 68px !important;
}
}
.bpx-player-subtitle-panel-position {
&[data-position='bottom'] {
bottom: 14px !important;
}
}
&.touch-video-control-show .bpx-player-subtitle-panel-position {
&[data-position='bottom'] {
bottom: 69px !important;
}
}
@include on-fullscreen {
&.touch-video-control-show {
.subtitle-position.subtitle-position {
&-bc,
&-bl,
&-br {
bottom: 88px !important;
}
}
.bpx-player-subtitle-panel-position {
&[data-position='bottom'] {
bottom: 88px !important;
}
}
}
}
}