diff sat_templates/templates/bulma/static/chat.css @ 411:f7a434581872 default tip

chat: Add forward, rich editing and extra recipients: - There is a new "forward" menu in message. For now, a simple prompt ask for recipient JID. - A new "extra" menu is available next to input field. Inside there are 2 items for now: add extra recipient, and toggle rich edit mode. - Extra recipient option add a field to add an email-like "to", "cc" or "bcc" recipients. - Rich edit let use rich styling such as bold, italic, underline, etc. rel 461
author Goffi <goffi@goffi.org>
date Fri, 04 Jul 2025 17:33:22 +0200
parents 049a0638f6fa
children
line wrap: on
line diff
--- a/sat_templates/templates/bulma/static/chat.css	Fri Jul 04 12:41:07 2025 +0200
+++ b/sat_templates/templates/bulma/static/chat.css	Fri Jul 04 17:33:22 2025 +0200
@@ -57,8 +57,21 @@
     padding: 1rem;
 }
 
-.chat-input button {
+.chat-input button, .chat-input input, .chat-input select {
+    height: auto;
+    min-height: 3rem;
+}
+
+#message_input_area, #message_input_area_rich {
     height: 100%;
+    min-height: 3rem;
+}
+
+div.ql-editor {
+    margin: 0 2px;
+    min-height: 3rem;
+    border: 1px lightgray solid;
+    padding: 11px;
 }
 
 .media.chat-message {
@@ -74,6 +87,7 @@
     overflow-wrap: anywhere;
     background-color: #f5f5f5;
     transition: background-color 0.2s, border-left 0.2s;
+    list-style-position: inside;
 }
 .message-core:hover, .message-core.has-popup-focus {
     background-color: #e8e8e8;