mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-10 03:40:14 +00:00
19 lines
No EOL
1,009 B
CSS
19 lines
No EOL
1,009 B
CSS
/* 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 */
|
|
|
|
.tab-icon-stack:is([muted],[soundplaying],[activemedia-blocked]){
|
|
grid-template-areas: "a s";
|
|
}
|
|
.tab-icon-overlay:is([muted],[soundplaying],[activemedia-blocked]){ grid-area: s; }
|
|
.tab-icon-overlay,.tab-icon-image{ opacity: 1 !important; }
|
|
|
|
/* secondary audio label can be removed if you use this style, but feel free to remove the next line if you want to show it. */
|
|
.tab-secondary-label{ display: none }
|
|
|
|
/* 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 */
|
|
.tab-secondary-label[pictureinpicture]{ display: -moz-box } |