Last active
December 13, 2022 03:05
-
-
Save josh64x2/9f3881285df62e4be542807fa8e4d2e2 to your computer and use it in GitHub Desktop.
Firefox userChrome.css for showing close button on tabs on hover and left hand side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
//@-moz-document url(chrome://browser/content/browser.xul){ | |
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]) .tab-close-button { | |
-moz-box-ordinal-group: 0 !important; | |
-moz-margin-start:-4px !important; | |
-moz-margin-end:4px !important; | |
} | |
.tabbrowser-tab:not(:hover) .tab-close-button{ display:none; } | |
.tabbrowser-tab:not([pinned]):hover .tab-close-button{ display:block !important; } | |
//} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment