From cbfcf3911103a85bb6c746a68c182d1fc5d4bfef Mon Sep 17 00:00:00 2001 From: Liam Westby Date: Mon, 16 Apr 2018 14:38:57 -0500 Subject: [PATCH] Rework layout --- .../src/app/login/login.component.html | 51 ++++++++++++++----- .../src/app/login/login.component.scss | 31 ++++++++--- 2 files changed, 61 insertions(+), 21 deletions(-) diff --git a/frontend/prebuild/src/app/login/login.component.html b/frontend/prebuild/src/app/login/login.component.html index a0f0e1a..6921e97 100644 --- a/frontend/prebuild/src/app/login/login.component.html +++ b/frontend/prebuild/src/app/login/login.component.html @@ -11,38 +11,63 @@
-
-
- - -
+
+
+ +
+

or

+
+ +
+ +
+
+
+
- +
+ + +
+
+
- + +
+
+
+
+ +
+ +

or

+
+
- - +
+ +
+
+
+
+ +
-
- - -
diff --git a/frontend/prebuild/src/app/login/login.component.scss b/frontend/prebuild/src/app/login/login.component.scss index b317f50..8497e0f 100644 --- a/frontend/prebuild/src/app/login/login.component.scss +++ b/frontend/prebuild/src/app/login/login.component.scss @@ -25,7 +25,7 @@ text-align: center; letter-spacing: .7em; line-height: 1.5em; - padding-left: .7em; + padding-left: .8em; } #login-content { @@ -39,7 +39,8 @@ #login-title { margin-top: 10px; - padding-bottom: 50px; + padding-bottom: 10px; +} #login-icon { padding-bottom: 40px; @@ -49,10 +50,13 @@ image-rendering: crisp-edges; } +#player-card { + height: 60px; +} + .form-group { width: 100%; - margin-top: 15px; - margin-bottom: 15px; + margin-bottom: 30px; display: flex; flex-flow: column; @@ -63,11 +67,11 @@ .form-item { width: 100%; - margin-top: 6px; - margin-bottom: 12px; + margin-bottom: 10px; } .form-item label { + width: 100%; margin-bottom: -4px; padding-bottom: 0px; font-size: 0.8em; @@ -102,8 +106,6 @@ button { width: 100%; - margin-top: 6px; - margin-bottom: 6px; padding-top: 6px; padding-bottom: 6px; background-color: rgba(0, 0, 20, 0.2); @@ -114,6 +116,19 @@ button { border-color: #bbb; } +.section-header { + width: 100%; + margin-bottom: 15px; + + font-size: 1.4em; + font-variant: small-caps; + font-weight: 300; + text-transform: lowercase; + text-align: center; + + color: white; +} + @media screen and (min-width: 550px) { #login-container { width: 500px;