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:
Samuel Mannehed 2022-12-12 15:35:36 +01:00
parent 69c1d8a1b9
commit d083ba269e
1 changed files with 2 additions and 0 deletions

View File

@ -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;