Skip to content

Commit

Permalink
Bug 1768451 - The PiP's buttons show a highlight on hover when in ful…
Browse files Browse the repository at this point in the history
…l screen r=kpatenio,niklas

Differential Revision: https://phabricator.services.mozilla.com/D148251
  • Loading branch information
janvi01 committed Jun 13, 2022
1 parent c9fe82e commit 6362868
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toolkit/themes/shared/pictureinpicture/player.css
Expand Up @@ -98,7 +98,9 @@ browser {
border-radius: 0px;
}

body:not(:fullscreen) #controls:hover .control-item:not(:hover) {
/* Set opacity for buttons when controls are visible on the pip window and are not hovered over. For fullscreen mode, only apply opacity if there is a showing attribute. */
body:not(:fullscreen) #controls:hover .control-item:not(:hover),
body:fullscreen #controls[showing]:hover .control-item:not(:hover) {
opacity: 0.8;
}

Expand Down

0 comments on commit 6362868

Please sign in to comment.