Make sure theming logo css only applies when a logo is set

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-02-02 12:49:56 +01:00
parent 737e7f9f29
commit 39461a2e09
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -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 {