Combine dark addon manager with dark preferences and about:config

This commit is contained in:
MrOtherGuy 2019-04-07 12:50:55 +03:00
parent 49c9accc63
commit bf05f6c7c1

View file

@ -1,19 +1,37 @@
/* 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("about:addons"){ @-moz-document url-prefix("about:addons"),
url-prefix("about:preferences"){
:root{ :root{
--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(46,54,69) !important;
--in-content-box-background: rgba(255,255,255,0.1) !important; --in-content-box-background: rgba(255,255,255,0.1) !important;
} }
.message-bar,.alert{
menulist > menupopup{ background-color: var(--in-content-page-background) !important; }
.updateSettingCrossUserWarningContainer,
.info-panel,
.extension-controlled,
.message-bar,
.alert,
treecol{
background-color: var(--in-content-box-background) !important; background-color: var(--in-content-box-background) !important;
color: var(--in-content-text-color) !important; color: var(--in-content-text-color) !important;
} }
.detail-row, .detail-row-complex{ text-shadow: none !important; } .menulist-dropmarker,
.checkbox-icon{
-moz-context-properties: fill;
fill : CurrentColor !important;
}
} }
/* Get addons page */
@-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{
@ -22,3 +40,13 @@
} }
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;
}
}