Clickable pin in miniplayer to toggle ontop behaviour.

currently an emoji span. gracefully resets windowontop on exit.
This commit is contained in:
Calum Clark CSM2019 2022-01-25 01:30:58 +00:00
parent d42976f8db
commit 26451e0af2
5 changed files with 33 additions and 13 deletions

View file

@ -4794,6 +4794,24 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
-webkit-app-region: no-drag;
}
.player-pin {
z-index: 3;
position: absolute;
min-width: 20px;
min-height: 20px;
top: 5px;
right: 30px;
-webkit-app-region: no-drag;
}
#mini-pin{
display: none;
}
.player-pin:hover #mini-pin {
display: block;
}
.playback-button--small {
opacity: 0.7;
}