update responsive design
This commit is contained in:
parent
0a3d6fa355
commit
e8079a7c82
2 changed files with 51 additions and 22 deletions
|
|
@ -8,7 +8,9 @@
|
||||||
>
|
>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>{{ "login.login" | translate }}</p>
|
<p>{{ "login.login" | translate }}</p>
|
||||||
<img src="./../../../assets/img/login/blue-line.svg" alt="" />
|
<div class="line">
|
||||||
|
<img src="./../../../assets/img/login/blue-line.svg" alt="" />
|
||||||
|
</div>
|
||||||
<div class="input-fields">
|
<div class="input-fields">
|
||||||
<input
|
<input
|
||||||
type="mail"
|
type="mail"
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,12 @@ section {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 50%;
|
right: 50%;
|
||||||
transform: translate(50%, -50%);
|
transform: translate(50%, -50%);
|
||||||
width: 422px;
|
width: 482px;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
background: var(--white);
|
background: var(--white);
|
||||||
box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.05);
|
box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.05);
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
padding: 48px 96px;
|
padding: 48px 64px;
|
||||||
p {
|
p {
|
||||||
font-size: 61px;
|
font-size: 61px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
@ -33,7 +33,7 @@ section {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 90%;
|
||||||
.custom-input::-webkit-contacts-auto-fill-button {
|
.custom-input::-webkit-contacts-auto-fill-button {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -89,31 +89,62 @@ section {
|
||||||
|
|
||||||
/*------------- RESPONSIVE -------------*/
|
/*------------- RESPONSIVE -------------*/
|
||||||
|
|
||||||
@media screen and (max-width: 650px) {
|
|
||||||
.content {
|
|
||||||
width: 322px;
|
|
||||||
height: fit-content;
|
|
||||||
padding: 24px 48px;
|
|
||||||
p {
|
|
||||||
font-size: 47px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-height: 800px) {
|
@media (max-height: 800px) {
|
||||||
.content {
|
.content {
|
||||||
top: 40%;
|
top: 40%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 650px) {
|
||||||
|
.content {
|
||||||
|
width: 352px;
|
||||||
|
height: fit-content;
|
||||||
|
padding: 24px 36px;
|
||||||
|
p {
|
||||||
|
font-size: 47px;
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
img {
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 450px) {
|
@media screen and (max-width: 450px) {
|
||||||
.content {
|
.content {
|
||||||
width: 252px;
|
width: calc(100vw - 84px);
|
||||||
height: fit-content;
|
padding: 24px 36px;
|
||||||
padding: 12px 24px;
|
|
||||||
p {
|
p {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
}
|
}
|
||||||
|
.line {
|
||||||
|
img {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.error-msg {
|
||||||
|
height: 21px;
|
||||||
|
p {
|
||||||
|
font-size: 11px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 360px) {
|
||||||
|
.content {
|
||||||
|
width: calc(100vw - 60px);
|
||||||
|
padding: 12px 24px;
|
||||||
|
p {
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
img {
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-fields {
|
.input-fields {
|
||||||
|
|
@ -134,10 +165,6 @@ section {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-fields {
|
|
||||||
width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.error-msg {
|
.error-msg {
|
||||||
height: 18px;
|
height: 18px;
|
||||||
p {
|
p {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue