From 6d8feb6f9651a2b9934159cd0758342ed90b2d8c Mon Sep 17 00:00:00 2001 From: Hakadao Date: Tue, 2 Jul 2024 15:20:55 +0800 Subject: [PATCH] fix(AdaptedStyles): support reply jump animation in dark mode --- src/styles/adaptedStyles/comments.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/styles/adaptedStyles/comments.scss b/src/styles/adaptedStyles/comments.scss index 7815a82b..90ef4a7c 100644 --- a/src/styles/adaptedStyles/comments.scss +++ b/src/styles/adaptedStyles/comments.scss @@ -70,6 +70,21 @@ background-color: var(--bew-fill-1) !important; } + .sub-reply-item.show-reply, + .reply-item .root-reply-container.show-reply { + background-color: var(--bew-fill-1); + animation: jumpReply 5s forwards; + } + + @keyframes jumpReply { + 0% { + background-color: var(--bew-theme-color-10); + } + 100% { + background-color: var(--bew-fill-1); + } + } + // Like & dislike icon .like-icon, .dislike-icon,