diff --git a/chrome/extras/hidetabclosebutton.css b/chrome/extras/hidetabclosebutton.css new file mode 100644 index 0000000..93338ad --- /dev/null +++ b/chrome/extras/hidetabclosebutton.css @@ -0,0 +1,12 @@ +/* Hide tab close button when mouse not hovering over it */ +.tab-close-button { + transform: translateY(32px) !important; + margin-inline-start: -16px !important; + transition-property: margin, transform !important; + transition-duration: 200ms !important; + transition-timing-function: cubic-bezier(1, 0, 0, 1) !important; +} +:-moz-any(.tabbrowser-tab:hover:hover, .tabbrowser-tab[visuallyselected]) .tab-close-button { + transform: none !important; + margin-inline-start: 0 !important; +}