46 lines
941 B
React
46 lines
941 B
React
|
import styled from "styled-components";
|
||
|
import { color } from "../../style/varibles";
|
||
|
|
||
|
const ModalOverlayStyled = styled.div`
|
||
|
display: ${({modal}) => (modal ? "flex" : "none")};
|
||
|
position: absolute;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
height: 100vh;
|
||
|
background-color: #00000050;
|
||
|
z-index: 9999;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
`;
|
||
|
|
||
|
const ConfirmationModalStyled = styled.div`
|
||
|
position: relative;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
margin: 0 auto;
|
||
|
padding: 16px;
|
||
|
justify-content: center;
|
||
|
text-align: center;
|
||
|
z-index: 10000;
|
||
|
border-radius: 5px;
|
||
|
background-color: ${color.pricinpal.grisOscuro};
|
||
|
width: 50%;
|
||
|
h1 {
|
||
|
margin: 16px 0;
|
||
|
}
|
||
|
p {
|
||
|
font-size: 18px;
|
||
|
margin: 16px 0;
|
||
|
}
|
||
|
`;
|
||
|
|
||
|
const ModalConfirmationBtns = styled.div`
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-evenly;
|
||
|
`;
|
||
|
|
||
|
export { ConfirmationModalStyled, ModalOverlayStyled, ModalConfirmationBtns };
|
||
|
|