From 644e27c3b07a68989aa978e78a801eb492aa9048 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 14 Jan 2021 15:06:19 +0200 Subject: Updated login to use the same styling as register --- .../src/app/components/login/login.component.css | 36 ++++------------------ .../src/app/components/login/login.component.html | 24 ++++++++++----- 2 files changed, 22 insertions(+), 38 deletions(-) (limited to 'src/DevHive.Angular') diff --git a/src/DevHive.Angular/src/app/components/login/login.component.css b/src/DevHive.Angular/src/app/components/login/login.component.css index 82ec645..b584e90 100644 --- a/src/DevHive.Angular/src/app/components/login/login.component.css +++ b/src/DevHive.Angular/src/app/components/login/login.component.css @@ -1,21 +1,9 @@ - - -#content input[type=text], #content #submit-btn { - border: 2px solid black; - border-radius: 0.4em; - box-sizing: border-box; - width: 100%; - margin-top: 0.5em; - font-size: 0.8em; - padding: 0.3em; -} - -#content input[type=text]:nth-last-of-type(1) { - margin-bottom: 0.5em; +* { + transition: .2s; } -input[type=text]:focus, button[type=submit]:focus { - outline: 0; +form { + width: 100%; } #content hr { @@ -24,18 +12,6 @@ input[type=text]:focus, button[type=submit]:focus { box-sizing: border-box; } -#submit-btn { - background-color: black; - color: white; - text-align: center; -} - -#submit-btn:hover { - cursor: pointer; - border-color: darkgrey !important; - background-color: darkgrey; -} - -#submit-btn:active { - transform: scale(0.9); +.input-selection:nth-of-type(1) { + margin-top: 1.2em; } diff --git a/src/DevHive.Angular/src/app/components/login/login.component.html b/src/DevHive.Angular/src/app/components/login/login.component.html index 3912004..ea81a8b 100644 --- a/src/DevHive.Angular/src/app/components/login/login.component.html +++ b/src/DevHive.Angular/src/app/components/login/login.component.html @@ -1,12 +1,20 @@
-
- Login -
-
+
Login
+
- - -
- +
+ +
+ + +
+ +
+ + +
+ +
+
-- cgit v1.2.3