aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/messageLogger
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-04-17 01:16:00 +0200
committerVendicated <vendicated@riseup.net>2023-04-17 01:18:45 +0200
commitce64631310f0db84c223075cbd4aff60463bc2c9 (patch)
treef11d33b10c686d5832f280e68bc0b6b90cdef6d3 /src/plugins/messageLogger
parent1caaa78490854bdd043775fe1b8ea087b0cdad8c (diff)
downloadVencord-ce64631310f0db84c223075cbd4aff60463bc2c9.tar.gz
Vencord-ce64631310f0db84c223075cbd4aff60463bc2c9.tar.bz2
Vencord-ce64631310f0db84c223075cbd4aff60463bc2c9.zip
MessageLogger: Apply styles to gifs, stickers & new markdown
Diffstat (limited to 'src/plugins/messageLogger')
-rw-r--r--src/plugins/messageLogger/deleteStyleOverlay.css2
-rw-r--r--src/plugins/messageLogger/deleteStyleText.css6
-rw-r--r--src/plugins/messageLogger/messageLogger.css8
3 files changed, 9 insertions, 7 deletions
diff --git a/src/plugins/messageLogger/deleteStyleOverlay.css b/src/plugins/messageLogger/deleteStyleOverlay.css
index a05ed4d..3778e80 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 ad97664..860c83f 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 cf85397..5d7e6b9 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 {