diff --git a/frontend/src/app/components/auth/auth.component.html b/frontend/src/app/components/auth/auth.component.html index 64d268a..d933059 100644 --- a/frontend/src/app/components/auth/auth.component.html +++ b/frontend/src/app/components/auth/auth.component.html @@ -5,8 +5,6 @@

Enter your email to create or restart your subscription.

diff --git a/frontend/src/app/components/auth/auth.component.scss b/frontend/src/app/components/auth/auth.component.scss index adbf5e4..87817b1 100644 --- a/frontend/src/app/components/auth/auth.component.scss +++ b/frontend/src/app/components/auth/auth.component.scss @@ -1,4 +1,5 @@ @import "./../../../assets/style/colors.scss"; +@import "./../../../assets/style/form.scss"; section { display: flex; @@ -38,10 +39,8 @@ section { } } -.register-form { - display: flex; - align-items: center; - justify-content: space-between; +form { + flex-direction: row; position: relative; width: 500px; padding: 24px; @@ -49,43 +48,22 @@ section { width: 70%; padding: 12px 18px; margin: 8px 0; - box-sizing: border-box; - background: transparent; + color: $white; border: 2px solid $white; border-radius: 24px; font-size: 18px; - font-weight: 400; - transition: background-color 250ms ease-in-out, color 250ms ease-in-out, - border-color 250ms ease-in-out; &::placeholder { color: rgba($white, 0.6); } - &:focus { - outline: none; - background-color: rgba($white, 0.1); - } } .error-border { border: 2px solid $red; - color: $red; - &::placeholder { - color: $red; - } } } .error-msg { - display: flex; - align-items: center; - justify-content: center; position: absolute; bottom: 0; - height: 24px; padding: 6px; width: 62%; - p { - color: $red; - font-size: 12px !important; - font-weight: 400 !important; - } } diff --git a/frontend/src/app/components/auth/login/login.component.html b/frontend/src/app/components/auth/login/login.component.html index 3b41349..3560460 100644 --- a/frontend/src/app/components/auth/login/login.component.html +++ b/frontend/src/app/components/auth/login/login.component.html @@ -2,8 +2,6 @@
Log in
Password is too short, min 6 characters

} }
+
+ + +
+
diff --git a/frontend/src/app/components/auth/login/login.component.scss b/frontend/src/app/components/auth/login/login.component.scss index a868a6d..5cdaf20 100644 --- a/frontend/src/app/components/auth/login/login.component.scss +++ b/frontend/src/app/components/auth/login/login.component.scss @@ -1,4 +1,5 @@ @import "./../../../../assets/style/colors.scss"; +@import "./../../../../assets/style/form.scss"; section { display: flex; @@ -26,6 +27,7 @@ section { padding: 43px 56px; border-radius: 48px; background-color: $white; + position: relative; .headline { font-size: 48px; font-weight: 700; @@ -37,59 +39,48 @@ section { } } -.error-msg { +.checkbox { display: flex; align-items: center; - justify-content: center; + width: 90%; height: 24px; - padding: 6px; - width: 120%; - p { - color: $red; - font-size: 12px !important; - font-weight: 400 !important; + input { + width: 16px; + height: 16px; + margin: 12px; } - a { - color: $red; - text-decoration: underline; - cursor: pointer; - &:hover { - text-decoration: none; - } + label { + width: fit-content; + font-size: 16px; + font-weight: 400; + color: $black; } } -.login-form { - display: flex; - flex-direction: column; - align-items: center; - justify-content: space-between; - input { - width: 90%; - padding: 12px 18px; - margin: 8px 0; - box-sizing: border-box; - background: transparent; - color: $blue; - border: 1px solid $blue; - border-radius: 12px; +.footer { + position: absolute; + bottom: 43px; + left: 0; + right: 0; + a { font-size: 18px; - font-weight: 400; - transition: background-color 250ms ease-in-out, color 250ms ease-in-out, - border-color 250ms ease-in-out; - &::placeholder { - color: rgba($blue, 0.6); - } - &:focus { - outline: none; - background-color: rgba($white, 0.1); + font-weight: 700; + color: $blue; + text-decoration: none; + cursor: pointer; + &:hover { + text-decoration: underline; } } - .error-border { - border: 1px solid $red; - color: $red; - &::placeholder { - color: $red; + .footer-content { + display: flex; + justify-content: center; + margin-top: 24px; + gap: 24px; + p { + font-size: 18px; + font-weight: 700; + color: $black; } } } diff --git a/frontend/src/app/components/auth/login/login.component.ts b/frontend/src/app/components/auth/login/login.component.ts index 1de7700..fb9c449 100644 --- a/frontend/src/app/components/auth/login/login.component.ts +++ b/frontend/src/app/components/auth/login/login.component.ts @@ -14,6 +14,7 @@ export class LoginComponent { authData = { mail: '', password: '', + checkbox: false, send: false, }; diff --git a/frontend/src/app/components/auth/register/register.component.html b/frontend/src/app/components/auth/register/register.component.html index 6b24121..999318d 100644 --- a/frontend/src/app/components/auth/register/register.component.html +++ b/frontend/src/app/components/auth/register/register.component.html @@ -14,8 +14,6 @@ } @else {