2021-10-26 03:49:51 +08:00
|
|
|
import styled from 'styled-components';
|
2023-03-20 21:08:35 +08:00
|
|
|
import ModalSimple from '/imports/ui/components/common/modal/simple/component';
|
2022-06-17 03:59:01 +08:00
|
|
|
import { colorGrayDark } from '/imports/ui/stylesheets/styled-components/palette';
|
2021-10-26 20:37:26 +08:00
|
|
|
import {
|
|
|
|
jumboPaddingY,
|
|
|
|
minModalHeight,
|
|
|
|
headingsFontWeight,
|
|
|
|
mdPaddingX,
|
|
|
|
} from '/imports/ui/stylesheets/styled-components/general';
|
|
|
|
import { fontSizeLarge } from '/imports/ui/stylesheets/styled-components/typography';
|
2024-07-31 02:53:49 +08:00
|
|
|
import SpinnerStyles from '/imports/ui/components/common/loading-screen/styles';
|
2021-10-26 03:49:51 +08:00
|
|
|
|
2023-03-20 21:08:35 +08:00
|
|
|
const ScreenShareModal = styled(ModalSimple)`
|
2021-10-26 20:37:26 +08:00
|
|
|
padding: ${jumboPaddingY};
|
|
|
|
min-height: ${minModalHeight};
|
2021-10-26 03:49:51 +08:00
|
|
|
text-align: center;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Title = styled.h3`
|
2021-10-26 20:37:26 +08:00
|
|
|
font-weight: ${headingsFontWeight};
|
|
|
|
font-size: ${fontSizeLarge};
|
2021-11-17 01:15:02 +08:00
|
|
|
color: ${colorGrayDark};
|
2021-10-26 03:49:51 +08:00
|
|
|
white-space: normal;
|
2021-10-26 20:37:26 +08:00
|
|
|
padding-bottom: ${mdPaddingX};
|
2021-10-26 03:49:51 +08:00
|
|
|
`;
|
|
|
|
|
2024-07-31 02:53:49 +08:00
|
|
|
const SpinnerOverlay = styled(SpinnerStyles.Spinner)`
|
|
|
|
& > div {
|
|
|
|
background-color: white;
|
|
|
|
height: 0.5625rem;
|
|
|
|
width: 0.5625rem;
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Bounce1 = styled(SpinnerStyles.Bounce1)`
|
|
|
|
height: 0.5625rem;
|
|
|
|
width: 0.5625rem;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Bounce2 = styled(SpinnerStyles.Bounce2)`
|
|
|
|
height: 0.5625rem;
|
|
|
|
width: 0.5625rem;
|
|
|
|
`;
|
|
|
|
|
2021-10-26 03:49:51 +08:00
|
|
|
export default {
|
|
|
|
ScreenShareModal,
|
|
|
|
Title,
|
2024-07-31 02:53:49 +08:00
|
|
|
SpinnerOverlay,
|
|
|
|
Bounce1,
|
|
|
|
Bounce2,
|
2021-10-26 03:49:51 +08:00
|
|
|
};
|