bugfix design

This commit is contained in:
Chneemann 2024-05-14 03:14:33 +02:00
parent 8c1bc2e0e5
commit 00019b9f0c
4 changed files with 120 additions and 12 deletions

View file

@ -128,6 +128,9 @@ section {
top: 73px; top: 73px;
} }
} }
.passwordEye {
top: 76px;
}
} }
.input-fields { .input-fields {

View file

@ -10,8 +10,10 @@
<div class="headline"> <div class="headline">
<app-btn-back></app-btn-back> <app-btn-back></app-btn-back>
<p>Sign up</p> <p>Sign up</p>
<div class="line">
<img src="./../../../assets/img/login/blue-line.svg" alt="" /> <img src="./../../../assets/img/login/blue-line.svg" alt="" />
</div> </div>
</div>
<div class="input-fields"> <div class="input-fields">
<input <input
type="name" type="name"

View file

@ -24,19 +24,21 @@ section {
font-weight: 700; font-weight: 700;
position: relative; position: relative;
} }
.line {
img { img {
padding: 12px 0 24px 0; width: 150px;
}
padding: 0 0 24px 0;
} }
} }
.headline { .headline {
position: relative; position: relative;
text-align: center; text-align: center;
width: 100%;
app-btn-back { app-btn-back {
position: absolute; position: absolute;
top: 20px; top: 20px;
left: -50px; left: -150px;
} }
} }
@ -61,33 +63,33 @@ section {
&:nth-child(2) { &:nth-child(2) {
position: absolute; position: absolute;
right: 0; right: 0;
top: 5px; top: 15px;
} }
&:nth-child(5) { &:nth-child(5) {
position: absolute; position: absolute;
right: 0; right: 0;
top: 92px; top: 102px;
} }
&:nth-child(8) { &:nth-child(8) {
position: absolute; position: absolute;
right: 0; right: 0;
top: 176px; top: 186px;
} }
&:nth-child(11) { &:nth-child(11) {
position: absolute; position: absolute;
right: 0px; right: 0px;
top: 262px; top: 272px;
} }
} }
.passwordEye { .passwordEye {
position: absolute; position: absolute;
right: -5px; right: -5px;
top: 176px; top: 186px;
} }
.passwordEyeConfirm { .passwordEyeConfirm {
position: absolute; position: absolute;
right: -5px; right: -5px;
top: 262px; top: 272px;
} }
.custom-input:focus + .custom-img { .custom-input:focus + .custom-img {
display: none; display: none;
@ -153,3 +155,104 @@ section {
} }
} }
} }
/*------------- RESPONSIVE -------------*/
@media screen and (max-width: 650px) {
.content {
width: 322px;
height: fit-content;
padding: 24px 48px;
p {
font-size: 47px;
}
.line {
img {
width: 125px;
}
}
}
.headline {
app-btn-back {
position: absolute;
top: 10px;
left: -100px;
}
}
}
@media (max-height: 550px) {
.content {
top: 45%;
}
}
@media screen and (max-width: 450px) {
.content {
width: 252px;
height: fit-content;
padding: 12px 24px;
p {
font-size: 36px;
}
.line {
img {
width: 100px;
}
}
}
.headline {
app-btn-back {
position: absolute;
top: 5px;
left: -70px;
}
}
.input-fields {
.custom-input {
font-size: 16px;
}
.custom-img {
&:nth-child(2) {
top: 15px;
}
&:nth-child(5) {
top: 90px;
}
&:nth-child(8) {
top: 162px;
}
&:nth-child(11) {
top: 237px;
}
}
.passwordEye {
top: 162px;
}
.passwordEyeConfirm {
top: 237px;
}
}
.input-fields {
width: 80%;
}
.error-msg {
height: 18px;
p {
font-size: 10px !important;
}
}
.privacy-policy {
.label {
p {
font-size: 12px;
}
}
}
}

View file

@ -25,7 +25,7 @@ import { User } from '../interfaces/user.interface';
export class LoginService { export class LoginService {
firestore: Firestore = inject(Firestore); firestore: Firestore = inject(Firestore);
passwordFieldType: string = 'password'; passwordFieldType: string = 'password';
passwordIcon: string = './assets/img/login/close-eye.svg'; passwordIcon: string = './../../../assets/img/login/close-eye.svg';
errorCode: string = ''; errorCode: string = '';
constructor( constructor(