From cb64cb353cd764c384c227f48ff8a31891f52385 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Mon, 31 Dec 2018 13:34:01 +0200 Subject: [PATCH] New file --- chrome/combined_favicon_and_tab_close_button.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 chrome/combined_favicon_and_tab_close_button.css diff --git a/chrome/combined_favicon_and_tab_close_button.css b/chrome/combined_favicon_and_tab_close_button.css new file mode 100644 index 0000000..c730f14 --- /dev/null +++ b/chrome/combined_favicon_and_tab_close_button.css @@ -0,0 +1,13 @@ +/* Show tab close button when cursor is over the tab icon */ + +.tab-close-button{ + -moz-box-ordinal-group: 0; + display: -moz-box !important; + position: relative; + margin-right: -18px !important; + z-index: -1; + visibility: hidden; +} +.tab-close-button:hover{ background-color: var(--lwt-accent-color); } +.tabbrowser-tab[selected] .tab-close-button:hover{ background-color: var(--lwt-selected-tab-background-color, var(--toolbar-bgcolor)); } +.tab-icon-image:hover ~ .tab-close-button, .tab-close-button:hover{ visibility: visible; z-index: 1 } \ No newline at end of file