2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/content/dark_settings_pages.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2019-08-16 13:29:55 +00:00
|
|
|
/* Recolors addons manager, preferences page and new about:config */
|
|
|
|
|
2019-04-06 11:21:25 +00:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
|
|
|
|
2019-04-07 09:50:55 +00:00
|
|
|
@-moz-document url-prefix("about:addons"),
|
2019-07-09 09:42:56 +00:00
|
|
|
url-prefix("about:preferences"),
|
2019-08-16 13:29:55 +00:00
|
|
|
url-prefix("about:config"),
|
2019-07-17 13:05:55 +00:00
|
|
|
url-prefix("chrome://browser/content/"),
|
|
|
|
url-prefix("chrome://mozapps/content/"),
|
|
|
|
url-prefix("chrome://pippki/content/"),
|
2019-07-09 09:42:56 +00:00
|
|
|
url-prefix("chrome://mozapps/content/extensions/aboutaddons.html"){
|
2019-07-17 13:05:55 +00:00
|
|
|
:root,
|
|
|
|
html|html{
|
|
|
|
--in-content-page-color: rgb(210,210,210) !important;
|
|
|
|
--in-content-text-color: rgb(210,210,210) !important;
|
2019-08-16 13:29:55 +00:00
|
|
|
--in-content-page-background: rgb(42,42,46) !important;
|
2019-07-17 13:05:55 +00:00
|
|
|
--in-content-box-background: rgba(255,255,255,0.1) !important;
|
|
|
|
--in-content-deemphasized-text: var(--in-content-text-color) !important;
|
2019-08-16 13:29:55 +00:00
|
|
|
scrollbar-color: var(--in-content-text-color) var(--in-content-page-background) !important;
|
2019-10-20 09:36:44 +00:00
|
|
|
color:var(--in-content-text-color) !important;
|
2019-07-17 13:05:55 +00:00
|
|
|
}
|
2019-04-07 09:50:55 +00:00
|
|
|
|
|
|
|
menulist > menupopup{ background-color: var(--in-content-page-background) !important; }
|
|
|
|
|
|
|
|
.updateSettingCrossUserWarningContainer,
|
|
|
|
.info-panel,
|
|
|
|
.extension-controlled,
|
|
|
|
.message-bar,
|
2019-07-09 09:42:56 +00:00
|
|
|
html|message-bar,
|
2019-04-07 09:50:55 +00:00
|
|
|
.alert,
|
|
|
|
treecol{
|
2019-04-06 11:21:25 +00:00
|
|
|
background-color: var(--in-content-box-background) !important;
|
|
|
|
color: var(--in-content-text-color) !important;
|
|
|
|
}
|
2019-04-07 09:50:55 +00:00
|
|
|
.menulist-dropmarker,
|
|
|
|
.checkbox-icon{
|
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill : CurrentColor !important;
|
|
|
|
}
|
2019-10-18 10:45:27 +00:00
|
|
|
/* make panel background blurry if the background is translucent. Requires pref layout.css.backdrop-filter.enabled */
|
2019-11-06 22:04:19 +00:00
|
|
|
html|panel-list{ backdrop-filter: blur(28px) }
|
2019-04-06 11:21:25 +00:00
|
|
|
}
|
2019-04-07 09:50:55 +00:00
|
|
|
|
|
|
|
/* Get addons page */
|
2019-08-16 13:29:55 +00:00
|
|
|
/* New addons manager doesn't use this anymore */
|
2019-04-06 11:21:25 +00:00
|
|
|
@-moz-document url-prefix("https://discovery.addons.mozilla.org/"){
|
|
|
|
html|*{ color: inherit !important; }
|
|
|
|
html|html,html|body{
|
|
|
|
background-color: rgb(46,54,69) !important;
|
|
|
|
color: rgb(210,210,210) !important;
|
|
|
|
}
|
|
|
|
html|div.addon,html|div.Notice{ background-color: rgba(255,255,255,0.1) !important; }
|
|
|
|
}
|