qcast-front/src/styles/_modal.scss
2024-09-10 10:27:57 +09:00

91 lines
1.9 KiB
SCSS

@keyframes mountpop{
from{opacity: 0; scale: 0.95;}
to{opacity: 1; scale: 1;}
}
@keyframes unmountpop{
from{opacity: 1; scale: 1;}
to{opacity: 0; scale: 0.95;}
}
.modal-pop-wrap{
position: fixed;
top: 200px;
right: 100px;
width: 100%;
min-width: 380px;
max-width: fit-content;
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
border: 1px solid #000;
border-radius: 4px;
background-color: #272727;
z-index: 9999999;
&.sm{
max-width: 450px;
}
&.mount{
animation: mountpop .17s ease-in-out forwards;
}
&.unmount{
animation: unmountpop .17s ease-in-out forwards;
}
}
.modal-head{
display: flex;
align-items: center;
padding: 10px 24px;
background-color: #000;
cursor: pointer;
h1.title{
font-size: 13px;
color: #fff;
font-weight: 700;
}
.modal-close{
margin-left: auto;
color: #fff;
text-indent: -999999999px;
width: 10px;
height: 10px;
background: url(../../public/static/images/canvas/modal_close.svg)no-repeat center;
}
}
.modal-body{
padding: 15px;
.modal-btn-wrap{
display: flex;
align-items: center;
gap: 5px;
button{
flex: 1;
}
}
.modal-check-btn-wrap{
margin-top: 15px;
.check-wrap-title{
font-size: 12px;
color: #fff;
font-weight: 600;
&.light{
font-weight: 400;
}
}
.flex-check-box{
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
&.for2{
button{
width: calc(50% - 5px);
}
}
&.for-line{
button{
flex: 1;
}
}
}
}
}