Skip to content

Commit

Permalink
Merge pull request #34000 from nextcloud/change-default-login-background
Browse files Browse the repository at this point in the history
Change default login background to cloud image
  • Loading branch information
AndyScherzinger authored Sep 9, 2022
2 parents 71d0ea8 + 9104222 commit ae1ffee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/theming/css/settings-admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/theming/css/settings-admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
margin-bottom: 20px;
cursor: pointer;
background-color: var(--color-primary);
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/background.svg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/app-background.jpg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));

#theming-preview-logo {
cursor: pointer;
Expand Down
11 changes: 4 additions & 7 deletions core/css/guest.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ body {
font-size: .875em;
line-height: 1.6em;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
color: var(--color-primary-text);
color: var(--color-text);
text-align: center;
background-color: var(--color-primary);
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/background.svg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
background-position: 50% 50%;
background-repeat: repeat;
background-size: var(--image-background-size, 275px, contain);
background-attachment: fixed; /* fix background gradient */
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/app-background.jpg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
background-attachment: fixed;
min-height: 100%; /* fix sticky footer */
height: auto;
overflow: auto;
Expand All @@ -40,7 +37,7 @@ body {
font-weight: 600;
}
#body-login footer a {
color: var(--color-primary-text);
color: var(--color-text);
}
#body-login a:not(.button):hover,
#body-login a:not(.button):focus {
Expand Down

0 comments on commit ae1ffee

Please sign in to comment.