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 9c9c438c8b
commit e3fb91756a
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 2 additions and 2 deletions

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 {