]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Remove unnecessary css rules for lite
authorSamuel Mannehed <samuel@cendio.se>
Tue, 31 Oct 2017 15:16:29 +0000 (16:16 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Tue, 31 Oct 2017 17:57:14 +0000 (18:57 +0100)
app/styles/lite.css
vnc_lite.html

index b623a009251b9376ff45014ec9b33c5ba41703c9..9e2cf8f904aed8b7b6c481b04069fde50f664943 100644 (file)
@@ -8,8 +8,6 @@
 
 body {
   margin:0;
-  padding:0;
-  font-family: Helvetica;
   background-color:#313131;
   border-bottom-right-radius: 800px 600px;
   height:100%;
@@ -23,14 +21,12 @@ html {
 }
 
 #noVNC_status {
-  font-size: 12px;
   padding-top: 4px;
   height:32px;
   text-align: center;
-  font-weight: bold;
   color: #fff;
-  z-index: 0;
-  position: absolute;
+  font: bold 12px Helvetica;
+  position: relative;
   width: 100%;
   margin-left: 0px;
 }
@@ -47,10 +43,6 @@ html {
   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
  * scaling will occur. Canvas size depends on remote VNC
  * settings and noVNC settings. */
@@ -58,6 +50,5 @@ html {
   position: absolute;
   left: 0;
   right: 0;
-  margin-left: auto;
-  margin-right: auto;
+  margin: auto;
 }
index 497f3f1605305c68026a997ddefbffa3d3eca0d5..52b809b7f350c7596ce1222a2dc635bf99c0eb9f 100644 (file)
             var form = document.createElement('form');
             form.style = 'margin-bottom: 0px';
             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;
 
             // bypass status() because it sets text content