[mirotalksfu] - #127 add Group Chat feature
هذا الالتزام موجود في:
@@ -35,10 +35,8 @@
|
||||
--body-bg: radial-gradient(#393939, #000000);
|
||||
--border: 1px solid rgb(255 255 255 / 32%);
|
||||
--border-radius: 1rem;
|
||||
--msger-top: 50%;
|
||||
--msger-left: 50%;
|
||||
--msger-height: 680px;
|
||||
--msger-width: 420px;
|
||||
--msger-height: 700px;
|
||||
--msger-width: 800px;
|
||||
--msger-bubble-width: 85%;
|
||||
--msger-bg: radial-gradient(#393939, #000000);
|
||||
--wb-width: 800px;
|
||||
@@ -698,254 +696,9 @@ th {
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat Room
|
||||
# Room/user emoji picker
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.chat-room {
|
||||
z-index: 5;
|
||||
display: none;
|
||||
position: fixed;
|
||||
height: var(--msger-height);
|
||||
width: var(--msger-width);
|
||||
min-height: var(--msger-height);
|
||||
min-width: var(--msger-width);
|
||||
background: var(--msger-bg);
|
||||
border: var(--border);
|
||||
border-radius: 10px;
|
||||
box-shadow: var(--box-shadow);
|
||||
resize: both;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.msger {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-flow: column wrap;
|
||||
justify-content: space-between;
|
||||
background: var(--msger-bg);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room header
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.chat-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 10px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
color: #666;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.chat-header-title button,
|
||||
.chat-header-options button {
|
||||
border: none;
|
||||
transition: all 0.3s ease-in-out;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
color: #fff;
|
||||
border-radius: 5px;
|
||||
transition: background 0.23s;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room output area
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.chat-msger {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
background: var(--msger-bg);
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.chat-msger::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.chat-msger::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.chat-msger::-webkit-scrollbar-thumb {
|
||||
background: black;
|
||||
/*aqua;*/
|
||||
}
|
||||
|
||||
.msg {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.msg:last-of-type {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room left side
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.left-msg .msg-bubble {
|
||||
background: var(--left-msg-bg);
|
||||
border-bottom-left-radius: 0;
|
||||
color: #fff;
|
||||
width: var(--msger-bubble-width);
|
||||
}
|
||||
|
||||
.left-msg .msg-bubble-private {
|
||||
background: var(--private-msg-bg);
|
||||
border-bottom-left-radius: 0;
|
||||
color: #fff;
|
||||
width: var(--msger-bubble-width);
|
||||
}
|
||||
|
||||
.left-msg .msg-img {
|
||||
margin: 0px 5px 5px 0px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room right side
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.right-msg {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.right-msg .msg-bubble {
|
||||
background: var(--right-msg-bg);
|
||||
border-bottom-right-radius: 0;
|
||||
color: #fff;
|
||||
width: var(--msger-bubble-width);
|
||||
}
|
||||
|
||||
.right-msg .msg-bubble-private {
|
||||
background: var(--private-msg-bg);
|
||||
border-bottom-right-radius: 0;
|
||||
color: #fff;
|
||||
width: var(--msger-bubble-width);
|
||||
}
|
||||
|
||||
.right-msg .msg-img {
|
||||
margin: 0px 0px 5px 5px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room common
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.msg-img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.msg-bubble-private,
|
||||
.msg-bubble {
|
||||
/* max-width: 200px; */
|
||||
padding: 15px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.msg-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.msg-info-name {
|
||||
margin-right: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.msg-info-time {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.msg-text {
|
||||
display: inline;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
.msg-text iframe {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fff !important;
|
||||
}
|
||||
a:hover {
|
||||
color: grey !important;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room input area
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.chat-msger-inputarea {
|
||||
display: flex;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.chat-msger-input {
|
||||
flex: 1;
|
||||
padding: 10px;
|
||||
height: 43px;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border: var(--border);
|
||||
border-top-left-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
transition: height 1s;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.chat-msger-input::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.chat-msger-input::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.chat-msger-input::-webkit-scrollbar-thumb {
|
||||
background: #404040;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat room buttons area
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.chat-msger-buttons {
|
||||
display: flex;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#chatSendButton {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Chat/room/user emoji picker
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.chatEmojiPicker {
|
||||
z-index: 0;
|
||||
position: absolute;
|
||||
bottom: 110px;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.roomEmoji {
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
@@ -1070,11 +823,11 @@ select {
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.show {
|
||||
display: block;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.center {
|
||||
@@ -1115,94 +868,6 @@ button:hover {
|
||||
transform: var(--btns-hover-scale);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Room Participants
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
#participants {
|
||||
z-index: 7;
|
||||
position: absolute;
|
||||
margin: auto;
|
||||
padding: 10px;
|
||||
min-width: 320px;
|
||||
background: var(--body-bg);
|
||||
border: var(--border);
|
||||
box-shadow: var(--box-shadow);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.participants-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
color: #fff;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#roomParticipants {
|
||||
max-height: 680px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#roomParticipants table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#roomParticipants td,
|
||||
#roomParticipants th {
|
||||
/* border: 1px solid #444444; */
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/* #roomParticipants tr {
|
||||
border-bottom: 1px solid #444444;
|
||||
} */
|
||||
/* #roomParticipants tr:nth-child(even) {
|
||||
background-color: #0c0b0b;
|
||||
} */
|
||||
|
||||
#roomParticipants::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
#roomParticipants::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#roomParticipants::-webkit-scrollbar-thumb {
|
||||
background: #404040;
|
||||
}
|
||||
|
||||
#inviteParticipants {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin: 10px auto 0px auto;
|
||||
background-color: #056162;
|
||||
border-radius: 10px;
|
||||
}
|
||||
#inviteParticipants:hover {
|
||||
background-color: #191919;
|
||||
color: #fff;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
#searchParticipants {
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
font-size: 1rem;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
border: grey 1px solid;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Lobby users list
|
||||
--------------------------------------------------------------*/
|
||||
@@ -1503,7 +1168,7 @@ z-index:
|
||||
- 2 Video menu bar
|
||||
- 3 control buttons
|
||||
- 4 whiteboard
|
||||
- 5 chat
|
||||
- 5 chat group
|
||||
- 6 settings
|
||||
- 7 participants/lobby
|
||||
- 8 send receive progress
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم