mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
Fix disabled button pointer-events & cursor usage
This commit is contained in:
parent
52087de19c
commit
0b8c6ef9b1
@ -37,11 +37,15 @@ a.btn {
|
|||||||
.btn.disabled,
|
.btn.disabled,
|
||||||
.btn[disabled] {
|
.btn[disabled] {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
pointer-events: none;
|
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn.disabled:active,
|
||||||
|
.btn[disabled]:active {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.btn span {
|
.btn span {
|
||||||
font-size: var(--font-size-mini);
|
font-size: var(--font-size-mini);
|
||||||
color: var(--text-color-light);
|
color: var(--text-color-light);
|
||||||
|
Loading…
Reference in New Issue
Block a user