Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Firefox Proton macOS Close Tab Left
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.tabbrowser-tab .tab-throbber,
.tabbrowser-tab .tab-icon-image,
.tabbrowser-tab .tab-sharing-icon-overlay,
.tabbrowser-tab .tab-icon-overlay,
.tabbrowser-tab .tab-label-container,
.tabbrowser-tab .tab-icon-sound {
-moz-box-ordinal-group: 2 !important;
}
.tabbrowser-tab .tab-close-button {
margin-left: -5.5px !important;
margin-right: 3px !important;
}
.tabbrowser-tab:not([pinned="true"]):hover .tab-close-button {
display: -moz-box !important;
}
.tabbrowser-tab:not([pinned="true"]):hover .tab-icon-image,
.tabbrowser-tab:not([pinned="true"]):hover .tab-throbber {
display: none;
}
.tab-close-button {
display: none;
}
@G3NSVRV
Copy link

G3NSVRV commented Sep 13, 2021

thanks m8, this is what I was looking for. this is how it looks my Linux now thanks to you 😛:

image

@Kwadz
Copy link

Kwadz commented Nov 2, 2021

@G3NSVRV, your Linux/theme looks nice! Which distro is it?

@Kwadz
Copy link

Kwadz commented Nov 2, 2021

@biosmanager, it seems we could even simplify with the following, from "Close tab" button on left?:

.tabbrowser-tab .tab-close-button {
  -moz-box-ordinal-group: 0 !important;
}

@G3NSVRV
Copy link

G3NSVRV commented Nov 2, 2021

@G3NSVRV, your Linux/theme looks nice! Which distro is it?

Garuda KDE + firefox-appmenu

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