web/DonateCardContainer: default cursor when a button is selected

also disabled hover & active for a selected button
This commit is contained in:
wukko 2025-02-27 18:29:07 +06:00
parent 238295888c
commit 8934b25c47
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -47,22 +47,20 @@
box-shadow: none;
}
:global(.donate-card button:active) {
background: rgba(255, 255, 255, 0.1);
}
@media (hover: hover) {
:global(.donate-card button:hover) {
:global(.donate-card button:hover:not(.selected)) {
background: rgba(255, 255, 255, 0.1);
}
}
:global(.donate-card button:active) {
:global(.donate-card button:active:not(.selected)),
:global(.donate-card button:hover:active:not(.selected)) {
background: rgba(255, 255, 255, 0.125);
}
:global(.donate-card button.selected) {
background: rgba(255, 255, 255, 0.15);
cursor: default;
}
:global(.donate-card button.selected:not(:focus-visible)) {