mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-30 14:34:27 +02:00
web/DonateCardContainer: default cursor when a button is selected
also disabled hover & active for a selected button
This commit is contained in:
parent
238295888c
commit
8934b25c47
@ -47,22 +47,20 @@
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.donate-card button:active) {
|
|
||||||
background: rgba(255, 255, 255, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
:global(.donate-card button:hover) {
|
:global(.donate-card button:hover:not(.selected)) {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
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);
|
background: rgba(255, 255, 255, 0.125);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.donate-card button.selected) {
|
:global(.donate-card button.selected) {
|
||||||
background: rgba(255, 255, 255, 0.15);
|
background: rgba(255, 255, 255, 0.15);
|
||||||
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.donate-card button.selected:not(:focus-visible)) {
|
:global(.donate-card button.selected:not(:focus-visible)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user