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 05:11:30 +0200 |
commit | 4485e27aa2c2dc12ef911dd6249ce36a26b3092d (patch) | |
tree | e1ad3a3c5fced331cda4c96151f88080b9a8f3ec | |
parent | 057472fe7e14d387df6f08c3710aab9e5b494727 (diff) | |
download | palemoon-4485e27aa2c2dc12ef911dd6249ce36a26b3092d.tar.gz |
Tweak the Windows 10 styling of the default theme. (uplift)
- 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
-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, |