bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/waiting-users/guest-policy/styles.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-11-03 20:12:32 +08:00
import styled from 'styled-components';
import { colorGrayDark, colorGray } from '/imports/ui/stylesheets/styled-components/palette';
import {
jumboPaddingY,
lgPaddingX,
lgPaddingY,
titlePositionLeft,
modalMargin,
} from '/imports/ui/stylesheets/styled-components/general';
import { fontSizeLarge } from '/imports/ui/stylesheets/styled-components/typography';
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-03 20:12:32 +08:00
const GuestPolicyModal = styled(Modal)``;
2021-11-03 20:12:32 +08:00
const Container = styled.div`
margin: 0 ${modalMargin} ${lgPaddingX};
`;
const Description = styled.div`
text-align: center;
color: ${colorGray};
margin-bottom: ${jumboPaddingY};
`;
const Content = styled.div`
display: flex;
flex-direction: column;
align-items: center;
`;
const GuestPolicyButton = styled(Button)`
width: 200px;
box-sizing: border-box;
margin: 5px;
${({ disabled }) => disabled && `
& > span {
text-decoration: underline;
}
`}
`;
export default {
GuestPolicyModal,
Container,
Description,
Content,
GuestPolicyButton,
};