]> git.proxmox.com Git - novnc-pve.git/blob - debian/patches/0009-decrease-animation-time.patch
12ccfbe8c17d7fb3557b14a9606d98abdf1fb7c3
[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 09/12] 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 3ca9894..137aec8 100644
15 --- a/app/styles/base.css
16 +++ b/app/styles/base.css
17 @@ -283,7 +283,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 @@ -300,7 +300,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 @@ -318,7 +318,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 @@ -352,7 +352,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 @@ -474,7 +474,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 @@ -651,7 +651,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;