From 70861143b287036a31b92f345f04ebbf972ba368 Mon Sep 17 00:00:00 2001 From: festoney8 Date: Tue, 23 Jul 2024 14:20:08 +0800 Subject: [PATCH] Update special danmaku classname --- .../style/special-danmaku/special-danmaku.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/registry/lib/components/style/special-danmaku/special-danmaku.scss b/registry/lib/components/style/special-danmaku/special-danmaku.scss index b72382f027..dcae902312 100644 --- a/registry/lib/components/style/special-danmaku/special-danmaku.scss +++ b/registry/lib/components/style/special-danmaku/special-danmaku.scss @@ -1,13 +1,17 @@ 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; @@ -16,6 +20,7 @@ body.disable-highlight-danmaku-style { } } body.disable-up-danmaku-style { + .bili-danmaku-x-up, .bili-dm.bili-up, .b-danmaku-up { padding: 0 !important; @@ -29,15 +34,17 @@ body.disable-up-danmaku-style { } } body.disable-vip-danmaku-style { + .bili-danmaku-x-dm-vip, .bili-dm-vip { display: contents !important; text-shadow: inherit !important; } - .bili-dm:not([style*='--textShadow']) { + :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;