mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Only override image styles if the theming values are set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
5eae4819bf
commit
60e601f4ab
1 changed files with 10 additions and 8 deletions
|
|
@ -91,18 +91,20 @@
|
|||
}
|
||||
|
||||
/* override styles for login screen in guest.css */
|
||||
#header .logo {
|
||||
background-image: url(#{$image-logo});
|
||||
@if $theming-logo-mime != '' {
|
||||
@if variable_exists('theming-logo-mime') {
|
||||
#header .logo {
|
||||
background-image: url(#{$image-logo});
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
#body-login,
|
||||
#firstrunwizard .firstrunwizard-header,
|
||||
#theming-preview {
|
||||
background-image: url(#{$image-login-background});
|
||||
background-color: $color-primary;
|
||||
@if variable_exists('theming-background-mime') {
|
||||
#body-login,
|
||||
#firstrunwizard .firstrunwizard-header,
|
||||
#theming-preview {
|
||||
background-image: url(#{$image-login-background});
|
||||
background-color: $color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
input.primary,
|
||||
|
|
|
|||
Loading…
Reference in a new issue