create inline_tab_audio_icons.css

This commit is contained in:
MrOtherGuy 2021-04-17 12:21:36 +03:00
parent 3123d87a1c
commit 36a11ddb7c
3 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,13 @@
/* 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 }

View file

@ -120,5 +120,6 @@
"passive_tab_audio_label.css":["tab","proton"],
"hide_tabs_scrollbuttons.css":["tabs","hiding","buttons","minimal"],
"tab_effect_scale_onclick.css":["tab","effect"],
"auto_devtools_theme_for_rdm.css":["devtools","colors"]
"auto_devtools_theme_for_rdm.css":["devtools","colors"],
"inline_tab_audio_icons.css":["tab","icon","proton"]
}

View file

@ -120,3 +120,4 @@ passive_tab_audio_label.css,tab,proton
hide_tabs_scrollbuttons.css,tabs,hiding,buttons,minimal
tab_effect_scale_onclick.css,tab,effect
auto_devtools_theme_for_rdm.css,devtools,colors
inline_tab_audio_icons.css,tab,icon,proton

1 autohide_bookmarks_and_main_toolbars.css,autohide,bookmarks,toolbars,nav-bar
120 hide_tabs_scrollbuttons.css,tabs,hiding,buttons,minimal
121 tab_effect_scale_onclick.css,tab,effect
122 auto_devtools_theme_for_rdm.css,devtools,colors
123 inline_tab_audio_icons.css,tab,icon,proton