[mirotalksfu] - gix typo
هذا الالتزام موجود في:
@@ -138,7 +138,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.all-participants-img:hover {
|
.all-participants-img:hover {
|
||||||
background-color: #000000;
|
background-color: lime;
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,6 +170,7 @@
|
|||||||
/* Chat history */
|
/* Chat history */
|
||||||
.chat .chat-history {
|
.chat .chat-history {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
height: calc(100vh - 210px);
|
||||||
min-height: 490px;
|
min-height: 490px;
|
||||||
max-height: 490px;
|
max-height: 490px;
|
||||||
border-bottom: var(--border);
|
border-bottom: var(--border);
|
||||||
|
|||||||
@@ -1251,7 +1251,7 @@ function handleButtons() {
|
|||||||
};
|
};
|
||||||
chatButton.onclick = () => {
|
chatButton.onclick = () => {
|
||||||
rc.toggleChat();
|
rc.toggleChat();
|
||||||
if (rc.isMobileDevice) {
|
if (DetectRTC.isMobileDevice) {
|
||||||
rc.toggleShowParticipants();
|
rc.toggleShowParticipants();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3175,6 +3175,11 @@ class RoomClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isPlistOpen() {
|
||||||
|
const plist = this.getId('plist');
|
||||||
|
return plist.classList.contains('hidden');
|
||||||
|
}
|
||||||
|
|
||||||
async toggleChat() {
|
async toggleChat() {
|
||||||
const chatRoom = this.getId('chatRoom');
|
const chatRoom = this.getId('chatRoom');
|
||||||
chatRoom.classList.toggle('show');
|
chatRoom.classList.toggle('show');
|
||||||
@@ -3196,15 +3201,14 @@ class RoomClient {
|
|||||||
toggleShowParticipants() {
|
toggleShowParticipants() {
|
||||||
const plist = this.getId('plist');
|
const plist = this.getId('plist');
|
||||||
const chat = this.getId('chat');
|
const chat = this.getId('chat');
|
||||||
const chatHistory = this.getId('chatHistory');
|
|
||||||
plist.classList.toggle('hidden');
|
plist.classList.toggle('hidden');
|
||||||
const isParticipantsListHidden = plist.classList.contains('hidden');
|
const isParticipantsListHidden = this.isPlistOpen();
|
||||||
chat.style.marginLeft = isParticipantsListHidden ? 0 : '300px';
|
chat.style.marginLeft = isParticipantsListHidden ? 0 : '300px';
|
||||||
chat.style.borderLeft = isParticipantsListHidden ? 'none' : '1px solid rgb(255 255 255 / 32%)';
|
chat.style.borderLeft = isParticipantsListHidden ? 'none' : '1px solid rgb(255 255 255 / 32%)';
|
||||||
if (this.isChatPinned) chat.style.display = isParticipantsListHidden ? 'block' : 'none';
|
if (this.isChatPinned) elemDisplay(chat.id, isParticipantsListHidden);
|
||||||
chatHistory.style.height = isParticipantsListHidden ? 'calc(100vh - 210px)' : '490px';
|
|
||||||
this.toggleChatHistorySize(isParticipantsListHidden && (this.isChatPinned || this.isChatMaximized));
|
this.toggleChatHistorySize(isParticipantsListHidden && (this.isChatPinned || this.isChatMaximized));
|
||||||
plist.style.width = this.isChatPinned || this.isMobileDevice ? '100%' : '300px';
|
plist.style.width = this.isChatPinned || this.isMobileDevice ? '100%' : '300px';
|
||||||
|
plist.style.position = this.isMobileDevice ? 'fixed' : 'absolute';
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleChatHistorySize(max = true) {
|
toggleChatHistorySize(max = true) {
|
||||||
@@ -3257,7 +3261,7 @@ class RoomClient {
|
|||||||
resizeVideoMedia();
|
resizeVideoMedia();
|
||||||
chatRoom.style.resize = 'none';
|
chatRoom.style.resize = 'none';
|
||||||
if (!this.isMobileDevice) this.makeUnDraggable(chatRoom, chatHeader);
|
if (!this.isMobileDevice) this.makeUnDraggable(chatRoom, chatHeader);
|
||||||
if (!plist.classList.contains('hidden')) this.toggleShowParticipants();
|
if (!this.isPlistOpen()) this.toggleShowParticipants();
|
||||||
if (chatRoom.classList.contains('container')) chatRoom.classList.remove('container');
|
if (chatRoom.classList.contains('container')) chatRoom.classList.remove('container');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3277,7 +3281,7 @@ class RoomClient {
|
|||||||
setColor(chatTogglePin, 'white');
|
setColor(chatTogglePin, 'white');
|
||||||
resizeVideoMedia();
|
resizeVideoMedia();
|
||||||
if (!this.isMobileDevice) this.makeDraggable(chatRoom, chatHeader);
|
if (!this.isMobileDevice) this.makeDraggable(chatRoom, chatHeader);
|
||||||
if (plist.classList.contains('hidden')) this.toggleShowParticipants();
|
if (this.isPlistOpen()) this.toggleShowParticipants();
|
||||||
if (!chatRoom.classList.contains('container')) chatRoom.classList.add('container');
|
if (!chatRoom.classList.contains('container')) chatRoom.classList.add('container');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1019,7 +1019,7 @@ access to use this app.
|
|||||||
<!-- CHAT ROOM CONTAINER -->
|
<!-- CHAT ROOM CONTAINER -->
|
||||||
<section id="chatRoom" class="chat-container container fadein hidden">
|
<section id="chatRoom" class="chat-container container fadein hidden">
|
||||||
<!-- CHAT APP -->
|
<!-- CHAT APP -->
|
||||||
<div class="chat-app">
|
<div id="chatApp" class="chat-app">
|
||||||
<!-- CHAT PEOPLE LIST -->
|
<!-- CHAT PEOPLE LIST -->
|
||||||
<div id="plist" class="people-list">
|
<div id="plist" class="people-list">
|
||||||
<!-- CHAT LIST OPTIONS -->
|
<!-- CHAT LIST OPTIONS -->
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم