import styled from "styled-components" import breakpoint from "styled-components-breakpoint" export const ModalDialogContainer = styled.div.attrs({ className: "ContentRatingDialog" })` position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 13; overflow: scroll; background-color: rgba(0, 0, 0, 0.8); .dialog { width: 540px; position: absolute; top: 60px; left: 50%; margin-left: -270px; background-color: #fff; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3); border-radius: 2px; padding-bottom: 32px; .content { padding: 28px 40px 0 40px; box-sizing: border-box; } .action { text-align: right; .Button { margin: 0 5px; } } .rating-header { padding: 8px 13px 8px 13px; border: 5px solid ${(props) => props.theme.pumpkin}; display: inline-block; color: ${(props) => props.theme.pumpkin}; border-radius: 8px; box-sizing: border-box; } ${breakpoint("mobile", "tablet")` width: 300px; left: 50%; margin-left: -150px; .action{ display: flex; flex-direction: column; //flex: 1 1 auto; .PrimaryButton { margin: 3px 0 !important; width:100% ; } .SecondaryButton { margin: 3px 0 !important; width:100% ; } } `}; } `