mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-27 15:39:41 +00:00
- Instead of onload override, move to RFB.load function that takes a parameter for the target DOM ID. This allows the user to have their own onload function. - Add "VNC_" prefix to all element ID names. Only create DOM elements if they don't already exist on the page, otherwise use the existing elements. - Move all styling to separate stylesheet. - Use list model for control styling.
51 lines
721 B
CSS
51 lines
721 B
CSS
#VNC_controls {
|
|
overflow: hidden;
|
|
}
|
|
#VNC_controls ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
#VNC_controls li {
|
|
float: left;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
#VNC_host {
|
|
width: 100;
|
|
}
|
|
#VNC_port {
|
|
width: 50;
|
|
}
|
|
#VNC_password {
|
|
width: 80;
|
|
}
|
|
#VNC_encrypt {
|
|
}
|
|
#VNC_connect_button {
|
|
width: 100px;
|
|
}
|
|
|
|
#VNC_status {
|
|
margin-top: 15px;
|
|
text-align: center;
|
|
background: #eee;
|
|
}
|
|
|
|
/* Do not set width/height for VNC_screen or VNC_canvas or incorrect
|
|
* scaling will occur. Canvas resizes to remote VNC settings */
|
|
#VNC_screen {
|
|
text-align: center;
|
|
display: table;
|
|
}
|
|
#VNC_canvas {
|
|
background: #eee;
|
|
}
|
|
|
|
#VNC_clipboard_clear_button {
|
|
}
|
|
#VNC_clipboard_text {
|
|
font-size: 9;
|
|
}
|
|
|