Skip to content

Commit

Permalink
WebUI: Set base background color
Browse files Browse the repository at this point in the history
This PR ensures that the same base background color is used across different browsers (more consistent styling).
Context: #21498 (comment)
Used default Chrome colors: #21894 (comment)

PR #21914.
  • Loading branch information
skomerko authored Nov 29, 2024
1 parent dafbcf8 commit a85736f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/webui/www/private/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
Expand All @@ -36,6 +37,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%);
Expand Down Expand Up @@ -146,13 +148,19 @@ button:disabled {
/* Structure */

body {
background-color: var(--color-background-primary);
color: var(--color-text-default);
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 1.5;
text-align: left;
}

/* targets dialog windows loaded via iframes */
body:not(:has(#desktop)) {
background-color: var(--color-background-popup);
}

.aside {
width: 300px;
}
Expand Down

0 comments on commit a85736f

Please sign in to comment.