feat: added callback
This commit is contained in:
86
assets/scss/_l-callback.scss
Normal file
86
assets/scss/_l-callback.scss
Normal file
@@ -0,0 +1,86 @@
|
||||
.callback {
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
margin: 100px 0 0;
|
||||
|
||||
@include tablet {
|
||||
margin: 60px 0 0;
|
||||
}
|
||||
|
||||
&__title {
|
||||
margin: 21px 0;
|
||||
color: $white;
|
||||
|
||||
@include tablet {
|
||||
margin: 21px 0 15px;
|
||||
}
|
||||
|
||||
& > span {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
&__wrapper {
|
||||
padding: 42px 64px;
|
||||
border-radius: 60px 10px;
|
||||
background: url(../img/grid.svg) center no-repeat;
|
||||
background-color: $blue;
|
||||
|
||||
@include desktop {
|
||||
padding: 40px 16px;
|
||||
margin: 0 -15px;
|
||||
}
|
||||
}
|
||||
|
||||
&__description {
|
||||
max-width: 900px;
|
||||
margin: 0 auto 35px;
|
||||
font-weight: 400;
|
||||
font-size: 21px;
|
||||
line-height: 139%;
|
||||
text-align: center;
|
||||
color: $white;
|
||||
|
||||
@include tablet {
|
||||
margin: 14px 0 37px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&__form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
margin: 0 0 27px;
|
||||
|
||||
& > * {
|
||||
flex: 0 0 calc(100% / 3 - 20px / 3 * 2);
|
||||
|
||||
@include desktop {
|
||||
flex: 0 0 calc(100% / 2 - 20px / 2);
|
||||
}
|
||||
|
||||
@include tablet {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
}
|
||||
|
||||
& > .button {
|
||||
max-width: none;
|
||||
justify-content: center;
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
&__disclaimer {
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
line-height: 138%;
|
||||
letter-spacing: 0.01em;
|
||||
text-align: center;
|
||||
color: rgba($color: $white, $alpha: 0.4);
|
||||
}
|
||||
}
|
||||
43
assets/scss/_m-input.scss
Normal file
43
assets/scss/_m-input.scss
Normal file
@@ -0,0 +1,43 @@
|
||||
.input {
|
||||
display: block;
|
||||
padding: 27px 24px 25px;
|
||||
box-sizing: border-box;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 140%;
|
||||
color: $white;
|
||||
border: 1px solid $white;
|
||||
border-radius: 60px;
|
||||
background-color: $blue;
|
||||
outline-color: rgba($color: $white, $alpha: 0.1);
|
||||
|
||||
@include tablet {
|
||||
padding: 21px 24px 18px;
|
||||
font-size: 17px;
|
||||
line-height: 140%;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
&--name {
|
||||
background: url(../img/icons/accountInput.svg) center left 31px no-repeat;
|
||||
}
|
||||
|
||||
&--phone {
|
||||
background: url(../img/icons/phoneInput.svg) center left 31px no-repeat;
|
||||
}
|
||||
|
||||
&--name,
|
||||
&--phone {
|
||||
padding-left: 80px;
|
||||
|
||||
@include tablet {
|
||||
padding-left: 60px;
|
||||
background-position: center left 20px ;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,7 @@
|
||||
@import './m-social-link';
|
||||
@import './m-button';
|
||||
@import './m-tag';
|
||||
@import './m-input';
|
||||
|
||||
// Layouts
|
||||
|
||||
@@ -30,3 +31,4 @@
|
||||
@import './l-price';
|
||||
@import './l-team';
|
||||
@import './l-faq';
|
||||
@import './l-callback';
|
||||
|
||||
Reference in New Issue
Block a user