Styling changes

This commit is contained in:
Robert Long 2021-08-20 09:28:11 -07:00
commit 038fd643a5
4 changed files with 7 additions and 18 deletions

View file

@ -95,6 +95,7 @@
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
text-align: center; text-align: center;
font-weight: 700;
} }
.button:hover { .button:hover {

View file

@ -26,7 +26,8 @@ import {
MicButton, MicButton,
VideoButton, VideoButton,
} from "./RoomButton"; } from "./RoomButton";
import { Header, LeftNav, RightNav } from "./Header"; import { Header, LeftNav, RightNav, CenterNav } from "./Header";
import { Button } from "./Input";
function useQuery() { function useQuery() {
const location = useLocation(); const location = useLocation();
@ -97,9 +98,9 @@ export function Room({ manager }) {
<li key={member.userId}>{member.name}</li> <li key={member.userId}>{member.name}</li>
))} ))}
</ul> </ul>
<button disabled={joining} onClick={joinCall}> <Button disabled={joining} onClick={joinCall}>
Join Call Join Call
</button> </Button>
</div> </div>
)} )}
{!loading && room && joined && participants.length === 0 && ( {!loading && room && joined && participants.length === 0 && (

View file

@ -35,21 +35,6 @@ limitations under the License.
padding-left: 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 { .centerMessage {
display: flex; display: flex;
flex: 1; flex: 1;

View file

@ -23,6 +23,7 @@ limitations under the License.
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 0; padding: 0;
border: none;
} }
.roomButton:hover { .roomButton:hover {
@ -46,6 +47,7 @@ limitations under the License.
background-color: transparent; background-color: transparent;
border-radius: 32px; border-radius: 32px;
padding: 0; padding: 0;
border: none;
} }
.headerButton:hover { .headerButton:hover {