diff --git a/frontend/src/app/pages/login/login.component.html b/frontend/src/app/pages/login/login.component.html index 93d6a54..0f5b59d 100644 --- a/frontend/src/app/pages/login/login.component.html +++ b/frontend/src/app/pages/login/login.component.html @@ -1,6 +1,6 @@

Login

-
+
mail
-
+
lock
-
+ diff --git a/frontend/src/app/pages/login/login.component.scss b/frontend/src/app/pages/login/login.component.scss index 1fdc1a3..e643f7c 100644 --- a/frontend/src/app/pages/login/login.component.scss +++ b/frontend/src/app/pages/login/login.component.scss @@ -16,53 +16,5 @@ border-radius: .5em; padding: 1em 1.5em; background-color: #ffffff; - - h1 { - margin: 0; - } - - div { - display: flex; - flex-direction: column; - position: relative; - gap: .1em; - - mat-icon { - position: absolute; - top: 1.3em; - left: .5em; - color: #777; - } - - &.actions { - flex-direction: row-reverse; - justify-content: space-between; - align-items: center; - - a { - color: #3f51b5; - text-decoration: none; - } - } - - label { - flex: 1; - font-style: italic; - padding-left: 1em; - color: #777; - - .required { - color: red; - } - } - - input { - flex: 1; - background-color: #eeeeee; - border: none; - border-radius: 10em; - padding: 1em 1em 1em 3em; - } - } } } \ No newline at end of file diff --git a/frontend/src/app/pages/signin/signin.component.html b/frontend/src/app/pages/signin/signin.component.html index c54f2ae..68fc610 100644 --- a/frontend/src/app/pages/signin/signin.component.html +++ b/frontend/src/app/pages/signin/signin.component.html @@ -1,6 +1,6 @@

Signin

-
+
person
-
+
mail
-
+
lock
-
+
lock
-
+ \ No newline at end of file diff --git a/frontend/src/app/pages/signin/signin.component.scss b/frontend/src/app/pages/signin/signin.component.scss index a8d5b3d..e643f7c 100644 --- a/frontend/src/app/pages/signin/signin.component.scss +++ b/frontend/src/app/pages/signin/signin.component.scss @@ -16,67 +16,5 @@ border-radius: .5em; padding: 1em 1.5em; background-color: #ffffff; - - h1 { - margin: 0; - } - - div { - display: flex; - flex-direction: column; - position: relative; - gap: .1em; - - mat-icon { - position: absolute; - top: 1.3em; - left: .5em; - color: #777; - } - - &.actions { - flex-direction: row-reverse; - justify-content: space-between; - align-items: center; - - button { - padding: .8em 1.2em; - border-radius: 10em; - border: none; - background-color: #3f51b5; - color: white; - transition: background-color .2s ease-in-out; - - &:hover { - background-color: #5b6ed8; - cursor: pointer; - } - } - - a { - color: #3f51b5; - text-decoration: none; - } - } - - label { - flex: 1; - font-style: italic; - padding-left: 1em; - color: #777; - - .required { - color: red; - } - } - - input { - flex: 1; - background-color: #eeeeee; - border: none; - border-radius: 10em; - padding: 1em 1em 1em 3em; - } - } } } \ No newline at end of file diff --git a/frontend/src/design_system/button.scss b/frontend/src/design_system/button.scss index 485b7fb..b0c071a 100644 --- a/frontend/src/design_system/button.scss +++ b/frontend/src/design_system/button.scss @@ -19,4 +19,8 @@ button, a.button { background-color: #f2f4ff; } } +} + +a.button { + text-decoration: none; } \ No newline at end of file diff --git a/frontend/src/design_system/index.scss b/frontend/src/design_system/index.scss index 8f77da9..a6c204c 100644 --- a/frontend/src/design_system/index.scss +++ b/frontend/src/design_system/index.scss @@ -1 +1,2 @@ -@use './button.scss'; \ No newline at end of file +@use './button.scss'; +@use './input.scss'; \ No newline at end of file diff --git a/frontend/src/design_system/input.scss b/frontend/src/design_system/input.scss new file mode 100644 index 0000000..2492982 --- /dev/null +++ b/frontend/src/design_system/input.scss @@ -0,0 +1,51 @@ +form { + h1 { + margin: 0; + } + + div { + &.actions { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + + &.reversed { + flex-direction: row-reverse; + } + } + + &.form-field { + display: flex; + flex-direction: column; + position: relative; + gap: .1em; + + mat-icon { + position: absolute; + top: 1.3em; + left: .5em; + color: #777; + } + + label { + flex: 1; + font-style: italic; + padding-left: 1em; + color: #777; + + .required { + color: red; + } + } + + input { + flex: 1; + background-color: #eeeeee; + border: none; + border-radius: 10em; + padding: 1em 1em 1em 3em; + } + } + } +} \ No newline at end of file