import styled from 'styled-components' import {rem, zIndex} from '../../style/function.style' export const ModalContainer = styled.div` position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: ${zIndex('modal')}; .m-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.4); z-index: 0; } p { text-align: justify; } .m-confirmModal{ position: absolute; width: ${rem(540)}; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); border-radius: ${rem(10)}; background: #fff; .inner { padding: ${rem(50)} ${rem(56)}; } .title { margin-bottom: ${rem(30)}; font-size: ${rem(34)}; color: #595550; line-height: 1; text-align: center; h2 { font-weight: bold; } } .content { p { font-size: ${rem(36)}; line-height: ${rem(44)}; } } .action { border-top: 1px solid rgba(0, 0, 0, .05); .btn { display: inline-block; width: 50%; font-size: ${rem(36)}; box-sizing: border-box; padding: ${rem(22)} 0; text-align: center; } .btn-cancel { border-right: 1px solid rgba(0, 0, 0, .05); color: #807A73; } .btn-ok { color: #4DA8F7; } } } `