1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Dominik Csapak <d.csapak@proxmox.com>
3 Date: Tue, 13 Dec 2016 16:03:41 +0100
4 Subject: [PATCH] add pve style
6 this adds the custom pve style (based on black.css)
8 we hide the connect button, and add custom colors,
9 and fix the z-index of the connect overlay
11 Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
13 app/styles/pve.css | 42 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 44 insertions(+), 1 deletion(-)
16 create mode 100644 app/styles/pve.css
18 diff --git a/app/styles/pve.css b/app/styles/pve.css
20 index 0000000..eaeb5cb
22 +++ b/app/styles/pve.css
26 + * Copyright (C) 2012 Joel Martin
27 + * Copyright (C) 2013 Samuel Mannehed for Cendio AB
28 + * noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
29 + * This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
34 + background:#4c4c4c;;
38 +#noVNC_control_bar, #noVNC_control_bar_handle, .noVNC_panel .noVNC_heading {
39 + background: #4c4c4c;
42 +.noVNC_button.noVNC_selected {
43 + background: #3892d4;
46 +#pve_commands > input[type=button] {
50 +#noVNC_canvas:focus {
58 +#noVNC_connect_button {
62 +:root:not(.noVNC_touch) .noVNC_button.noVNC_selected:hover {
63 + border-color: rgba(0, 0, 0, 0.4);
64 + background: #5BA8DF;
66 diff --git a/vnc.html b/vnc.html
67 index 5ec354a..a49e3a2 100644
71 <link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png">
74 - <link rel="stylesheet" href="app/styles/base.css">
75 + <link rel="stylesheet" href="app/styles/base.css" />
76 + <link rel="stylesheet" href="/novnc/app/styles/pve.css" />
78 <!-- this is included as a normal file in order to catch script-loading errors as well -->
79 <script src="app/error-handler.js"></script>