diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index 7b451c2..e555625 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -197,18 +197,13 @@ p { letter-spacing: 1px; } -/* Div to display any login errors. */ -#loginError { - font-family: 'Avenir Book'; - color: #fff; - font-size: 12px; - background: #9b1313; - border: 0.5px solid white; - padding: 2px 0px; - width: 100%; - text-align: center; - font-weight: bold; - margin: 8px 0px; +/* Container to organize login field elements. */ +.loginFieldContainer { + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; } /* SVG icons on the login view. */ @@ -218,6 +213,18 @@ p { width: 20px; } +/* Span which displays errors related to login field content. */ +.loginErrorSpan { + font-family: 'Avenir Medium'; + font-weight: bold; + font-size: 8px; + color: #ff1b0c; + width: 100%; + text-align: right; + position: absolute; + top: 7px; +} + /* Login text input styles. */ .loginField { font-family: 'Avenir Book'; @@ -225,7 +232,7 @@ p { border-width: 1.5px 0px 0px 0px; border-style: solid; width: 250px; - /*margin-bottom: 20px;*/ + margin-bottom: 20px; border-color: #fff; color: rgba(255, 255, 255, 0.75); font-weight: bold; @@ -254,16 +261,6 @@ p { margin-bottom: 13px; } -.loginErrorSpan { - font-family: 'Avenir Medium'; - font-weight: bold; - font-size: 8px; - color: red; - width: 100%; - text-align: right; - margin-bottom: 15px; -} - /* Container which contains the forgot and remember options. */ #loginOptions { display: flex; diff --git a/app/login.ejs b/app/login.ejs index e900e02..0b34599 100644 --- a/app/login.ejs +++ b/app/login.ejs @@ -3,20 +3,24 @@