]>
Commit | Line | Data |
---|---|---|
ecd49c15 PO |
1 | /* |
2 | * noVNC auto CSS | |
3 | * Copyright (C) 2012 Joel Martin | |
178bf8ec | 4 | * Copyright (C) 2017 Samuel Mannehed for Cendio AB |
ecd49c15 PO |
5 | * noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
6 | * This file is licensed under the 2-Clause BSD license (see LICENSE.txt). | |
7 | */ | |
8 | ||
9 | body { | |
10 | margin:0; | |
178bf8ec SM |
11 | background-color:#313131; |
12 | border-bottom-right-radius: 800px 600px; | |
ecd49c15 | 13 | height:100%; |
ba9e1ecc SM |
14 | display: flex; |
15 | flex-direction: column; | |
ecd49c15 PO |
16 | } |
17 | ||
18 | html { | |
178bf8ec | 19 | background-color:#494949; |
ecd49c15 PO |
20 | height:100%; |
21 | } | |
22 | ||
dc905e85 | 23 | #noVNC_status_bar { |
4023a6e1 SM |
24 | width: 100%; |
25 | display:flex; | |
26 | justify-content: space-between; | |
dc905e85 SM |
27 | } |
28 | ||
ecd49c15 | 29 | #noVNC_status { |
ecd49c15 | 30 | color: #fff; |
8167e459 | 31 | font: bold 12px Helvetica; |
4023a6e1 | 32 | margin: auto; |
ecd49c15 PO |
33 | } |
34 | ||
35 | .noVNC_status_normal { | |
0bc4e4eb | 36 | background: linear-gradient(#b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); |
ecd49c15 PO |
37 | } |
38 | ||
39 | .noVNC_status_error { | |
082bc6b4 | 40 | background: linear-gradient(#c83737 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); |
ecd49c15 PO |
41 | } |
42 | ||
43 | .noVNC_status_warn { | |
082bc6b4 | 44 | background: linear-gradient(#b4b41e 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); |
ecd49c15 PO |
45 | } |
46 | ||
dc905e85 SM |
47 | .noNVC_shown { |
48 | display: inline; | |
49 | } | |
50 | .noVNC_hidden { | |
51 | display: none; | |
52 | } | |
53 | ||
4023a6e1 SM |
54 | #noVNC_left_dummy_elem { |
55 | flex: 1; | |
56 | } | |
57 | ||
58 | #noVNC_buttons { | |
3c07dc51 | 59 | padding: 1px; |
4023a6e1 SM |
60 | flex: 1; |
61 | display: flex; | |
62 | justify-content: flex-end; | |
63 | } | |
64 | ||
ecd49c15 PO |
65 | /* Do not set width/height for VNC_canvas or incorrect |
66 | * scaling will occur. Canvas size depends on remote VNC | |
67 | * settings and noVNC settings. */ | |
68 | #noVNC_canvas { | |
8167e459 | 69 | margin: auto; |
ecd49c15 | 70 | } |