Move workaround for Firefox bug to input.css

This applies to all input[type=image]:disabled elements, not only
control bar buttons.
This commit is contained in:
Samuel Mannehed 2022-12-09 16:35:41 +01:00
parent 654066f2c4
commit da4f3f30ea
2 changed files with 5 additions and 3 deletions

View File

@ -397,9 +397,6 @@ html {
} }
#noVNC_control_bar .noVNC_button:disabled { #noVNC_control_bar .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_control_bar .noVNC_button:not(:disabled):active { #noVNC_control_bar .noVNC_button:not(:disabled):active {
padding-top: 5px; padding-top: 5px;

View File

@ -280,3 +280,8 @@ input[type=file]:disabled {
background-image: var(--select-arrow), background-image: var(--select-arrow),
linear-gradient(to top, rgb(255, 255, 255), rgb(240, 240, 240)); linear-gradient(to top, rgb(255, 255, 255), rgb(240, 240, 240));
} }
input[type=image]:disabled {
/* See Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1798304 */
cursor: default;
}