fix: add responsive to main, offer, result sections

This commit is contained in:
2025-06-05 16:24:45 +03:00
parent 7d0fb5638e
commit 78f98a2a8c
8 changed files with 692 additions and 138 deletions

View File

@@ -6,13 +6,36 @@
width: 100%;
position: relative;
z-index: 2;
padding-left: 2vw;
@include iftablet{
}
@include iflaptop{
padding-left: rem(16px);
}
@include ifdesktop{
padding-left: rem(32px);
}
}
.Button {
position: absolute;
right: rem(2px);
top: calc(50% - 1.6rem);
z-index: 3;
right: rem(2px);
top: calc(50% - 1.2rem);
min-height: calc(100% - .25rem);
@include iftablet{
top: calc(50% - 1.2rem);
right: rem(3px);
}
@include iflaptop{
top: calc(50% - 1.4rem);
right: rem(4px);
}
@include ifdesktop{
top: calc(50% - 1.6rem);
right: rem(2px);
}
}

View File

@@ -2,19 +2,26 @@
display: flex;
align-items: center;
justify-content: center;
padding: rem(10px) rem(32px);
border-radius: rem(28px);
min-height: rem(54px);
padding: rem(8px) rem(28px);
border-radius: rem(20px);
min-height: rem(40px);
font-family: $font-open-sans;
font-weight: $font-regular;
font-size: rem(24px);
font-size: rem(16px);
line-height: 100%;
transition: all 0.15s linear;
white-space: nowrap;
width: max-content;
@include ifdesktop{
font-size: rem(24px);
padding: rem(10px) rem(32px);
border-radius: rem(28px);
min-height: rem(54px);
}
&_fullWidth {
width: 100%;
}

View File

@@ -3,16 +3,29 @@
background: $color-white;
border: 1px solid $color-darkgray;
border-radius: rem(28px);
padding: rem(10px) rem(24px);
padding: rem(8px) rem(20px);
transition: border ease .5s;
font-family: $font-open-sans;
font-weight: $font-regular;
font-size: rem(24px);
font-size: rem(18px);
line-height: 100%;
color: $color-text;
width: max-content;
@include iftablet{
font-size: rem(18px);
}
@include iflaptop{
font-size: rem(20px);
padding: rem(10px) rem(20px);
}
@include ifdesktop{
font-size: rem(24px);
}
&:focus {
border-color: $color-orange;
transition: border-color ease .5s;