element-call/src/Room.module.css
Robert Long 9d0162e475 WIP
2021-08-19 17:49:45 -07:00

97 lines
No EOL
1.6 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;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.joinRoom {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
}
.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;
flex: 1;
justify-content: center;
align-items: center;
}
.centerMessage p {
display: block;
}
.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: 118px;
}
.footer > * {
margin-right: 30px;
}
.footer > :last-child {
margin-right: 0px;
}
@media(min-width: 800px) {
.room {
position: fixed;
}
.roomContainer {
flex-direction: row;
}
}