22 https://github.com/Godiesc/firefox-gx */
33
44window , dialog , .dialogBox {
5- --background-color-canvas : var (--background-color-canvas ) !important ; /* Background-color */
5+ --background-color-canvas : var (--in-content-page-background ) !important ; /* Background-color */
66
77 --button-background-color-primary : var (--button-active-bgcolor ) !important ; /* Background-primary color */
88 --button-text-color-primary : var (--in-content-primary-button-text-color ); /* Label primary button */
@@ -16,7 +16,7 @@ window, dialog, .dialogBox {
1616 window , dialog , .dialogBox {
1717
1818 --color-accent-primary : var (--general-color ) !important ;
19- --background-color-canvas : # 1a1a24 !important ;
19+ --in-content-page-background : # 1a1a24 !important ;
2020 --in-content-primary-button-background : var (--general-color ) !important ;
2121 --in-content-primary-button-text-color : white !important ;
2222 --in-content-primary-button-background-hover : var (--button-active-bgcolor ) !important ; /* Radiobutton background color on 'hover' */
@@ -29,7 +29,7 @@ window, dialog, .dialogBox {
2929@media (prefers-color-scheme : light) {
3030 window , dialog , .dialogBox {
3131 --color-accent-primary : var (--general-color ) !important ;
32- --background-color-canvas : # f9f9f9 !important ;
32+ --in-content-page-background : # f9f9f9 !important ;
3333 --in-content-primary-button-background : var (--general-color ) !important ;
3434 --in-content-primary-button-text-color : white !important ;
3535 --in-content-primary-button-background-hover : var (--button-active-bgcolor ) !important ; /* Radiobutton background color on 'hover' */
@@ -53,8 +53,7 @@ window, dialog, .dialogBox {
5353
5454 --in-content-box-background-odd : color-mix (in srgb,
5555 var (--in-content-box-border-color ), transparent) !important ;
56- --table-row-background-color-alternate : color-mix (in srgb,
57- var (--background-color-canvas ) 95% , var (--in-content-text-color )) !important ; /* Color distinction between rows in a 'table' and 'search shortcuts' */
56+ --table-row-background-color-alternate : var (--in-content-page-background ) !important ; /* Color distinction between rows in a 'table' and 'search shortcuts' */
5857
5958 --in-content-box-info-background : var (--in-content-box-background-odd ) !important ; /* Background color of the box of items that sync */
6059 --section-highlight-background-color : var (--in-content-box-info-background ) !important ;
@@ -63,7 +62,7 @@ window, dialog, .dialogBox {
6362 --in-content-table-border-color : var (--in-content-box-border-color ) !important ; /* table border color */
6463
6564 --background-color-box : var (--in-content-box-background ) !important ; /* Background color of tables */
66- --in-content-table-background : var (--background-color-canvas ) !important ; /* Background color of 'about:support' tables */
65+ --in-content-table-background : var (--in-content-page-background ) !important ; /* Background color of 'about:support' tables */
6766
6867 --card-outline-color : var (--general-color ) !important ; /* outline color in 'themes' and 'extensions' */
6968 --card-shadow-hover : var (--card-shadow ), 0 0 0 5px var (--card-outline-color ) !important ; /* outline color in 'themes' and 'extensions' on 'hover' */
@@ -79,9 +78,9 @@ window, dialog, .dialogBox {
7978
8079 --button-border-color-hover : var (--button-bgcolor ) !important ; /* Button border color on 'hover' */
8180
82- --button-background-color-primary : var (--button-hover-bgcolor ) !important ; /* Primary button background */
83- --button-background-color-primary-hover : var (--button-active-bgcolor ) !important ; /* Primary button background on 'hover' */
84- --button-background-color-primary-active : var (--button-hover-bgcolor ) !important ; /* Primary button background on 'active' */
81+ --button-background-color-primary : var (--button-hover-bgcolor ) !important ; /* Primary button background */
82+ --button-background-color-primary-hover : var (--button-active-bgcolor ) !important ; /* Primary button background on 'hover' */
83+ --button-background-color-primary-active : var (--button-hover-bgcolor ) !important ; /* Primary button background on 'active' */
8584
8685 --button-text-color-primary : var (--in-content-text-color ) !important ;
8786
@@ -105,35 +104,38 @@ window, dialog, .dialogBox {
105104 : root {
106105 --contrast-color : # ffffff !important ; /* Contrast background color */
107106 --border-contrast-color : # 000000 !important ; /* Contrast border color */
108- --background-color-canvas : # 121018 !important ; /* Bakground color */
107+ --in-content-page-background : # 121018 !important ; /* Bakground color */
108+ --background-color-canvas : # 090911 !important ; /* 'about:' background */
109109
110110 --in-content-box-background : # 15151e !important ; /* Color of textboxes and background of drop-down menus */
111111 --in-content-box-border-color : # 272b37 !important ; /* Textbox border color */
112112 }
113113
114114 /* Pop-up window background in 'settings' */
115- .dialogBox { --background-color-canvas : # 1a1a24 !important ; }
115+ .dialogBox { --in-content-page-background : # 1a1a24 !important ; }
116116}
117117
118118@media (prefers-color-scheme : light) {
119119 : root {
120120 --contrast-color : # 000000 !important ; /* Contrast background color */
121121 --border-contrast-color : # ffffff !important ; /* Contrast border color */
122- --background-color-canvas : # f9f9f9 !important ; /* Bakground color */
122+ --in-content-page-background : # f9f9f9 !important ; /* Bakground color */
123+ --background-color-canvas : # f0f0f0 !important ; /* 'about:' background */
123124
124125 --in-content-box-background : # f9f9fb !important ; /* Color of textboxes and background of drop-down menus */
125126 --in-content-box-border-color : # d4cfe7 !important ; /* Textbox border color */
126127 }
127128
128129 /* Pop-up window background in 'settings' */
129- .dialogBox {--background-color-canvas : # f9f9f9 !important ;}
130+ .dialogBox {--in-content-page-background : # f9f9f9 !important ;}
130131}
131132
132133/* _____________________________________ Various colors of the 'Add-ons' and 'Preferences' interface _____________________________________ */
133134
134- @-moz-document url-prefix(about: preferences), url-prefix(about: addons), url-prefix(about: suppor t), url-prefix(about: profiles) , url-prefix(about: debugging), url-prefix(about: welcome) {
135+ @-moz-document url-prefix(about: preferences), url-prefix(about: settings), url-prefix(about: addons),
136+ url-prefix(about: suppor t), url-prefix(about: profiles) , url-prefix(about: debugging), url-prefix(about: welcome) {
135137
136- : root { --opaque : color-mix (in srgb, var (--background-color-canvas ) 50% , transparent) !important ; }
138+ : root { --opaque : color-mix (in srgb, var (--in-content-page-background ) 50% , transparent) !important ; }
137139
138140 /* Informative messages */
139141
@@ -394,7 +396,7 @@ window, dialog, .dialogBox {
394396 max-height : 100vh ;
395397 display : grid !important ;
396398 grid-template-rows : auto auto 1fr ;
397- --background-color-canvas : transparent;
399+ --in-content-page-background : transparent;
398400 }
399401
400402 # main {
0 commit comments