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
73ae7b0c5f
commit
76c79ff18f
|
@ -91,19 +91,21 @@
|
|||
}
|
||||
|
||||
/* override styles for login screen in guest.css */
|
||||
@if variable_exists('theming-logo-mime') {
|
||||
#header .logo {
|
||||
background-image: url(#{$image-logo});
|
||||
@if $theming-logo-mime != '' {
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
@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,
|
||||
#alternative-logins li a {
|
||||
|
|
Loading…
Reference in New Issue