diff options
author | Samuel Mannehed <samuel@cendio.se> | 2022-12-09 16:35:41 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2022-12-12 15:31:00 +0100 |
commit | da4f3f30ea882b44022efbdb1b6536e11f363a2b (patch) | |
tree | c00e9d962140e375168fc5e86b1037f8ce850c2a /app | |
parent | 654066f2c49ad664470ac973e9307ddd43247ce0 (diff) | |
download | novnc-da4f3f30ea882b44022efbdb1b6536e11f363a2b.tar.gz |
Move workaround for Firefox bug to input.css
This applies to all input[type=image]:disabled elements, not only
control bar buttons.
Diffstat (limited to 'app')
-rw-r--r-- | app/styles/base.css | 3 | ||||
-rw-r--r-- | app/styles/input.css | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/app/styles/base.css b/app/styles/base.css index a55ca61..1bf8064 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -397,9 +397,6 @@ html { } #noVNC_control_bar .noVNC_button:disabled { 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 { padding-top: 5px; diff --git a/app/styles/input.css b/app/styles/input.css index f090577..cc4087c 100644 --- a/app/styles/input.css +++ b/app/styles/input.css @@ -280,3 +280,8 @@ input[type=file]:disabled { background-image: var(--select-arrow), 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; +} |