From d5291a5e415a7a72577ad154a988f02a225109a4 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 22 Jan 2023 09:13:44 +0200 Subject: [PATCH] highlight using primary color --- files/assets/css/chat.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/files/assets/css/chat.css b/files/assets/css/chat.css index 086ff4919..c26d517e2 100644 --- a/files/assets/css/chat.css +++ b/files/assets/css/chat.css @@ -26,8 +26,17 @@ } .chat-mention { - background-color: #ffffff44; - border-radius: 3px; + position: relative; +} + +.chat-mention::before { + content: ""; + width: 100%; + height: 100%; + position: absolute; + left: 0; + background-color: var(--primary); + opacity: 0.12; } p, h1, h2, h3, h4, h5 {