From c5580fd04e9b198320f79d441c78a641517d7af5 Mon Sep 17 00:00:00 2001 From: rockofox Date: Thu, 15 Feb 2024 20:01:42 +0100 Subject: [PATCH] Show muted tab icon alongside the favicon --- userChrome.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/userChrome.css b/userChrome.css index 19d7876..91f51c0 100644 --- a/userChrome.css +++ b/userChrome.css @@ -23,6 +23,25 @@ /* Minima Source Code. Here be dragons. */ /* Only change this if you know what you're doing */ +tab[muted] .tab-label::before { + background-image: url("chrome://browser/skin/tabbrowser/tab-audio-muted-small.svg"); + background-size:100% 100%; + display: inline-block; + min-width: 12px; + width: var(--tab-font-size); + height: auto; + content:"\00a0"; + position: relative; + -moz-context-properties: fill, fill-opacity, stroke; + fill: currentColor; + stroke: transparent; + margin-right: 0.2em; +} + +tab:hover[muted] .tab-label::before { + display: none; +} + .titlebar-buttonbox-container { display: var(--show-titlebar-buttons); }