5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2025-01-21 22:03:51 +03:00
novnc-pve/debian/patches/fix-base-css.patch
Alexandre Derumier 6182bef025 novnc : bump to a369a80c2480af685b7bddacddae9cca3aea95f9 commit (20/08/2015) V2
They are performances improvements and fullscreen button support

changelog: only display fullscreen button is resize=scale is defined

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 11:58:48 +02:00

94 lines
1.6 KiB
Diff

Index: new/include/base.css
===================================================================
--- new.orig/include/base.css 2014-08-05 12:59:53.000000000 +0200
+++ new/include/base.css 2014-08-06 08:12:16.000000000 +0200
@@ -21,6 +21,28 @@
height:100%;
}
+#noVNC_pve_commands {
+ display:none;
+ margin-top:73px;
+ right:30px;
+ position:fixed;
+}
+
+#noVNC_pve_commands.top:after {
+ right:0px;
+}
+
+#noVNC_send_keys {
+ display:none;
+ margin-top:73px;
+ right:30px;
+ position:fixed;
+}
+
+#noVNC_send_keys.top:after {
+ right:35px;
+}
+
#noVNC_controls ul {
list-style: none;
margin: 0px;
@@ -56,9 +78,6 @@
#noVNC_view_drag_button {
display: none;
}
-#sendCtrlAltDelButton {
- display: none;
-}
#fullscreenButton {
display: none;
}
@@ -76,7 +95,7 @@
.noVNC-buttons-left {
float: left;
- z-index: 1;
+ z-index: 2;
position: relative;
}
@@ -220,7 +239,7 @@
position:fixed;
}
#noVNC_clipboard.top:after {
- right:85px;
+ right:35px;
}
#keyboardinput {
@@ -375,7 +394,7 @@
}
#noVNC_logo {
- margin-top: 170px;
+ margin-top: 10px;
margin-left: 10px;
color:yellow;
text-align:left;
@@ -432,6 +451,7 @@
#toggleAltButton { display: inline; }
#sendTabButton { display: inline; }
#sendEscButton { display: inline; }
+#sendCtrlAltDelButton { display: none; }
/* left-align the status text on lower resolutions */
@media screen and (max-width: 800px){
@@ -488,6 +508,14 @@
top: 135px;
left: 0px;
}
+ #sendCtrlAltDelButton {
+ display: none;
+ position: absolute;
+ top: 170px;
+ left: 0px;
+ }
+}
+
}
@media screen and (min-width: 321px) and (max-width: 480px) {