2021-07-26 23:58:31 +00:00
|
|
|
/*
|
|
|
|
Copyright 2021 New Vector Ltd
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.room {
|
2021-08-05 00:29:52 +00:00
|
|
|
position: relative;
|
2021-07-26 23:58:31 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
2021-07-27 00:03:20 +00:00
|
|
|
position: relative;
|
2021-07-26 23:58:31 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 64px;
|
2021-08-05 00:29:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header h5 {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2021-07-27 00:03:20 +00:00
|
|
|
}
|
2021-07-26 23:58:31 +00:00
|
|
|
|
2021-07-30 21:29:08 +00:00
|
|
|
.backNav {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
|
2021-07-27 00:03:20 +00:00
|
|
|
.userNav {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
padding: 0 8px;
|
2021-08-05 00:32:28 +00:00
|
|
|
max-width: 30%;
|
2021-07-26 23:58:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.joinRoom {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2021-07-28 23:14:38 +00:00
|
|
|
flex: 1;
|
2021-07-26 23:58:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.joinRoom ul {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.joinRoom button {
|
|
|
|
border: none;
|
|
|
|
background: green;
|
|
|
|
color: white;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 8px 16px;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.joinRoom button:hover, .joinRoom button:active {
|
|
|
|
background: darkgreen;
|
|
|
|
}
|
|
|
|
|
|
|
|
.centerMessage {
|
|
|
|
display: flex;
|
2021-07-28 23:14:38 +00:00
|
|
|
flex: 1;
|
2021-07-26 23:58:31 +00:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.centerMessage p {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.roomContainer {
|
2021-07-27 00:16:04 +00:00
|
|
|
overflow: hidden;
|
2021-07-26 23:58:31 +00:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
2021-07-27 00:16:04 +00:00
|
|
|
flex-direction: column;
|
|
|
|
gap: 2px;
|
2021-08-05 00:29:52 +00:00
|
|
|
min-height: 0;
|
2021-07-26 23:58:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.participant {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
flex: 1;
|
2021-07-27 00:16:04 +00:00
|
|
|
flex-shrink: 1;
|
|
|
|
min-height: 0;
|
|
|
|
background-color: black;
|
2021-07-26 23:58:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.participant video {
|
2021-07-27 00:16:04 +00:00
|
|
|
max-height: 100%;
|
|
|
|
z-index: 0;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
max-width: 100%;
|
2021-07-26 23:58:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.participantLabel {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 8px 16px;
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
2021-07-27 00:16:04 +00:00
|
|
|
}
|
|
|
|
|
2021-07-27 20:26:18 +00:00
|
|
|
.footer {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
2021-07-27 00:16:04 +00:00
|
|
|
@media(min-width: 800px) {
|
2021-08-05 00:29:52 +00:00
|
|
|
.room {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
2021-07-27 00:16:04 +00:00
|
|
|
.roomContainer {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2021-07-26 23:58:31 +00:00
|
|
|
}
|