aboutsummaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
Diffstat (limited to 'core/css')
-rw-r--r--core/css/apps.scss8
-rw-r--r--core/css/guest.scss17
-rw-r--r--core/css/header.scss2
3 files changed, 12 insertions, 15 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 124a46be20f..7aea97ce920 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -29,15 +29,15 @@ html {
width: 100%;
height: 100%;
position: absolute;
- // color-background-plain should always be defined. It is the primary user colour
+ // color-background-plain should always be defined.
background-color: var(--color-background-plain, var(--color-main-background));
}
body {
- // color-background-plain should always be defined. It is the primary user colour
+ // color-background-plain should always be defined.
background-color: var(--color-background-plain, var(--color-main-background));
- // user background, or plain colour and finally default admin background
- background-image: var(--image-background, var(--image-background-plain, var(--image-background-default)));
+ // user background, or plain color
+ background-image: var(--image-background);
background-size: cover;
background-position: center;
position: fixed;
diff --git a/core/css/guest.scss b/core/css/guest.scss
index ba87c7ff4b3..9c92c4712e4 100644
--- a/core/css/guest.scss
+++ b/core/css/guest.scss
@@ -25,17 +25,14 @@ body {
font-size: .875em;
line-height: 1.6em;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen-Sans, Cantarell, Ubuntu, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- color: var(--color-text);
+ color: var(--color-background-plain-text, #ffffff);
text-align: center;
- /* As guest, there is no color-background-plain */
- background-color: var(--color-background-plain, var(--color-primary-element-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;
+ background-color: var(--color-background-plain, #0082c9);
+ /*
+ User background if logged in ('no' if removed, that way the variable is _defined_)
+ Fallback to default gradient (should not happened, the background is always defined anyway) */
+ background-image: var(--image-background, linear-gradient(40deg, #0082c9 0%, #30b6ff 100%));
+ background-attachment: fixed;
min-height: 100%; /* fix sticky footer */
height: auto;
overflow: auto;
diff --git a/core/css/header.scss b/core/css/header.scss
index cc4ee8bc028..f4f7241d80e 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -162,7 +162,7 @@
/* Right header standard */
.header-right {
- > .header-menu img {
+ > .header-menu__trigger img {
filter: var(--background-image-invert-if-bright);
}
> div,