bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/join-handler/guest-wait/styles.ts
João Victor Nunes 5d3178f15d
refactor(guest-wait): turn guest wait page into a React component (#20344)
* refactor(guest-wait): turn guest wait page into a React component

* Fix rendering when the meeting is ended

* refactor(guest-wait): Backend portion for migration of `guest-wait` to Graphql

* Add message timeout

* Remove static guest wait page

---------

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-06-05 17:41:23 -03:00

72 lines
1.1 KiB
TypeScript

import styled, { keyframes } from 'styled-components';
const Container = styled.div`
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
`;
const Content = styled.div`
text-align: center;
color: white;
font-weight: bold;
font-size: 24px;
`;
const Heading = styled.h1`
font-size: 2rem;
`;
const Position = styled.div`
align-items: center;
text-align: center;
`;
const sk_bouncedelay = keyframes`
0%,
80%,
100% {
transform: scale(0);
}
40% {
transform: scale(1.0);
}
`;
const Spinner = styled.div`
margin: 20px auto;
font-size: 0px;
`;
const Bounce = styled.div`
width: 18px;
height: 18px;
margin: 0 5px;
background-color: rgb(255, 255, 255);
display: inline-block;
border-radius: 100%;
animation: ${sk_bouncedelay} calc(1.4s) infinite ease-in-out both;
`;
const Bounce1 = styled(Bounce)`
animation-delay: -0.32s;
`;
const Bounce2 = styled(Bounce)`
animation-delay: -0.16s;
`;
export default {
Container,
Content,
Heading,
Position,
Bounce,
Bounce1,
Bounce2,
Spinner,
};