1
0
Fork 0

Fix disabled button pointer-events & cursor usage

This commit is contained in:
Matthias Kretschmann 2023-11-01 23:07:20 +00:00
parent 52087de19c
commit 0b8c6ef9b1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 5 additions and 1 deletions

View File

@ -37,11 +37,15 @@ a.btn {
.btn.disabled,
.btn[disabled] {
cursor: not-allowed;
pointer-events: none;
opacity: 0.6;
box-shadow: none;
}
.btn.disabled:active,
.btn[disabled]:active {
pointer-events: none;
}
.btn span {
font-size: var(--font-size-mini);
color: var(--text-color-light);