Skip to content

Commit ae1ffee

Browse files
Merge pull request #34000 from nextcloud/change-default-login-background
Change default login background to cloud image
2 parents 71d0ea8 + 9104222 commit ae1ffee

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

apps/theming/css/settings-admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/theming/css/settings-admin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
margin-bottom: 20px;
102102
cursor: pointer;
103103
background-color: var(--color-primary);
104-
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/background.svg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
104+
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/app-background.jpg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
105105

106106
#theming-preview-logo {
107107
cursor: pointer;

core/css/guest.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ body {
2121
font-size: .875em;
2222
line-height: 1.6em;
2323
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';
24-
color: var(--color-primary-text);
24+
color: var(--color-text);
2525
text-align: center;
2626
background-color: var(--color-primary);
27-
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/background.svg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
28-
background-position: 50% 50%;
29-
background-repeat: repeat;
30-
background-size: var(--image-background-size, 275px, contain);
31-
background-attachment: fixed; /* fix background gradient */
27+
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/app-background.jpg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
28+
background-attachment: fixed;
3229
min-height: 100%; /* fix sticky footer */
3330
height: auto;
3431
overflow: auto;
@@ -40,7 +37,7 @@ body {
4037
font-weight: 600;
4138
}
4239
#body-login footer a {
43-
color: var(--color-primary-text);
40+
color: var(--color-text);
4441
}
4542
#body-login a:not(.button):hover,
4643
#body-login a:not(.button):focus {

0 commit comments

Comments
 (0)