2021-10-26 03:49:51 +08:00
|
|
|
import styled from 'styled-components';
|
2022-02-15 23:54:55 +08:00
|
|
|
import Modal from '/imports/ui/components/common/modal/simple/component';
|
2022-02-15 04:20:50 +08:00
|
|
|
import Button from '/imports/ui/components/common/button/component';
|
2021-11-17 01:15:02 +08:00
|
|
|
import { colorGrayDark, colorWhite } 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';
|
2021-10-26 03:49:51 +08:00
|
|
|
|
|
|
|
const ScreenShareModal = styled(Modal)`
|
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
|
|
|
`;
|
|
|
|
|
|
|
|
const ScreenShareButton = styled(Button)`
|
|
|
|
${({ ghost }) => ghost && `
|
|
|
|
span {
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: transparent !important;
|
2021-10-26 20:37:26 +08:00
|
|
|
border-color: ${colorWhite} !important;
|
2021-10-26 03:49:51 +08:00
|
|
|
}
|
|
|
|
`}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
ScreenShareModal,
|
|
|
|
Title,
|
|
|
|
ScreenShareButton,
|
|
|
|
};
|