mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-26 15:13:34 +00:00
Buttons shouldn't react to clicks when disabled
Counteract the border-width and margin set by :active in the rules for :disabled buttons.
This commit is contained in:
@@ -243,6 +243,8 @@ textarea:disabled {
|
||||
:root:not(.noVNC_touch) button:disabled,
|
||||
:root:not(.noVNC_touch) select:disabled {
|
||||
background-image: linear-gradient(to top, rgb(255, 255, 255), rgb(240, 240, 240));
|
||||
border-bottom-width: 2px;
|
||||
margin-top: 0;
|
||||
}
|
||||
input[type=file]:disabled {
|
||||
background-image: none;
|
||||
|
||||
Reference in New Issue
Block a user