From 60198dceefc65d424508ccab4836355d9ff8893b Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Thu, 25 Mar 2021 02:15:46 +0800 Subject: [PATCH] Add files via upload --- chrome/extras/hidetabclosebutton.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 chrome/extras/hidetabclosebutton.css 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; +}