From cebde512b55b5bec0ae5cff8818f671b7d37a2e8 Mon Sep 17 00:00:00 2001 From: Anarky Date: Tue, 4 Oct 2022 13:45:03 +0200 Subject: [PATCH] Create newtab_button_always_on_hover.css (#208) This is based on tab_close_button_always_on_hover.css Co-authored-by: Anarky --- chrome/newtab_button_always_on_hover.css | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 chrome/newtab_button_always_on_hover.css diff --git a/chrome/newtab_button_always_on_hover.css b/chrome/newtab_button_always_on_hover.css new file mode 100644 index 0000000..8ae4dcd --- /dev/null +++ b/chrome/newtab_button_always_on_hover.css @@ -0,0 +1,10 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/newtab_button_always_on_hover.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +/* Always show tab close button on hover and never otherwise */ +#tabbrowser-tabs #tabs-newtab-button{ + display:none; +} +#tabbrowser-tabs:hover #tabs-newtab-button{ + display:-moz-box !important; +}