2020-03-25 05:34:57 +08:00
|
|
|
@import url("https://fonts.googleapis.com/css?family=Fira+Sans:600|Heebo:400,500,700&display=swap");
|
|
|
|
|
2020-03-29 00:36:59 +08:00
|
|
|
/*Fade in page on load*/
|
2020-03-29 01:30:38 +08:00
|
|
|
@-webkit-keyframes fadeIn {
|
2020-03-31 02:16:08 +08:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-03-29 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes fadeIn {
|
2020-03-31 02:16:08 +08:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-03-29 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeIn {
|
2020-03-31 02:16:08 +08:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-03-29 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 00:36:59 +08:00
|
|
|
/*Fade in page on load*/
|
|
|
|
|
2020-03-28 05:00:28 +08:00
|
|
|
body {
|
2020-03-31 02:16:08 +08:00
|
|
|
background: #16171b;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
opacity: 0; /* make things invisible upon start */
|
|
|
|
-webkit-animation: fadeIn ease-in 1;
|
|
|
|
-moz-animation: fadeIn ease-in 1;
|
|
|
|
animation: fadeIn ease-in 1;
|
|
|
|
-webkit-animation-fill-mode: forwards;
|
|
|
|
-moz-animation-fill-mode: forwards;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
-webkit-animation-duration: 0.3s;
|
|
|
|
-moz-animation-duration: 0.3s;
|
|
|
|
animation-duration: 0.3s;
|
2020-03-31 11:12:25 +08:00
|
|
|
overflow: hidden;
|
2020-03-25 05:34:57 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 00:06:29 +08:00
|
|
|
video {
|
2020-03-31 02:16:08 +08:00
|
|
|
background: #16171a;
|
2020-03-29 00:06:29 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 00:36:59 +08:00
|
|
|
#header {
|
2020-03-31 02:16:08 +08:00
|
|
|
position: absolute;
|
|
|
|
color: white;
|
|
|
|
font-family: "Fira Sans", sans-serif;
|
|
|
|
font-weight: 600;
|
2020-03-31 11:12:25 +08:00
|
|
|
font-size: 1rem;
|
2020-03-31 02:16:08 +08:00
|
|
|
white-space: nowrap;
|
2020-03-31 11:12:25 +08:00
|
|
|
top: 20px;
|
|
|
|
left: 20px;
|
|
|
|
/*margin-left: 30px;*/
|
|
|
|
/*margin-top: 30px;*/
|
|
|
|
/*-ms-transform: translate(-50%, -50%);*/
|
|
|
|
/*transform: translate(-50%, -50%);*/
|
2020-03-31 02:16:08 +08:00
|
|
|
float: left;
|
2020-03-29 00:36:59 +08:00
|
|
|
}
|
|
|
|
|
2020-03-31 02:16:08 +08:00
|
|
|
#header p,
|
|
|
|
img {
|
|
|
|
float: left;
|
|
|
|
padding: 7px;
|
2020-03-29 00:36:59 +08:00
|
|
|
}
|
|
|
|
|
2020-03-31 02:16:08 +08:00
|
|
|
#header,
|
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
text-decoration: none;
|
2020-03-29 01:35:06 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 00:06:29 +08:00
|
|
|
#moveable {
|
2020-03-31 02:16:08 +08:00
|
|
|
z-index: 100;
|
|
|
|
position: absolute;
|
|
|
|
width: 15%;
|
|
|
|
cursor: move;
|
2020-03-29 00:06:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#moveable p {
|
2020-03-31 02:16:08 +08:00
|
|
|
z-index: 101;
|
|
|
|
position: absolute;
|
|
|
|
color: white;
|
|
|
|
font-family: "Heebo", sans-serif;
|
|
|
|
white-space: nowrap;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
font-weight: bold;
|
|
|
|
background: rgba(0, 0, 0, 0.12);
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
2020-03-24 13:04:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#local-video {
|
2020-03-31 02:16:08 +08:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
border-radius: 20px;
|
|
|
|
-webkit-transform: scaleX(-1);
|
|
|
|
transform: scaleX(-1);
|
|
|
|
background: #16171a;
|
2020-03-24 13:04:30 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 00:06:29 +08:00
|
|
|
#remote-video-text {
|
2020-03-31 23:51:36 +08:00
|
|
|
box-sizing: border-box;
|
2020-03-31 02:16:08 +08:00
|
|
|
/*padding: 0;*/
|
|
|
|
margin: 0;
|
2020-03-31 23:51:36 +08:00
|
|
|
width: 65vw;
|
2020-03-31 02:16:08 +08:00
|
|
|
position: absolute;
|
|
|
|
top: calc(80%);
|
|
|
|
left: 20vw;
|
|
|
|
/*-ms-transform: translate(-50%, -90%);*/
|
|
|
|
/*transform: translate(-50%, -90%);*/
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
font-family: "Heebo", sans-serif;
|
2020-03-31 23:51:36 +08:00
|
|
|
font-size: 1rem;
|
2020-03-31 02:16:08 +08:00
|
|
|
/*white-space: nowrap;*/
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 10px;
|
2020-03-29 00:06:29 +08:00
|
|
|
}
|
|
|
|
|
2020-03-24 13:04:30 +08:00
|
|
|
#remote-video {
|
2020-03-31 02:16:08 +08:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
2020-03-31 12:18:15 +08:00
|
|
|
width: 65%;
|
2020-03-31 02:16:08 +08:00
|
|
|
height: auto;
|
|
|
|
|
|
|
|
max-height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
background-image: url(../images/loader.gif);
|
|
|
|
background-size: 400px auto;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
box-shadow: 9px 9px 16px #0a0b0c, -9px -9px 16px #222328;
|
2020-03-31 12:18:15 +08:00
|
|
|
|
|
|
|
object-fit: cover;
|
2020-03-28 02:06:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*Neomorphic buttons*/
|
|
|
|
button {
|
2020-03-31 02:16:08 +08:00
|
|
|
border: none;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
color: gray;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
2020-03-31 11:12:25 +08:00
|
|
|
padding: 7px;
|
2020-03-28 02:06:07 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 01:43:08 +08:00
|
|
|
button:focus {
|
2020-03-31 02:16:08 +08:00
|
|
|
outline: none;
|
2020-03-29 01:43:08 +08:00
|
|
|
}
|
|
|
|
|
2020-03-28 02:06:07 +08:00
|
|
|
button:hover {
|
2020-03-31 02:16:08 +08:00
|
|
|
color: white;
|
|
|
|
border-radius: 100px;
|
|
|
|
background: #16171a;
|
2020-03-28 02:06:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.multi-button {
|
2020-03-31 02:16:08 +08:00
|
|
|
position: absolute;
|
|
|
|
left: calc(7.5vw - 40px);
|
|
|
|
top: 50%;
|
|
|
|
-ms-transform: translate(0%, -50%);
|
|
|
|
transform: translate(0%, -50%);
|
|
|
|
|
|
|
|
z-index: 999;
|
|
|
|
border-radius: 10px;
|
|
|
|
background: #16171a;
|
|
|
|
box-shadow: 9px 9px 16px #0a0b0c, -9px -9px 16px #222328;
|
|
|
|
padding: 15px;
|
|
|
|
display: grid;
|
2020-03-31 11:12:25 +08:00
|
|
|
grid-gap: 0.2rem;
|
|
|
|
width: 40px;
|
2020-03-28 02:06:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.HoverState {
|
2020-03-31 02:16:08 +08:00
|
|
|
color: white;
|
|
|
|
font-family: "Heebo", sans-serif;
|
2020-03-31 11:12:25 +08:00
|
|
|
font-size: 0.8rem;
|
2020-03-31 02:16:08 +08:00
|
|
|
position: absolute;
|
2020-03-31 11:12:25 +08:00
|
|
|
left: 60px;
|
2020-03-31 02:16:08 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
top: 0px;
|
|
|
|
font-weight: bold;
|
|
|
|
background: #16171a;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 10px;
|
2020-03-28 02:06:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.buttonContainer {
|
2020-03-31 02:16:08 +08:00
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
2020-03-28 02:06:07 +08:00
|
|
|
}
|
|
|
|
|
2020-03-29 00:36:59 +08:00
|
|
|
/*Neomorphic buttons*/
|
|
|
|
|
2020-03-30 02:59:59 +08:00
|
|
|
/*simple chat*/
|
2020-03-29 00:36:59 +08:00
|
|
|
|
2020-03-30 04:05:22 +08:00
|
|
|
#entire-chat {
|
2020-03-31 02:16:08 +08:00
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
right: 0;
|
2020-03-31 12:18:15 +08:00
|
|
|
width: 17.5vw;
|
2020-03-31 02:16:08 +08:00
|
|
|
padding: 0;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose {
|
2020-03-31 12:18:15 +08:00
|
|
|
width: calc(17.5vw - 40px);
|
|
|
|
height: 60px;
|
2020-03-31 02:16:08 +08:00
|
|
|
font-family: "Heebo", sans-serif;
|
2020-03-31 11:12:25 +08:00
|
|
|
position: fixed;
|
2020-03-31 02:16:08 +08:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2020-03-31 11:12:25 +08:00
|
|
|
z-index: 100;
|
2020-03-31 02:16:08 +08:00
|
|
|
border-radius: 20px;
|
|
|
|
box-shadow: 6px 6px 12px #030506, -6px -6px 12px #292a30;
|
|
|
|
margin: 20px;
|
|
|
|
box-sizing: border-box;
|
2020-03-31 12:18:15 +08:00
|
|
|
padding: 16px;
|
2020-03-31 11:12:25 +08:00
|
|
|
background: #1c1d22;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow: -moz-scrollbars-none;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
scrollbar-width: none;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
2020-03-31 12:18:15 +08:00
|
|
|
.compose input {
|
2020-03-31 02:16:08 +08:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
2020-04-01 00:21:49 +08:00
|
|
|
height: calc(100% - 5px);
|
2020-03-31 02:16:08 +08:00
|
|
|
resize: none;
|
|
|
|
outline: none;
|
2020-03-31 11:12:25 +08:00
|
|
|
background-color: inherit;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2020-03-31 12:18:15 +08:00
|
|
|
.compose input::placeholder {
|
2020-03-31 02:16:08 +08:00
|
|
|
color: white;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#chat-zone {
|
2020-03-31 02:16:08 +08:00
|
|
|
padding-top: 20px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: absolute;
|
2020-03-31 11:12:25 +08:00
|
|
|
height: 100%;
|
2020-03-31 02:16:08 +08:00
|
|
|
right: 0;
|
2020-03-31 12:18:15 +08:00
|
|
|
width: 17.5vw;
|
2020-03-31 02:16:08 +08:00
|
|
|
overflow: scroll;
|
|
|
|
font-family: "Heebo", sans-serif;
|
2020-03-31 11:12:25 +08:00
|
|
|
font-size: 0.8rem;
|
|
|
|
/*background: #1c1d22;*/
|
|
|
|
/*background: #16171a;*/
|
|
|
|
/*box-shadow: 9px 9px 16px #0a0b0c, -9px -9px 16px #222328;*/
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
2020-03-31 11:12:25 +08:00
|
|
|
#chat-zone::-webkit-scrollbar {
|
|
|
|
width: 0 !important;
|
|
|
|
}
|
2020-03-30 13:24:19 +08:00
|
|
|
|
2020-03-30 02:59:59 +08:00
|
|
|
#chat-zone .chat-messages .message-item {
|
2020-03-31 02:16:08 +08:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding: 0 16px 4px;
|
2020-03-31 11:12:25 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-messages {
|
|
|
|
overflow-x: hidden;
|
2020-03-31 12:18:15 +08:00
|
|
|
padding-bottom: 80px;
|
2020-03-31 11:12:25 +08:00
|
|
|
overflow: -moz-scrollbars-none;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#chat-zone .chat-messages .message-item.customer {
|
2020-03-31 02:16:08 +08:00
|
|
|
padding-left: 40px;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
2020-03-30 04:05:22 +08:00
|
|
|
/*Your messages*/
|
2020-03-30 02:59:59 +08:00
|
|
|
#chat-zone .message-item.moderator .message-bloc {
|
2020-03-31 02:16:08 +08:00
|
|
|
background-color: rgb(22, 23, 26);
|
|
|
|
color: #fff;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 12px;
|
|
|
|
max-width: 100%;
|
|
|
|
border-radius: 20px 20px 20px 5px;
|
|
|
|
box-shadow: 6px 6px 12px #030506, -6px -6px 12px #23242a;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
2020-03-30 04:05:22 +08:00
|
|
|
/*Recieved messages*/
|
2020-03-30 02:59:59 +08:00
|
|
|
#chat-zone .message-item.customer .message-bloc {
|
2020-03-31 02:16:08 +08:00
|
|
|
background-color: rgb(42, 43, 47);
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 20px 20px 5px 20px;
|
|
|
|
box-shadow: 6px 6px 12px #030506, -6px -6px 12px #22232a;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#chat-zone .chat-messages .message-item.customer .message-bloc {
|
2020-03-31 02:16:08 +08:00
|
|
|
margin-left: auto;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
2020-03-29 00:36:59 +08:00
|
|
|
|
2020-03-30 02:59:59 +08:00
|
|
|
#chat-zone .chat-messages .message-item .message-bloc {
|
2020-03-31 02:16:08 +08:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 12px;
|
|
|
|
max-width: 100%;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
2020-03-29 00:36:59 +08:00
|
|
|
|
2020-03-30 04:05:22 +08:00
|
|
|
.message {
|
2020-03-31 02:16:08 +08:00
|
|
|
word-break: break-all;
|
2020-03-30 02:59:59 +08:00
|
|
|
}
|
2020-03-29 00:36:59 +08:00
|
|
|
|
2020-04-01 00:21:49 +08:00
|
|
|
.message a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-03-31 02:16:08 +08:00
|
|
|
/*simple chat*/
|