diff --git a/frontend/prebuild/src/android-chrome-192x192.png b/frontend/prebuild/src/android-chrome-192x192.png index 26d89f6..374a379 100644 Binary files a/frontend/prebuild/src/android-chrome-192x192.png and b/frontend/prebuild/src/android-chrome-192x192.png differ diff --git a/frontend/prebuild/src/android-chrome-512x512.png b/frontend/prebuild/src/android-chrome-512x512.png index 3b9b8cd..15d78d6 100644 Binary files a/frontend/prebuild/src/android-chrome-512x512.png and b/frontend/prebuild/src/android-chrome-512x512.png differ diff --git a/frontend/prebuild/src/app/app.component.scss b/frontend/prebuild/src/app/app.component.scss index adb9ca1..b39b126 100644 --- a/frontend/prebuild/src/app/app.component.scss +++ b/frontend/prebuild/src/app/app.component.scss @@ -1,5 +1,5 @@ :host { position: absolute; - height: 100vh; - width: 100vw; + height: 100%; + width: 100%; } diff --git a/frontend/prebuild/src/app/login/login.component.html b/frontend/prebuild/src/app/login/login.component.html index 6000060..7fef0e4 100644 --- a/frontend/prebuild/src/app/login/login.component.html +++ b/frontend/prebuild/src/app/login/login.component.html @@ -5,7 +5,9 @@
- + + +
@@ -116,3 +118,18 @@
+ + diff --git a/frontend/prebuild/src/app/login/login.component.scss b/frontend/prebuild/src/app/login/login.component.scss index ceb24fe..5d9880f 100644 --- a/frontend/prebuild/src/app/login/login.component.scss +++ b/frontend/prebuild/src/app/login/login.component.scss @@ -1,103 +1,14 @@ +// Global styles for component :host { min-height: 100%; display: flex; flex-direction: column; align-items: center; - justify-content: center; + justify-content: space-around; } -#login-container { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - - padding: 10px; - height: inherit; - top: 0; -} - -#login-container h1 { - color: #fff; - font-weight: 300; - font-variant: small-caps; - text-transform: uppercase; - text-align: center; - letter-spacing: .7em; - line-height: 1.5em; - padding-left: .8em; -} - -#login-content { - flex: 1; - width: 100%; - display: flex; - height: auto; - flex-direction: column; - align-items: center; -} - -#login-title { - margin-top: 10px; - padding-bottom: 10px; -} - -#login-icon { - padding-bottom: 40px; -} - -#player-card { - height: 60px; -} - -.form-group { - width: 100%; - margin-bottom: 30px; - - display: flex; - flex-flow: column; - padding-left: 10px; - padding-right: 10px; -} - -.form-item { - width: 100%; - margin-bottom: 10px; -} - -.form-item label { - display: initial; - width: 100%; - margin-bottom: -4px; - padding-bottom: 0px; - font-size: 0.8em; - font-variant: small-caps; - text-transform: lowercase; - color: #bbb; -} - -.form-item input { - width: 100%; - padding-top: 2px; - padding-bottom: 2px; - border: none; - color: #fff; - background: rgba(0, 0, 0, 0.2); - border-bottom: 1px solid #bbb; - border-radius: 0px; - transition: all 0.3s ease-in-out; -} - -.form-item input:hover { - text-shadow: 0 0 5px #fff; -} -.form-item input:focus { - border-color: #fff; - outline: none; -} - -#partyid { - text-transform: uppercase; +a:hover { + text-decoration: none; } button { @@ -116,6 +27,61 @@ h2 { color: #fff; } +.glow { + transition: all 0.3s ease-in-out; + + &:hover { + filter: drop-shadow(0 0 4px #fff); + } +} + +.form-group { + width: 100%; + margin-bottom: 30px; + + display: flex; + flex-flow: column; + padding-left: 10px; + padding-right: 10px; +} + +.form-item { + width: 100%; + margin-bottom: 10px; + + & label { + display: initial; + width: 100%; + margin-bottom: -4px; + padding-bottom: 0px; + font-size: 0.8em; + font-variant: small-caps; + text-transform: lowercase; + color: #bbb; + } + + & input { + width: 100%; + padding-top: 2px; + padding-bottom: 2px; + border: none; + color: #fff; + background: rgba(0, 0, 0, 0.2); + border-bottom: 1px solid #bbb; + border-radius: 0px; + transition: all 0.3s ease-in-out; + + &:hover { + text-shadow: 0 0 5px #fff; + } + + &:focus { + border-color: #fff; + outline: none; + } + } +} + .section-header { width: 100%; margin-bottom: 15px; @@ -141,11 +107,121 @@ h2 { width: 100%; } +.gallery { + display: flex; + flex-direction: row; + align-items: center; +} + +.gallery-item { + display: flex; + flex-direction: column; + align-items: center; +} + +.gallery-icon { + width: 50px; + margin: 0 20px; +} + +.gallery-label { + margin-top: 15px; + color: #ccc; + font-size: 0.8em; +} + +// Main content elements + +#login-container { + transform: translateZ(0); // Hack to force Safari to render some effects properly + + flex-grow: 1; + + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + justify-self: center; + + padding: 10px; + height: 100%; + top: 0; +} + +#login-container h1 { + color: #fff; + font-weight: 300; + font-variant: small-caps; + text-transform: uppercase; + text-align: center; + letter-spacing: .7em; + line-height: 1.5em; + padding-left: .8em; +} + +#login-content { + flex: 1; + width: 100%; + display: flex; + flex-direction: column; + align-items: center; +} + +#login-title { + margin-top: 10px; + padding-bottom: 10px; +} + +#icon { + padding-bottom: 40px; + transform: translateZ(0); // Hack to force Safari to render some effects properly +} + +#player-card { + height: 60px; +} + +#partyid { + text-transform: uppercase; +} + +// Footer section elements + +#footer { + position: relative; + + width: 100%; + height: 150px; + margin: 0; + + background: radial-gradient(ellipse at top, rgba(0,0,0,0.666), rgba(0,0,0,0.2)); + border-top: 1px solid rgba(171,209,85,0.666); + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + &.gallery { + margin-top: 15px; + } +} + +#logo { + position: absolute; + top: -40px; + + & img { + height: 80px; + } +} + +// Format-specific overrides + @media screen and (min-width: 550px) { #login-container { width: 500px; - // border-radius: 4px; - // border: 1px solid #fff; display: flex; flex-direction: column; } @@ -163,19 +239,13 @@ h2 { display: inline-block; min-height: 50px; } - - :host::after { - content: ""; - display: inline-block; - min-height: 50px; - } } @media screen and (max-width: 549px) { #login-container { width: 100%; min-height: 100%; - position: absolute; + background: none; top: 0px; } @@ -184,3 +254,9 @@ h2 { min-height: 100%; } } + +@media screen and (max-width: 350px) { + #login-title h1 { + font-size: 2em; + } +} diff --git a/frontend/prebuild/src/apple-touch-icon.png b/frontend/prebuild/src/apple-touch-icon.png index e3b7015..3c55880 100644 Binary files a/frontend/prebuild/src/apple-touch-icon.png and b/frontend/prebuild/src/apple-touch-icon.png differ diff --git a/frontend/prebuild/src/assets/images/OL_badge.png b/frontend/prebuild/src/assets/images/OL_badge.png new file mode 100644 index 0000000..8f926b4 Binary files /dev/null and b/frontend/prebuild/src/assets/images/OL_badge.png differ diff --git a/frontend/prebuild/src/assets/images/github.png b/frontend/prebuild/src/assets/images/github.png new file mode 100644 index 0000000..192846a Binary files /dev/null and b/frontend/prebuild/src/assets/images/github.png differ diff --git a/frontend/prebuild/src/favicon-16x16.png b/frontend/prebuild/src/favicon-16x16.png index 4312b1f..77bfbac 100644 Binary files a/frontend/prebuild/src/favicon-16x16.png and b/frontend/prebuild/src/favicon-16x16.png differ diff --git a/frontend/prebuild/src/favicon-32x32.png b/frontend/prebuild/src/favicon-32x32.png index 724e617..e9722ad 100644 Binary files a/frontend/prebuild/src/favicon-32x32.png and b/frontend/prebuild/src/favicon-32x32.png differ diff --git a/frontend/prebuild/src/favicon.ico b/frontend/prebuild/src/favicon.ico index 4ed0092..d4e41d7 100644 Binary files a/frontend/prebuild/src/favicon.ico and b/frontend/prebuild/src/favicon.ico differ diff --git a/frontend/prebuild/src/styles.scss b/frontend/prebuild/src/styles.scss index 6703394..821d4bd 100644 --- a/frontend/prebuild/src/styles.scss +++ b/frontend/prebuild/src/styles.scss @@ -15,7 +15,7 @@ html { min-height: 100%; } body { - background: linear-gradient(#01001d, #03004e, #700067) fixed; + background: linear-gradient(to bottom, #131427, #2c2d4f) fixed; min-height: 100%; margin: 0; padding: 0; @@ -26,6 +26,7 @@ body { a { cursor: pointer; cursor: hand; + text-decoration: none; } button { @@ -54,11 +55,11 @@ nav a { border-radius: 4px; } nav a:visited, a:link { - color: #607D8B; + color: #607d8b; } nav a:hover { color: #039be5; - background-color: #CFD8DC; + background-color: #cfd8dc; } nav a.active { color: #039be5;