Update style of log in page and header

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2019-11-23 19:16:59 +07:00
parent 4f2837017c
commit 7edeac887b
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
6 changed files with 22 additions and 20037 deletions

View File

@ -142,11 +142,13 @@ $invert: luma($color-primary) > 0.6;
#theming-preview { #theming-preview {
background-image: $image-login-background; background-image: $image-login-background;
background-color: $color-primary; background-color: $color-primary;
background-color: linear-gradient(40deg, $color-primary 0%, rgba(28,175,255,1) 100%);
} }
} @else { } @else {
#theming-preview { #theming-preview {
background-image: $image-login-background; background-image: $image-login-background;
background-color: $color-primary; background-color: $color-primary;
background-color: linear-gradient(40deg, $color-primary 0%, rgba(28,175,255,1) 100%);
} }
} }
@ -207,6 +209,7 @@ input.primary,
#body-login, #firstrunwizard .firstrunwizard-header, #theming-preview { #body-login, #firstrunwizard .firstrunwizard-header, #theming-preview {
background-image: none !important; background-image: none !important;
background-color: $color-primary; background-color: $color-primary;
background-color: linear-gradient(40deg, $color-primary 0%, rgba(28,175,255,1) 100%);
} }
#body-login { #body-login {
@ -218,6 +221,7 @@ input.primary,
} @else { } @else {
#body-login { #body-login {
background-color: $color-primary; background-color: $color-primary;
background-color: linear-gradient(40deg, $color-primary 0%, rgba(28,175,255,1) 100%);
} }
} }

View File

@ -25,9 +25,10 @@ body {
text-align: center; text-align: center;
background-color: #0082c9; background-color: #0082c9;
background-image: url('../img/background.png?v=2'); background-image: url('../img/background.png?v=2');
background-image: url('../img/background.png?v=2'), linear-gradient(40deg, #0082c9 0%, rgba(28,175,255,1) 100%);
background-position: 50% 50%; background-position: 50% 50%;
background-repeat: no-repeat; background-repeat: repeat;
background-size: cover; background-size: 275px, contain;
background-attachment: fixed; /* fix background gradient */ background-attachment: fixed; /* fix background gradient */
min-height: 100%; /* fix sticky footer */ min-height: 100%; /* fix sticky footer */
height: auto; height: auto;
@ -524,22 +525,24 @@ form .warning input[type='checkbox']+label {
#remember_login { #remember_login {
margin: 18px 5px 0 16px !important; margin: 18px 5px 0 16px !important;
} }
.remember-login-container,
.lost-password-container { .lost-password-container {
display: inline-block; display: inline-block;
margin: 10px 0; margin: 10px 0;
text-align: center; text-align: center;
width: 100%; width: 100%;
text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
} }
.lost-password-container #lost-password, #lost-password,
.lost-password-container #lost-password-back { #lost-password-back,
#reset-password-wrapper + a {
display: inline-block; display: inline-block;
font-weight: normal; font-weight: normal !important;
padding: 12px; padding: 12px;
margin-top: -6px;
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
}
#lost-password {
margin-top: -6px;
} }
#forgot-password { #forgot-password {
padding: 11px; padding: 11px;

View File

@ -50,6 +50,7 @@
z-index: 2000; z-index: 2000;
height: $header-height; height: $header-height;
background-color: var(--color-primary); background-color: var(--color-primary);
background-image: linear-gradient(40deg, var(--color-primary) 0%, rgba(28,175,255,1) 100%);
box-sizing: border-box; box-sizing: border-box;
justify-content: space-between; justify-content: space-between;
} }
@ -444,7 +445,6 @@ nav[role='navigation'] {
text-overflow: initial; text-overflow: initial;
width: auto; width: auto;
overflow: hidden; overflow: hidden;
background-color: var(--color-primary);
padding: 0 5px; padding: 0 5px;
z-index: 2; z-index: 2;
} }

View File

@ -87,6 +87,7 @@ ul {
body { body {
background-color: var(--color-main-background); background-color: var(--color-main-background);
background-color: linear-gradient(40deg, var(--color-main-background) 0%, rgba(28,175,255,1) 100%);
font-weight: normal; font-weight: normal;
/* bring the default font size up to 14px */ /* bring the default font size up to 14px */
font-size: .875em; font-size: .875em;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 76 KiB