Skip to content

Commit 902e774

Browse files
committed
Fix coloring on XP inprogress idk
1 parent 0835166 commit 902e774

File tree

2 files changed

+33
-36
lines changed

2 files changed

+33
-36
lines changed

application/palemoon/themes/windows/browser.css

+31-27
Original file line numberDiff line numberDiff line change
@@ -3106,36 +3106,38 @@ toolbar[brighttext] #addonbar-closebutton {
31063106
}
31073107

31083108
@media (-moz-windows-default-theme) {
3109-
#navigator-toolbox > toolbar:not(:-moz-lwtheme),
3110-
#browser-bottombox:not(:-moz-lwtheme) {
3111-
background-color: var(--toolbar-custom-color);
3112-
}
3109+
@media (-moz-os-version: windows-vista),
3110+
(-moz-os-version: windows-win7),
3111+
(-moz-os-version: windows-win8),
3112+
(-moz-os-version: windows-win10) {
3113+
#navigator-toolbox > toolbar:not(:-moz-lwtheme),
3114+
#browser-bottombox:not(:-moz-lwtheme) {
3115+
background-color: var(--toolbar-custom-color);
3116+
}
31133117

3114-
.tabbrowser-tab:not(:-moz-lwtheme),
3115-
.tabs-newtab-button:not(:-moz-lwtheme) {
3116-
background-image: @toolbarShadowOnTab@, var(--tab-background),
3117-
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3118-
}
3118+
.tabbrowser-tab:not(:-moz-lwtheme),
3119+
.tabs-newtab-button:not(:-moz-lwtheme) {
3120+
background-image: @toolbarShadowOnTab@, var(--tab-background),
3121+
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3122+
}
31193123

3120-
.tabbrowser-tab:not(:-moz-lwtheme):hover,
3121-
.tabs-newtab-button:not(:-moz-lwtheme):hover {
3122-
background-image: @toolbarShadowOnTab@, var(--tab-background-hover),
3123-
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3124-
}
3124+
.tabbrowser-tab:not(:-moz-lwtheme):hover,
3125+
.tabs-newtab-button:not(:-moz-lwtheme):hover {
3126+
background-image: @toolbarShadowOnTab@, var(--tab-background-hover),
3127+
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3128+
}
31253129

3126-
.tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
3127-
background-image: linear-gradient(#fff, var(--toolbar-highlight-top) 50%),
3128-
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3129-
}
3130+
.tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
3131+
background-image: linear-gradient(#fff, var(--toolbar-highlight-top) 50%),
3132+
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3133+
}
3134+
3135+
#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
3136+
background-image: @toolbarShadowOnTab@,
3137+
linear-gradient(#fff, var(--toolbar-highlight-top) 50%),
3138+
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3139+
}
31303140

3131-
#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
3132-
background-image: @toolbarShadowOnTab@,
3133-
linear-gradient(#fff, var(--toolbar-highlight-top) 50%),
3134-
linear-gradient(var(--toolbar-custom-color), var(--toolbar-custom-color));
3135-
}
3136-
3137-
@media (-moz-os-version: windows-vista),
3138-
(-moz-os-version: windows-win7) {
31393141
:root:not(:-moz-lwtheme) {
31403142
--toolbox-after-color: #aabccf;
31413143
}
@@ -3851,7 +3853,9 @@ toolbar[brighttext] #addonbar-closebutton {
38513853
@media not all and (-moz-windows-compositor) {
38523854
@media (-moz-windows-default-theme) {
38533855
@media (-moz-os-version: windows-vista),
3854-
(-moz-os-version: windows-win7) {
3856+
(-moz-os-version: windows-win7),
3857+
(-moz-os-version: windows-win8),
3858+
(-moz-os-version: windows-win10) {
38553859
#main-window {
38563860
background-color: rgb(185,209,234);
38573861
}

toolkit/content/logopage.xhtml

+2-9
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<title></title>
1414
<style type="text/css">
1515
body {
16-
background: #eee;
17-
color: black;
16+
background: Menu;
17+
color: MenuText;
1818
}
1919

2020
img {
@@ -34,13 +34,6 @@
3434
color: #eee;
3535
}
3636
}
37-
38-
@media(-moz-windows-classic) {
39-
body {
40-
background: Menu;
41-
color: MenuText;
42-
}
43-
}
4437
</style>
4538
</head>
4639

0 commit comments

Comments
 (0)