first commit
This commit is contained in:
624
badanie/layout/style-scss/style.scss
Normal file
624
badanie/layout/style-scss/style.scss
Normal file
@@ -0,0 +1,624 @@
|
||||
// out: ../style-css/style.css, compress: true, sourceMap: true
|
||||
@import "_mixins";
|
||||
$cGrayBg: #ededef;
|
||||
$cBlack: #000;
|
||||
$cYellow: #FFBF0D;
|
||||
$font-1: 'DM Sans',
|
||||
sans-serif;
|
||||
|
||||
body {
|
||||
font-family: $font-1;
|
||||
}
|
||||
.container {
|
||||
@include respond-above(lg) {
|
||||
max-width: 1400px;
|
||||
}
|
||||
}
|
||||
.img-100 {
|
||||
max-width: 100%;
|
||||
}
|
||||
.btn {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0px;
|
||||
color: $cBlack;
|
||||
background: $cYellow;
|
||||
padding: 10px 32px;
|
||||
border-radius: 0;
|
||||
&:focus{
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
.btn2{
|
||||
padding: 7px 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 15px;
|
||||
color: $cBlack;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
img{
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.btn3{
|
||||
padding: 7px 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 15px;
|
||||
color: #fff;
|
||||
background: $cBlack;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0px;
|
||||
color: $cBlack;
|
||||
|
||||
@include respond-between( md, lg ) {
|
||||
font-size: 34px;
|
||||
}
|
||||
@include respond-between( xs, md ) {
|
||||
font-size: 32px;
|
||||
}
|
||||
@include respond-below( xs ) {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
font-size: 22px;
|
||||
font-weight: 400;
|
||||
line-height: 40px;
|
||||
letter-spacing: 0px;
|
||||
color: $cBlack;
|
||||
@include respond-below( xs ) {
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
}
|
||||
}
|
||||
.padding70 {
|
||||
padding-top: 70px;
|
||||
padding-bottom: 70px;
|
||||
}
|
||||
|
||||
|
||||
.top{
|
||||
padding: 25px 0;
|
||||
a{
|
||||
font-size: 15px;
|
||||
color: $cBlack;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
div[class^="col-"]{
|
||||
&:first-child{
|
||||
@include respond-between( sm, md ) {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
@include respond-between( sm, md ) {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
ul{
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
padding-inline-start: 0;
|
||||
margin-bottom: 0;
|
||||
@include respond-below( sm ) {
|
||||
display: none;
|
||||
}
|
||||
li{
|
||||
a{
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.btn2{
|
||||
margin-right: 5px;
|
||||
@include respond-below( lg ) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.btn3{
|
||||
color: #fff;
|
||||
@include respond-below( lg ) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.mobile-btn-container{
|
||||
border: 1px solid #ccc;
|
||||
padding: 2px 10px;
|
||||
border-radius: 4px;
|
||||
touch-action: none;
|
||||
@include respond-above( sm) {
|
||||
display: none;
|
||||
}
|
||||
.mobile-button {
|
||||
touch-action: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mobile-menu-container{
|
||||
|
||||
@include respond-above( sm) {
|
||||
display: none;
|
||||
}
|
||||
@include respond-below( sm) {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
||||
height: 0px;
|
||||
transition: all .3s ease;
|
||||
&.open{
|
||||
|
||||
height: 174px;
|
||||
|
||||
}
|
||||
}
|
||||
@media (max-width: 407px){
|
||||
|
||||
&.open{
|
||||
|
||||
height: 222px;
|
||||
|
||||
}
|
||||
}
|
||||
.menu-box{
|
||||
|
||||
display: block;
|
||||
list-style-type: none;
|
||||
padding-inline-start: 0;
|
||||
margin-bottom: 10px;;
|
||||
|
||||
li{
|
||||
a{
|
||||
padding: 0 10px;
|
||||
|
||||
font-size: 15px;
|
||||
color: $cBlack;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.buttons-box{
|
||||
@include respond-above( xs ) {
|
||||
display: flex;
|
||||
}
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.btn2{
|
||||
margin-right: 5px;
|
||||
display: inline-block;
|
||||
@include respond-below( sm ) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
.btn3{
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
@include respond-below( sm ) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.baner {
|
||||
background: $cGrayBg;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@include respond-below( sm ) {
|
||||
padding-top: 50px;
|
||||
}
|
||||
h1 {
|
||||
@extend .title;
|
||||
margin-bottom: 40px;
|
||||
@include respond-between( sm, md ) {
|
||||
font-size: 30px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@include respond-below( xs ) {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
div[class^="col-"]:first-child {
|
||||
z-index: 7;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
a {
|
||||
@extend .btn;
|
||||
}
|
||||
}
|
||||
div[class^="col-"]:last-child{
|
||||
z-index: 7;
|
||||
@include respond-below( sm ) {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
img{
|
||||
margin-top: 50px;
|
||||
@include respond-between( xs, sm ) {
|
||||
width: 60%;
|
||||
margin-top: -60px;
|
||||
}
|
||||
@include respond-below( xs ) {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
.banner-star{
|
||||
position: absolute;
|
||||
left: 28px;
|
||||
bottom: -273px;
|
||||
|
||||
@include respond-between( md, lg ) {
|
||||
left: -117px;
|
||||
bottom: -294px;
|
||||
|
||||
}
|
||||
|
||||
@include respond-between( xs, md ) {
|
||||
left: -40px;
|
||||
bottom: -220px;
|
||||
}
|
||||
@include respond-below( xs ) {
|
||||
display: none;
|
||||
|
||||
}
|
||||
img{
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
z-index: 2;
|
||||
@include respond-between( xs, md ) {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box {
|
||||
padding-top: 101px;
|
||||
padding-bottom: 75px;
|
||||
|
||||
p {
|
||||
width: 80%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
@extend .text;
|
||||
position: relative;
|
||||
margin-bottom: 55px;
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
top: -30px;
|
||||
width: 200px;
|
||||
height: 2px;
|
||||
background: $cYellow;
|
||||
}
|
||||
}
|
||||
.img-box {
|
||||
padding: 50px 30px;
|
||||
box-shadow: rgba(255, 230, 159, .2) 0px 2px 23px 8px;
|
||||
border: 1px solid #e4e4e4;
|
||||
border-radius: 29px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@include respond-below( xs ) {
|
||||
display: block;
|
||||
}
|
||||
div {
|
||||
width: 20%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@include respond-below( xs ) {
|
||||
width: 100%;
|
||||
}
|
||||
&:not(:last-child) {
|
||||
border-right: 1px solid #e9e9e9;
|
||||
@include respond-below( xs ) {
|
||||
border-right: none;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
}
|
||||
img{
|
||||
@include respond-above( lg ) {
|
||||
width: 75%;
|
||||
}
|
||||
@include respond-between( sm, lg ) {
|
||||
width: 80%;
|
||||
}
|
||||
@include respond-between( xs, sm ) {
|
||||
width: 80%;
|
||||
}
|
||||
@include respond-below( xs ) {
|
||||
max-width: 150px;
|
||||
}
|
||||
}
|
||||
&:nth-child(3){
|
||||
img{
|
||||
|
||||
@include respond-above( md ) {
|
||||
margin-top: -21px;
|
||||
}
|
||||
@include respond-between( sm, md ) {
|
||||
margin-top: -15px;
|
||||
}
|
||||
|
||||
@include respond-between( xs, sm ) {
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.yellow-box {
|
||||
@extend .padding70;
|
||||
background: $cYellow;
|
||||
|
||||
.row {
|
||||
&:first-child {
|
||||
text-align: center;
|
||||
|
||||
h2 {
|
||||
@extend .title;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
div[class^="col-"] {
|
||||
div {
|
||||
|
||||
background: #fff;
|
||||
padding: 40px 30px;
|
||||
border-radius: 12px;
|
||||
|
||||
@include respond-above( lg ) {
|
||||
min-height: 404px;
|
||||
|
||||
}
|
||||
@include respond-between( md, lg ) {
|
||||
min-height: 436px;
|
||||
}
|
||||
@include respond-below( md ) {
|
||||
margin-bottom: 40px;
|
||||
|
||||
}
|
||||
p, h3{
|
||||
@extend .text;
|
||||
|
||||
}
|
||||
p{
|
||||
line-height: 32px;
|
||||
}
|
||||
img {
|
||||
height: 70px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
div{
|
||||
@include respond-below( md ) {
|
||||
margin-bottom: 0px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.benefits {
|
||||
|
||||
@extend .box;
|
||||
|
||||
.row {
|
||||
&:first-child {
|
||||
text-align: center;
|
||||
@extend .padding70;
|
||||
padding-top: 30px;
|
||||
|
||||
|
||||
h2 {
|
||||
@extend .title;
|
||||
padding-top: 0;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 3px;
|
||||
width: 185px;
|
||||
background: #FFBF0D;
|
||||
position: absolute;
|
||||
top: -31px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
div[class^="col-"]:first-child {
|
||||
@include respond-below( md ) {
|
||||
text-align: center;
|
||||
}
|
||||
img{
|
||||
@include respond-below( md ) {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.benefits2{
|
||||
background: #F9F9F9;
|
||||
padding-top: 100px;
|
||||
padding-bottom: 100px;
|
||||
text-align: center;
|
||||
.content{
|
||||
max-width: 800px;
|
||||
.dot{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
.benefits3{
|
||||
padding-top: 100px;
|
||||
padding-bottom: 100px;
|
||||
div[class^="col-"]:last-child{
|
||||
@include respond-below( md ) {
|
||||
text-align: center;
|
||||
}
|
||||
img{
|
||||
@include respond-below( md ) {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.flex-align-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-justify-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.dot {
|
||||
background: $cYellow;
|
||||
color: #FFF;
|
||||
height: 67px;
|
||||
width: 67px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
font-size: 36px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.dot-text {
|
||||
font-size: 22px;
|
||||
line-height: 40px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.benefits {
|
||||
&.gray-bg {
|
||||
background: #F9F9F9;
|
||||
|
||||
.content {
|
||||
max-width: 755px;
|
||||
text-align: center;
|
||||
|
||||
.dot {
|
||||
margin: 0 auto 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-bottom {
|
||||
@extend .box;
|
||||
|
||||
&.gray-bg {
|
||||
background: #F9F9F9;
|
||||
|
||||
.star {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@extend .title;
|
||||
position: relative;
|
||||
padding-bottom: 35px;
|
||||
margin-bottom: 25px;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
height: 3px;
|
||||
background: #FFBF0D;
|
||||
width: 185px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.form-footer{
|
||||
background: #fff;
|
||||
padding: 50px 30px;
|
||||
border: 1px solid $cYellow;
|
||||
@include respond-below( md ) {
|
||||
margin-top: 50px;
|
||||
|
||||
}
|
||||
h3{
|
||||
@extend .text;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.footer{
|
||||
background: #000;
|
||||
padding-top: 25px;
|
||||
padding-bottom: 25px;
|
||||
p{
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 18px;
|
||||
text-align: left;
|
||||
color: #fff;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user