Ensure the correct cursor on disabled buttons

Without this fix we still get a "pointer" cursor on disabled inputs of
type "image" in Firefox. Currently, all our noVNC_buttons are
<input type="image">. Reported to firefox here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1798304
This commit is contained in:
Samuel Mannehed 2022-10-31 13:13:23 +01:00
parent 138df46825
commit 0ef75824a4
1 changed files with 3 additions and 0 deletions

View File

@ -393,6 +393,9 @@ html {
} }
.noVNC_button:disabled { .noVNC_button:disabled {
opacity: 0.4; opacity: 0.4;
/* See firefox bug regarding cursor on disabled <input type="image">:
https://bugzilla.mozilla.org/show_bug.cgi?id=1798304 */
cursor: default;
} }
.noVNC_button:focus { .noVNC_button:focus {
outline: none; outline: none;