File: /var/www/quadcode/one-time-popup/src/scss/components/popup-form/form-message.scss
@use '../../utils/media';
@use '../../utils/variables';
.form-message {
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
display: none;
&__icon {
display: flex;
justify-content: center;
margin-bottom: 4rem;
}
&__title {
margin-bottom: 1.5rem;
}
&__text {
margin-bottom: 3.5rem;
}
}
.one-time-invitation-form-message {
width: 100%;
max-width: 485px;
align-items: center;
justify-content: center;
text-align: center;
display: flex;
flex-direction: column;
background: variables.$white;
padding: 70px 70px 77px;
gap: 7px;
border-radius: 20px;
position: relative;
@include media.breakpoint-down('deskL') {
max-width: 377px;
border-radius: 16px;
padding: 63px 70px 67px;
gap: 7px;
}
@include media.breakpoint-down('tabL') {
max-width: 271px;
padding: 46px;
padding: 45px 34px 47px;
}
@include media.breakpoint-down('tabM') {
max-width: 193px;
padding: 30px;
}
&__inner {
flex: 1;
display: flex;
flex-direction: column;
font-size: 32px;
line-height: 35.2px;
font-weight: 700;
gap: 18px;
@include media.breakpoint-down('deskL') {
font-size: 22px;
line-height: 26.4px;
gap: 10px;
}
@include media.breakpoint-down('tabL') {
font-size: 18px;
line-height: 19.8px;
}
@include media.breakpoint-down('tabM') {
font-size: 14px;
line-height: 15.4px;
}
}
&__icon {
display: flex;
justify-content: center;
margin-bottom: 24px;
@include media.breakpoint-down('deskL') {
width: 72px;
height: 72px;
}
@include media.breakpoint-down('tabL') {
width: 49px;
height: 49px;
margin-bottom: 13px;
}
@include media.breakpoint-down('tabM') {
width: 38px;
height: 38px;
margin-bottom: 9px;
}
& svg {
width: 100%;
height: 100%;
}
}
&__title {
margin-bottom: 16px;
color: variables.$primary;
@include media.breakpoint-down('tabL') {
margin-bottom: 10px;
}
@include media.breakpoint-down('tabM') {
margin-bottom: 3px;
}
}
&__text {
color: variables.$primary;
}
&__actions {
display: flex;
align-items: flex-end;
flex: 1;
}
.button {
margin: 40px auto 0;
width: 100%;
}
&--inmodal {
margin-top: 125px;
@include media.breakpoint-down('deskS') {
margin-top: 123px;
}
@include media.breakpoint-down('tabL') {
margin-top: 20px;
}
}
}