mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Proton - Content's color scope
This commit is contained in:
parent
fc1eec8d22
commit
f986e74a94
4 changed files with 8 additions and 6 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
url-prefix("https://addons.mozilla.org"),
|
url-prefix("https://addons.mozilla.org"),
|
||||||
url-prefix("https://support.mozilla.org"),
|
url-prefix("https://support.mozilla.org"),
|
||||||
url-prefix("https://accounts.firefox.com"),
|
url-prefix("https://accounts.firefox.com"),
|
||||||
regexp("^((file:\/\/\/)|(chrome:\/\/)).*\/$") {
|
url-prefix("view-source"),
|
||||||
|
regexp("^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$") {
|
||||||
@import "../theme/proton_color";
|
@import "../theme/proton_color";
|
||||||
|
|
||||||
@include Option("userContent.page.proton_color.dark_blue_accent") {
|
@include Option("userContent.page.proton_color.dark_blue_accent") {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
@-moz-document url-prefix("about:sync-log"),
|
@-moz-document url-prefix("about:sync-log"),
|
||||||
regexp("^((file:\/\/\/)|(chrome:\/\/)).*\/$") {
|
regexp("^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$") {
|
||||||
body {
|
body {
|
||||||
background-color: var(--in-content-box-background) !important;
|
background-color: var(--in-content-box-background) !important;
|
||||||
margin: 4em auto !important; /* Override to default */
|
margin: 4em auto !important; /* Override to default */
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
url-prefix("about:checkerboard"),
|
url-prefix("about:checkerboard"),
|
||||||
url-prefix("about:sync-log"),
|
url-prefix("about:sync-log"),
|
||||||
url-prefix("about:memory"),
|
url-prefix("about:memory"),
|
||||||
regexp("^((file:\/\/\/)|(chrome:\/\/)).*\/$") {
|
regexp("^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$") {
|
||||||
/* Base */
|
/* Base */
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
|
|
||||||
|
|
@ -531,7 +531,8 @@
|
||||||
url-prefix("https://addons.mozilla.org"),
|
url-prefix("https://addons.mozilla.org"),
|
||||||
url-prefix("https://support.mozilla.org"),
|
url-prefix("https://support.mozilla.org"),
|
||||||
url-prefix("https://accounts.firefox.com"),
|
url-prefix("https://accounts.firefox.com"),
|
||||||
regexp("^((file:///)|(chrome://)).*/$")
|
url-prefix("view-source"),
|
||||||
|
regexp("^(((jar:)?file:///)|(chrome://)).*/$")
|
||||||
{
|
{
|
||||||
/*= Default Colors - Hard Coded ==============================================*/
|
/*= Default Colors - Hard Coded ==============================================*/
|
||||||
/* Based on chrome://global/skin/in-content/common.css */
|
/* Based on chrome://global/skin/in-content/common.css */
|
||||||
|
|
@ -1358,7 +1359,7 @@
|
||||||
url-prefix("about:checkerboard"),
|
url-prefix("about:checkerboard"),
|
||||||
url-prefix("about:sync-log"),
|
url-prefix("about:sync-log"),
|
||||||
url-prefix("about:memory"),
|
url-prefix("about:memory"),
|
||||||
regexp("^((file:///)|(chrome://)).*/$")
|
regexp("^(((jar:)?file:///)|(chrome://)).*/$")
|
||||||
{
|
{
|
||||||
/* Base */
|
/* Base */
|
||||||
html,
|
html,
|
||||||
|
|
@ -1698,7 +1699,7 @@
|
||||||
}
|
}
|
||||||
/*= Directory View ===========================================================*/
|
/*= Directory View ===========================================================*/
|
||||||
@-moz-document url-prefix("about:sync-log"),
|
@-moz-document url-prefix("about:sync-log"),
|
||||||
regexp("^((file:///)|(chrome://)).*/$")
|
regexp("^(((jar:)?file:///)|(chrome://)).*/$")
|
||||||
{
|
{
|
||||||
body {
|
body {
|
||||||
background-color: var(--in-content-box-background) !important;
|
background-color: var(--in-content-box-background) !important;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue