This commit is contained in:
nnduc
2026-10-24 14:03:52 +07:00
commit 4fe046de58
4790 changed files with 311146 additions and 0 deletions
@@ -0,0 +1,50 @@
ul#message_preview {
background-color: rgb(var(--movim-background));
min-height: 100%;
box-sizing: border-box;
padding: 0.75rem 0;
}
ul#message_preview li {
padding: 0.75rem;
}
ul#message_preview li > div.bubble::after {
white-space: nowrap;
}
ul#message_preview li div.bubble {
max-width: calc(100% - 2rem);
pointer-events: none;
background-color: rgb(var(--movim-background-main));
}
ul#message_preview.list li > div.bubble:not(.file)::before {
background-color: rgb(var(--movim-background-main));
}
ul#message_preview li div.bubble:not(.file) {
padding-right: 5rem;
margin-bottom: 0;
padding-bottom: 3rem;
}
ul#message_preview li.oppose {
flex-direction: row-reverse;
}
ul#message_preview li div.bubble div.message > p {
white-space: initial;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}
ul#message_preview li.reactions {
padding: 0 0.5rem;
padding-bottom: 0.75rem;
}
ul#message_preview li.reactions a.chip {
max-width: 100%;
}
@@ -0,0 +1,17 @@
var ChatActions = {
message: null,
setMessage: function (message) {
ChatActions.message = message;
},
focusSearch: function () {
document.querySelector('form[name=search] input').focus();
}
}
MovimEvents.registerWindow('keydown', 'search_message', (e) => {
if (e.key == 'f' && e.ctrlKey && MovimUtils.urlParts().page == 'chat' && Chat.getTextarea()) {
e.preventDefault();
ChatActions_ajaxShowSearchDialog(Chat.getTextarea().dataset.jid, Boolean(Chat.getTextarea().dataset.muc));
}
});
+5
View File
@@ -0,0 +1,5 @@
[chatactions]
copy_text = Copy the text
copied_text = Text copied
search_messages = Search messages by content
search_messages_empty = No messages found