51 lines
1.1 KiB
JavaScript
51 lines
1.1 KiB
JavaScript
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';
|
|
import Modal from '/imports/ui/components/common/modal/simple/component';
|
|
import Button from '/imports/ui/components/common/button/component';
|
|
|
|
const GuestPolicyModal = styled(Modal)``;
|
|
|
|
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,
|
|
};
|