Remove unnecessary css rules for lite
This commit is contained in:
parent
178bf8ec97
commit
8167e459bc
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
|
||||||
font-family: Helvetica;
|
|
||||||
background-color:#313131;
|
background-color:#313131;
|
||||||
border-bottom-right-radius: 800px 600px;
|
border-bottom-right-radius: 800px 600px;
|
||||||
height:100%;
|
height:100%;
|
||||||
|
@ -23,14 +21,12 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
#noVNC_status {
|
#noVNC_status {
|
||||||
font-size: 12px;
|
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
height:32px;
|
height:32px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 0;
|
font: bold 12px Helvetica;
|
||||||
position: absolute;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
}
|
}
|
||||||
|
@ -47,10 +43,6 @@ html {
|
||||||
background: linear-gradient(#b4b41e 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%);
|
background: linear-gradient(#b4b41e 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#noVNC_buttons {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Do not set width/height for VNC_canvas or incorrect
|
/* Do not set width/height for VNC_canvas or incorrect
|
||||||
* scaling will occur. Canvas size depends on remote VNC
|
* scaling will occur. Canvas size depends on remote VNC
|
||||||
* settings and noVNC settings. */
|
* settings and noVNC settings. */
|
||||||
|
@ -58,6 +50,5 @@ html {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin-left: auto;
|
margin: auto;
|
||||||
margin-right: auto;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
var form = document.createElement('form');
|
var form = document.createElement('form');
|
||||||
form.style = 'margin-bottom: 0px';
|
form.style = 'margin-bottom: 0px';
|
||||||
form.innerHTML = '<label></label>'
|
form.innerHTML = '<label></label>'
|
||||||
form.innerHTML += '<input type=password size=10 id="password_input" class="noVNC_status">';
|
form.innerHTML += '<input type=password size=10 id="password_input">';
|
||||||
form.onsubmit = setPassword;
|
form.onsubmit = setPassword;
|
||||||
|
|
||||||
// bypass status() because it sets text content
|
// bypass status() because it sets text content
|
||||||
|
|
Loading…
Reference in New Issue