mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-10 03:40:14 +00:00
Override :root scrollbar-color with variable colors
This commit is contained in:
parent
b1dc9dccf3
commit
138c171598
1 changed files with 6 additions and 11 deletions
|
@ -1,8 +1,11 @@
|
||||||
|
/* Recolors addons manager, preferences page and new about:config */
|
||||||
|
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
@namespace html url("http://www.w3.org/1999/xhtml");
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
||||||
|
|
||||||
@-moz-document url-prefix("about:addons"),
|
@-moz-document url-prefix("about:addons"),
|
||||||
url-prefix("about:preferences"),
|
url-prefix("about:preferences"),
|
||||||
|
url-prefix("about:config"),
|
||||||
url-prefix("chrome://browser/content/"),
|
url-prefix("chrome://browser/content/"),
|
||||||
url-prefix("chrome://mozapps/content/"),
|
url-prefix("chrome://mozapps/content/"),
|
||||||
url-prefix("chrome://pippki/content/"),
|
url-prefix("chrome://pippki/content/"),
|
||||||
|
@ -11,9 +14,10 @@
|
||||||
html|html{
|
html|html{
|
||||||
--in-content-page-color: rgb(210,210,210) !important;
|
--in-content-page-color: rgb(210,210,210) !important;
|
||||||
--in-content-text-color: rgb(210,210,210) !important;
|
--in-content-text-color: rgb(210,210,210) !important;
|
||||||
--in-content-page-background: rgb(46,54,69) !important;
|
--in-content-page-background: rgb(42,42,46) !important;
|
||||||
--in-content-box-background: rgba(255,255,255,0.1) !important;
|
--in-content-box-background: rgba(255,255,255,0.1) !important;
|
||||||
--in-content-deemphasized-text: var(--in-content-text-color) !important;
|
--in-content-deemphasized-text: var(--in-content-text-color) !important;
|
||||||
|
scrollbar-color: var(--in-content-text-color) var(--in-content-page-background) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
menulist > menupopup{ background-color: var(--in-content-page-background) !important; }
|
menulist > menupopup{ background-color: var(--in-content-page-background) !important; }
|
||||||
|
@ -36,6 +40,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get addons page */
|
/* Get addons page */
|
||||||
|
/* New addons manager doesn't use this anymore */
|
||||||
@-moz-document url-prefix("https://discovery.addons.mozilla.org/"){
|
@-moz-document url-prefix("https://discovery.addons.mozilla.org/"){
|
||||||
html|*{ color: inherit !important; }
|
html|*{ color: inherit !important; }
|
||||||
html|html,html|body{
|
html|html,html|body{
|
||||||
|
@ -44,13 +49,3 @@
|
||||||
}
|
}
|
||||||
html|div.addon,html|div.Notice{ background-color: rgba(255,255,255,0.1) !important; }
|
html|div.addon,html|div.Notice{ background-color: rgba(255,255,255,0.1) !important; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* New about:config */
|
|
||||||
@-moz-document url-prefix("about:config"){
|
|
||||||
html|html{
|
|
||||||
--in-content-page-color: rgb(210,210,210) !important;
|
|
||||||
--in-content-text-color: rgb(210,210,210) !important;
|
|
||||||
--in-content-page-background: rgb(46,54,69) !important;
|
|
||||||
--in-content-box-background: rgb(56,64,79) !important;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue