mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-21 22:03:51 +03:00
fe91e9e1e3
adds the new rebased patches, based on current novnc master notable changes: * (most of) our code is in an es6 module, opposed to patching the ui.js * removed our sendkeys menu in favor of the novnc one * you can now enter fullscreen from a popup console * when a vm resizes its resolution, the canvas should also rescale in the console tab Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
74 lines
1.9 KiB
Diff
74 lines
1.9 KiB
Diff
From 3f13289a9f895b1ba86ad61ed085390bffda3e3a Mon Sep 17 00:00:00 2001
|
|
From: Dominik Csapak <d.csapak@proxmox.com>
|
|
Date: Fri, 20 Jan 2017 10:55:49 +0100
|
|
Subject: [PATCH 9/9] decrease animation time
|
|
|
|
because 0.5s is too long
|
|
|
|
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
|
|
---
|
|
app/styles/base.css | 12 ++++++------
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/app/styles/base.css b/app/styles/base.css
|
|
index ce31cf7..6db4467 100644
|
|
--- a/app/styles/base.css
|
|
+++ b/app/styles/base.css
|
|
@@ -283,7 +283,7 @@ select:active {
|
|
position: fixed;
|
|
z-index: 10;
|
|
|
|
- transition: 0.5s ease-in-out;
|
|
+ transition: 0.1s ease-in-out;
|
|
|
|
/* Edge misrenders animations wihthout this */
|
|
transform: translateX(0);
|
|
@@ -300,7 +300,7 @@ select:active {
|
|
position: relative;
|
|
left: -100%;
|
|
|
|
- transition: 0.5s ease-in-out;
|
|
+ transition: 0.1s ease-in-out;
|
|
|
|
background-color: rgb(110, 132, 163);
|
|
border-radius: 0 10px 10px 0;
|
|
@@ -318,7 +318,7 @@ select:active {
|
|
height: 100%;
|
|
width: 30px;
|
|
left: -30px;
|
|
- transition: box-shadow 0.5s ease-in-out;
|
|
+ transition: box-shadow 0.1s ease-in-out;
|
|
}
|
|
#noVNC_control_bar.noVNC_open::before {
|
|
box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5);
|
|
@@ -352,7 +352,7 @@ select:active {
|
|
}
|
|
#noVNC_control_bar_handle:after {
|
|
content: "";
|
|
- transition: transform 0.5s ease-in-out;
|
|
+ transition: transform 0.1s ease-in-out;
|
|
background: url("../images/handle.svg");
|
|
position: absolute;
|
|
top: 22px; /* (50px-6px)/2 */
|
|
@@ -440,7 +440,7 @@ select:active {
|
|
.noVNC_panel {
|
|
transform: translateX(25px);
|
|
|
|
- transition: 0.5s ease-in-out;
|
|
+ transition: 0.25s ease-in-out;
|
|
|
|
max-height: 100vh; /* Chrome is buggy with 100% */
|
|
overflow-x: hidden;
|
|
@@ -617,7 +617,7 @@ select:active {
|
|
|
|
cursor: pointer;
|
|
|
|
- transition: 0.5s ease-in-out;
|
|
+ transition: 0.1s ease-in-out;
|
|
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
--
|
|
2.11.0
|
|
|