Bilibili-Evolved/registry/lib/components/style/special-danmaku/special-danmaku.scss
2023-08-05 23:02:18 +08:00

40 lines
892 B
SCSS

body.disable-highlight-danmaku-style {
.bili-dm.bili-high,
.b-danmaku-high {
display: block !important;
padding: 0 !important;
line-height: 1.125 !important;
.bili-high-icon,
.b-danmaku-high-icon {
display: none !important;
}
.bili-high-text,
.b-danmaku-high-text {
margin: 0 !important;
text-shadow: inherit;
}
}
}
body.disable-up-danmaku-style {
.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-dm-vip {
display: contents !important;
text-shadow: inherit !important;
}
.bili-dm:not([style*='--textShadow']) {
--textShadow: var(--danmaku-text-shadow);
}
}