]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Merge control bar sections
authorPierre Ossman <ossman@cendio.se>
Thu, 25 Aug 2016 18:49:52 +0000 (20:49 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 23 Sep 2016 12:39:21 +0000 (14:39 +0200)
There is no status information in the centre anymore, so merge
the left and right sections of the control bar.

app/styles/base.css
vnc.html

index 96f830bb7b90ebe710df0090474e63a8d97dd403..3edd2adc42334c665ed6f42a64ea880687354418 100644 (file)
@@ -265,21 +265,12 @@ input[type=button]:active, select:active {
   display: inline;
 }
 
-/* Left side buttons */
-.noVNC_buttons_left {
-  float: left;
+.noVNC_buttons {
+  float: right;
   z-index: 1;
   position: relative;
-  padding-left: 10px;
-}
-
-/* Right side buttons */
-.noVNC_buttons_right {
-  float: right;
-  right: 0px;
-  z-index: 2;
-  position: absolute;
   padding-right: 10px;
+  padding-left: 10px;
 }
 
 /* XVP Shutdown/Reboot */
index 9c677eec86f77801cf0dcdd73584a1e71dd629a6..f20b00c33b856aefc029acd2a4bab4d7bb678b66 100644 (file)
--- a/vnc.html
+++ b/vnc.html
@@ -52,7 +52,7 @@
     <!-- noVNC Control Bar -->
     <div id="noVNC_control_bar" class="noVNC_status_normal">
 
-        <div class="noVNC_buttons_left">
+        <div class="noVNC_buttons">
 
             <!-- Drag/Pan the viewport -->
             <input type="image" alt="viewport drag" src="app/images/drag.svg"
@@ -87,9 +87,7 @@
                     </div>
                 </div>
             </div>
-        </div>
 
-        <div class="noVNC_buttons_right">
             <!-- Send Ctrl+Alt+Delete -->
             <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg"
                 id="noVNC_send_ctrl_alt_del_button" class="noVNC_button"