diff options
author | Pale Moon <git-repo@palemoon.org> | 2017-10-04 03:55:14 +0200 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2017-10-04 03:55:14 +0200 |
commit | 8416a0155a573f99c6c41a90d027865003e2a44f (patch) | |
tree | c68c8c44a4caaea504dc31ec9ae76f946b480507 /browser/themes/windows | |
parent | 884093a83dfdaf24a721ffa8c25ee5b9ac7a238d (diff) | |
download | palemoon-gre-8416a0155a573f99c6c41a90d027865003e2a44f.tar.gz |
Tweak the Windows 10 styling of the default theme.
- Lighten the inactive window shade a bit more.
- Set toolbar backgrounds to transparent if the menubar is active
> this will match the color with dwm
> This will prevent a noticeable delay between title bar and UI region bg color updates
Diffstat (limited to 'browser/themes/windows')
-rw-r--r-- | browser/themes/windows/browser.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/browser/themes/windows/browser.css b/browser/themes/windows/browser.css index 14f0af940..248408de2 100644 --- a/browser/themes/windows/browser.css +++ b/browser/themes/windows/browser.css @@ -3181,7 +3181,14 @@ toolbar[brighttext] #addonbar-closebutton { } #main-window:-moz-window-inactive:not(:-moz-lwtheme) { - background-color: hsl(0, 0%, 90%); + background-color: hsl(0, 0%, 95%); + } + + /* If we don't have [chromemargin], it means the menubar is active; set the + window background to transparent in that case to match it with the dwm + color and prevent a drawing delay between title bar and UI region */ + #main-window:not([chromemargin]):not(:-moz-lwtheme) { + background-color: transparent; } #titlebar-buttonbox, |