Skip to content

Instantly share code, notes, and snippets.

@thenewvu
Last active March 14, 2019 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thenewvu/e630040521e773beef29dc695c46261b to your computer and use it in GitHub Desktop.
Save thenewvu/e630040521e773beef29dc695c46261b to your computer and use it in GitHub Desktop.
Some css files to customize Firefox internal UI (place at $(user-profile-dir)/chrome/)
/*
* darkern loading page background
*/
#browser vbox#appcontent tabbrowser,
#content,
#tabbrowser-tabpanels,
browser[type=content-primary],
browser[type=content] > html {
background: black !important
}
#main-window,
browser[type="content-primary"],
browser[type="content"],
tabbrowser#content,
#content,
browser[type="content"] > html
{
background: black !important;
}
/*
* darkern reader view sidebar
*/
@-moz-document url-prefix("about:reader") {
.toolbar {
background-color: #222 !important;
border-right: 1px solid #555 !important;
}
.button {
color: #cecece !important;
background-color: #222 !important;
}
.toolbar .button {
border-right: 1px solid #555 !important;
border-bottom: 1px solid #555 !important;
}
}
/*
* darkern new tab page background
*/
@-moz-document url("about:newtab") {
body {
background-color: #141c24 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment