2021-07-26 16:58:31 -07: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-04 17:29:52 -07:00
|
|
|
position: relative;
|
2021-07-26 16:58:31 -07:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.joinRoom {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
2021-07-28 16:14:38 -07:00
|
|
|
flex: 1;
|
2021-08-23 12:50:19 -07:00
|
|
|
overflow: hidden;
|
|
|
|
|
margin-bottom: 20px;
|
2021-07-26 16:58:31 -07:00
|
|
|
}
|
|
|
|
|
|
2021-08-20 17:02:47 -07:00
|
|
|
.preview {
|
|
|
|
|
position: relative;
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
border-radius: 24px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #444;
|
|
|
|
|
margin: 40px 20px 20px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview video {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.webcamPermissions {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.previewButtons {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.previewButtons > * {
|
|
|
|
|
margin-right: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.previewButtons > :last-child {
|
|
|
|
|
margin-right: 0px;
|
2021-07-26 16:58:31 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.centerMessage {
|
|
|
|
|
display: flex;
|
2021-07-28 16:14:38 -07:00
|
|
|
flex: 1;
|
2021-07-26 16:58:31 -07:00
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.centerMessage p {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.roomContainer {
|
2021-07-26 17:16:04 -07:00
|
|
|
overflow: hidden;
|
2021-07-26 16:58:31 -07:00
|
|
|
display: flex;
|
|
|
|
|
flex: 1;
|
2021-07-26 17:16:04 -07:00
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 2px;
|
2021-08-04 17:29:52 -07:00
|
|
|
min-height: 0;
|
2021-07-26 16:58:31 -07:00
|
|
|
}
|
|
|
|
|
|
2021-07-27 13:26:18 -07:00
|
|
|
.footer {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2021-08-23 12:50:19 -07:00
|
|
|
height: 64px;
|
2021-08-19 12:11:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer > * {
|
|
|
|
|
margin-right: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer > :last-child {
|
|
|
|
|
margin-right: 0px;
|
2021-07-27 13:26:18 -07:00
|
|
|
}
|
|
|
|
|
|
2021-07-26 17:16:04 -07:00
|
|
|
@media(min-width: 800px) {
|
2021-08-04 17:29:52 -07:00
|
|
|
.room {
|
|
|
|
|
position: fixed;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-26 17:16:04 -07:00
|
|
|
.roomContainer {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
2021-08-23 12:50:19 -07:00
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
|
height: 118px;
|
|
|
|
|
}
|
2021-07-26 16:58:31 -07:00
|
|
|
}
|