2021-04-17 09:21:36 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/inline_tab_audio_icons.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
|
|
|
/* Shows tab audio icons next to the tab icon, and by default removes the tab secondary line */
|
|
|
|
|
2021-06-05 06:00:30 +00:00
|
|
|
.tabbrowser-tab:not([pinned]) .tab-icon-stack:is([muted],[soundplaying],[activemedia-blocked]){
|
2021-04-17 09:21:36 +00:00
|
|
|
grid-template-areas: "a s";
|
|
|
|
}
|
2021-06-05 06:00:30 +00:00
|
|
|
.tabbrowser-tab:not([pinned]) .tab-icon-overlay:is([muted],[soundplaying],[activemedia-blocked]){ grid-area: s; }
|
2021-11-01 04:58:42 +00:00
|
|
|
.tab-icon-overlay,
|
|
|
|
.tab-icon-image,
|
|
|
|
.tab-throbber{ opacity: 1 !important; }
|
2021-04-17 09:21:36 +00:00
|
|
|
|
2021-08-23 08:53:00 +00:00
|
|
|
.tab-icon-overlay:not([pinned]){
|
|
|
|
padding: 0px !important;
|
|
|
|
margin-inline: -3px 1px !important;
|
|
|
|
}
|
|
|
|
|
2021-04-17 10:41:48 +00:00
|
|
|
/* secondary audio label ain't much use with this style, but feel free to remove the next line if you want to show it. */
|
|
|
|
.tab-secondary-label{ display: none }
|
|
|
|
|
|
|
|
/* show the secondary label when video is in PiP */
|
2022-03-29 14:14:40 +00:00
|
|
|
.tab-secondary-label[pictureinpicture]{ display: -moz-box }
|
|
|
|
|
|
|
|
/* These exist for compatibility with combined_favicon_and_tab_close_button.css */
|
|
|
|
.tab-icon-overlay{ pointer-events: auto }
|
|
|
|
.tab-content > .tab-icon-stack,
|
|
|
|
.tab-icon-stack:hover > .tab-icon-image{ visibility: visible }
|