From 60a2ea35ee607047a1f6a53b67c315809d644d6c Mon Sep 17 00:00:00 2001 From: skomerko <168652295+skomerko@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:41:57 +0100 Subject: [PATCH] WebUI: Set base background color --- src/webui/www/private/css/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/webui/www/private/css/style.css b/src/webui/www/private/css/style.css index 116f4948acdc..fbdd13ae0f2f 100644 --- a/src/webui/www/private/css/style.css +++ b/src/webui/www/private/css/style.css @@ -10,6 +10,7 @@ --color-text-white: hsl(0deg 0% 100%); --color-text-disabled: hsl(0deg 0% 60%); --color-text-default: hsl(0deg 0% 33%); + --color-background-primary: hsl(0deg 0% 100%); --color-background-blue: hsl(210deg 65% 55%); --color-background-popup: hsl(0deg 0% 100%); --color-background-default: hsl(0deg 0% 94%); @@ -28,6 +29,7 @@ --color-text-blue: hsl(210deg 88.1% 73.5%); --color-text-orange: hsl(26deg 65% 70%); --color-text-default: hsl(0deg 0% 90%); + --color-background-primary: hsl(0deg 0% 7%); --color-background-blue: hsl(210deg 42% 48%); --color-background-popup: hsl(0deg 0% 20%); --color-background-default: hsl(0deg 0% 25%); @@ -130,6 +132,7 @@ button:disabled { /* Structure */ body { + background-color: var(--color-background-primary); color: var(--color-text-default); font-family: Arial, Helvetica, sans-serif; font-size: 12px; @@ -137,6 +140,11 @@ body { text-align: left; } +/* targets dialog windows loaded via iframes */ +body:not(:has(#desktop)) { + background-color: var(--color-background-popup); +} + .aside { width: 300px; }