mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 21:51:29 +08:00
no pointer events for disabled buttons
This commit is contained in:
parent
7408503db1
commit
53cbb7b808
1 changed files with 2 additions and 0 deletions
|
|
@ -281,6 +281,7 @@ key {
|
|||
&.disabled {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
&:hover {
|
||||
color: var(--text-color);
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
|
|
@ -291,6 +292,7 @@ key {
|
|||
&.disabled.active {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
&:hover {
|
||||
color: var(--bg-color);
|
||||
background: var(--main-color);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue