diff sat_templates/templates/bulma/static/chat.css @ 387:8b990c78d4b5

(bulma/chat): add menu + style for message retraction
author Goffi <goffi@goffi.org>
date Thu, 30 Nov 2023 13:24:43 +0100
parents e63fb06052ae
children
line wrap: on
line diff
--- a/sat_templates/templates/bulma/static/chat.css	Tue Nov 28 17:48:00 2023 +0100
+++ b/sat_templates/templates/bulma/static/chat.css	Thu Nov 30 13:24:43 2023 +0100
@@ -24,7 +24,6 @@
 
 .is-chat-message {
     transition: all 0.3s ease;
-    padding-left: 1.5em;
 }
 
 .is-chat-message:hover, .is-chat-message.has-popup-focus {
@@ -32,6 +31,13 @@
     box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
 }
 
+.media.is-chat-message.is-retracted {
+    padding: 0.5em;
+    border-left: 3px solid #ff3860; /* Reddish border for distinction */
+    background-color: #f5f5f5; /* Light grey background */
+    color: #636363; /* Slightly darker text for better readability */
+}
+
 .message-attachment {
     max-width: 20rem;
 }