diff options
Diffstat (limited to 'core/css/guest.css')
-rw-r--r-- | core/css/guest.css | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/css/guest.css b/core/css/guest.css index 0a26afdf116..26a82b4d53d 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -23,8 +23,14 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; color: var(--color-text); text-align: center; - background-color: var(--color-main-background-not-plain, var(--color-primary)); - background-image: var(--image-background, var(--image-background-plain, linear-gradient(40deg, #0082c9 0%, #30b6ff 100%))); + /* As guest, there is no color-background-plain */ + background-color: var(--color-background-plain, var(--color-primary-default, #0082c9)); + /* As guest, there is no user background (--image-background) + 1. User background if logged in ('no' if removed, that way the variable is _defined_) + 2. Empty background if enabled ('yes' is used, that way the variable is _defined_) + 3. Else default background + 4. Finally default gradient (should not happened, the background is always defined anyway) */ + background-image: var(--image-background, var(--image-background-plain, var(--image-background-default, linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)))); background-attachment: fixed; min-height: 100%; /* fix sticky footer */ height: auto; |