summaryrefslogtreecommitdiffstats
path: root/apps/theming/css/theming.scss
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/css/theming.scss')
-rw-r--r--apps/theming/css/theming.scss18
1 files changed, 10 insertions, 8 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 63d466542e1..3cb8ee2584d 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -91,18 +91,20 @@
}
/* override styles for login screen in guest.css */
-#header .logo {
- background-image: url(#{$image-logo});
- @if $theming-logo-mime != '' {
+@if variable_exists('theming-logo-mime') {
+ #header .logo {
+ background-image: url(#{$image-logo});
background-size: contain;
}
}
-#body-login,
-#firstrunwizard .firstrunwizard-header,
-#theming-preview {
- background-image: url(#{$image-login-background});
- background-color: $color-primary;
+@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,