Bug 1326593 - Keep the soundplaying icon visible after audio has stopped playing if the tab has been muted. r?gijs
MozReview-Commit-ID: 8LiIcqonHi9
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -232,18 +232,18 @@
}
.tab-icon-sound[soundplaying]:not(:hover),
.tab-icon-sound[muted]:not(:hover),
.tab-icon-sound[blocked]:not(:hover) {
opacity: .8;
}
-.tab-icon-sound[soundplaying-scheduledremoval]:not(:hover),
-.tab-icon-overlay[soundplaying-scheduledremoval]:not(:hover) {
+.tab-icon-sound[soundplaying-scheduledremoval]:not([muted]):not(:hover),
+.tab-icon-overlay[soundplaying-scheduledremoval]:not([muted]):not(:hover) {
transition: opacity .3s linear var(--soundplaying-removal-delay);
opacity: 0;
}
.tab-background,
.tabs-newtab-button {
/* overlap the tab curves */
margin-inline-end: calc(-1 * var(--tab-curve-half-width));