mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-27 21:48:49 +01: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
1 changed files with 4 additions and 6 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue