Skip to content

Instantly share code, notes, and snippets.

@riaf
Created August 13, 2020 05:23
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 riaf/ec206e8d26b092a31456fb6ceedf913e to your computer and use it in GitHub Desktop.
Save riaf/ec206e8d26b092a31456fb6ceedf913e to your computer and use it in GitHub Desktop.
Take the anger out of Firefox's UI for use on macOS. (Move the close tab button to the left and only show it on mouseover.)
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
toolbarbutton#alltabs-button {
-moz-binding: url("userChrome.xml#js");
}
.tabbrowser-tab .tab-close-button {
-moz-box-ordinal-group: 0 !important;
opacity: 0;
}
.tabbrowser-tab:not([pinned]):hover .tab-close-button {
opacity: 1;
}
@riaf
Copy link
Author

riaf commented Aug 14, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment