File: /var/www/quadcode/frontend/src/style/widgets/popupModalLayoutTest/modal.scss
.one-time-invitation-modal {
background: #000000CC;
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 101;
opacity: 0;
pointer-events: none;
transition: .4s ease-in-out;
// @include breakpoint-down('deskI') {
// z-index: 90;
// }
&__container {
display: flex;
align-items: center;
justify-content: center;
margin: auto;
height: 100%;
overflow-y: auto;
width: 893px;
&::-webkit-scrollbar {
width: 0;
}
@include breakpoint-down('tabL') {
height: 100%;
overflow-y: auto;
width: 98%;
margin: auto;
&::-webkit-scrollbar {
width: 0;
}
}
@include breakpoint-down('tabM') {
max-width: 359px;
margin: auto;
width: 100%;
}
}
&.active {
opacity: 1;
pointer-events: all;
}
&__content {
background: #FFFFFF;
position: relative;
width: 100%;
display: flex;
align-items: center;
padding: 36px 11px 43px 39px;
border-radius: 20px;
@include breakpoint-down('tabL') {
padding: 47px 11px 43px 39px;
}
@include breakpoint-down('tabM') {
padding: 24px 10px 24px 10px;
}
&-left {
width: 50%;
padding-right: 20px;
img {
width: 100%;
height: auto;
max-width: 300px;
}
@include breakpoint-down('tabL') {
padding-right: 20px;
}
@include breakpoint-down('tabM') {
display: none;
}
}
&-right {
padding-top: 22px;
width: 53%;
@include breakpoint-down('tabL') {
padding-top: 0;
}
@include breakpoint-down('tabM') {
width: 100%;
border: none;
}
}
}
&__close {
position: absolute;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
background: $dove;
border-radius: 100%;
z-index: 2;
width: 43px;
height: 44px;
top: 20px;
right: 20px;
@include breakpoint-down('tabL') {
width: 22px;
height: 22px;
top: 18px;
right: 18px;
}
@include breakpoint-down('tabM') {
top: 38px;
right: 23px;
}
}
}