Fix disabled button showing hover styles

This commit is contained in:
Lim Chee Aun 2023-04-11 10:40:59 +08:00
parent 13b2273022
commit d2d6e8b434

View file

@ -1005,11 +1005,11 @@ a.card:is(:hover, :focus) {
border: 1.5px solid transparent; border: 1.5px solid transparent;
backdrop-filter: none; backdrop-filter: none;
} }
.status .action > button.plain:is(:hover, :focus) { .status .action > button.plain:not(:disabled):is(:hover, :focus) {
color: var(--link-color); color: var(--link-color);
background-color: var(--button-plain-bg-hover-color); background-color: var(--button-plain-bg-hover-color);
} }
.status .action > button.plain.reblog-button:is(:hover, :focus) { .status .action > button.plain.reblog-button:not(:disabled):is(:hover, :focus) {
color: var(--reblog-color); color: var(--reblog-color);
} }
.status .action > button.plain.reblog-button.checked { .status .action > button.plain.reblog-button.checked {