summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-02-02 12:49:56 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-02 14:20:12 +0100
commit39461a2e096ad9d149f134fd76cd51dd046e76bf (patch)
treeddcec0fecefe88f6a400d5b0d2f00f3ee9b62839 /apps
parent737e7f9f29ed908e160a5aa64db155cbcabd2e25 (diff)
downloadnextcloud-server-39461a2e096ad9d149f134fd76cd51dd046e76bf.tar.gz
nextcloud-server-39461a2e096ad9d149f134fd76cd51dd046e76bf.zip
Make sure theming logo css only applies when a logo is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/css/theming.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 3cb8ee2584d..18ddd9235db 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -91,14 +91,14 @@
}
/* override styles for login screen in guest.css */
-@if variable_exists('theming-logo-mime') {
+@if variable_exists('theming-logo-mime') and $theming-logo-mime != '' {
#header .logo {
background-image: url(#{$image-logo});
background-size: contain;
}
}
-@if variable_exists('theming-background-mime') {
+@if variable_exists('theming-background-mime') and $theming-background-mime != '' {
#body-login,
#firstrunwizard .firstrunwizard-header,
#theming-preview {