mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-30 00:50:48 +08:00
218 lines
3.3 KiB
CSS
218 lines
3.3 KiB
CSS
/*
|
|
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 {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.inRoom {
|
|
position: fixed;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.joinRoom {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
}
|
|
|
|
.joinRoomContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.joinRoomContent h1 {
|
|
display: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.joinRoomFooter {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.homeLink {
|
|
margin-top: 50px;
|
|
color: #0dbd8b;
|
|
text-decoration: none;
|
|
font-weight: normal;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.preview {
|
|
position: relative;
|
|
min-height: 280px;
|
|
height: 50vh;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
background-color: var(--bgColor3);
|
|
margin: 40px 20px 20px 20px;
|
|
}
|
|
|
|
.preview video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
background-color: black;
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.webcamPermissions {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
margin: 0;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.previewButtons {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 66px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: rgba(23, 25, 28, 0.9);
|
|
}
|
|
|
|
.joinCallButton {
|
|
position: absolute;
|
|
width: 100%;
|
|
max-width: 222px;
|
|
height: 40px;
|
|
bottom: 86px;
|
|
left: 50%;
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.copyButton {
|
|
width: 320px !important;
|
|
}
|
|
|
|
.previewButtons > * {
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.previewButtons > :last-child {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.centerMessage {
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.centerMessage p {
|
|
display: block;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.roomContainer {
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.footer {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 64px;
|
|
}
|
|
|
|
.footer > * {
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.footer > :last-child {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.callEndedScreen h1 {
|
|
text-align: center;
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.callEndedScreen h2 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.callEndedScreen p {
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.callEndedScreen ul {
|
|
padding: 0;
|
|
margin-bottom: 40px;
|
|
text-align: initial;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.callEndedButton {
|
|
width: 100%;
|
|
}
|
|
|
|
.callEndedContent {
|
|
text-align: center;
|
|
max-width: 360px;
|
|
}
|
|
|
|
.avatar {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
@media (min-width: 800px) {
|
|
.roomContainer {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.footer {
|
|
height: 118px;
|
|
}
|
|
|
|
.joinRoomContent h1 {
|
|
display: block;
|
|
}
|
|
}
|