[mirotalksfu] - improve chat emoji picker
هذا الالتزام موجود في:
@@ -438,10 +438,11 @@ body {
|
|||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
emoji-picker {
|
emoji-picker {
|
||||||
|
z-index: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 45px;
|
bottom: 70px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 92%;
|
height: 50%;
|
||||||
--background: #16171b;
|
--background: #16171b;
|
||||||
--num-columns: 8;
|
--num-columns: 8;
|
||||||
--emoji-size: 1.5rem;
|
--emoji-size: 1.5rem;
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ function initClient() {
|
|||||||
setTippy('chatMessage', 'Press enter to send', 'top-start');
|
setTippy('chatMessage', 'Press enter to send', 'top-start');
|
||||||
setTippy('chatSendButton', 'Send', 'top');
|
setTippy('chatSendButton', 'Send', 'top');
|
||||||
setTippy('chatEmojiButton', 'Emoji', 'top');
|
setTippy('chatEmojiButton', 'Emoji', 'top');
|
||||||
|
setTippy('chatCloseEmojiButton', 'Close emoji', 'top');
|
||||||
setTippy('chatCleanButton', 'Clean', 'bottom');
|
setTippy('chatCleanButton', 'Clean', 'bottom');
|
||||||
setTippy('chatSaveButton', 'Save', 'bottom');
|
setTippy('chatSaveButton', 'Save', 'bottom');
|
||||||
setTippy('sessionTime', 'Session time', 'right');
|
setTippy('sessionTime', 'Session time', 'right');
|
||||||
@@ -583,6 +584,9 @@ function handleButtons() {
|
|||||||
chatEmojiButton.onclick = () => {
|
chatEmojiButton.onclick = () => {
|
||||||
rc.toggleChatEmoji();
|
rc.toggleChatEmoji();
|
||||||
};
|
};
|
||||||
|
chatCloseEmojiButton.onclick = () => {
|
||||||
|
rc.toggleChatEmoji();
|
||||||
|
};
|
||||||
fullScreenButton.onclick = () => {
|
fullScreenButton.onclick = () => {
|
||||||
rc.toggleFullScreen();
|
rc.toggleFullScreen();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1421,6 +1421,7 @@ class RoomClient {
|
|||||||
|
|
||||||
toggleChatEmoji() {
|
toggleChatEmoji() {
|
||||||
this.getId('chatEmoji').classList.toggle('show');
|
this.getId('chatEmoji').classList.toggle('show');
|
||||||
|
this.getId('chatCloseEmojiButton').classList.toggle('show');
|
||||||
}
|
}
|
||||||
|
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
|
|||||||
@@ -333,6 +333,9 @@ access to use this app.
|
|||||||
type="text"
|
type="text"
|
||||||
placeholder="💬 Enter your message..."
|
placeholder="💬 Enter your message..."
|
||||||
/>
|
/>
|
||||||
|
<button id="chatCloseEmojiButton" class="hidden">
|
||||||
|
<i class="fas fa-times"></i>
|
||||||
|
</button>
|
||||||
<button id="chatEmojiButton" class="hidden">
|
<button id="chatEmojiButton" class="hidden">
|
||||||
<i class="fas fa-smile"></i>
|
<i class="fas fa-smile"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم