Skip to content

Commit

Permalink
Match styling of sound-playing/muted button to Firefox 136 and later #…
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Feb 21, 2025
1 parent 032686e commit 2d03f65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
7 changes: 2 additions & 5 deletions webextensions/sidebar/styles/icons/audio-16-mute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions webextensions/sidebar/styles/icons/audio-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions webextensions/sidebar/styles/sound-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tab-sound-button {

/* background circle */
tab-sound-button::before {
background: var(--tab-text);
background: var(--tab-text-inverted);
border-radius: 150%;
content: "";
display: inline-block;
Expand All @@ -51,15 +51,15 @@ tab-sound-button::after {
background: none no-repeat center / 100%;
content: "";
display: inline-block;
fill: var(--tab-text-inverted);
fill: var(--tab-text);
height: var(--sound-button-size);
inset-inline-end: 0;
position: absolute;
top: 0;
width: var(--sound-button-size);
}
:root.simulate-svg-context-fill tab-sound-button::after {
background: var(--tab-text-inverted);
background: var(--tab-text);
mask-position: center;
mask-repeat: no-repeat;
mask-size: 100%;
Expand Down

0 comments on commit 2d03f65

Please sign in to comment.