Skip to content

Commit

Permalink
Don't apply square styling to sound-playing button on Photon theme #3696
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 14, 2025
1 parent 9a3f21a commit 04cf13b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions webextensions/sidebar/styles/photon/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ tab-item tab-closebox {
padding-inline: 0.25em;
}

tab-item tab-closebox::before,
tab-item:not(.faviconized) tab-sound-button::before {
tab-item tab-closebox::before {
border-radius: 10%;
content: "";
display: inline-block;
Expand All @@ -135,20 +134,17 @@ tab-item:not(.faviconized) tab-sound-button::before {
position: absolute;
}

tab-item tab-closebox:hover::before,
tab-item:not(.faviconized) tab-sound-button:hover::before {
tab-item tab-closebox:hover::before {
background: var(--tab-text);
box-shadow: 0 0 0.1em rgba(255, 255, 255, 0.3);
opacity: 0.1;
}

tab-item tab-closebox:active::before,
tab-item:not(.faviconized) tab-sound-button:active::before {
tab-item tab-closebox:active::before {
opacity: 0.2;
}

tab-item.active tab-closebox:hover::before,
tab-item:not(.faviconized).active tab-sound-button:hover::before {
tab-item.active tab-closebox:hover::before {
background: var(--tab-text);
}

Expand Down

0 comments on commit 04cf13b

Please sign in to comment.