Add hover hints to buttons
Disable it on touch devices though as it is mostly annoying there.
This commit is contained in:
parent
5454c34511
commit
1a15cb5b32
|
@ -97,6 +97,10 @@ input[type=button]:active, select:active {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root:not(.noVNC_touch) input[type=button]:hover:not(:disabled), :root:not(.noVNC_touch) select:hover:not(:disabled) {
|
||||||
|
background: linear-gradient(to top, rgb(255, 255, 255), rgb(250, 250, 250));
|
||||||
|
}
|
||||||
|
|
||||||
/* ----------------------------------------
|
/* ----------------------------------------
|
||||||
* WebKit centering hacks
|
* WebKit centering hacks
|
||||||
* ----------------------------------------
|
* ----------------------------------------
|
||||||
|
@ -250,6 +254,13 @@ input[type=button]:active, select:active {
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 3px;
|
padding-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
:root:not(.noVNC_touch) .noVNC_button.noVNC_selected:hover {
|
||||||
|
border-color: rgba(0, 0, 0, 0.4);
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
:root:not(.noVNC_touch) .noVNC_button:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
}
|
||||||
.noVNC_button.noVNC_hidden {
|
.noVNC_button.noVNC_hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue