Bilibili-Evolved/style/custom-control-background/custom-control-background.js
2019-02-16 19:33:27 +08:00

16 lines
474 B
JavaScript

if (settings.customControlBackgroundOpacity > 0)
{
resources.applyStyle("customControlBackgroundStyle");
if (!settings.touchVideoPlayer)
{
resources.applyImportantStyleFromText(/*html*/`
<style id="control-background-non-touch">
.bilibili-player-video-control-bottom
{
margin: 7px 0 0 0 !important;
padding: 8px 0 0 !important;
}
</style>
`);
}
}