2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/combined_favicon_and_tab_close_button.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2018-12-31 11:34:01 +00:00
|
|
|
/* Show tab close button when cursor is over the tab icon */
|
|
|
|
|
2022-03-29 14:14:40 +00:00
|
|
|
/* inline_tab_audio_icons.css is recommended because otherwise you cannot mute the tab using the mute button */
|
|
|
|
|
|
|
|
.tab-content{
|
|
|
|
pointer-events: none
|
|
|
|
}
|
|
|
|
.tab-icon-image:not([busy]){ display: block !important; }
|
|
|
|
:where(.tab-content:hover) .tab-icon-image,
|
|
|
|
:where(.tab-content:hover) > .tab-icon-stack{
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-31 11:34:01 +00:00
|
|
|
.tab-close-button{
|
|
|
|
-moz-box-ordinal-group: 0;
|
|
|
|
display: -moz-box !important;
|
|
|
|
position: relative;
|
2021-11-23 14:49:50 +00:00
|
|
|
margin-inline: -4px -20px !important;
|
|
|
|
padding-inline-start: 7px !important;
|
2022-03-29 14:14:40 +00:00
|
|
|
opacity: 0;
|
2021-05-09 04:47:17 +00:00
|
|
|
width: unset !important;
|
2022-03-29 14:14:40 +00:00
|
|
|
pointer-events: auto;
|
2018-12-31 11:34:01 +00:00
|
|
|
}
|
2022-03-29 14:14:40 +00:00
|
|
|
.tab-close-button:hover{ opacity: 1 }
|
2019-10-10 17:51:46 +00:00
|
|
|
.tabbrowser-tab[pinned] .tab-close-button{ display: none !important; }
|