schlagmichdoch / PairDrop

PairDrop: Local file sharing in your browser. Inspired by Apple's AirDrop. Fork of Snapdrop.
https://pairdrop.net
GNU General Public License v3.0
3.66k stars 193 forks source link

[Bug] Buttons do not change color on hover #296

Closed schlagmichdoch closed 1 month ago

schlagmichdoch commented 1 month ago

This issue was deleted by GitHub (via hubot) as part of mistakenly marking this account as spam on 17th February 2024. The creation date is unclear. There are also links to the deleted issue that are not updated to this issue. I decided to manually recreate it anyway in order to complete the information the repo holds even though the restored information might be outdated:

Issue by @schlagmichdoch:

Describe the bug Buttons should change on hover, but they do not

Screenshots https://imgur.com/a/tA6x1oz

Bug occurs on official PairDrop instance https://pairdrop.net/ Yes Version: v1.10.6

Bug occurs on self-hosted PairDrop instance Yes

Solution Opacity changes in background for icon-buttons but in foreground for all other buttons

.icon-button::before {
    z-index: -1;
}

.btn::before {
    z-index: 0; /*default*/
}