]> git.proxmox.com Git - novnc-pve.git/blob - debian/patches/0009-decrease-animation-time.patch
1e26af975d576290af4037db0f3fcf11783bf24b
[novnc-pve.git] / debian / patches / 0009-decrease-animation-time.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Dominik Csapak <d.csapak@proxmox.com>
3 Date: Fri, 20 Jan 2017 10:55:49 +0100
4 Subject: [PATCH] decrease animation time
5
6 because 0.5s is too long
7
8 Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
9 ---
10 app/styles/base.css | 12 ++++++------
11 1 file changed, 6 insertions(+), 6 deletions(-)
12
13 diff --git a/app/styles/base.css b/app/styles/base.css
14 index fd78b79..db52eaa 100644
15 --- a/app/styles/base.css
16 +++ b/app/styles/base.css
17 @@ -339,7 +339,7 @@ select:active {
18 position: fixed;
19 z-index: 10;
20
21 - transition: 0.5s ease-in-out;
22 + transition: 0.1s ease-in-out;
23
24 /* Edge misrenders animations wihthout this */
25 transform: translateX(0);
26 @@ -356,7 +356,7 @@ select:active {
27 position: relative;
28 left: -100%;
29
30 - transition: 0.5s ease-in-out;
31 + transition: 0.1s ease-in-out;
32
33 background-color: rgb(110, 132, 163);
34 border-radius: 0 10px 10px 0;
35 @@ -374,7 +374,7 @@ select:active {
36 height: 100%;
37 width: 30px;
38 left: -30px;
39 - transition: box-shadow 0.5s ease-in-out;
40 + transition: box-shadow 0.1s ease-in-out;
41 }
42 #noVNC_control_bar.noVNC_open::before {
43 box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5);
44 @@ -408,7 +408,7 @@ select:active {
45 }
46 #noVNC_control_bar_handle:after {
47 content: "";
48 - transition: transform 0.5s ease-in-out;
49 + transition: transform 0.1s ease-in-out;
50 background: url("../images/handle.svg");
51 position: absolute;
52 top: 22px; /* (50px-6px)/2 */
53 @@ -530,7 +530,7 @@ select:active {
54 .noVNC_panel {
55 transform: translateX(25px);
56
57 - transition: 0.5s ease-in-out;
58 + transition: 0.25s ease-in-out;
59
60 max-height: 100vh; /* Chrome is buggy with 100% */
61 overflow-x: hidden;
62 @@ -717,7 +717,7 @@ select:active {
63
64 cursor: pointer;
65
66 - transition: 0.5s ease-in-out;
67 + transition: 0.1s ease-in-out;
68
69 visibility: hidden;
70 opacity: 0;