summaryrefslogtreecommitdiffstats
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-09 17:46:47 +0100
commite3fb91756a02bc3f819ceb23fa3150fafe405574 (patch)
tree6a068569e76bc71bb468e7fb7ca604da092f58f7
parent9c9c438c8b72162def65b31faf529a7605b1b533 (diff)
downloadnextcloud-server-e3fb91756a02bc3f819ceb23fa3150fafe405574.tar.gz
nextcloud-server-e3fb91756a02bc3f819ceb23fa3150fafe405574.zip
Make sure theming logo css only applies when a logo is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-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 {