Bilibili-Evolved/registry/lib/components/style/special-danmaku/special-danmaku.scss
2024-07-23 14:20:08 +08:00

58 lines
1.3 KiB
SCSS

body.disable-highlight-danmaku-style {
.bili-danmaku-x-high,
.bili-danmaku-x-high-top,
.bili-dm.bili-high,
.b-danmaku-high {
display: block !important;
padding: 0 !important;
line-height: 1.125 !important;
.bili-danmaku-x-high-icon,
.bili-high-icon,
.b-danmaku-high-icon {
display: none !important;
}
.bili-danmaku-x-high-text,
.bili-high-text,
.b-danmaku-high-text {
margin: 0 !important;
text-shadow: inherit;
}
}
}
body.disable-up-danmaku-style {
.bili-danmaku-x-up,
.bili-dm.bili-up,
.b-danmaku-up {
padding: 0 !important;
line-height: 1.125 !important;
background-color: transparent !important;
border-radius: 0 !important;
.bili-up-tip,
.b-danmaku-up-tip {
display: none !important;
}
}
}
body.disable-vip-danmaku-style {
.bili-danmaku-x-dm-vip,
.bili-dm-vip {
display: contents !important;
text-shadow: inherit !important;
}
:where(.bili-dm, .bili-danmaku-x-dm):not([style*='--textShadow']) {
--textShadow: var(--danmaku-text-shadow);
}
}
body.disable-upSlogan-danmaku-style {
.bili-danmaku-x-upslogan,
.bili-upslogan {
padding: 0 !important;
opacity: var(--opacity) !important;
font-weight: var(--fontWeight) !important;
background-color: transparent !important;
img {
display: none !important;
}
}
}