From ce64631310f0db84c223075cbd4aff60463bc2c9 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 17 Apr 2023 01:16:00 +0200 Subject: [PATCH] MessageLogger: Apply styles to gifs, stickers & new markdown --- src/plugins/messageLogger/deleteStyleOverlay.css | 2 +- src/plugins/messageLogger/deleteStyleText.css | 6 +++--- src/plugins/messageLogger/messageLogger.css | 8 +++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/plugins/messageLogger/deleteStyleOverlay.css b/src/plugins/messageLogger/deleteStyleOverlay.css index a05ed4da..3778e80b 100644 --- a/src/plugins/messageLogger/deleteStyleOverlay.css +++ b/src/plugins/messageLogger/deleteStyleOverlay.css @@ -1,3 +1,3 @@ .messagelogger-deleted { - background-color: rgba(240 71 71 / 15%); + background-color: rgba(240 71 71 / 15%) !important; } diff --git a/src/plugins/messageLogger/deleteStyleText.css b/src/plugins/messageLogger/deleteStyleText.css index ad97664b..860c83fc 100644 --- a/src/plugins/messageLogger/deleteStyleText.css +++ b/src/plugins/messageLogger/deleteStyleText.css @@ -1,8 +1,8 @@ -.messagelogger-deleted div { - color: #f04747; +.messagelogger-deleted :is(div, h1, h2, h3, p) { + color: #f04747 !important; } .messagelogger-deleted a { - color: #be3535; + color: #be3535 !important; text-decoration: underline; } diff --git a/src/plugins/messageLogger/messageLogger.css b/src/plugins/messageLogger/messageLogger.css index cf85397c..5d7e6b98 100644 --- a/src/plugins/messageLogger/messageLogger.css +++ b/src/plugins/messageLogger/messageLogger.css @@ -2,15 +2,17 @@ display: none; } +.messagelogger-deleted :is(video), .messagelogger-deleted-attachment, .messagelogger-deleted div iframe { - filter: grayscale(1); + filter: grayscale(1) !important; transition: 150ms filter ease-in-out; } +.messagelogger-deleted:hover :is(video), .messagelogger-deleted-attachment:hover, -.messagelogger-deleted div iframe:hover { - filter: grayscale(0); +.messagelogger-deleted iframe:hover { + filter: grayscale(0) !important; } .theme-dark .messagelogger-edited {