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:
parent
69c1d8a1b9
commit
d083ba269e
|
@ -243,6 +243,8 @@ textarea:disabled {
|
||||||
:root:not(.noVNC_touch) button:disabled,
|
:root:not(.noVNC_touch) button:disabled,
|
||||||
:root:not(.noVNC_touch) select:disabled {
|
:root:not(.noVNC_touch) select:disabled {
|
||||||
background-image: linear-gradient(to top, rgb(255, 255, 255), rgb(240, 240, 240));
|
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 {
|
input[type=file]:disabled {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
|
Loading…
Reference in New Issue