Last active
January 9, 2025 15:59
-
-
Save biosmanager/93544485fb0da3ad0577856186b9b3e8 to your computer and use it in GitHub Desktop.
Firefox Proton macOS Close Tab Left (updated for version 113)
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"); | |
.tabbrowser-tab .tab-close-button { | |
opacity: 0; | |
margin-left: -4.5px !important; | |
margin-right: 2px !important; | |
} | |
.tabbrowser-tab:not(:hover) .tab-close-button { | |
display: none; | |
} | |
.tabbrowser-tab:not([pinned="true"]):hover .tab-close-button { | |
opacity: 1; | |
margin-inline-end: 0; | |
-moz-box-ordinal-group: 0 !important; | |
order: -1 !important; | |
display: unset !important; | |
} | |
.tabbrowser-tab:not([pinned="true"]):hover .tab-icon-stack { | |
-moz-box-ordinal-group: 99999 !important; | |
order: 99999 !important; | |
} | |
.tabbrowser-tab:not([pinned="true"]):hover .tab-icon-stack:not([indicator-replaces-favicon]) { | |
display: none; | |
} |
I tried
-1
and it seems to work for me:.tabbrowser-tab .tab-close-button { opacity: 0; margin-left: -4.5px !important; margin-right: 2px !important; } .tabbrowser-tab:not(:hover) .tab-close-button { display: none; } .tabbrowser-tab:not([pinned="true"]):hover .tab-close-button { opacity: 1; margin-inline-end: 0; -moz-box-ordinal-group: 0 !important; order: -1 !important; display: unset !important; } .tabbrowser-tab:not([pinned="true"]):hover .tab-icon-stack { -moz-box-ordinal-group: 99999 !important; order: 99999 !important; } .tabbrowser-tab:not([pinned="true"]):hover .tab-icon-stack:not([indicator-replaces-favicon]) { display: none; }
Can you guys test this and confirm? I will then update the gist.
Worked perfect for me, thanks!
Can you guys test this and confirm? I will then update the gist.
+1. Thank you savior.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🎉 Your solution works great… thank you! PS:
order: -1;
also works for search bar on top. 👍